Class ManagementLockData
- Namespace
- Azure.ResourceManager.Resources
- Assembly
- Azure.ResourceManager.dll
A class representing the ManagementLock data model. The lock information.
public class ManagementLockData : ResourceData, IJsonModel<ManagementLockData>, IPersistableModel<ManagementLockData>
- Inheritance
-
ManagementLockData
- Implements
-
IJsonModel<ManagementLockData>IPersistableModel<ManagementLockData>
- Inherited Members
Constructors
ManagementLockData(ManagementLockLevel)
Initializes a new instance of ManagementLockData.
public ManagementLockData(ManagementLockLevel level)
Parameters
level
ManagementLockLevelThe 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.
Properties
Level
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 ManagementLockLevel Level { get; set; }
Property Value
Notes
Notes about the lock. Maximum of 512 characters.
public string Notes { get; set; }
Property Value
Owners
The owners of the lock.
public IList<ManagementLockOwner> Owners { get; }