Delen via


AssignmentLockSettings Constructors

Definitie

Overloads

AssignmentLockSettings()

Initialiseert een nieuw exemplaar van de klasse AssignmentLockSettings.

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

Initialiseert een nieuw exemplaar van de klasse AssignmentLockSettings.

AssignmentLockSettings()

Initialiseert een nieuw exemplaar van de klasse AssignmentLockSettings.

public AssignmentLockSettings ();
Public Sub New ()

Van toepassing op

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

Initialiseert een nieuw exemplaar van de klasse AssignmentLockSettings.

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

Vergrendelingsmodus. Mogelijke waarden zijn: 'None', 'AllResourcesReadOnly', 'AllResourcesDoNotDelete'

excludedPrincipals
IList<String>

Lijst met AAD-principals die zijn uitgesloten van blauwdrukvergrendelingen. Maximaal 5 principals zijn toegestaan.

excludedActions
IList<String>

Lijst met beheerbewerkingen die zijn uitgesloten van blauwdrukvergrendelingen. Er zijn maximaal 200 acties toegestaan. Als de vergrendelingsmodus is ingesteld op AllResourcesReadOnly, worden de volgende acties automatisch toegevoegd aan 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' en 'Microsoft.Authorization/locks/delete'. Als de vergrendelingsmodus is ingesteld op 'AllResourcesDoNotDelete', worden de volgende acties automatisch toegevoegd aan 'excludedActions': 'Microsoft.Authorization/locks/delete'. Dubbele acties worden verwijderd.

Van toepassing op