v7

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

Updates a graph query that has already been added.

patch/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

tagsobject

Resource tags

etagstring

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

Response

The graph query definition updated.

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