RoleAssignment コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
RoleAssignment() |
RoleAssignment クラスの新しいインスタンスを初期化します。 |
RoleAssignment(String, String, String, String, String, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, String) |
RoleAssignment クラスの新しいインスタンスを初期化します。 |
RoleAssignment()
RoleAssignment クラスの新しいインスタンスを初期化します。
public RoleAssignment();
Public Sub New ()
適用対象
RoleAssignment(String, String, String, String, String, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, String)
RoleAssignment クラスの新しいインスタンスを初期化します。
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
ロールの割り当てスコープ。
- 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