共用方式為


ManagementGroupResource.Update 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 Azure.Response<Azure.ResourceManager.ManagementGroups.ManagementGroupResource> Update (Azure.ResourceManager.ManagementGroups.Models.ManagementGroupPatch patch, string cacheControl = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.ManagementGroups.Models.ManagementGroupPatch * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagementGroups.ManagementGroupResource>
override this.Update : Azure.ResourceManager.ManagementGroups.Models.ManagementGroupPatch * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagementGroups.ManagementGroupResource>
Public Overridable Function Update (patch As ManagementGroupPatch, Optional cacheControl As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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