Struct ManagementLockLevel
- Namespace
- Azure.ResourceManager.Resources.Models
- Assembly
- Azure.ResourceManager.dll
The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it.
public readonly struct ManagementLockLevel : IEquatable<ManagementLockLevel>
- Implements
- Inherited Members
Constructors
ManagementLockLevel(string)
Initializes a new instance of ManagementLockLevel.
public ManagementLockLevel(string value)
Parameters
value
string
Exceptions
- ArgumentNullException
value
is null.
Properties
CanNotDelete
CanNotDelete.
public static ManagementLockLevel CanNotDelete { get; }
Property Value
NotSpecified
NotSpecified.
public static ManagementLockLevel NotSpecified { get; }
Property Value
ReadOnly
ReadOnly.
public static ManagementLockLevel ReadOnly { get; }
Property Value
Methods
Equals(ManagementLockLevel)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ManagementLockLevel other)
Parameters
other
ManagementLockLevelAn object to compare with this object.
Returns
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
Operators
operator ==(ManagementLockLevel, ManagementLockLevel)
Determines if two ManagementLockLevel values are the same.
public static bool operator ==(ManagementLockLevel left, ManagementLockLevel right)
Parameters
left
ManagementLockLevelright
ManagementLockLevel
Returns
implicit operator ManagementLockLevel(string)
Converts a string to a ManagementLockLevel.
public static implicit operator ManagementLockLevel(string value)
Parameters
value
string
Returns
operator !=(ManagementLockLevel, ManagementLockLevel)
Determines if two ManagementLockLevel values are not the same.
public static bool operator !=(ManagementLockLevel left, ManagementLockLevel right)
Parameters
left
ManagementLockLevelright
ManagementLockLevel