Condividi tramite


HierarchySettingsOperationsExtensions.GetAsync Method

Definition

Gets the hierarchy settings defined at the Management Group level. Settings can only be set on the root Management Group of the hierarchy.

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

Parameters

operations
IHierarchySettingsOperations

The operations group for this extension method.

groupId
String

Management Group ID.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to