LocalRules interface

Interface representing a LocalRules.

Methods

beginCreateOrUpdate(string, string, string, LocalRulesResource, LocalRulesCreateOrUpdateOptionalParams)

Create a LocalRulesResource

beginCreateOrUpdateAndWait(string, string, string, LocalRulesResource, LocalRulesCreateOrUpdateOptionalParams)

Create a LocalRulesResource

beginDelete(string, string, string, LocalRulesDeleteOptionalParams)

Delete a LocalRulesResource

beginDeleteAndWait(string, string, string, LocalRulesDeleteOptionalParams)

Delete a LocalRulesResource

get(string, string, string, LocalRulesGetOptionalParams)

Get a LocalRulesResource

getCounters(string, string, string, LocalRulesGetCountersOptionalParams)

Get counters

listByLocalRulestacks(string, string, LocalRulesListByLocalRulestacksOptionalParams)

List LocalRulesResource resources by LocalRulestacks

refreshCounters(string, string, string, LocalRulesRefreshCountersOptionalParams)

Refresh counters

resetCounters(string, string, string, LocalRulesResetCountersOptionalParams)

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.

options
LocalRulesCreateOrUpdateOptionalParams

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.

options
LocalRulesCreateOrUpdateOptionalParams

The options parameters.

Returns

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

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

options
LocalRulesGetCountersOptionalParams

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

options
LocalRulesListByLocalRulestacksOptionalParams

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

options
LocalRulesRefreshCountersOptionalParams

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

options
LocalRulesResetCountersOptionalParams

The options parameters.

Returns

Promise<RuleCounterReset>