ManagementLockObject interface

The lock information.

Properties

id

The resource ID of the lock. NOTE: This property will not be serialized. It can only be populated by the server.

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.

name

The name of the lock. NOTE: This property will not be serialized. It can only be populated by the server.

notes

Notes about the lock. Maximum of 512 characters.

owners

The owners of the lock.

systemData

Metadata pertaining to creation and last modification of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

type

The resource type of the lock - Microsoft.Authorization/locks. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

id

The resource ID of the lock. NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

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.

level: string

Property Value

string

name

The name of the lock. NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

notes

Notes about the lock. Maximum of 512 characters.

notes?: string

Property Value

string

owners

The owners of the lock.

owners?: ManagementLockOwner[]

Property Value

systemData

Metadata pertaining to creation and last modification of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

systemData?: SystemData

Property Value

type

The resource type of the lock - Microsoft.Authorization/locks. NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string