Udostępnij za pośrednictwem


PreRules interface

Interfejs reprezentujący prerules.

Metody

beginCreateOrUpdate(string, string, PreRulesResource, PreRulesCreateOrUpdateOptionalParams)

Tworzenie prerulesResource

beginCreateOrUpdateAndWait(string, string, PreRulesResource, PreRulesCreateOrUpdateOptionalParams)

Tworzenie prerulesResource

beginDelete(string, string, PreRulesDeleteOptionalParams)

Usuwanie prerulesResource

beginDeleteAndWait(string, string, PreRulesDeleteOptionalParams)

Usuwanie prerulesResource

get(string, string, PreRulesGetOptionalParams)

Pobieranie usługi PreRulesResource

getCounters(string, string, PreRulesGetCountersOptionalParams)

Pobieranie liczników

list(string, PreRulesListOptionalParams)

Wyświetlanie listy zasobów PreRulesResource według dzierżawy

refreshCounters(string, string, PreRulesRefreshCountersOptionalParams)

Liczniki odświeżania

resetCounters(string, string, PreRulesResetCountersOptionalParams)

Resetowanie liczników

Szczegóły metody

beginCreateOrUpdate(string, string, PreRulesResource, PreRulesCreateOrUpdateOptionalParams)

Tworzenie prerulesResource

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

Parametry

globalRulestackName

string

Nazwa zasobu GlobalRulestack

priority

string

Priorytet przed regułą

resource
PreRulesResource

Parametry tworzenia zasobu.

options
PreRulesCreateOrUpdateOptionalParams

Parametry opcji.

Zwraca

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

beginCreateOrUpdateAndWait(string, string, PreRulesResource, PreRulesCreateOrUpdateOptionalParams)

Tworzenie prerulesResource

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

Parametry

globalRulestackName

string

Nazwa zasobu GlobalRulestack

priority

string

Priorytet przed regułą

resource
PreRulesResource

Parametry tworzenia zasobu.

options
PreRulesCreateOrUpdateOptionalParams

Parametry opcji.

Zwraca

Promise<PreRulesResource>

beginDelete(string, string, PreRulesDeleteOptionalParams)

Usuwanie prerulesResource

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

Parametry

globalRulestackName

string

Nazwa zasobu GlobalRulestack

priority

string

Priorytet przed regułą

options
PreRulesDeleteOptionalParams

Parametry opcji.

Zwraca

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

beginDeleteAndWait(string, string, PreRulesDeleteOptionalParams)

Usuwanie prerulesResource

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

Parametry

globalRulestackName

string

Nazwa zasobu GlobalRulestack

priority

string

Priorytet przed regułą

options
PreRulesDeleteOptionalParams

Parametry opcji.

Zwraca

Promise<void>

get(string, string, PreRulesGetOptionalParams)

Pobieranie usługi PreRulesResource

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

Parametry

globalRulestackName

string

Nazwa zasobu GlobalRulestack

priority

string

Priorytet przed regułą

options
PreRulesGetOptionalParams

Parametry opcji.

Zwraca

Promise<PreRulesResource>

getCounters(string, string, PreRulesGetCountersOptionalParams)

Pobieranie liczników

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

Parametry

globalRulestackName

string

Nazwa zasobu GlobalRulestack

priority

string

Priorytet przed regułą

options
PreRulesGetCountersOptionalParams

Parametry opcji.

Zwraca

Promise<RuleCounter>

list(string, PreRulesListOptionalParams)

Wyświetlanie listy zasobów PreRulesResource według dzierżawy

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

Parametry

globalRulestackName

string

Nazwa zasobu GlobalRulestack

options
PreRulesListOptionalParams

Parametry opcji.

Zwraca

refreshCounters(string, string, PreRulesRefreshCountersOptionalParams)

Liczniki odświeżania

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

Parametry

globalRulestackName

string

Nazwa zasobu GlobalRulestack

priority

string

Priorytet przed regułą

options
PreRulesRefreshCountersOptionalParams

Parametry opcji.

Zwraca

Promise<void>

resetCounters(string, string, PreRulesResetCountersOptionalParams)

Resetowanie liczników

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

Parametry

globalRulestackName

string

Nazwa zasobu GlobalRulestack

priority

string

Priorytet przed regułą

options
PreRulesResetCountersOptionalParams

Parametry opcji.

Zwraca

Promise<RuleCounterReset>