你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SynapseDatabaseResource.CheckKustoPoolDatabasePrincipalAssignmentNameAvailabilityAsync 方法

定义

检查数据库主体分配是否有效且尚未使用。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}/checkPrincipalAssignmentNameAvailability
  • 操作IdKustoPoolDatabasePrincipalAssignments_CheckNameAvailability
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.Models.KustoPoolNameAvailabilityResult>> CheckKustoPoolDatabasePrincipalAssignmentNameAvailabilityAsync (Azure.ResourceManager.Synapse.Models.KustoPoolDatabasePrincipalAssignmentNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckKustoPoolDatabasePrincipalAssignmentNameAvailabilityAsync : Azure.ResourceManager.Synapse.Models.KustoPoolDatabasePrincipalAssignmentNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.Models.KustoPoolNameAvailabilityResult>>
override this.CheckKustoPoolDatabasePrincipalAssignmentNameAvailabilityAsync : Azure.ResourceManager.Synapse.Models.KustoPoolDatabasePrincipalAssignmentNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.Models.KustoPoolNameAvailabilityResult>>
Public Overridable Function CheckKustoPoolDatabasePrincipalAssignmentNameAvailabilityAsync (content As KustoPoolDatabasePrincipalAssignmentNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of KustoPoolNameAvailabilityResult))

参数

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

content 为 null。

适用于