Tags interface

Interface representing a Tags.

Methods

get(string, TagsGetOptionalParams)

Get all available tag keys for the defined scope

Method Details

get(string, TagsGetOptionalParams)

Get all available tag keys for the defined scope

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

Parameters

scope

string

The scope associated with tags operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/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/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope..

options
TagsGetOptionalParams

The options parameters.

Returns

Promise<TagsResult>