Table of Contents

Class AzureResourceLock

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

Represents an Azure resource lock.

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

Constructors

AzureResourceLock()

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

public AzureResourceLock()

Properties

LockType

Gets or sets the type of resource lock.

public AzureResourceLockType LockType { get; set; }

Property Value

AzureResourceLockType

LockTypeString

Gets the type of resource lock as a human readable string.

public string LockTypeString { get; set; }

Property Value

string

Name

Gets or sets the name of the resource lock.

public string Name { get; set; }

Property Value

string

Notes

Gets or sets the notes assigned to the lock.

public string Notes { get; set; }

Property Value

string

ResourceGroupName

Gets or sets the name of the resource group to which the lock applies.

public string ResourceGroupName { get; set; }

Property Value

string

Scope

Gets or sets the scope where the lock was applied.

public string Scope { get; set; }

Property Value

string

ScopeType

Gets or sets the type of scope on which the lock is applied.

public AzureResourceLockScopeType ScopeType { get; set; }

Property Value

AzureResourceLockScopeType

ScopeTypeString

Gets the type of scope on which the lock is applied.

public string ScopeTypeString { get; set; }

Property Value

string

Methods

CompareTo(AzureResourceLock)

Compares two CENTREL.XIA.Configuration.Types.AzureResourceLock objects to allow for sorting by name.

public int CompareTo(AzureResourceLock other)

Parameters

other AzureResourceLock

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

Returns

int

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