Table of Contents

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

AzureAlertRules

Id

Gets the resource identifier of the subscription - for example "/subscriptions/5463ee1c-ca9c-4f09-9f48-66e77b9c678a".

public string Id { get; }

Property Value

string

Identifier

Gets or sets the unique identifier of the subscription in GUID format.

public Guid Identifier { get; set; }

Property Value

Guid

Invoices

Gets or sets the invoices generated for the subscription.

public AzureInvoices Invoices { get; set; }

Property Value

AzureInvoices

Name

Gets or sets the name of the subscription.

public string Name { get; set; }

Property Value

string

PolicyAssignments

Gets or sets the policy assignments.

public AzurePolicyAssignments PolicyAssignments { get; set; }

Property Value

AzurePolicyAssignments

ResourceLocks

Gets or sets the resource locks defined for the subscription.

public AzureResourceLocks ResourceLocks { get; set; }

Property Value

AzureResourceLocks

RoleAssignments

Gets or sets the roles assigned for the subscription.

public AzureRoleAssignments RoleAssignments { get; set; }

Property Value

AzureRoleAssignments

State

Gets or sets the state of the subscription.

public AzureSubscriptionState State { get; set; }

Property Value

AzureSubscriptionState

StateString

Gets the state of the subscription.

public string StateString { get; set; }

Property Value

string

Tags

Gets or sets the tags assigned to the subscription.

public AzureTags Tags { get; set; }

Property Value

AzureTags

Methods

CompareTo(AzureSubscription)

Compares two CENTREL.XIA.Configuration.Types.AzureSubscription objects to allow sorting alphabetically by name.

public int CompareTo(AzureSubscription other)

Parameters

other AzureSubscription

The CENTREL.XIA.Configuration.Types.AzureSubscription to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.AzureSubscription objects.