Share via


ManagementGroupResource.UpdateAsync Method

Definition

Update a management group.

  • Request Path: /providers/Microsoft.Management/managementGroups/{groupId}
  • Operation Id: ManagementGroups_Update
  • Default Api Version: 2021-04-01
  • Resource: ManagementGroupResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagementGroups.ManagementGroupResource>> UpdateAsync (Azure.ResourceManager.ManagementGroups.Models.ManagementGroupPatch patch, string cacheControl = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.ManagementGroups.Models.ManagementGroupPatch * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagementGroups.ManagementGroupResource>>
override this.UpdateAsync : Azure.ResourceManager.ManagementGroups.Models.ManagementGroupPatch * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagementGroups.ManagementGroupResource>>
Public Overridable Function UpdateAsync (patch As ManagementGroupPatch, Optional cacheControl As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagementGroupResource))

Parameters

patch
ManagementGroupPatch

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 to use.

Returns

Exceptions

patch is null.

Applies to