This is the AutoRest configuration file for Resource.
To build the SDK for Resource, simply Install AutoRest and in this folder, run:
autorest
To see additional help and options, run:
autorest --help
These are the global settings for the Resource API.
openapi-type: arm
tag: package-2022-12
tag: package-privatelinks-2020-05
tag: package-features-2021-07
tag: package-locks-2020-05
tag: package-policy-2024-05-stable
tag: package-databoundaries-2024-08
tag: package-resources-2024-03
tag: package-resources-2024-07
tag: package-subscriptions-2022-12
tag: package-links-2016-09
tag: package-managedapplications-2018-06
tag: package-deploymentscripts-2023-08
tag: package-templatespecs-2022-02
tag: package-deploymentstacks-2024-03
tag: package-changes-2022-05
tag: package-snapshots-2022-11
tag: package-bicep-2023-11
These settings apply only when --tag=package-policy-2024-05-stable
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2024-05-01/policyDefinitions.json
- Microsoft.Authorization/stable/2024-05-01/policyDefinitionVersions.json
- Microsoft.Authorization/stable/2024-05-01/policySetDefinitions.json
- Microsoft.Authorization/stable/2024-05-01/policySetDefinitionVersions.json
- Microsoft.Authorization/stable/2024-05-01/policyAssignments.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-policy-2024-04
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2024-04-01/policyAssignments.json
These settings apply only when --tag=package-bicep-2023-11
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2023-11-01/bicepClient.json
These settings apply only when --tag=package-policy-2023-04
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json
- Microsoft.Authorization/stable/2023-04-01/policyDefinitions.json
- Microsoft.Authorization/stable/2023-04-01/policyDefinitionVersions.json
- Microsoft.Authorization/stable/2023-04-01/policySetDefinitions.json
- Microsoft.Authorization/stable/2023-04-01/policySetDefinitionVersions.json
- Microsoft.Authorization/stable/2023-04-01/policyAssignments.json
- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json
- Microsoft.Authorization/preview/2022-08-01-preview/policyVariables.json
- Microsoft.Authorization/preview/2022-08-01-preview/policyVariableValues.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-policy-2023-04-only
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2023-04-01/policyDefinitions.json
- Microsoft.Authorization/stable/2023-04-01/policyDefinitionVersions.json
- Microsoft.Authorization/stable/2023-04-01/policySetDefinitions.json
- Microsoft.Authorization/stable/2023-04-01/policySetDefinitionVersions.json
- Microsoft.Authorization/stable/2023-04-01/policyAssignments.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-deploymentscripts-2023-08
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2023-08-01/deploymentScripts.json
suppressions:
- code: OperationsAPIImplementation
reason: OperationsAPI will come from Resources
These settings apply only when --tag=package-resources-2023-07
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2023-07-01/resources.json
These settings apply only when --tag=package-resources-2024-03
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2024-03-01/resources.json
These settings apply only when --tag=package-resources-2024-07
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2024-07-01/resources.json
These settings apply only when --tag=package-2022-12
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2022-12-01/subscriptions.json
These settings apply only when --tag=package-policy-2022-08-preview-only
is specified on the command line.
input-file:
- Microsoft.Authorization/preview/2022-08-01-preview/policyVariables.json
- Microsoft.Authorization/preview/2022-08-01-preview/policyVariableValues.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-policy-2022-07-preview-only
is specified on the command line.
input-file:
- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-policy-2022-06-only
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2022-06-01/policyAssignments.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-policy-2022-06
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json
- Microsoft.Authorization/stable/2021-06-01/policyDefinitions.json
- Microsoft.Authorization/stable/2021-06-01/policySetDefinitions.json
- Microsoft.Authorization/stable/2022-06-01/policyAssignments.json
- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json
- Microsoft.Authorization/preview/2022-08-01-preview/policyVariables.json
- Microsoft.Authorization/preview/2022-08-01-preview/policyVariableValues.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-changes-2023-03-01-preview
is specified on the command line.
input-file:
- Microsoft.Resources/preview/2023-03-01-preview/changes.json
These settings apply only when --tag=package-changes-2023-07-01-preview
is specified on the command line.
input-file:
- Microsoft.Resources/preview/2023-07-01-preview/changes.json
These settings apply only when --tag=package-changes-2024-06-01-preview
is specified on the command line.
input-file:
- Microsoft.Resources/preview/2024-06-01-preview/changes.json
These settings apply only when --tag=package-snapshots-2022-11
is specified on the command line.
input-file:
- Microsoft.Resources/preview/2022-11-01-preview/snapshots.json
These settings apply only when --tag=package-databoundaries-2024-08
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2024-08-01/dataBoundaries.json
These settings apply only when --tag=package-changes-2022-05
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2022-05-01/changes.json
These settings apply only when --tag=package-changes-2022-03-01-preview
is specified on the command line.
input-file:
- Microsoft.Resources/preview/2022-03-01-preview/changes.json
These settings apply only when --tag=package-policy-2021-06
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json
- Microsoft.Authorization/stable/2021-06-01/policyAssignments.json
- Microsoft.Authorization/stable/2021-06-01/policyDefinitions.json
- Microsoft.Authorization/stable/2021-06-01/policySetDefinitions.json
- Microsoft.Authorization/preview/2020-07-01-preview/policyExemptions.json
- Microsoft.Authorization/preview/2022-08-01-preview/policyVariables.json
- Microsoft.Authorization/preview/2022-08-01-preview/policyVariableValues.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-policy-2021-06-only
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2021-06-01/policyAssignments.json
- Microsoft.Authorization/stable/2021-06-01/policyDefinitions.json
- Microsoft.Authorization/stable/2021-06-01/policySetDefinitions.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-privatelinks-2020-05
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2020-05-01/privateLinks.json
These settings apply only when --tag=package-locks-2020-05
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2020-05-01/locks.json
These settings apply only when --tag=package-resources-2022-09
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2022-09-01/resources.json
These settings apply only when --tag=package-policy-2020-09
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json
- Microsoft.Authorization/stable/2020-09-01/policyAssignments.json
- Microsoft.Authorization/stable/2020-09-01/policyDefinitions.json
- Microsoft.Authorization/stable/2020-09-01/policySetDefinitions.json
- Microsoft.Authorization/preview/2020-07-01-preview/policyExemptions.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-policy-2020-09-only
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json
- Microsoft.Authorization/stable/2020-09-01/policyAssignments.json
- Microsoft.Authorization/stable/2020-09-01/policyDefinitions.json
- Microsoft.Authorization/stable/2020-09-01/policySetDefinitions.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-locks-2017-04
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2017-04-01/locks.json
These settings apply only when --tag=package-preview-2020-08
is specified on the command line.
input-file:
- Microsoft.Solutions/preview/2020-08-21-preview/managedapplications.json
These settings apply only when --tag=package-subscriptions-2022-12
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2022-12-01/subscriptions.json
These settings apply only when --tag=package-subscriptions-2021-01
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2021-01-01/subscriptions.json
These settings apply only when --tag=package-deploymentscripts-2020-10
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2020-10-01/deploymentScripts.json
These settings apply only when --tag=package-deploymentscripts-2019-10-preview
is specified on the command line.
input-file:
- Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json
These settings apply only when --tag=package-features-2021-07
is specified on the command line.
input-file:
- Microsoft.Features/stable/2021-07-01/features.json
- Microsoft.Features/stable/2021-07-01/SubscriptionFeatureRegistration.json
# Needed when there is more than one input file
override-info:
title: FeatureClient
These settings apply only when --tag=package-features-2015-12
is specified on the command line.
input-file:
- Microsoft.Features/stable/2015-12-01/features.json
These settings apply only when --tag=package-locks-2016-09
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2016-09-01/locks.json
These settings apply only when --tag=package-locks-2015-01
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2015-01-01/locks.json
These settings apply only when --tag=package-policy-2020-03
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2020-03-01/policyAssignments.json
- Microsoft.Authorization/stable/2020-03-01/policyDefinitions.json
- Microsoft.Authorization/stable/2020-03-01/policySetDefinitions.json
- Microsoft.Authorization/preview/2020-07-01-preview/policyExemptions.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-policy-2020-07-preview-only
is specified on the command line.
input-file:
- Microsoft.Authorization/preview/2020-07-01-preview/policyExemptions.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-policy-2019-09
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2019-09-01/policyAssignments.json
- Microsoft.Authorization/stable/2019-09-01/policyDefinitions.json
- Microsoft.Authorization/stable/2019-09-01/policySetDefinitions.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-policy-2019-06
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2019-06-01/policyAssignments.json
- Microsoft.Authorization/stable/2019-06-01/policyDefinitions.json
- Microsoft.Authorization/stable/2019-06-01/policySetDefinitions.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-policy-2019-01
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2019-01-01/policyAssignments.json
- Microsoft.Authorization/stable/2019-01-01/policyDefinitions.json
- Microsoft.Authorization/stable/2019-01-01/policySetDefinitions.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-policy-2018-05
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2018-05-01/policyAssignments.json
- Microsoft.Authorization/stable/2018-05-01/policyDefinitions.json
- Microsoft.Authorization/stable/2018-05-01/policySetDefinitions.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-policy-2018-03
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2018-03-01/policyAssignments.json
- Microsoft.Authorization/stable/2018-03-01/policyDefinitions.json
- Microsoft.Authorization/stable/2018-03-01/policySetDefinitions.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-policy-2017-06
is specified on the command line.
input-file:
- Microsoft.Authorization/preview/2017-06-01-preview/policyAssignments.json
- Microsoft.Authorization/preview/2017-06-01-preview/policySetDefinitions.json
- Microsoft.Authorization/stable/2016-12-01/policyDefinitions.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-pure-policy-2017-06
is specified on the command line.
input-file:
- Microsoft.Authorization/preview/2017-06-01-preview/policyAssignments.json
- Microsoft.Authorization/preview/2017-06-01-preview/policySetDefinitions.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-policy-2017-06-preview-only
is specified on the command line.
input-file:
- Microsoft.Authorization/preview/2017-06-01-preview/policyAssignments.json
- Microsoft.Authorization/preview/2017-06-01-preview/policySetDefinitions.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-templatespecs-2022-02
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2022-02-01/templateSpecs.json
These settings apply only when --tag=package-templatespecs-2021-05
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2021-05-01/templateSpecs.json
These settings apply only when --tag=package-templatespecs-2021-03-preview
is specified on the command line.
input-file:
- Microsoft.Resources/preview/2021-03-01-preview/templateSpecs.json
These settings apply only when --tag=package-templatespecs-2019-06-preview
is specified on the command line.
input-file:
- Microsoft.Resources/preview/2019-06-01-preview/templateSpecs.json
These settings apply only when --tag=package-deploymentstacks-2022-08-preview
is specified on the command line.
input-file:
- Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json
These settings apply only when --tag=package-deploymentstacks-2024-03
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2024-03-01/deploymentStacks.json
These settings apply only when --tag=package-policy-2016-12
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2016-12-01/policyDefinitions.json
- Microsoft.Authorization/stable/2016-12-01/policyAssignments.json
# Needed when there is more than one input file
override-info:
title: PolicyClient
These settings apply only when --tag=package-policy-2016-04
is specified on the command line.
input-file:
- Microsoft.Authorization/stable/2016-04-01/policy.json
These settings apply only when --tag=package-policy-2015-10
is specified on the command line.
input-file:
- Microsoft.Authorization/preview/2015-10-01-preview/policy.json
These settings apply only when --tag=package-resources-2021-04
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2021-04-01/resources.json
These settings apply only when --tag=package-resources-2021-01
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2021-01-01/resources.json
These settings apply only when --tag=package-resources-2020-10
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2020-10-01/resources.json
These settings apply only when --tag=package-resources-2020-08
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2020-08-01/resources.json
These settings apply only when --tag=package-resources-2020-06
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2020-06-01/resources.json
These settings apply only when --tag=package-resources-2019-10
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2019-10-01/resources.json
These settings apply only when --tag=package-resources-2019-08
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2019-08-01/resources.json
These settings apply only when --tag=package-resources-2019-07
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2019-07-01/resources.json
These settings apply only when --tag=package-resources-2019-0510
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2019-05-10/resources.json
These settings apply only when --tag=package-resources-2019-05
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2019-05-01/resources.json
These settings apply only when --tag=package-resources-2019-03
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2019-03-01/resources.json
These settings apply only when --tag=package-resources-2018-05
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2018-05-01/resources.json
These settings apply only when --tag=package-resources-2018-02
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2018-02-01/resources.json
These settings apply only when --tag=package-resources-2017-05
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2017-05-10/resources.json
These settings apply only when --tag=package-resources-2016-09
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2016-09-01/resources.json
These settings apply only when --tag=package-resources-2016-07
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2016-07-01/resources.json
These settings apply only when --tag=package-resources-2016-02
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2016-02-01/resources.json
These settings apply only when --tag=package-resources-2015-11
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2015-11-01/resources.json
These settings apply only when --tag=package-subscriptions-2020-01
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2020-01-01/subscriptions.json
These settings apply only when --tag=package-subscriptions-2019-11
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2019-11-01/subscriptions.json
These settings apply only when --tag=package-subscriptions-2019-06
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2019-06-01/subscriptions.json
These settings apply only when --tag=package-subscriptions-2018-06
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2018-06-01/subscriptions.json
These settings apply only when --tag=package-subscriptions-2016-06
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2016-06-01/subscriptions.json
These settings apply only when --tag=package-subscriptions-2015-11
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2015-11-01/subscriptions.json
These settings apply only when --tag=package-links-2016-09
is specified on the command line.
input-file:
- Microsoft.Resources/stable/2016-09-01/links.json
These settings apply only when --tag=package-managedapplications-2019-07
is specified on the command line.
input-file:
- Microsoft.Solutions/stable/2019-07-01/managedapplications.json
These settings apply only when --tag=package-managedapplications-2018-06
is specified on the command line.
input-file:
- Microsoft.Solutions/stable/2018-06-01/managedapplications.json
These settings apply only when --tag=package-managedapplications-2017-09
is specified on the command line.
input-file:
- Microsoft.Solutions/stable/2017-09-01/managedapplications.json
These settings apply only when --tag=package-managedapplications-2016-09
is specified on the command line.
input-file:
- Microsoft.Solutions/preview/2016-09-01-preview/managedapplications.json
directive:
- suppress: UniqueResourcePaths
from: policySetDefinitions.json
reason: policy set definition under an extension resource with Microsoft.Management
- suppress: UniqueResourcePaths
from: resources.json
where: $.paths
reason: route definitions under an extension resource with Microsoft.Management
- suppress: UniqueResourcePaths
from: policyDefinitions.json
reason: policy definition under an extension resource with Microsoft.Management
- suppress: UniqueResourcePaths
from: policyAssignments.json
reason: policy assignment under an extension resource with Microsoft.Management
- suppress: UniqueResourcePaths
from: policyExemptions.json
where: $.paths
reason: policy exemption under an extension resource with Microsoft.Management
- suppress: OperationsAPIImplementation
from: policyAssignments.json
reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger
- suppress: OperationsAPIImplementation
from: privateLinks.json
where: $.paths
reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger
- suppress: OperationsAPIImplementation
from: policyDefinitions.json
reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger
- suppress: OperationsAPIImplementation
from: policyDefinitionVersions.json
reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger
- suppress: OperationsAPIImplementation
from: policySetDefinitions.json
reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger
- suppress: OperationsAPIImplementation
from: policySetDefinitionVersions.json
reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger
- suppress: OperationsAPIImplementation
from: policyExemptions.json
where: $.paths
reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger
- suppress: OperationsAPIImplementation
from: policyVariables.json
where: $.paths
reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger
- suppress: OperationsAPIImplementation
from: policyVariableValues.json
where: $.paths
reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger
- suppress: BodyTopLevelProperties
from: policyAssignments.json
reason: Currently systemData is not allowed. Lint bug - collection GET result contains value and nextLink properties.
- suppress: BodyTopLevelProperties
from: policyDefinitions.json
reason: Currently systemData is not allowed. Lint bug - collection GET result contains value and nextLink properties.
- suppress: BodyTopLevelProperties
from: policyDefinitionVersions.json
reason: Currently systemData is not allowed. Lint bug - collection GET result contains value and nextLink properties.
- suppress: BodyTopLevelProperties
from: policySetDefinitions.json
reason: Currently systemData is not allowed. Lint bug - collection GET result contains value and nextLink properties.
- suppress: BodyTopLevelProperties
from: policySetDefinitionVersions.json
reason: Currently systemData is not allowed. Lint bug - collection GET result contains value and nextLink properties.
- suppress: BodyTopLevelProperties
from: policyExemptions.json
where: $.definitions.PolicyExemption.properties
reason: Currently systemData is not allowed
- suppress: BodyTopLevelProperties
from: resources.json
where: $.definitions.ResourceGroup.properties
reason: managedBy is a top level property
- suppress: BodyTopLevelProperties
from: resources.json
where: $.definitions.GenericResource.properties
reason: managedBy is a top level property
- suppress: BodyTopLevelProperties
from: resources.json
where: $.definitions.GenericResourceExpanded.properties
reason: 'createdTime,changedTime & provisioningState are top-level properties'
- suppress: BodyTopLevelProperties
from: resources.json
where: $.definitions.TagDetails.properties
reason: TagDetails is a top level property
- suppress: BodyTopLevelProperties
from: resources.json
where: $.definitions.TagValue.properties
reason: TagValue is a top level property
- suppress: RequiredPropertiesMissingInResourceModel
from: resources.json
where: $.definitions.TagValue
reason: TagValue will be deprecated soon
- suppress: RequiredPropertiesMissingInResourceModel
from: resources.json
where: $.definitions.TagDetails
reason: TagDetails will be deprecated soon
- suppress: XmsResourceInPutResponse
from: resources.json
where: '$.paths["/subscriptions/{subscriptionId}/tagNames/{tagName}"].put'
reason: TagDetails is not an Azure resource
- suppress: BodyTopLevelProperties
from: managedapplications.json
where: $.definitions.Appliance.properties
reason: managedBy is a top level property
- suppress: BodyTopLevelProperties
from: managedapplications.json
where: $.definitions.ApplianceDefinition.properties
reason: managedBy is a top level property
- suppress: BodyTopLevelProperties
from: managedapplications.json
where: $.definitions.AppliancePatchable.properties
reason: managedBy is a top level property
- suppress: BodyTopLevelProperties
from: managedapplications.json
where: $.definitions.GenericResource.properties
reason: managedBy is a top level property
- from: deploymentScripts.json
suppress: TrackedResourceGetOperation
where: $.definitions.AzureCliScript
reason: Tooling issue.
- from: deploymentScripts.json
suppress: TrackedResourcePatchOperation
where: $.definitions.AzureCliScript
reason: Tooling issue.
- from: deploymentScripts.json
suppress: TrackedResourceGetOperation
where: $.definitions.AzurePowerShellScript
reason: Tooling issue
- from: deploymentScripts.json
suppress: TrackedResourcePatchOperation
where: $.definitions.AzurePowerShellScript
reason: Tooling issue
- suppress: OperationsAPIImplementation
from: deploymentScripts.json
where: $.paths
reason: OperationsAPI will come from Resources
- suppress: IntegerTypeMustHaveFormat
from: deploymentScripts.json
reason: Tooling issue, default is int32, explicitly mentioning the format as per doc, it still flags breaking change.
- suppress: ResourceNameRestriction
from: deploymentScripts.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: PropertiesTypeObjectNoDefinition
from: deploymentScripts.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: SubscriptionsAndResourceGroupCasing
from: deploymentScripts.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: ParametersInPointGet
from: deploymentScripts.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: GetCollectionOnlyHasValueAndNextLink
from: deploymentScripts.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: PatchIdentityProperty
from: deploymentScripts.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: LroErrorContent
from: deploymentScripts.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: ProvisioningStateSpecifiedForLROPut
from: deploymentScripts.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- from: deploymentScripts.json
suppress: R3006
where:
- $.definitions.DeploymentScript.properties
- $.definitions.AzureCliScript.properties
- $.definitions.AzurePowerShellScript.properties
reason: Currently systemData is not allowed
- from: deploymentStacks.json
suppress: OperationsAPIImplementation
where: $.paths
reason: OperationsAPI will come from Resources
- suppress: OperationsAPIImplementation
from: templateSpecs.json
where: $.paths
reason: OperationsAPI will come from Resources
- suppress: R3006
from: templateSpecs.json
where:
- $.definitions.TemplateSpec.properties
- $.definitions.TemplateSpecVersion.properties
- $.definitions.TemplateSpecUpdateModel.properties
- $.definitions.TemplateSpecVersionUpdateModel.properties
reason: Currently systemData is not allowed
- suppress: TrackedResourceListByImmediateParent
from: templateSpecs.json
where: $.definitions
reason: Tooling issue
- suppress: TrackedResourceListByResourceGroup
from: templateSpecs.json
where: $.definitions.TemplateSpecVersion
reason: Tooling issue
- from: deploymentStacks.json
suppress: TrackedResourcePatchOperation
where: $.definitions
reason: Not a tracked resource.
- suppress: OperationsAPIImplementation
where: $.paths
from: dataPolicyManifests.json
reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger
- suppress: EnumInsteadOfBoolean
where: $.definitions.DataManifestCustomResourceFunctionDefinition.properties.allowCustomProperties
from: dataPolicyManifests.json
reason: 'This property can only have two values. '
- suppress: EnumInsteadOfBoolean
where: $.definitions.DataPolicyManifestProperties.properties.isBuiltInOnly
from: dataPolicyManifests.json
reason: 'This property can only have two values. '
- suppress: PageableOperation
where: '$.paths["/providers/Microsoft.Authorization/dataPolicyManifests"].get'
from: dataPolicyManifests.json
reason: Pagination not supported. The size of the result list is pretty limited
- suppress: DescriptionAndTitleMissing
where: $.definitions.AliasPathMetadata
from: resources.json
reason: This was already checked in - not my code
- suppress: TopLevelResourcesListByResourceGroup
from: policyDefinitions.json
reason: Policy definitions are a proxy resource that is only usable on subscriptions or management groups
- suppress: TopLevelResourcesListByResourceGroup
from: policyVariables.json
reason: Policy variables are a proxy resource that is only usable on subscriptions or management groups
- suppress: TopLevelResourcesListByResourceGroup
from: policyVariableValues.json
reason: Policy variable values are a proxy resource that is only usable on subscriptions or management groups
- suppress: TopLevelResourcesListByResourceGroup
from: policySetDefinitions.json
reason: Policy set definitions are a proxy resource that is only usable on subscriptions or management groups
- suppress: RequiredReadOnlySystemData
from: privateLinks.json
reason: We do not yet support system data
- from: SubscriptionFeatureRegistration.json
suppress: R4009
reason: Currently systemData is not allowed
- from: Subscriptions.json
suppress: OperationsAPIImplementation
reason: 'Duplicate Operations API causes generation issues'
- suppress: TopLevelResourcesListByResourceGroup
from: privateLinks.json
reason: The resource is managed in a management group level (instead of inside a resource group)
- suppress: TopLevelResourcesListBySubscription
from: changes.json
reason: We will be pushing customers to use Azure Resource Graph for those at scale scenarios.
- from: changes.json
suppress: OperationsAPIImplementation
where: $.paths
reason: 'Duplicate Operations API causes generation issues'
- from: snapshots.json
suppress: OperationsAPIImplementation
where: $.paths
reason: 'Duplicate Operations API causes generation issues'
- suppress: TopLevelResourcesListBySubscription
from: snapshots.json
reason: We will be pushing customers to use Azure Resource Graph for those at scale scenarios.
- suppress: RequiredReadOnlySystemData
from: changes.json
reason: System Metadata from a change resource perspective is irrelevant
- suppress: ResourceNameRestriction
from: changes.json
reason: change resources cannot be created or named by end users
- from: changes.json
suppress: OperationsAPIImplementation
reason: Duplicate Operations API causes generation issues
- from: resources.json
suppress: R4009
where:
- '$.paths["/{scope}/providers/Microsoft.Resources/tags/default"].put'
- '$.paths["/{scope}/providers/Microsoft.Resources/tags/default"].patch'
- '$.paths["/{scope}/providers/Microsoft.Resources/tags/default"].get'
reason: The tags API does not support system data
- suppress: XMS_EXAMPLE_NOTFOUND_ERROR
where: $.paths
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: LRO_RESPONSE_HEADER
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: OperationsApiResponseSchema
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: OperationsApiSchemaUsesCommonTypes
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: NoDuplicatePathsForScopeParameter
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: LroLocationHeader
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: LroErrorContent
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: NoErrorCodeResponses
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: PutRequestResponseSchemeArm
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: PutResponseSchemaDescription
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: PostOperationAsyncResponseValidation
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: MissingXmsErrorResponse
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: PathForPutOperation
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: PathResourceProviderMatchNamespace
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: ParametersOrder
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: SyncPostReturn
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: PathContainsResourceType
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: OperationIdNounVerb
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: PathForResourceAction
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: UnSupportedPatchProperties
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: LroPostReturn
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: ProvisioningStateSpecifiedForLROPut
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: ProvisioningStateSpecifiedForLROPatch
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: SubscriptionsAndResourceGroupCasing
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: ResourceNameRestriction
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: ConsistentPatchProperties
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: GetCollectionOnlyHasValueAndNextLink
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: MissingTypeObject
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: TrackedResourcePatchOperation
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: IntegerTypeMustHaveFormat
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: BodyTopLevelProperties
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: TopLevelResourcesListBySubscription
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: XmsParameterLocation
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: PathForTrackedResourceTypes
from: resources.json
reason: Not a tracked resource type. Cannot change anything due to design philosophy in ARM.
- suppress: PathForTrackedResourceTypes
from: policyAssignments.json
reason: Not a tracked resource type. The API has never been changed since inception. Would be a breaking change.
- suppress: PostResponseCodes
from: resources.json
reason: Breaking change in order to change the API response code.
- suppress: TenantLevelAPIsNotAllowed
from: resources.json
reason: Tenant level API's are allowed as an exception in ARM repo. It is a breaking change to modify it.
- suppress: TenantLevelAPIsNotAllowed
from: policyDefinitions.json
reason: Linter rule limitation. The API has always supported management group scope.
- suppress: TenantLevelAPIsNotAllowed
from: policyDefinitionVersions.json
reason: Linter rule limitation. The API has always supported management group scope.
- suppress: TenantLevelAPIsNotAllowed
from: policySetDefinitions.json
reason: Linter rule limitation. The API has always supported management group scope.
- suppress: TenantLevelAPIsNotAllowed
from: policySetDefinitionVersions.json
reason: Linter rule limitation. The API has always supported management group scope.
- suppress: TenantLevelAPIsNotAllowed
from: policyAssignments.json
reason: Linter rule limitation. The API has always supported management group scope.
- suppress: XmsPageableForListCalls
from: resources.json
reason: Shared swagger with other teams. We cannot make changes to the API as we don't own it.
- suppress: EvenSegmentedPathForPutOperation
from: resources.json
reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change.
- suppress: EvenSegmentedPathForPutOperation
from: policyAssignments.json
reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change.
- suppress: DeleteResponseCodes
from: resources.json
reason: Breaking change in order to change the API response code.
- suppress: PutResponseCodes
from: resources.json
reason: Breaking change in order to change the API response code.
- suppress: PutResponseCodes
from: policyDefinitions.json
reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change.
- suppress: PutResponseCodes
from: policySetDefinitions.json
reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change.
- suppress: PutResponseCodes
from: policyAssignments.json
reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change.
- suppress: AvoidAdditionalProperties
from: resources.json
reason: Breaking change in order to change the property names for multiple API's. Will fix in the future.
- suppress: AvoidAdditionalProperties
from: changes.json
reason: "Change properties including the dictionary of individual property changes are dynamic types. where clause is not working on all parent fields using this property bag, hence we're suppressing the entire file for now."
- suppress: AvoidAdditionalProperties
from: policyDefinitions.json
reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change.
- suppress: AvoidAdditionalProperties
from: policyDefinitionVersions.json
reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change.
- suppress: AvoidAdditionalProperties
from: policySetDefinitions.json
reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change.
- suppress: AvoidAdditionalProperties
from: policySetDefinitionVersions.json
reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change.
- suppress: AvoidAdditionalProperties
from: policyAssignments.json
reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change.
- suppress: XmsExamplesRequired
from: resources.json
reason: Xms Examples required is a pre-existing lint error. Not related to this version release. Will fix in the future.
- suppress: RequiredReadOnlySystemData
from: resources.json
reason: Pre-existing lint error. Not related to this version release. Will fix in the future
- suppress: PathForTrackedResourceTypes
from: deploymentStacks.json
reason: "A deployment stack resource is a proxy location-mapped resource type."
- suppress: TenantLevelAPIsNotAllowed
from: deploymentStacks.json
reason: "Working with deployment stacks at the management group scope is supported."
- suppress: TrackedResourcePatchOperation
from: deploymentStacks.json
reason: "A deployment stack resource is a proxy location-mapped resource type."
- suppress: AvoidAdditionalProperties
from: deploymentStacks.json
reason: "Deployment properties such as 'parameters', 'outputs', and 'template' are dynamic types. For example, properties of the parameters object are defined by the template content."
- suppress: PostResponseCodes
from: deploymentStacks.json
reason: "Validate endpoints have 200, 202, 400, and default responses. The 400 response inherits the error response."
- suppress: LroErrorContent
from: deploymentStacks.json
reason: Error response is inherited via allOf on flagged response.
- suppress: NoErrorCodeResponses
from: deploymentStacks.json
reason: A 400 response from the validate endpoint indicates a validation failure and should not throw an exception.
- suppress: MissingXmsErrorResponse
from: deploymentStacks.json
reason: A 400 response from the validate endpoint indicates a validation failure and should not throw an exception.
- suppress: DeleteResponseCodes
from: deploymentStacks.json
reason: Deployment stacks supports synchronous delete with 200 response.
- suppress: OperationsAPIImplementation
from: deploymentStacks.json
reason: This comes from resources.json
- suppress: PathForPutOperation
from: policyDefinitions.json
reason: Policy definitions can be created at management group or subscriptions
- suppress: PathForPutOperation
from: policySetDefinitions.json
reason: Policy sets can be created at management group or subscriptions
- suppress: PathForPutOperation
from: policyAssignments.json
reason: Policy assignments can be created at management group or subscriptions
- suppress: PathForPutOperation
from: policyDefinitionVersions.json
reason: Policy definition versions can be created at management group or subscriptions
- suppress: PathForPutOperation
from: policySetDefinitionVersions.json
reason: Policy set versions can be created at management group or subscriptions
- suppress: DeleteResponseBodyEmpty
from: policyAssignments.json
reason: Policy assignment body is returned on delete and this must match API
- suppress: RequestSchemaForTrackedResourcesMustHaveTags
from: policyAssignments.json
reason: Policy assignments are not tracked resources
- suppress: RepeatedPathInfo
from: policyAssignments.json
reason: Service requires the scope to be in the body
- suppress: PutResponseSchemaDescription
from: policyAssignments.json
reason: Service only returns 201 on all successful PUTs
- suppress: PutResponseSchemaDescription
from: policyDefinitions.json
reason: Service only returns 201 on all successful PUTs
- suppress: PutResponseSchemaDescription
from: policySetDefinitions.json
reason: Service only returns 201 on all successful PUTs
- suppress: UnSupportedPatchProperties
from: policyAssignments.json
reason: The location property represents the user-assigned identity location and is changeable for policy assignments
- suppress: PathContainsResourceType
from: policyAssignments.json
reason: The policy assignment id does contain the resource type
- suppress: ResourceNameRestriction
from: policyDefinitionVersions.json
reason: Using common types for management group name
- suppress: ResourceNameRestriction
from: policySetDefinitionVersions.json
reason: Using common types for management group name
- suppress: TenantLevelAPIsNotAllowed
from: dataBoundaries.json
reason: "Have approval from the PAS team."
- suppress: GetCollectionResponseSchema
from: dataBoundaries.json
reason: "Do not have any list calls."
This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-net-track2
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-node
- repo: azure-sdk-for-js
- repo: azure-resource-manager-schemas
- repo: azure-powershell
See configuration in readme.python.md
See configuration in readme.go.md
See configuration in readme.java.md
Since this RP has no unique default package, iterate over all of them for validation:
batch:
- package-features: true
- package-locks: true
- package-policy: true
- package-resources: true
- package-subscriptions: true
- package-links: true
- package-managedapplications: true
- package-deploymentscripts: true
- package-templatespecs: true
- package-deploymentstacks: true
- package-changes: true
- package-snapshots: true
- package-bicep: true
These settings apply only when --tag=profile-hybrid-2019-03-01
is specified on the command line.
Creating this tag to pick proper resources from the hybrid profile.
input-file:
- Microsoft.Authorization/stable/2016-09-01/locks.json
- Microsoft.Authorization/stable/2016-12-01/policyDefinitions.json
- Microsoft.Authorization/stable/2016-12-01/policyAssignments.json
- Microsoft.Resources/stable/2016-06-01/subscriptions.json
- Microsoft.Resources/stable/2018-05-01/resources.json
override-info:
title: PolicyClient