v7

latestSwagger 2.0raw.githubusercontent.com2021-01-245813.3 KB
GraphQuery

Create a new graph query.

put/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceGraph/queries/{resourceName}

Path parameters

subscriptionIdstring required

The Azure subscription Id.

resourceGroupNamestring required

The name of the resource group.

resourceNamestring required

The name of the Graph Query resource.

Query parameters

api-versionstring required

Client Api Version.

Request body

idstring

Azure resource Id

namestring

Azure resource name. This is GUID value. The display name should be assigned within properties field.

locationstring

The location of the resource

typestring

Azure resource type

etagstring

This will be used to handle Optimistic Concurrency. If not present, it will always overwrite the existing resource without checking conflict.

tagsobject

Resource tags

Response

The newly created graph query.

idstring

Azure resource Id

namestring

Azure resource name. This is GUID value. The display name should be assigned within properties field.

locationstring

The location of the resource

typestring

Azure resource type

etagstring

This will be used to handle Optimistic Concurrency. If not present, it will always overwrite the existing resource without checking conflict.

tagsobject

Resource tags