共用方式為


RoleDefinitionOperationsExtensions.GetAsync 方法

定義

依名稱 (GUID) 取得角色定義。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleDefinitionGetResult> GetAsync (this Microsoft.Azure.Management.Authorization.IRoleDefinitionOperations operations, Guid roleDefinitionId, string scope);
static member GetAsync : Microsoft.Azure.Management.Authorization.IRoleDefinitionOperations * Guid * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleDefinitionGetResult>
<Extension()>
Public Function GetAsync (operations As IRoleDefinitionOperations, roleDefinitionId As Guid, scope As String) As Task(Of RoleDefinitionGetResult)

參數

operations
IRoleDefinitionOperations

Microsoft.Azure.Management.Authorization.IRoleDefinitionOperations 的參考。

roleDefinitionId
Guid

必要。 角色定義識別碼

scope
String

必要。 範圍

傳回

角色定義取得作業結果。

適用於