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

ApiTagResource.GetEntityStateByApiAsync(CancellationToken) 方法

定义

获取由其标识符指定的标记的实体状态版本。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}
  • 操作IdTag_GetEntityStateByApi
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> GetEntityStateByApiAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEntityStateByApiAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.GetEntityStateByApiAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function GetEntityStateByApiAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

参数

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于