Partilhar via


TagRules interface

Interface que representa um TagRules.

Métodos

beginCreateOrUpdate(string, string, string, TagRule, TagRulesCreateOrUpdateOptionalParams)

Criar uma TagRule

beginCreateOrUpdateAndWait(string, string, string, TagRule, TagRulesCreateOrUpdateOptionalParams)

Criar uma TagRule

beginDelete(string, string, string, TagRulesDeleteOptionalParams)

Excluir uma TagRule

beginDeleteAndWait(string, string, string, TagRulesDeleteOptionalParams)

Excluir uma TagRule

get(string, string, string, TagRulesGetOptionalParams)

Obter uma TagRule

listByNewRelicMonitorResource(string, string, TagRulesListByNewRelicMonitorResourceOptionalParams)

Listar recursos TagRule por NewRelicMonitorResource

update(string, string, string, TagRuleUpdate, TagRulesUpdateOptionalParams)

Atualizar uma TagRule

Detalhes de Método

beginCreateOrUpdate(string, string, string, TagRule, TagRulesCreateOrUpdateOptionalParams)

Criar uma TagRule

function beginCreateOrUpdate(resourceGroupName: string, monitorName: string, ruleSetName: string, resource: TagRule, options?: TagRulesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<TagRule>, TagRule>>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

monitorName

string

Nome do recurso Monitores

ruleSetName

string

Nome da TagRule

resource
TagRule

Parâmetros de criação de recursos.

options
TagRulesCreateOrUpdateOptionalParams

Os parâmetros de opções.

Devoluções

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

beginCreateOrUpdateAndWait(string, string, string, TagRule, TagRulesCreateOrUpdateOptionalParams)

Criar uma TagRule

function beginCreateOrUpdateAndWait(resourceGroupName: string, monitorName: string, ruleSetName: string, resource: TagRule, options?: TagRulesCreateOrUpdateOptionalParams): Promise<TagRule>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

monitorName

string

Nome do recurso Monitores

ruleSetName

string

Nome da TagRule

resource
TagRule

Parâmetros de criação de recursos.

options
TagRulesCreateOrUpdateOptionalParams

Os parâmetros de opções.

Devoluções

Promise<TagRule>

beginDelete(string, string, string, TagRulesDeleteOptionalParams)

Excluir uma TagRule

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

monitorName

string

Nome do recurso Monitores

ruleSetName

string

Nome da TagRule

options
TagRulesDeleteOptionalParams

Os parâmetros de opções.

Devoluções

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

beginDeleteAndWait(string, string, string, TagRulesDeleteOptionalParams)

Excluir uma TagRule

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

monitorName

string

Nome do recurso Monitores

ruleSetName

string

Nome da TagRule

options
TagRulesDeleteOptionalParams

Os parâmetros de opções.

Devoluções

Promise<void>

get(string, string, string, TagRulesGetOptionalParams)

Obter uma TagRule

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

monitorName

string

Nome do recurso Monitores

ruleSetName

string

Nome da TagRule

options
TagRulesGetOptionalParams

Os parâmetros de opções.

Devoluções

Promise<TagRule>

listByNewRelicMonitorResource(string, string, TagRulesListByNewRelicMonitorResourceOptionalParams)

Listar recursos TagRule por NewRelicMonitorResource

function listByNewRelicMonitorResource(resourceGroupName: string, monitorName: string, options?: TagRulesListByNewRelicMonitorResourceOptionalParams): PagedAsyncIterableIterator<TagRule, TagRule[], PageSettings>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

monitorName

string

Nome do recurso Monitores

options
TagRulesListByNewRelicMonitorResourceOptionalParams

Os parâmetros de opções.

Devoluções

update(string, string, string, TagRuleUpdate, TagRulesUpdateOptionalParams)

Atualizar uma TagRule

function update(resourceGroupName: string, monitorName: string, ruleSetName: string, properties: TagRuleUpdate, options?: TagRulesUpdateOptionalParams): Promise<TagRule>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

monitorName

string

Nome do recurso Monitores

ruleSetName

string

Nome da TagRule

properties
TagRuleUpdate

As propriedades do recurso a serem atualizadas.

options
TagRulesUpdateOptionalParams

Os parâmetros de opções.

Devoluções

Promise<TagRule>