PostRules interface

Interface representing a PostRules.

Methods

beginCreateOrUpdate(string, string, PostRulesResource, PostRulesCreateOrUpdateOptionalParams)

Create a PostRulesResource

beginCreateOrUpdateAndWait(string, string, PostRulesResource, PostRulesCreateOrUpdateOptionalParams)

Create a PostRulesResource

beginDelete(string, string, PostRulesDeleteOptionalParams)

Delete a PostRulesResource

beginDeleteAndWait(string, string, PostRulesDeleteOptionalParams)

Delete a PostRulesResource

get(string, string, PostRulesGetOptionalParams)

Get a PostRulesResource

getCounters(string, string, PostRulesGetCountersOptionalParams)

Get counters

list(string, PostRulesListOptionalParams)

List PostRulesResource resources by Tenant

refreshCounters(string, string, PostRulesRefreshCountersOptionalParams)

Refresh counters

resetCounters(string, string, PostRulesResetCountersOptionalParams)

Reset counters

Method Details

beginCreateOrUpdate(string, string, PostRulesResource, PostRulesCreateOrUpdateOptionalParams)

Create a PostRulesResource

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

Parameters

globalRulestackName

string

GlobalRulestack resource name

priority

string

Post Rule priority

resource
PostRulesResource

Resource create parameters.

options
PostRulesCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, PostRulesResource, PostRulesCreateOrUpdateOptionalParams)

Create a PostRulesResource

function beginCreateOrUpdateAndWait(globalRulestackName: string, priority: string, resource: PostRulesResource, options?: PostRulesCreateOrUpdateOptionalParams): Promise<PostRulesResource>

Parameters

globalRulestackName

string

GlobalRulestack resource name

priority

string

Post Rule priority

resource
PostRulesResource

Resource create parameters.

options
PostRulesCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, PostRulesDeleteOptionalParams)

Delete a PostRulesResource

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

Parameters

globalRulestackName

string

GlobalRulestack resource name

priority

string

Post Rule priority

options
PostRulesDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, PostRulesDeleteOptionalParams)

Delete a PostRulesResource

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

Parameters

globalRulestackName

string

GlobalRulestack resource name

priority

string

Post Rule priority

options
PostRulesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, PostRulesGetOptionalParams)

Get a PostRulesResource

function get(globalRulestackName: string, priority: string, options?: PostRulesGetOptionalParams): Promise<PostRulesResource>

Parameters

globalRulestackName

string

GlobalRulestack resource name

priority

string

Post Rule priority

options
PostRulesGetOptionalParams

The options parameters.

Returns

getCounters(string, string, PostRulesGetCountersOptionalParams)

Get counters

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

Parameters

globalRulestackName

string

GlobalRulestack resource name

priority

string

Post Rule priority

options
PostRulesGetCountersOptionalParams

The options parameters.

Returns

Promise<RuleCounter>

list(string, PostRulesListOptionalParams)

List PostRulesResource resources by Tenant

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

Parameters

globalRulestackName

string

GlobalRulestack resource name

options
PostRulesListOptionalParams

The options parameters.

Returns

refreshCounters(string, string, PostRulesRefreshCountersOptionalParams)

Refresh counters

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

Parameters

globalRulestackName

string

GlobalRulestack resource name

priority

string

Post Rule priority

options
PostRulesRefreshCountersOptionalParams

The options parameters.

Returns

Promise<void>

resetCounters(string, string, PostRulesResetCountersOptionalParams)

Reset counters

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

Parameters

globalRulestackName

string

GlobalRulestack resource name

priority

string

Post Rule priority

options
PostRulesResetCountersOptionalParams

The options parameters.

Returns

Promise<RuleCounterReset>