QuotaOperationsExtensions.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.
Update the quota (service limits) of this resource to the requested value.
• To get the quota information for specific resource, send a GET request.
• To increase the quota, update the limit field from the GET response to a new value.
• To update the quota value, submit the JSON response to the quota request API to update the quota. • To update the quota. use the PATCH operation.
public static object Update (this Microsoft.Azure.Management.Reservations.IQuotaOperations operations, string subscriptionId, string providerId, string location, string resourceName, Microsoft.Azure.Management.Reservations.Models.CurrentQuotaLimitBase createQuotaRequest);
static member Update : Microsoft.Azure.Management.Reservations.IQuotaOperations * string * string * string * string * Microsoft.Azure.Management.Reservations.Models.CurrentQuotaLimitBase -> obj
<Extension()>
Public Function Update (operations As IQuotaOperations, subscriptionId As String, providerId As String, location As String, resourceName As String, createQuotaRequest As CurrentQuotaLimitBase) As Object
Parameters
- operations
- IQuotaOperations
The operations group for this extension method.
- subscriptionId
- String
Azure subscription ID.
- providerId
- String
Azure resource provider ID.
- location
- String
Azure region.
- resourceName
- String
The resource name for a resource provider, such as SKU name for Microsoft.Compute, Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices
- createQuotaRequest
- CurrentQuotaLimitBase
Payload for the quota request.
Returns
Applies to
Azure SDK for .NET