Skip to content

Latest commit

 

History

History
75 lines (50 loc) · 2.42 KB

readme.azureresourceschema.md

File metadata and controls

75 lines (50 loc) · 2.42 KB

AzureResourceSchema

These settings apply only when --azureresourceschema is specified on the command line.

AzureResourceSchema multi-api

batch:
  - tag: schema-resourcegraph-2021-03-01
  - tag: schema-resourcegraph-2020-09-01-preview
  - tag: schema-resourcegraph-2020-04-01-preview
  - tag: schema-resourcegraph-2019-04-01
  - tag: schema-resourcegraph-2018-09-01-preview

Please also specify --azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>.

Tag: schema-resourcegraph-2021-03-01 and azureresourceschema

output-folder: $(azureresourceschema-folder)/schemas

# all the input files in this apiVersion
input-file:
  - Microsoft.ResourceGraph/stable/2021-03-01/resourcegraph.json

Tag: schema-resourcegraph-2020-09-01-preview and azureresourceschema

output-folder: $(azureresourceschema-folder)/schemas

# all the input files in this apiVersion
input-file:
  - Microsoft.ResourceGraph/preview/2020-09-01-preview/resourcechanges.json

Tag: schema-resourcegraph-2020-04-01-preview and azureresourceschema

output-folder: $(azureresourceschema-folder)/schemas

# all the input files in this apiVersion
input-file:
  - Microsoft.ResourceGraph/preview/2020-04-01-preview/resourcegraph.json
  - Microsoft.ResourceGraph/preview/2020-04-01-preview/resourceshistory.json
  - Microsoft.ResourceGraph/preview/2020-04-01-preview/resourcechanges.json

Tag: schema-resourcegraph-2019-04-01 and azureresourceschema

output-folder: $(azureresourceschema-folder)/schemas

# all the input files in this apiVersion
input-file:
  - Microsoft.ResourceGraph/stable/2019-04-01/resourcegraph.json

Tag: schema-resourcegraph-2018-09-01-preview and azureresourceschema

output-folder: $(azureresourceschema-folder)/schemas

# all the input files in this apiVersion
input-file:
  - Microsoft.ResourceGraph/preview/2018-09-01-preview/resourcegraph.json
  - Microsoft.ResourceGraph/preview/2018-09-01-preview/graphquery.json