Class AzureSubscriptionCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of Azure subscriptions.
public class AzureSubscriptionCollection : Collection<AzureSubscription>, IList<AzureSubscription>, ICollection<AzureSubscription>, IList, ICollection, IReadOnlyList<AzureSubscription>, IReadOnlyCollection<AzureSubscription>, IEnumerable<AzureSubscription>, IEnumerable
- Inheritance
-
AzureSubscriptionCollection
- Implements
- Inherited Members
Constructors
AzureSubscriptionCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.AzureSubscriptionCollection class.
public AzureSubscriptionCollection()
Methods
ExistsById(string)
Determines whether a CENTREL.XIA.Configuration.Types.AzureSubscription with the specified identifier exists within the collection.
public bool ExistsById(string id)
Parameters
id
stringThe resource identifier of the CENTREL.XIA.Configuration.Types.AzureSubscription to locate - for example "/subscriptions/5463ee1c-ca9c-4f09-9f48-66e77b9c678a".
Returns
- bool
A System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.AzureSubscription with the specified identifier exists within the collection.
FindById(string)
Returns the CENTREL.XIA.Configuration.Types.AzureSubscription with the specified resource identifier, or null if no CENTREL.XIA.Configuration.Types.AzureSubscription with that resource identifier is found.
public AzureSubscription FindById(string id)
Parameters
id
stringThe resource identifier of the CENTREL.XIA.Configuration.Types.AzureSubscription to locate - for example "/subscriptions/5463ee1c-ca9c-4f09-9f48-66e77b9c678a".
Returns
- AzureSubscription
The CENTREL.XIA.Configuration.Types.AzureSubscription with the specified resource identifier.
FindByIdentifier(Guid)
Returns the CENTREL.XIA.Configuration.Types.AzureSubscription with the specified identifier, or null if no CENTREL.XIA.Configuration.Types.AzureSubscription with that identifier is found.
public AzureSubscription FindByIdentifier(Guid identifier)
Parameters
identifier
GuidThe identifier of the CENTREL.XIA.Configuration.Types.AzureSubscription to locate in GUID format.
Returns
- AzureSubscription
The CENTREL.XIA.Configuration.Types.AzureSubscription with the specified identifier.
ResolveDisplayName(Guid)
Returns the display name of the subscription with the specified identifier.
public string ResolveDisplayName(Guid identifier)
Parameters
identifier
GuidThe identifier of the CENTREL.XIA.Configuration.Types.AzureSubscription to locate in GUID format.
Returns
- string
The display name of the subscription with the specified identifier.
ResolveDisplayName(string)
Returns the display name of the subscription with the specified identifier.
public string ResolveDisplayName(string id)
Parameters
id
stringThe resource identifier of the CENTREL.XIA.Configuration.Types.AzureSubscription to locate - for example "/subscriptions/5463ee1c-ca9c-4f09-9f48-66e77b9c678a".
Returns
- string
The display name of the subscription with the specified identifier.
Sort()
Sorts the values in the collection.
public void Sort()