AssignmentLockSettings Constructors

Definition

Overloads

AssignmentLockSettings()

Initializes a new instance of the AssignmentLockSettings class.

AssignmentLockSettings(String, IList<String>, IList<String>)

Initializes a new instance of the AssignmentLockSettings class.

AssignmentLockSettings()

Initializes a new instance of the AssignmentLockSettings class.

public AssignmentLockSettings ();
Public Sub New ()

Applies to

AssignmentLockSettings(String, IList<String>, IList<String>)

Initializes a new instance of the AssignmentLockSettings class.

public AssignmentLockSettings (string mode = default, System.Collections.Generic.IList<string> excludedPrincipals = default, System.Collections.Generic.IList<string> excludedActions = default);
new Microsoft.Azure.Management.Blueprint.Models.AssignmentLockSettings : string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Blueprint.Models.AssignmentLockSettings
Public Sub New (Optional mode As String = Nothing, Optional excludedPrincipals As IList(Of String) = Nothing, Optional excludedActions As IList(Of String) = Nothing)

Parameters

mode
String

Lock mode. Possible values include: 'None', 'AllResourcesReadOnly', 'AllResourcesDoNotDelete'

excludedPrincipals
IList<String>

List of AAD principals excluded from blueprint locks. Up to 5 principals are permitted.

excludedActions
IList<String>

List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed.

Applies to