ManagementGroupsOperationsExtensions.UpdateAsync Method

Definition

Update a management group.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagementGroups.Models.ManagementGroup> UpdateAsync (this Microsoft.Azure.Management.ManagementGroups.IManagementGroupsOperations operations, string groupId, Microsoft.Azure.Management.ManagementGroups.Models.PatchManagementGroupRequest patchGroupRequest, string cacheControl = "no-cache", System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.ManagementGroups.IManagementGroupsOperations * string * Microsoft.Azure.Management.ManagementGroups.Models.PatchManagementGroupRequest * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagementGroups.Models.ManagementGroup>
<Extension()>
Public Function UpdateAsync (operations As IManagementGroupsOperations, groupId As String, patchGroupRequest As PatchManagementGroupRequest, Optional cacheControl As String = "no-cache", Optional cancellationToken As CancellationToken = Nothing) As Task(Of ManagementGroup)

Parameters

operations
IManagementGroupsOperations

The operations group for this extension method.

groupId
String

Management Group ID.

patchGroupRequest
PatchManagementGroupRequest

Management group patch parameters.

cacheControl
String

Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to