Aracılığıyla paylaş


ManagementGroupCollection.GetAll(String, String, CancellationToken) Method

Definition

List management groups for the authenticated user.

  • Request Path: /providers/Microsoft.Management/managementGroups
  • Operation Id: ManagementGroups_List
  • Default Api Version: 2021-04-01
  • Resource: ManagementGroupResource
public virtual Azure.Pageable<Azure.ResourceManager.ManagementGroups.ManagementGroupResource> GetAll (string cacheControl = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagementGroups.ManagementGroupResource>
override this.GetAll : string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagementGroups.ManagementGroupResource>
Public Overridable Function GetAll (Optional cacheControl As String = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ManagementGroupResource)

Parameters

cacheControl
String

Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches.

skipToken
String

Page continuation token is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a token parameter that specifies a starting point to use for subsequent calls.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ManagementGroupResource that may take multiple service requests to iterate over.

Applies to