GroupQuotaEntityResource.UpdateGroupQuotaLimitsRequestAsync 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.
Create the GroupQuota requests for a specific ResourceProvider/Location/Resource. the location and resourceName properties are specified in the request body. Only 1 resource quota can be requested. Please note that patch request creates a new groupQuota request. Use the polling API - OperationsStatus URI specified in Azure-AsyncOperation header field, with retry-after duration in seconds to check the intermediate status. This API provides the finals status with the request details and status.
- Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/groupQuotaRequests/{resourceName}
- Operation Id: GroupQuotaLimitsRequest_Update
- Default Api Version: 2023-06-01-preview
- Resource: GroupQuotaRequestStatusResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Quota.GroupQuotaRequestStatusResource>> UpdateGroupQuotaLimitsRequestAsync (Azure.WaitUntil waitUntil, string resourceProviderName, string resourceName, Azure.ResourceManager.Quota.GroupQuotaRequestStatusData data = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateGroupQuotaLimitsRequestAsync : Azure.WaitUntil * string * string * Azure.ResourceManager.Quota.GroupQuotaRequestStatusData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Quota.GroupQuotaRequestStatusResource>>
override this.UpdateGroupQuotaLimitsRequestAsync : Azure.WaitUntil * string * string * Azure.ResourceManager.Quota.GroupQuotaRequestStatusData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Quota.GroupQuotaRequestStatusResource>>
Public Overridable Function UpdateGroupQuotaLimitsRequestAsync (waitUntil As WaitUntil, resourceProviderName As String, resourceName As String, Optional data As GroupQuotaRequestStatusData = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of GroupQuotaRequestStatusResource))
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.
- resourceProviderName
- String
The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
- resourceName
- String
Resource name.
The GroupQuotaRequest body details for specific resourceProvider/location/resources.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
resourceProviderName
or resourceName
is an empty string, and was expected to be non-empty.
resourceProviderName
or resourceName
is null.
Applies to
Azure SDK for .NET