Share via


TagRules interface

Interface representing a TagRules.

Methods

beginDelete(string, string, string, TagRulesDeleteOptionalParams)

Delete a tag rule set for a given Elastic monitor resource, removing fine-grained control over observability based on resource tags.

beginDeleteAndWait(string, string, string, TagRulesDeleteOptionalParams)

Delete a tag rule set for a given Elastic monitor resource, removing fine-grained control over observability based on resource tags.

createOrUpdate(string, string, string, TagRulesCreateOrUpdateOptionalParams)

Create or update a tag rule set for a given Elastic monitor resource, enabling fine-grained control over observability based on resource tags.

get(string, string, string, TagRulesGetOptionalParams)

Get detailed information about a tag rule set for a given Elastic monitor resource.

list(string, string, TagRulesListOptionalParams)

List all tag rules for a given Elastic monitor resource, helping you manage fine-grained control over observability based on resource tags.

Method Details

beginDelete(string, string, string, TagRulesDeleteOptionalParams)

Delete a tag rule set for a given Elastic monitor resource, removing fine-grained control over observability based on resource tags.

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 Elastic monitor resource, removing fine-grained control over observability based on resource tags.

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 Elastic monitor resource, enabling fine-grained control over observability based on resource tags.

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 detailed information about a tag rule set for a given Elastic 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 all tag rules for a given Elastic monitor resource, helping you manage fine-grained control over observability based on resource tags.

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