Class AzureSubscription
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an Azure subscription.
public class AzureSubscription : GlobalSerializableClassicBase, IComparable<AzureSubscription>
- Inheritance
-
AzureSubscription
- Implements
Constructors
AzureSubscription()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.AzureSubscription class.
public AzureSubscription()
Properties
AlertRules
Gets or sets the alert rules defined for the subscription.
public AzureAlertRules AlertRules { get; set; }
Property Value
Id
Gets the resource identifier of the subscription - for example "/subscriptions/5463ee1c-ca9c-4f09-9f48-66e77b9c678a".
public string Id { get; }
Property Value
Identifier
Gets or sets the unique identifier of the subscription in GUID format.
public Guid Identifier { get; set; }
Property Value
Invoices
Gets or sets the invoices generated for the subscription.
public AzureInvoices Invoices { get; set; }
Property Value
Name
Gets or sets the name of the subscription.
public string Name { get; set; }
Property Value
PolicyAssignments
Gets or sets the policy assignments.
public AzurePolicyAssignments PolicyAssignments { get; set; }
Property Value
ResourceLocks
Gets or sets the resource locks defined for the subscription.
public AzureResourceLocks ResourceLocks { get; set; }
Property Value
RoleAssignments
Gets or sets the roles assigned for the subscription.
public AzureRoleAssignments RoleAssignments { get; set; }
Property Value
State
Gets or sets the state of the subscription.
public AzureSubscriptionState State { get; set; }
Property Value
StateString
Gets the state of the subscription.
public string StateString { get; set; }
Property Value
Tags
Gets or sets the tags assigned to the subscription.
public AzureTags Tags { get; set; }
Property Value
Methods
CompareTo(AzureSubscription)
Compares two CENTREL.XIA.Configuration.Types.AzureSubscription objects to allow sorting alphabetically by name.
public int CompareTo(AzureSubscription other)
Parameters
other
AzureSubscriptionThe CENTREL.XIA.Configuration.Types.AzureSubscription to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.AzureSubscription objects.