ManagementGroupResource.UpdateAsync 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET