Condividi tramite


HierarchySettingsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates the hierarchy settings defined at the Management Group level.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagementGroups.Models.HierarchySettings> CreateOrUpdateAsync (this Microsoft.Azure.Management.ManagementGroups.IHierarchySettingsOperations operations, string groupId, Microsoft.Azure.Management.ManagementGroups.Models.CreateOrUpdateSettingsRequest createTenantSettingsRequest, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : 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 CreateOrUpdateAsync (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