Quota.GroupQuotaLimitsRequestUpdateViaJsonString 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 GroupQuota requests for a specific ResourceProvider/Location/Resource. The resourceName properties are specified in the request body. Only 1 resource quota can be requested. Please note that patch request update 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.
public System.Threading.Tasks.Task GroupQuotaLimitsRequestUpdateViaJsonString(string managementGroupId, string groupQuotaName, string resourceProviderName, string location, string jsonString, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.IGroupQuotaLimitList>,System.Threading.Tasks.Task> onOk, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.IErrorResponse>,System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Quota.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Quota.Runtime.ISendAsync sender);
member this.GroupQuotaLimitsRequestUpdateViaJsonString : string * string * string * string * string * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.IGroupQuotaLimitList>, System.Threading.Tasks.Task> * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.IErrorResponse>, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.Quota.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Quota.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function GroupQuotaLimitsRequestUpdateViaJsonString (managementGroupId As String, groupQuotaName As String, resourceProviderName As String, location As String, jsonString As String, onOk As Func(Of HttpResponseMessage, Task(Of IGroupQuotaLimitList), Task), onDefault As Func(Of HttpResponseMessage, Task(Of IErrorResponse), Task), eventListener As IEventListener, sender As ISendAsync) As Task
Parameters
- managementGroupId
- String
The management group ID.
- groupQuotaName
- String
The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
- resourceProviderName
- String
The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
- location
- String
The name of the Azure region.
- jsonString
- String
Json string supplied to the GroupQuotaLimitsRequestUpdate operation
a delegate that is called when the remote service returns 200 (OK).
- onDefault
- Func<HttpResponseMessage,Task<IErrorResponse>,Task>
a delegate that is called when the remote service returns default (any response code not handled elsewhere).
- eventListener
- IEventListener
an IEventListener instance that will receive events.
- sender
- ISendAsync
an instance of an Microsoft.Azure.PowerShell.Cmdlets.Quota.Runtime.ISendAsync pipeline to use to make the request.
Returns
A Task that will be complete when handling of the response is completed.