次の方法で共有


RoleDefinition コンストラクター

定義

オーバーロード

RoleDefinition()

RoleDefinition クラスの新しいインスタンスを初期化します。

RoleDefinition(String, String, Nullable<Boolean>, IList<Permission>, IList<String>)

RoleDefinition クラスの新しいインスタンスを初期化します。

RoleDefinition()

RoleDefinition クラスの新しいインスタンスを初期化します。

public RoleDefinition ();
Public Sub New ()

適用対象

RoleDefinition(String, String, Nullable<Boolean>, IList<Permission>, IList<String>)

RoleDefinition クラスの新しいインスタンスを初期化します。

public RoleDefinition (string id = default, string name = default, bool? isServiceRole = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Models.Permission> permissions = default, System.Collections.Generic.IList<string> scopes = default);
new Microsoft.Azure.Management.ResourceManager.Models.RoleDefinition : string * string * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Models.Permission> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.ResourceManager.Models.RoleDefinition
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional isServiceRole As Nullable(Of Boolean) = Nothing, Optional permissions As IList(Of Permission) = Nothing, Optional scopes As IList(Of String) = Nothing)

パラメーター

id
String

ロール定義 ID

name
String

ロール定義名。

isServiceRole
Nullable<Boolean>

これがサービス ロールの場合。

permissions
IList<Permission>

ロール定義のアクセス許可。

scopes
IList<String>

ロール定義の割り当て可能なスコープ。

適用対象