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
LockTypeString
Gets the type of resource lock as a human readable string.
public string LockTypeString { get; set; }
Property Value
Name
Gets or sets the name of the resource lock.
public string Name { get; set; }
Property Value
Notes
Gets or sets the notes assigned to the lock.
public string Notes { get; set; }
Property Value
ResourceGroupName
Gets or sets the name of the resource group to which the lock applies.
public string ResourceGroupName { get; set; }
Property Value
Scope
Gets or sets the scope where the lock was applied.
public string Scope { get; set; }
Property Value
ScopeType
Gets or sets the type of scope on which the lock is applied.
public AzureResourceLockScopeType ScopeType { get; set; }
Property Value
ScopeTypeString
Gets the type of scope on which the lock is applied.
public string ScopeTypeString { get; set; }
Property Value
Methods
CompareTo(AzureResourceLock)
Compares two CENTREL.XIA.Configuration.Types.AzureResourceLock objects to allow for sorting by name.
public int CompareTo(AzureResourceLock other)
Parameters
other
AzureResourceLockThe CENTREL.XIA.Configuration.Types.AzureResourceLock to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.AzureResourceLock objects.