Table of Contents

Class AzureResourceReference

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

Represents a reference to an Azure resource.

public class AzureResourceReference : GlobalSerializableClassicBase, IComparable<AzureResourceReference>
Inheritance
AzureResourceReference
Implements

Constructors

AzureResourceReference()

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

public AzureResourceReference()

Properties

CollectionDisplayField

Gets the collection display field for the resource.

[Browsable(false)]
public string CollectionDisplayField { get; }

Property Value

string

CollectionIndex

Gets the collection index for the resource.

[Browsable(false)]
public string CollectionIndex { get; }

Property Value

string

Id

Gets or sets the unique identifier of the resource - for example "/subscriptions/c6899544-d259-4912-8cd0-bdbbf7c7dfde/resourceGroups/DemonstrationResourceGroup/providers/Microsoft.Sql/servers/readonlysql/databases/DemoDatabase".

public string Id { get; set; }

Property Value

string

Name

Gets or sets the name of the resource.

public string Name { get; set; }

Property Value

string

ResourceGroupName

Gets or sets the name of the resource group to which this resource resides.

public string ResourceGroupName { get; set; }

Property Value

string

SubscriptionName

Gets or sets the name of the subscription assigned to this resource.

public string SubscriptionName { get; set; }

Property Value

string

Methods

CompareTo(AzureResourceReference)

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

public int CompareTo(AzureResourceReference other)

Parameters

other AzureResourceReference

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

Returns

int

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