Skip to content

Commit

Permalink
add a flag to suppress any generation errors (Azure#25475)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcturusZhang authored Nov 23, 2021
1 parent ccd26d7 commit 6c2c75b
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sdk/compute/Azure.ResourceManager.Compute/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ clear-output-folder: true
skip-csproj: true
modelerfour:
lenient-model-deduplication: true

# temporary
mgmt-debug:
suppress-list-exception: true

#TODO: remove after we resolve why RestorePoint has no list
list-exception:
RestorePoints
Expand Down
5 changes: 5 additions & 0 deletions sdk/keyvault/Azure.ResourceManager.KeyVault/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ modelerfour:
lenient-model-deduplication: true
model-namespace: false
payload-flattening-threshold: 2

# temporary
mgmt-debug:
suppress-list-exception: true

operation-group-to-resource-type:
PrivateLinkResources: Microsoft.KeyVault/vaults/privateLinkResources
MHSMPrivateLinkResources: Microsoft.KeyVault/managedHSMs/privateLinkResources
Expand Down
4 changes: 4 additions & 0 deletions sdk/network/Azure.ResourceManager.Network/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ model-namespace: true
public-clients: false
head-as-boolean: false
flatten-payloads: false

# temporary
mgmt-debug:
suppress-list-exception: true
#TODO: remove after we resolve why DdosCustomPolicy has no list
list-exception:
DdosCustomPolicies
Expand Down
4 changes: 4 additions & 0 deletions sdk/resources/Azure.ResourceManager.Resources/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ public-clients: false
head-as-boolean: false
payload-flattening-threshold: 2

# temporary
mgmt-debug:
suppress-list-exception: true

operation-group-to-resource-type:
DeploymentOperations: Microsoft.Resources/deployments/operations
Deployments: Microsoft.Resources/deployments
Expand Down
5 changes: 5 additions & 0 deletions sdk/storage/Azure.ResourceManager.Storage/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ skip-csproj: true
modelerfour:
lenient-model-deduplication: true
seal-single-value-enum-by-default: true

# temporary
mgmt-debug:
suppress-list-exception: true

operation-group-to-resource-type:
Skus: Microsoft.Storage/skus
DeletedAccounts: Microsoft.Storage/deletedAccounts
Expand Down

0 comments on commit 6c2c75b

Please sign in to comment.