Partager via


TagRules interface

Interface représentant un TagRules.

Méthodes

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

Créer un TagRule

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

Créer un TagRule

beginDelete(string, string, string, TagRulesDeleteOptionalParams)

Supprimer un TagRule

beginDeleteAndWait(string, string, string, TagRulesDeleteOptionalParams)

Supprimer un TagRule

get(string, string, string, TagRulesGetOptionalParams)

Obtenir un TagRule

list(string, string, TagRulesListOptionalParams)

Répertorier tout TagRule par monitorName

Détails de la méthode

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

Créer un TagRule

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

monitorName

string

Surveiller le nom de la ressource

ruleSetName

string

Surveiller le nom de la ressource

resource
TagRule

Paramètres de création de ressources.

options
TagRulesCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

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

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

Créer un TagRule

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

monitorName

string

Surveiller le nom de la ressource

ruleSetName

string

Surveiller le nom de la ressource

resource
TagRule

Paramètres de création de ressources.

options
TagRulesCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

Promise<TagRule>

beginDelete(string, string, string, TagRulesDeleteOptionalParams)

Supprimer un TagRule

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

monitorName

string

Surveiller le nom de la ressource

ruleSetName

string

Surveiller le nom de la ressource

options
TagRulesDeleteOptionalParams

Paramètres d’options.

Retours

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

beginDeleteAndWait(string, string, string, TagRulesDeleteOptionalParams)

Supprimer un TagRule

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

monitorName

string

Surveiller le nom de la ressource

ruleSetName

string

Surveiller le nom de la ressource

options
TagRulesDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

get(string, string, string, TagRulesGetOptionalParams)

Obtenir un TagRule

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

monitorName

string

Surveiller le nom de la ressource

ruleSetName

string

Surveiller le nom de la ressource

options
TagRulesGetOptionalParams

Paramètres d’options.

Retours

Promise<TagRule>

list(string, string, TagRulesListOptionalParams)

Répertorier tout TagRule par monitorName

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

monitorName

string

Surveiller le nom de la ressource

options
TagRulesListOptionalParams

Paramètres d’options.

Retours