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

list(string, string, TagRulesListOptionalParams)

Listar todos os TagRule por monitorName

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

Monitorar o nome do recurso

ruleSetName

string

Monitorar o nome do recurso

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

Monitorar o nome do recurso

ruleSetName

string

Monitorar o nome do recurso

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

Monitorar o nome do recurso

ruleSetName

string

Monitorar o nome do recurso

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

Monitorar o nome do recurso

ruleSetName

string

Monitorar o nome do recurso

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

Monitorar o nome do recurso

ruleSetName

string

Monitorar o nome do recurso

options
TagRulesGetOptionalParams

Os parâmetros de opções.

Devoluções

Promise<TagRule>

list(string, string, TagRulesListOptionalParams)

Listar todos os TagRule por monitorName

function list(resourceGroupName: string, monitorName: string, options?: TagRulesListOptionalParams): 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

Monitorar o nome do recurso

options
TagRulesListOptionalParams

Os parâmetros de opções.

Devoluções