TagRules interface

Interface representing a TagRules.

Methods

createOrUpdate(string, string, string, TagRulesCreateOrUpdateOptionalParams)

Create or update a tag rule set for a given monitor resource.

get(string, string, string, TagRulesGetOptionalParams)

Get a tag rule set for a given monitor resource.

list(string, string, TagRulesListOptionalParams)

List the tag rules for a given monitor resource.

Method Details

createOrUpdate(string, string, string, TagRulesCreateOrUpdateOptionalParams)

Create or update a tag rule set for a given monitor resource.

function createOrUpdate(resourceGroupName: string, monitorName: string, ruleSetName: string, options?: TagRulesCreateOrUpdateOptionalParams): Promise<MonitoringTagRules>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

monitorName

string

Monitor resource name

ruleSetName

string

Rule set name

options
TagRulesCreateOrUpdateOptionalParams

The options parameters.

Returns

get(string, string, string, TagRulesGetOptionalParams)

Get a tag rule set for a given monitor resource.

function get(resourceGroupName: string, monitorName: string, ruleSetName: string, options?: TagRulesGetOptionalParams): Promise<MonitoringTagRules>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

monitorName

string

Monitor resource name

ruleSetName

string

Rule set name

options
TagRulesGetOptionalParams

The options parameters.

Returns

list(string, string, TagRulesListOptionalParams)

List the tag rules for a given monitor resource.

function list(resourceGroupName: string, monitorName: string, options?: TagRulesListOptionalParams): PagedAsyncIterableIterator<MonitoringTagRules, MonitoringTagRules[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

monitorName

string

Monitor resource name

options
TagRulesListOptionalParams

The options parameters.

Returns