ManagementGroupCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class representing a collection of ManagementGroupResource and their operations. Each ManagementGroupResource in the collection will belong to the same instance of TenantResource. To get a ManagementGroupCollection instance call the GetManagementGroups method from an instance of TenantResource.
public class ManagementGroupCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.ManagementGroups.ManagementGroupResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ManagementGroups.ManagementGroupResource>
type ManagementGroupCollection = class
inherit ArmCollection
interface seq<ManagementGroupResource>
interface IEnumerable
interface IAsyncEnumerable<ManagementGroupResource>
Public Class ManagementGroupCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ManagementGroupResource), IEnumerable(Of ManagementGroupResource)
- Inheritance
- Implements
Constructors
ManagementGroupCollection() |
Initializes a new instance of the ManagementGroupCollection class for mocking. |
Properties
Client |
Gets the ArmClient this resource client was created from. (Inherited from ArmCollection) |
Diagnostics |
Gets the diagnostic options for this resource client. (Inherited from ArmCollection) |
Endpoint |
Gets the base uri for this resource client. (Inherited from ArmCollection) |
Id |
Gets the resource identifier. (Inherited from ArmCollection) |
Pipeline |
Gets the pipeline for this resource client. (Inherited from ArmCollection) |
Methods
CheckNameAvailability(ManagementGroupNameAvailabilityContent, CancellationToken) |
Checks if the specified management group name is valid and unique
|
CheckNameAvailabilityAsync(ManagementGroupNameAvailabilityContent, CancellationToken) |
Checks if the specified management group name is valid and unique
|
CreateOrUpdate(WaitUntil, String, ManagementGroupCreateOrUpdateContent, String, CancellationToken) |
Create or update a management group. If a management group is already created and a subsequent create request is issued with different properties, the management group properties will be updated.
|
CreateOrUpdateAsync(WaitUntil, String, ManagementGroupCreateOrUpdateContent, String, CancellationToken) |
Create or update a management group. If a management group is already created and a subsequent create request is issued with different properties, the management group properties will be updated.
|
Exists(String, Nullable<ManagementGroupExpandType>, Nullable<Boolean>, String, String, CancellationToken) |
Checks to see if the resource exists in azure.
|
ExistsAsync(String, Nullable<ManagementGroupExpandType>, Nullable<Boolean>, String, String, CancellationToken) |
Checks to see if the resource exists in azure.
|
Get(String, Nullable<ManagementGroupExpandType>, Nullable<Boolean>, String, String, CancellationToken) |
Get the details of the management group.
|
GetAll(String, String, CancellationToken) |
List management groups for the authenticated user.
|
GetAllAsync(String, String, CancellationToken) |
List management groups for the authenticated user.
|
GetAsync(String, Nullable<ManagementGroupExpandType>, Nullable<Boolean>, String, String, CancellationToken) |
Get the details of the management group.
|
GetEntities(ManagementGroupCollectionGetEntitiesOptions, CancellationToken) |
List all entities (Management Groups, Subscriptions, etc.) for the authenticated user.
|
GetEntitiesAsync(ManagementGroupCollectionGetEntitiesOptions, CancellationToken) |
List all entities (Management Groups, Subscriptions, etc.) for the authenticated user.
|
GetIfExists(String, Nullable<ManagementGroupExpandType>, Nullable<Boolean>, String, String, CancellationToken) |
Tries to get details for this resource from the service.
|
GetIfExistsAsync(String, Nullable<ManagementGroupExpandType>, Nullable<Boolean>, String, String, CancellationToken) |
Tries to get details for this resource from the service.
|
TryGetApiVersion(ResourceType, String) |
Gets the api version override if it has been set for the current client options. (Inherited from ArmCollection) |
Explicit Interface Implementations
IAsyncEnumerable<ManagementGroupResource>.GetAsyncEnumerator(CancellationToken) |
Returns an enumerator that iterates asynchronously through the collection. |
IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through a collection. |
IEnumerable<ManagementGroupResource>.GetEnumerator() |
Returns an enumerator that iterates through the collection. |