共用方式為


Tags interface

表示標記的介面。

方法

get(string, TagsGetOptionalParams)

取得定義範圍的所有可用標籤索引鍵

方法詳細資料

get(string, TagsGetOptionalParams)

取得定義範圍的所有可用標籤索引鍵

function get(scope: string, options?: TagsGetOptionalParams): Promise<TagsResult>

參數

scope

string

與標籤作業相關聯的範圍。 這包括訂用帳戶範圍的 '/subscriptions/{subscriptionId}/' 、'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' 資源群組範圍、 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{EnrollmentAccount 範圍的 enrollmentAccount 範圍和管理群組範圍的 '/providers/Microsoft.Management/managementGroups/{managementGroupId}'。

options
TagsGetOptionalParams

選項參數。

傳回

Promise<TagsResult>