你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LocalRules interface

表示 LocalRules 的接口。

方法

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

创建 LocalRulesResource

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

创建 LocalRulesResource

beginDelete(string, string, string, LocalRulesDeleteOptionalParams)

删除 LocalRulesResource

beginDeleteAndWait(string, string, string, LocalRulesDeleteOptionalParams)

删除 LocalRulesResource

get(string, string, string, LocalRulesGetOptionalParams)

获取 LocalRulesResource

getCounters(string, string, string, LocalRulesGetCountersOptionalParams)

获取计数器

listByLocalRulestacks(string, string, LocalRulesListByLocalRulestacksOptionalParams)

按 LocalRulestacks 列出 LocalRulesResource 资源

refreshCounters(string, string, string, LocalRulesRefreshCountersOptionalParams)

刷新计数器

resetCounters(string, string, string, LocalRulesResetCountersOptionalParams)

重置计数器

方法详细信息

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

创建 LocalRulesResource

function beginCreateOrUpdate(resourceGroupName: string, localRulestackName: string, priority: string, resource: LocalRulesResource, options?: LocalRulesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<LocalRulesResource>, LocalRulesResource>>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

localRulestackName

string

LocalRulestack 资源名称

priority

string

本地规则优先级

resource
LocalRulesResource

资源创建参数。

options
LocalRulesCreateOrUpdateOptionalParams

选项参数。

返回

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

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

创建 LocalRulesResource

function beginCreateOrUpdateAndWait(resourceGroupName: string, localRulestackName: string, priority: string, resource: LocalRulesResource, options?: LocalRulesCreateOrUpdateOptionalParams): Promise<LocalRulesResource>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

localRulestackName

string

LocalRulestack 资源名称

priority

string

本地规则优先级

resource
LocalRulesResource

资源创建参数。

options
LocalRulesCreateOrUpdateOptionalParams

选项参数。

返回

beginDelete(string, string, string, LocalRulesDeleteOptionalParams)

删除 LocalRulesResource

function beginDelete(resourceGroupName: string, localRulestackName: string, priority: string, options?: LocalRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

localRulestackName

string

LocalRulestack 资源名称

priority

string

本地规则优先级

options
LocalRulesDeleteOptionalParams

选项参数。

返回

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

beginDeleteAndWait(string, string, string, LocalRulesDeleteOptionalParams)

删除 LocalRulesResource

function beginDeleteAndWait(resourceGroupName: string, localRulestackName: string, priority: string, options?: LocalRulesDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

localRulestackName

string

LocalRulestack 资源名称

priority

string

本地规则优先级

options
LocalRulesDeleteOptionalParams

选项参数。

返回

Promise<void>

get(string, string, string, LocalRulesGetOptionalParams)

获取 LocalRulesResource

function get(resourceGroupName: string, localRulestackName: string, priority: string, options?: LocalRulesGetOptionalParams): Promise<LocalRulesResource>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

localRulestackName

string

LocalRulestack 资源名称

priority

string

本地规则优先级

options
LocalRulesGetOptionalParams

选项参数。

返回

getCounters(string, string, string, LocalRulesGetCountersOptionalParams)

获取计数器

function getCounters(resourceGroupName: string, localRulestackName: string, priority: string, options?: LocalRulesGetCountersOptionalParams): Promise<RuleCounter>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

localRulestackName

string

LocalRulestack 资源名称

priority

string

本地规则优先级

options
LocalRulesGetCountersOptionalParams

选项参数。

返回

Promise<RuleCounter>

listByLocalRulestacks(string, string, LocalRulesListByLocalRulestacksOptionalParams)

按 LocalRulestacks 列出 LocalRulesResource 资源

function listByLocalRulestacks(resourceGroupName: string, localRulestackName: string, options?: LocalRulesListByLocalRulestacksOptionalParams): PagedAsyncIterableIterator<LocalRulesResource, LocalRulesResource[], PageSettings>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

localRulestackName

string

LocalRulestack 资源名称

返回

refreshCounters(string, string, string, LocalRulesRefreshCountersOptionalParams)

刷新计数器

function refreshCounters(resourceGroupName: string, localRulestackName: string, priority: string, options?: LocalRulesRefreshCountersOptionalParams): Promise<void>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

localRulestackName

string

LocalRulestack 资源名称

priority

string

本地规则优先级

options
LocalRulesRefreshCountersOptionalParams

选项参数。

返回

Promise<void>

resetCounters(string, string, string, LocalRulesResetCountersOptionalParams)

重置计数器

function resetCounters(resourceGroupName: string, localRulestackName: string, priority: string, options?: LocalRulesResetCountersOptionalParams): Promise<RuleCounterReset>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

localRulestackName

string

LocalRulestack 资源名称

priority

string

本地规则优先级

options
LocalRulesResetCountersOptionalParams

选项参数。

返回

Promise<RuleCounterReset>