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

SubscriptionResource.GetAllPredefinedTags(CancellationToken) 方法

定义

此操作执行预定义标记、资源标记、资源组标记和订阅标记的联合,并返回给定订阅下每个标记名称和值的使用情况摘要。 如果标记数量较大,此操作可能会返回以前缓存的结果。

  • 请求路径/subscriptions/{subscriptionId}/tagNames
  • 操作IdTags_List
public virtual Azure.Pageable<Azure.ResourceManager.Resources.Models.PredefinedTag> GetAllPredefinedTags (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllPredefinedTags : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.Models.PredefinedTag>
override this.GetAllPredefinedTags : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.Models.PredefinedTag>
Public Overridable Function GetAllPredefinedTags (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PredefinedTag)

参数

cancellationToken
CancellationToken

要使用的取消标记。

返回

的集合 PredefinedTag ,可能需要多个服务请求才能循环访问。

适用于