PreRules interface

Interface representing a PreRules.

Methods

beginCreateOrUpdate(string, string, PreRulesResource, PreRulesCreateOrUpdateOptionalParams)

Create a PreRulesResource

beginCreateOrUpdateAndWait(string, string, PreRulesResource, PreRulesCreateOrUpdateOptionalParams)

Create a PreRulesResource

beginDelete(string, string, PreRulesDeleteOptionalParams)

Delete a PreRulesResource

beginDeleteAndWait(string, string, PreRulesDeleteOptionalParams)

Delete a PreRulesResource

get(string, string, PreRulesGetOptionalParams)

Get a PreRulesResource

getCounters(string, string, PreRulesGetCountersOptionalParams)

Get counters

list(string, PreRulesListOptionalParams)

List PreRulesResource resources by Tenant

refreshCounters(string, string, PreRulesRefreshCountersOptionalParams)

Refresh counters

resetCounters(string, string, PreRulesResetCountersOptionalParams)

Reset counters

Method Details

beginCreateOrUpdate(string, string, PreRulesResource, PreRulesCreateOrUpdateOptionalParams)

Create a PreRulesResource

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

Parameters

globalRulestackName

string

GlobalRulestack resource name

priority

string

Pre Rule priority

resource
PreRulesResource

Resource create parameters.

options
PreRulesCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, PreRulesResource, PreRulesCreateOrUpdateOptionalParams)

Create a PreRulesResource

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

Parameters

globalRulestackName

string

GlobalRulestack resource name

priority

string

Pre Rule priority

resource
PreRulesResource

Resource create parameters.

options
PreRulesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PreRulesResource>

beginDelete(string, string, PreRulesDeleteOptionalParams)

Delete a PreRulesResource

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

Parameters

globalRulestackName

string

GlobalRulestack resource name

priority

string

Pre Rule priority

options
PreRulesDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, PreRulesDeleteOptionalParams)

Delete a PreRulesResource

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

Parameters

globalRulestackName

string

GlobalRulestack resource name

priority

string

Pre Rule priority

options
PreRulesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, PreRulesGetOptionalParams)

Get a PreRulesResource

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

Parameters

globalRulestackName

string

GlobalRulestack resource name

priority

string

Pre Rule priority

options
PreRulesGetOptionalParams

The options parameters.

Returns

Promise<PreRulesResource>

getCounters(string, string, PreRulesGetCountersOptionalParams)

Get counters

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

Parameters

globalRulestackName

string

GlobalRulestack resource name

priority

string

Pre Rule priority

options
PreRulesGetCountersOptionalParams

The options parameters.

Returns

Promise<RuleCounter>

list(string, PreRulesListOptionalParams)

List PreRulesResource resources by Tenant

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

Parameters

globalRulestackName

string

GlobalRulestack resource name

options
PreRulesListOptionalParams

The options parameters.

Returns

refreshCounters(string, string, PreRulesRefreshCountersOptionalParams)

Refresh counters

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

Parameters

globalRulestackName

string

GlobalRulestack resource name

priority

string

Pre Rule priority

options
PreRulesRefreshCountersOptionalParams

The options parameters.

Returns

Promise<void>

resetCounters(string, string, PreRulesResetCountersOptionalParams)

Reset counters

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

Parameters

globalRulestackName

string

GlobalRulestack resource name

priority

string

Pre Rule priority

options
PreRulesResetCountersOptionalParams

The options parameters.

Returns

Promise<RuleCounterReset>