PostRules interface
Interface representing a PostRules.
Methods
begin |
Create a PostRulesResource |
begin |
Create a PostRulesResource |
begin |
Delete a PostRulesResource |
begin |
Delete a PostRulesResource |
get(string, string, Post |
Get a PostRulesResource |
get |
Get counters |
list(string, Post |
List PostRulesResource resources by Tenant |
refresh |
Refresh counters |
reset |
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.
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.
The options parameters.
Returns
Promise<PostRulesResource>
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
Promise<PostRulesResource>
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
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
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
The options parameters.
Returns
Promise<RuleCounterReset>