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