Partager via


PreRules interface

Interface représentant un preRules.

Méthodes

beginCreateOrUpdate(string, string, PreRulesResource, PreRulesCreateOrUpdateOptionalParams)

Créer un PreRulesResource

beginCreateOrUpdateAndWait(string, string, PreRulesResource, PreRulesCreateOrUpdateOptionalParams)

Créer un PreRulesResource

beginDelete(string, string, PreRulesDeleteOptionalParams)

Supprimer un PreRulesResource

beginDeleteAndWait(string, string, PreRulesDeleteOptionalParams)

Supprimer un PreRulesResource

get(string, string, PreRulesGetOptionalParams)

Obtenir un PreRulesResource

getCounters(string, string, PreRulesGetCountersOptionalParams)

Obtenir des compteurs

list(string, PreRulesListOptionalParams)

Répertorier les ressources PreRulesResource par locataire

refreshCounters(string, string, PreRulesRefreshCountersOptionalParams)

Compteurs d’actualisation

resetCounters(string, string, PreRulesResetCountersOptionalParams)

Réinitialiser les compteurs

Détails de la méthode

beginCreateOrUpdate(string, string, PreRulesResource, PreRulesCreateOrUpdateOptionalParams)

Créer un PreRulesResource

function beginCreateOrUpdate(globalRulestackName: string, priority: string, resource: PreRulesResource, options?: PreRulesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PreRulesResource>, PreRulesResource>>

Paramètres

globalRulestackName

string

Nom de la ressource GlobalRulestack

priority

string

Priorité de la pré-règle

resource
PreRulesResource

Paramètres de création de ressource.

options
PreRulesCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

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

beginCreateOrUpdateAndWait(string, string, PreRulesResource, PreRulesCreateOrUpdateOptionalParams)

Créer un PreRulesResource

function beginCreateOrUpdateAndWait(globalRulestackName: string, priority: string, resource: PreRulesResource, options?: PreRulesCreateOrUpdateOptionalParams): Promise<PreRulesResource>

Paramètres

globalRulestackName

string

Nom de la ressource GlobalRulestack

priority

string

Priorité de la pré-règle

resource
PreRulesResource

Paramètres de création de ressource.

options
PreRulesCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

Promise<PreRulesResource>

beginDelete(string, string, PreRulesDeleteOptionalParams)

Supprimer un PreRulesResource

function beginDelete(globalRulestackName: string, priority: string, options?: PreRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Paramètres

globalRulestackName

string

Nom de la ressource GlobalRulestack

priority

string

Priorité de la pré-règle

options
PreRulesDeleteOptionalParams

Paramètres d’options.

Retours

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

beginDeleteAndWait(string, string, PreRulesDeleteOptionalParams)

Supprimer un PreRulesResource

function beginDeleteAndWait(globalRulestackName: string, priority: string, options?: PreRulesDeleteOptionalParams): Promise<void>

Paramètres

globalRulestackName

string

Nom de la ressource GlobalRulestack

priority

string

Priorité de la pré-règle

options
PreRulesDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

get(string, string, PreRulesGetOptionalParams)

Obtenir un PreRulesResource

function get(globalRulestackName: string, priority: string, options?: PreRulesGetOptionalParams): Promise<PreRulesResource>

Paramètres

globalRulestackName

string

Nom de la ressource GlobalRulestack

priority

string

Priorité de la pré-règle

options
PreRulesGetOptionalParams

Paramètres d’options.

Retours

Promise<PreRulesResource>

getCounters(string, string, PreRulesGetCountersOptionalParams)

Obtenir des compteurs

function getCounters(globalRulestackName: string, priority: string, options?: PreRulesGetCountersOptionalParams): Promise<RuleCounter>

Paramètres

globalRulestackName

string

Nom de la ressource GlobalRulestack

priority

string

Priorité de la pré-règle

options
PreRulesGetCountersOptionalParams

Paramètres d’options.

Retours

Promise<RuleCounter>

list(string, PreRulesListOptionalParams)

Répertorier les ressources PreRulesResource par locataire

function list(globalRulestackName: string, options?: PreRulesListOptionalParams): PagedAsyncIterableIterator<PreRulesResource, PreRulesResource[], PageSettings>

Paramètres

globalRulestackName

string

Nom de la ressource GlobalRulestack

options
PreRulesListOptionalParams

Paramètres d’options.

Retours

refreshCounters(string, string, PreRulesRefreshCountersOptionalParams)

Compteurs d’actualisation

function refreshCounters(globalRulestackName: string, priority: string, options?: PreRulesRefreshCountersOptionalParams): Promise<void>

Paramètres

globalRulestackName

string

Nom de la ressource GlobalRulestack

priority

string

Priorité de la pré-règle

options
PreRulesRefreshCountersOptionalParams

Paramètres d’options.

Retours

Promise<void>

resetCounters(string, string, PreRulesResetCountersOptionalParams)

Réinitialiser les compteurs

function resetCounters(globalRulestackName: string, priority: string, options?: PreRulesResetCountersOptionalParams): Promise<RuleCounterReset>

Paramètres

globalRulestackName

string

Nom de la ressource GlobalRulestack

priority

string

Priorité de la pré-règle

options
PreRulesResetCountersOptionalParams

Paramètres d’options.

Retours

Promise<RuleCounterReset>