AssignmentLockSettings Class

Definition

Defines how resources deployed by a blueprint assignment are locked.

public class AssignmentLockSettings
type AssignmentLockSettings = class
Public Class AssignmentLockSettings
Inheritance
AssignmentLockSettings

Constructors

AssignmentLockSettings()

Initializes a new instance of the AssignmentLockSettings class.

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

Initializes a new instance of the AssignmentLockSettings class.

Properties

ExcludedActions

Gets or sets 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.

ExcludedPrincipals

Gets or sets list of AAD principals excluded from blueprint locks. Up to 5 principals are permitted.

Mode

Gets or sets lock mode. Possible values include: 'None', 'AllResourcesReadOnly', 'AllResourcesDoNotDelete'

Applies to