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

CognitiveServicesCommitmentPlanResource.GetCommitmentPlanAccountAssociation 方法

定义

获取认知服务承诺计划的关联。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}/accountAssociations/{commitmentPlanAssociationName}
  • 操作IdCommitmentPlans_GetAssociation
public virtual Azure.Response<Azure.ResourceManager.CognitiveServices.CommitmentPlanAccountAssociationResource> GetCommitmentPlanAccountAssociation (string commitmentPlanAssociationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCommitmentPlanAccountAssociation : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CognitiveServices.CommitmentPlanAccountAssociationResource>
override this.GetCommitmentPlanAccountAssociation : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CognitiveServices.CommitmentPlanAccountAssociationResource>
Public Overridable Function GetCommitmentPlanAccountAssociation (commitmentPlanAssociationName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CommitmentPlanAccountAssociationResource)

参数

commitmentPlanAssociationName
String

与认知服务帐户的承诺计划关联的名称。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

commitmentPlanAssociationName 是一个空字符串,预期为非空。

commitmentPlanAssociationName 为 null。

适用于