ManagementLockObject Constructors

Definition

Overloads

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.

ManagementLockObject()

Initializes a new instance of the ManagementLockObject class.

public ManagementLockObject ();
Public Sub New ()

Applies to

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

Initializes a new instance of the ManagementLockObject class.

public ManagementLockObject (string level, string notes = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Models.ManagementLockOwner> owners = default, string id = default, string type = default, string name = default);
new Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject : string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Models.ManagementLockOwner> * string * string * string -> Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject
Public Sub New (level As String, Optional notes As String = Nothing, Optional owners As IList(Of ManagementLockOwner) = Nothing, Optional id As String = Nothing, Optional type As String = Nothing, Optional name As String = Nothing)

Parameters

level
String

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'

notes
String

Notes about the lock. Maximum of 512 characters.

owners
IList<ManagementLockOwner>

The owners of the lock.

id
String

The resource ID of the lock.

type
String

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

name
String

The name of the lock.

Applies to