-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Open
Labels
CodeGenIssues that relate to code generationIssues that relate to code generationMgmtThis issue is related to a management package.This issue is related to a management package.
Description
While generate SDK for Azure.ResourceManager.Quota, QuotaAllocationRequestBase is missing.
Added it back with custom code for now in
azure-sdk-for-net/sdk/quota/Azure.ResourceManager.Quota/src/Custom/ArmQuotaModelFactory.cs
Lines 96 to 106 in 30fa6a7
| // Will remove this custom code while https://github.com/Azure/azure-sdk-for-net/issues/54298 is fixed. | |
| /// <summary> Initializes a new instance of <see cref="Models.QuotaAllocationRequestBase"/>. </summary> | |
| /// <param name="limit"> The new quota limit for the subscription. The incremental quota will be allocated from pre-approved group quota. </param> | |
| /// <param name="value"> Resource name. </param> | |
| /// <param name="localizedValue"> Resource display name. </param> | |
| /// <param name="region"> The location for which the subscription is allocated. </param> | |
| /// <returns> A new <see cref="Models.QuotaAllocationRequestBase"/> instance for mocking. </returns> | |
| public static QuotaAllocationRequestBase QuotaAllocationRequestBase(long? limit = null, string value = null, string localizedValue = null, string region = null) | |
| { | |
| return new QuotaAllocationRequestBase(new QuotaAllocationRequestBaseProperties(limit, new QuotaAllocationRequestBasePropertiesName(value, localizedValue, additionalBinaryDataProperties: null), region, additionalBinaryDataProperties: null), additionalBinaryDataProperties: null); | |
| } |
Copilot
Metadata
Metadata
Assignees
Labels
CodeGenIssues that relate to code generationIssues that relate to code generationMgmtThis issue is related to a management package.This issue is related to a management package.