다음을 통해 공유


GroupQuotaEntityResource.CreateOrUpdateGroupQuotaLimitsRequestAsync Method

Definition

Put the GroupQuota requests for a specific ResourceProvider/Location/Resource. the location and resourceName ("name": {"value" : "resourceName") properties are specified in the request body. Only 1 resource quota can be requested. 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_CreateOrUpdate
  • Default Api Version: 2023-06-01-preview
  • Resource: GroupQuotaRequestStatusResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Quota.GroupQuotaRequestStatusResource>> CreateOrUpdateGroupQuotaLimitsRequestAsync (Azure.WaitUntil waitUntil, string resourceProviderName, string resourceName, Azure.ResourceManager.Quota.GroupQuotaRequestStatusData data = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateGroupQuotaLimitsRequestAsync : Azure.WaitUntil * string * string * Azure.ResourceManager.Quota.GroupQuotaRequestStatusData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Quota.GroupQuotaRequestStatusResource>>
override this.CreateOrUpdateGroupQuotaLimitsRequestAsync : 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 CreateOrUpdateGroupQuotaLimitsRequestAsync (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.

data
GroupQuotaRequestStatusData

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