This directory contains the PowerShell module for the ResourceGraph service.
- Modifiable: yes
- Generated: all
- Committed: yes
- Packaged: yes
This module was primarily generated via AutoRest using the PowerShell extension.
- Az.Accounts module, version 2.7.5 or greater
AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent.
For information on how to develop for Az.ResourceGraph
, see how-to.md.
commit: cb843b318ece878394d127733abe5da858466daf
require:
- $(this-folder)/../../readme.azure.noprofile.md
input-file:
- $(repo)/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/stable/2024-04-01/graphquery.json
title: ResourceGraph
module-version: 0.1.0
subject-prefix: $(service-name)
# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
use-extension:
"@autorest/powershell": "3.x"
directive:
- from: swagger-document
where: $
transform: return $.replace(/\/subscriptions\/\{subscriptionId\}\/resourceGroups\/\{resourceGroupName\}\/providers\/Microsoft\.ResourceGraph\/queries\/\{resourceName\}/g, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.resourcegraph/queries/{resourceName}")
## Remove Etag
- from: swagger-document
where: $.definitions.Resource.properties
transform: delete $.eTag
## Remove Etag
- from: swagger-document
where: $.definitions.GraphQueryUpdateParameters.properties
transform: delete $.eTag
- where:
verb: Set
subject: Query$
remove: true
- where:
vert: Get|New|Update|Remove
parameter-name: ResourceName
set:
parameter-name: Name
- where:
verb: New
subject: Query$
hide: true
- where:
verb: Update
subject: Query$
hide: true