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

SynapseDatabaseResource.CheckKustoPoolDatabasePrincipalAssignmentNameAvailability 方法

定义

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

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

参数

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

content 为 null。

适用于