GroupQuotaEntityResource.CreateOrUpdateGroupQuotaLimitsRequest 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.
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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Quota.GroupQuotaRequestStatusResource> CreateOrUpdateGroupQuotaLimitsRequest (Azure.WaitUntil waitUntil, string resourceProviderName, string resourceName, Azure.ResourceManager.Quota.GroupQuotaRequestStatusData data = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateGroupQuotaLimitsRequest : Azure.WaitUntil * string * string * Azure.ResourceManager.Quota.GroupQuotaRequestStatusData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Quota.GroupQuotaRequestStatusResource>
override this.CreateOrUpdateGroupQuotaLimitsRequest : Azure.WaitUntil * string * string * Azure.ResourceManager.Quota.GroupQuotaRequestStatusData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Quota.GroupQuotaRequestStatusResource>
Public Overridable Function CreateOrUpdateGroupQuotaLimitsRequest (waitUntil As WaitUntil, resourceProviderName As String, resourceName As String, Optional data As GroupQuotaRequestStatusData = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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