LocalRules interface
Interface representing a LocalRules.
Methods
begin |
Create a LocalRulesResource |
begin |
Create a LocalRulesResource |
begin |
Delete a LocalRulesResource |
begin |
Delete a LocalRulesResource |
get(string, string, string, Local |
Get a LocalRulesResource |
get |
Get counters |
list |
List LocalRulesResource resources by LocalRulestacks |
refresh |
Refresh counters |
reset |
Reset counters |
Method Details
beginCreateOrUpdate(string, string, string, LocalRulesResource, LocalRulesCreateOrUpdateOptionalParams)
Create a LocalRulesResource
function beginCreateOrUpdate(resourceGroupName: string, localRulestackName: string, priority: string, resource: LocalRulesResource, options?: LocalRulesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<LocalRulesResource>, LocalRulesResource>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- localRulestackName
-
string
LocalRulestack resource name
- priority
-
string
Local Rule priority
- resource
- LocalRulesResource
Resource create parameters.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<LocalRulesResource>, LocalRulesResource>>
beginCreateOrUpdateAndWait(string, string, string, LocalRulesResource, LocalRulesCreateOrUpdateOptionalParams)
Create a LocalRulesResource
function beginCreateOrUpdateAndWait(resourceGroupName: string, localRulestackName: string, priority: string, resource: LocalRulesResource, options?: LocalRulesCreateOrUpdateOptionalParams): Promise<LocalRulesResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- localRulestackName
-
string
LocalRulestack resource name
- priority
-
string
Local Rule priority
- resource
- LocalRulesResource
Resource create parameters.
The options parameters.
Returns
Promise<LocalRulesResource>
beginDelete(string, string, string, LocalRulesDeleteOptionalParams)
Delete a LocalRulesResource
function beginDelete(resourceGroupName: string, localRulestackName: string, priority: string, options?: LocalRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- localRulestackName
-
string
LocalRulestack resource name
- priority
-
string
Local Rule priority
- options
- LocalRulesDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, LocalRulesDeleteOptionalParams)
Delete a LocalRulesResource
function beginDeleteAndWait(resourceGroupName: string, localRulestackName: string, priority: string, options?: LocalRulesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- localRulestackName
-
string
LocalRulestack resource name
- priority
-
string
Local Rule priority
- options
- LocalRulesDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, LocalRulesGetOptionalParams)
Get a LocalRulesResource
function get(resourceGroupName: string, localRulestackName: string, priority: string, options?: LocalRulesGetOptionalParams): Promise<LocalRulesResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- localRulestackName
-
string
LocalRulestack resource name
- priority
-
string
Local Rule priority
- options
- LocalRulesGetOptionalParams
The options parameters.
Returns
Promise<LocalRulesResource>
getCounters(string, string, string, LocalRulesGetCountersOptionalParams)
Get counters
function getCounters(resourceGroupName: string, localRulestackName: string, priority: string, options?: LocalRulesGetCountersOptionalParams): Promise<RuleCounter>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- localRulestackName
-
string
LocalRulestack resource name
- priority
-
string
Local Rule priority
The options parameters.
Returns
Promise<RuleCounter>
listByLocalRulestacks(string, string, LocalRulesListByLocalRulestacksOptionalParams)
List LocalRulesResource resources by LocalRulestacks
function listByLocalRulestacks(resourceGroupName: string, localRulestackName: string, options?: LocalRulesListByLocalRulestacksOptionalParams): PagedAsyncIterableIterator<LocalRulesResource, LocalRulesResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- localRulestackName
-
string
LocalRulestack resource name
The options parameters.
Returns
refreshCounters(string, string, string, LocalRulesRefreshCountersOptionalParams)
Refresh counters
function refreshCounters(resourceGroupName: string, localRulestackName: string, priority: string, options?: LocalRulesRefreshCountersOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- localRulestackName
-
string
LocalRulestack resource name
- priority
-
string
Local Rule priority
The options parameters.
Returns
Promise<void>
resetCounters(string, string, string, LocalRulesResetCountersOptionalParams)
Reset counters
function resetCounters(resourceGroupName: string, localRulestackName: string, priority: string, options?: LocalRulesResetCountersOptionalParams): Promise<RuleCounterReset>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- localRulestackName
-
string
LocalRulestack resource name
- priority
-
string
Local Rule priority
The options parameters.
Returns
Promise<RuleCounterReset>