Share via


HierarchySettingsOperationsExtensions.ListAsync Method

Definition

Gets all 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.HierarchySettingsList> ListAsync (this Microsoft.Azure.Management.ManagementGroups.IHierarchySettingsOperations operations, string groupId, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.ManagementGroups.IHierarchySettingsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagementGroups.Models.HierarchySettingsList>
<Extension()>
Public Function ListAsync (operations As IHierarchySettingsOperations, groupId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HierarchySettingsList)

Parameters

operations
IHierarchySettingsOperations

The operations group for this extension method.

groupId
String

Management Group ID.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to