다음을 통해 공유


ManagementLockObject Class

Definition

The lock information.

[Microsoft.Rest.Serialization.JsonTransformation]
public class ManagementLockObject : Microsoft.Rest.Azure.IResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ManagementLockObject = class
    interface IResource
Public Class ManagementLockObject
Implements IResource
Inheritance
ManagementLockObject
Attributes
Implements

Constructors

ManagementLockObject()

Initializes a new instance of the ManagementLockObject class.

ManagementLockObject(String, String, IList<ManagementLockOwner>, String, String, String)

Initializes a new instance of the ManagementLockObject class.

Properties

Id

Gets the resource ID of the lock.

Level

Gets or sets 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. Possible values include: 'NotSpecified', 'CanNotDelete', 'ReadOnly'

Name

Gets or sets the name of the lock.

Notes

Gets or sets notes about the lock. Maximum of 512 characters.

Owners

Gets or sets the owners of the lock.

Type

Gets the resource type of the lock - Microsoft.Authorization/locks.

Methods

Validate()

Validate the object.

Applies to