다음을 통해 공유


AssignmentLockSettings 생성자

정의

오버로드

AssignmentLockSettings()

AssignmentLockSettings 클래스의 새 instance 초기화합니다.

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

AssignmentLockSettings 클래스의 새 instance 초기화합니다.

AssignmentLockSettings()

AssignmentLockSettings 클래스의 새 instance 초기화합니다.

public AssignmentLockSettings ();
Public Sub New ()

적용 대상

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

AssignmentLockSettings 클래스의 새 instance 초기화합니다.

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)

매개 변수

mode
String

잠금 모드. 가능한 값은 'None', 'AllResourcesReadOnly', 'AllResourcesDoNotDelete'입니다.

excludedPrincipals
IList<String>

청사진 잠금에서 제외된 AAD 보안 주체 목록입니다. 최대 5개의 보안 주체가 허용됩니다.

excludedActions
IList<String>

청사진 잠금에서 제외되는 관리 작업 목록입니다. 최대 200개까지 작업이 허용됩니다. 잠금 모드가 'AllResourcesReadOnly'로 설정된 경우 'excludedActions', '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' 및 'Microsoft.Authorization/locks/delete'에 다음 작업이 자동으로 추가됩니다. 잠금 모드가 'AllResourcesDoNotDelete'로 설정된 경우 'excludedActions'에 다음 작업이 자동으로 추가됩니다. 'Microsoft.Authorization/locks/delete'. 중복 작업이 제거됩니다.

적용 대상