KustoClusterPrincipalAssignmentCollection.GetIfExistsAsync メソッド

定義

サービスからこのリソースの詳細の取得を試みます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments/{principalAssignmentName}
  • 操作IdClusterPrincipalAssignments_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Kusto.KustoClusterPrincipalAssignmentResource>> GetIfExistsAsync (string principalAssignmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Kusto.KustoClusterPrincipalAssignmentResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Kusto.KustoClusterPrincipalAssignmentResource>>
Public Overridable Function GetIfExistsAsync (principalAssignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of KustoClusterPrincipalAssignmentResource))

パラメーター

principalAssignmentName
String

Kusto principalAssignment の名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

principalAssignmentName は空の文字列であり、空でないと想定されていました。

principalAssignmentName が null です。

適用対象