Compartir a través de


TagRules interface

Interfaz que representa un TagRules.

Métodos

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

Creación de un tagRule

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

Creación de un tagRule

beginDelete(string, string, string, TagRulesDeleteOptionalParams)

Eliminar un tagRule

beginDeleteAndWait(string, string, string, TagRulesDeleteOptionalParams)

Eliminar un tagRule

get(string, string, string, TagRulesGetOptionalParams)

Obtener un tagRule

listByNewRelicMonitorResource(string, string, TagRulesListByNewRelicMonitorResourceOptionalParams)

Enumerar recursos de TagRule por NewRelicMonitorResource

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

Actualizar un TagRule

Detalles del método

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

Creación de un tagRule

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos. El nombre distingue mayúsculas de minúsculas.

monitorName

string

Nombre del recurso Monitors

ruleSetName

string

Nombre de TagRule

resource
TagRule

Parámetros de creación de recursos.

options
TagRulesCreateOrUpdateOptionalParams

Parámetros de opciones.

Devoluciones

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

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

Creación de un tagRule

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos. El nombre distingue mayúsculas de minúsculas.

monitorName

string

Nombre del recurso Monitors

ruleSetName

string

Nombre de TagRule

resource
TagRule

Parámetros de creación de recursos.

options
TagRulesCreateOrUpdateOptionalParams

Parámetros de opciones.

Devoluciones

Promise<TagRule>

beginDelete(string, string, string, TagRulesDeleteOptionalParams)

Eliminar un tagRule

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos. El nombre distingue mayúsculas de minúsculas.

monitorName

string

Nombre del recurso Monitors

ruleSetName

string

Nombre de TagRule

options
TagRulesDeleteOptionalParams

Parámetros de opciones.

Devoluciones

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

beginDeleteAndWait(string, string, string, TagRulesDeleteOptionalParams)

Eliminar un tagRule

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos. El nombre distingue mayúsculas de minúsculas.

monitorName

string

Nombre del recurso Monitors

ruleSetName

string

Nombre de TagRule

options
TagRulesDeleteOptionalParams

Parámetros de opciones.

Devoluciones

Promise<void>

get(string, string, string, TagRulesGetOptionalParams)

Obtener un tagRule

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos. El nombre distingue mayúsculas de minúsculas.

monitorName

string

Nombre del recurso Monitors

ruleSetName

string

Nombre de TagRule

options
TagRulesGetOptionalParams

Parámetros de opciones.

Devoluciones

Promise<TagRule>

listByNewRelicMonitorResource(string, string, TagRulesListByNewRelicMonitorResourceOptionalParams)

Enumerar recursos de TagRule por NewRelicMonitorResource

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos. El nombre distingue mayúsculas de minúsculas.

monitorName

string

Nombre del recurso Monitors

options
TagRulesListByNewRelicMonitorResourceOptionalParams

Parámetros de opciones.

Devoluciones

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

Actualizar un TagRule

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos. El nombre distingue mayúsculas de minúsculas.

monitorName

string

Nombre del recurso Monitors

ruleSetName

string

Nombre de TagRule

properties
TagRuleUpdate

Propiedades de recursos que se van a actualizar.

options
TagRulesUpdateOptionalParams

Parámetros de opciones.

Devoluciones

Promise<TagRule>