SubscriptionQuotaAllocationsListResource.Update Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Request to assign quota from group quota to a specific Subscription. The assign GroupQuota to subscriptions or reduce the quota allocated to subscription to give back the unused quota ( quota >= usages) to the groupQuota. So, this API can be used to assign Quota to subscriptions and assign back unused quota to group quota, which can be assigned to another subscriptions in the GroupQuota. User can collect unused quotas from multiple subscriptions within the groupQuota and assign the groupQuota to the subscription, where it's needed.
- Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/quotaAllocations/{location}
- Operation Id: GroupQuotaSubscriptionAllocationRequest_Update
- Default Api Version: 2024-12-18-preview
- Resource: SubscriptionQuotaAllocationsListResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Quota.SubscriptionQuotaAllocationsListResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.Quota.SubscriptionQuotaAllocationsListData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.Quota.SubscriptionQuotaAllocationsListData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Quota.SubscriptionQuotaAllocationsListResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.Quota.SubscriptionQuotaAllocationsListData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Quota.SubscriptionQuotaAllocationsListResource>
Public Overridable Function Update (waitUntil As WaitUntil, data As SubscriptionQuotaAllocationsListData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of SubscriptionQuotaAllocationsListResource)
Parameters
- waitUntil
- WaitUntil
Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
Quota requests payload.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
data
is null.
Applies to
Azure SDK for .NET