Tags Interface

public interface Tags

Resource collection API of Tags.

Method Summary

Modifier and Type Method and Description
abstract TagsResult get(String scope)

Get all available tag keys for the defined scope.

abstract Response<TagsResult> getWithResponse(String scope, Context context)

Get all available tag keys for the defined scope.

Method Details

get

public abstract TagsResult get(String scope)

Get all available tag keys for the defined scope.

Parameters:

scope - 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..

Returns:

all available tag keys for the defined scope.

getWithResponse

public abstract Response getWithResponse(String scope, Context context)

Get all available tag keys for the defined scope.

Parameters:

scope - 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..
context - The context to associate with this operation.

Returns:

all available tag keys for the defined scope.

Applies to