Share via


HierarchySettingsOperationsExtensions.UpdateAsync Method

Definition

Updates the hierarchy settings defined at the Management Group level.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagementGroups.Models.HierarchySettings> UpdateAsync (this Microsoft.Azure.Management.ManagementGroups.IHierarchySettingsOperations operations, string groupId, Microsoft.Azure.Management.ManagementGroups.Models.CreateOrUpdateSettingsRequest createTenantSettingsRequest, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.ManagementGroups.IHierarchySettingsOperations * string * Microsoft.Azure.Management.ManagementGroups.Models.CreateOrUpdateSettingsRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagementGroups.Models.HierarchySettings>
<Extension()>
Public Function UpdateAsync (operations As IHierarchySettingsOperations, groupId As String, createTenantSettingsRequest As CreateOrUpdateSettingsRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HierarchySettings)

Parameters

operations
IHierarchySettingsOperations

The operations group for this extension method.

groupId
String

Management Group ID.

createTenantSettingsRequest
CreateOrUpdateSettingsRequest

Tenant level settings request parameter.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to