Table of Contents

Class AzureManagementGroupCollection

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a collection of Azure management groups.

public class AzureManagementGroupCollection : Collection<AzureManagementGroup>, IList<AzureManagementGroup>, ICollection<AzureManagementGroup>, IList, ICollection, IReadOnlyList<AzureManagementGroup>, IReadOnlyCollection<AzureManagementGroup>, IEnumerable<AzureManagementGroup>, IEnumerable
Inheritance
AzureManagementGroupCollection
Implements
Inherited Members

Constructors

AzureManagementGroupCollection()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.AzureManagementGroupCollection class.

public AzureManagementGroupCollection()

Methods

ExistsById(string)

Determines whether a CENTREL.XIA.Configuration.Types.AzureManagementGroup with the specified identifier exists within the collection.

public bool ExistsById(string id)

Parameters

id string

The identifier of the CENTREL.XIA.Configuration.Types.AzureManagementGroup to locate - for example "/providers/Microsoft.Management/managementGroups/ExampleGroup".

Returns

bool

A System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.AzureManagementGroup with the specified identifier exists within the collection.

FindById(string)

Returns the CENTREL.XIA.Configuration.Types.AzureManagementGroup with the specified identifier, or null if no CENTREL.XIA.Configuration.Types.AzureManagementGroup with that identifier is found.

public AzureManagementGroup FindById(string id)

Parameters

id string

The identifier of the CENTREL.XIA.Configuration.Types.AzureManagementGroup to locate - for example "/providers/Microsoft.Management/managementGroups/ExampleGroup".

Returns

AzureManagementGroup

The CENTREL.XIA.Configuration.Types.AzureManagementGroup with the specified identifier.

FindByName(string)

Returns the CENTREL.XIA.Configuration.Types.AzureManagementGroup with the specified name, or null if no CENTREL.XIA.Configuration.Types.AzureManagementGroup with that name is found.

public AzureManagementGroup FindByName(string name)

Parameters

name string

The name of the CENTREL.XIA.Configuration.Types.AzureManagementGroup to locate.

Returns

AzureManagementGroup

The CENTREL.XIA.Configuration.Types.AzureManagementGroup with the specified name.

FindByParentName(string)

Returns a CENTREL.XIA.Configuration.Types.AzureManagementGroupCollection containing the management groups with the parent with the specified name.

public AzureManagementGroupCollection FindByParentName(string parentName)

Parameters

parentName string

The name of the immediate parent.

Returns

AzureManagementGroupCollection

A CENTREL.XIA.Configuration.Types.AzureManagementGroupCollection containing the management groups with the parent with the specified name.

FindRoot()

Returns the root CENTREL.XIA.Configuration.Types.AzureManagementGroup.

public AzureManagementGroup FindRoot()

Returns

AzureManagementGroup

The root CENTREL.XIA.Configuration.Types.AzureManagementGroup.

ResolveDisplayName(string)

Returns the display name of the management group with the specified identifier.

public string ResolveDisplayName(string id)

Parameters

id string

The resource identifier of the CENTREL.XIA.Configuration.Types.AzureManagementGroup to locate - for example "/providers/Microsoft.Management/managementGroups/ExampleGroup".

Returns

string

The display name of the management group with the specified identifier.

Sort()

Sorts the values in the collection.

public void Sort()