次の方法で共有


TagRules interface

Interface representing a TagRules.

Methods

beginDelete(string, string, string, TagRulesDeleteOptionalParams)

Delete a tag rule set for a given monitor resource.

beginDeleteAndWait(string, string, string, TagRulesDeleteOptionalParams)

Delete a tag rule set for a given monitor resource.

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

beginDelete(string, string, string, TagRulesDeleteOptionalParams)

Delete a tag rule set for a given monitor resource.

function beginDelete(resourceGroupName: string, monitorName: string, ruleSetName: string, options?: TagRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

ruleSetName

string

Tag Rule Set resource name

options
TagRulesDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, TagRulesDeleteOptionalParams)

Delete a tag rule set for a given monitor resource.

function beginDeleteAndWait(resourceGroupName: string, monitorName: string, ruleSetName: string, options?: TagRulesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

ruleSetName

string

Tag Rule Set resource name

options
TagRulesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

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

Tag Rule Set resource 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

Tag Rule Set resource 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