次の方法で共有


SqlResourcesOperationsExtensions.GetSqlRoleAssignmentAsync メソッド

定義

指定された ID を使用して、既存の Azure Cosmos DB SQL ロールの割り当てのプロパティを取得します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.SqlRoleAssignmentGetResults> GetSqlRoleAssignmentAsync (this Microsoft.Azure.Management.CosmosDB.ISqlResourcesOperations operations, string roleAssignmentId, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default);
static member GetSqlRoleAssignmentAsync : Microsoft.Azure.Management.CosmosDB.ISqlResourcesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.SqlRoleAssignmentGetResults>
<Extension()>
Public Function GetSqlRoleAssignmentAsync (operations As ISqlResourcesOperations, roleAssignmentId As String, resourceGroupName As String, accountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SqlRoleAssignmentGetResults)

パラメーター

operations
ISqlResourcesOperations

この拡張メソッドの操作グループ。

roleAssignmentId
String

ロールの割り当ての GUID。

resourceGroupName
String

リソース グループの名前。 名前の大文字と小文字は区別されます。

accountName
String

Cosmos DB データベース アカウント名。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象