RoleAssignment 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
RoleAssignment() |
RoleAssignment 클래스의 새 instance 초기화합니다. |
RoleAssignment(String, String, String, String, String, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, String) |
RoleAssignment 클래스의 새 instance 초기화합니다. |
RoleAssignment()
RoleAssignment 클래스의 새 instance 초기화합니다.
public RoleAssignment();
Public Sub New ()
적용 대상
RoleAssignment(String, String, String, String, String, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, String)
RoleAssignment 클래스의 새 instance 초기화합니다.
public RoleAssignment(string roleDefinitionId, string principalId, string id = default, string name = default, string type = default, string scope = default, string principalType = default, string description = default, string condition = default, string conditionVersion = default, DateTime? createdOn = default, DateTime? updatedOn = default, string createdBy = default, string updatedBy = default, string delegatedManagedIdentityResourceId = default);
new Microsoft.Azure.Management.Authorization.Models.RoleAssignment : string * string * string * string * string * string * string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * string * string * string -> Microsoft.Azure.Management.Authorization.Models.RoleAssignment
Public Sub New (roleDefinitionId As String, principalId As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional scope As String = Nothing, Optional principalType As String = Nothing, Optional description As String = Nothing, Optional condition As String = Nothing, Optional conditionVersion As String = Nothing, Optional createdOn As Nullable(Of DateTime) = Nothing, Optional updatedOn As Nullable(Of DateTime) = Nothing, Optional createdBy As String = Nothing, Optional updatedBy As String = Nothing, Optional delegatedManagedIdentityResourceId As String = Nothing)
매개 변수
- roleDefinitionId
- String
역할 정의 ID입니다.
- principalId
- String
보안 주체 ID입니다.
- id
- String
역할 할당 ID입니다.
- name
- String
역할 할당 이름입니다.
- type
- String
역할 할당 유형입니다.
- scope
- String
역할 할당 scope.
- principalType
- String
할당된 보안 주체 ID의 보안 주체 유형입니다. 가능한 값은 'User', 'Group', 'ServicePrincipal', 'Unknown', 'DirectoryRoleTemplate', 'ForeignGroup', 'Application', 'MSI', 'DirectoryObjectOrGroup', 'Everyone'입니다.
- description
- String
역할 할당에 대한 설명
- condition
- String
역할 할당에 대한 조건입니다. 이렇게 하면 할당할 수 있는 리소스가 제한됩니다. 예: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'
- conditionVersion
- String
조건의 버전입니다. 현재 허용되는 값은 '2.0'입니다.
- createdBy
- String
할당을 만든 사용자의 ID
- updatedBy
- String
할당을 업데이트한 사용자의 ID
- delegatedManagedIdentityResourceId
- String
위임된 관리 ID 리소스의 ID
적용 대상
Azure SDK for .NET