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

PostRules interface

表示 PostRules 的接口。

方法

beginCreateOrUpdate(string, string, PostRulesResource, PostRulesCreateOrUpdateOptionalParams)

创建 PostRulesResource

beginCreateOrUpdateAndWait(string, string, PostRulesResource, PostRulesCreateOrUpdateOptionalParams)

创建 PostRulesResource

beginDelete(string, string, PostRulesDeleteOptionalParams)

删除 PostRulesResource

beginDeleteAndWait(string, string, PostRulesDeleteOptionalParams)

删除 PostRulesResource

get(string, string, PostRulesGetOptionalParams)

获取 PostRulesResource

getCounters(string, string, PostRulesGetCountersOptionalParams)

获取计数器

list(string, PostRulesListOptionalParams)

按租户列出 PostRulesResource 资源

refreshCounters(string, string, PostRulesRefreshCountersOptionalParams)

刷新计数器

resetCounters(string, string, PostRulesResetCountersOptionalParams)

重置计数器

方法详细信息

beginCreateOrUpdate(string, string, PostRulesResource, PostRulesCreateOrUpdateOptionalParams)

创建 PostRulesResource

function beginCreateOrUpdate(globalRulestackName: string, priority: string, resource: PostRulesResource, options?: PostRulesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PostRulesResource>, PostRulesResource>>

参数

globalRulestackName

string

GlobalRulestack 资源名称

priority

string

发布规则优先级

resource
PostRulesResource

资源创建参数。

options
PostRulesCreateOrUpdateOptionalParams

选项参数。

返回

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

beginCreateOrUpdateAndWait(string, string, PostRulesResource, PostRulesCreateOrUpdateOptionalParams)

创建 PostRulesResource

function beginCreateOrUpdateAndWait(globalRulestackName: string, priority: string, resource: PostRulesResource, options?: PostRulesCreateOrUpdateOptionalParams): Promise<PostRulesResource>

参数

globalRulestackName

string

GlobalRulestack 资源名称

priority

string

发布规则优先级

resource
PostRulesResource

资源创建参数。

options
PostRulesCreateOrUpdateOptionalParams

选项参数。

返回

beginDelete(string, string, PostRulesDeleteOptionalParams)

删除 PostRulesResource

function beginDelete(globalRulestackName: string, priority: string, options?: PostRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

参数

globalRulestackName

string

GlobalRulestack 资源名称

priority

string

发布规则优先级

options
PostRulesDeleteOptionalParams

选项参数。

返回

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

beginDeleteAndWait(string, string, PostRulesDeleteOptionalParams)

删除 PostRulesResource

function beginDeleteAndWait(globalRulestackName: string, priority: string, options?: PostRulesDeleteOptionalParams): Promise<void>

参数

globalRulestackName

string

GlobalRulestack 资源名称

priority

string

发布规则优先级

options
PostRulesDeleteOptionalParams

选项参数。

返回

Promise<void>

get(string, string, PostRulesGetOptionalParams)

获取 PostRulesResource

function get(globalRulestackName: string, priority: string, options?: PostRulesGetOptionalParams): Promise<PostRulesResource>

参数

globalRulestackName

string

GlobalRulestack 资源名称

priority

string

发布规则优先级

options
PostRulesGetOptionalParams

选项参数。

返回

getCounters(string, string, PostRulesGetCountersOptionalParams)

获取计数器

function getCounters(globalRulestackName: string, priority: string, options?: PostRulesGetCountersOptionalParams): Promise<RuleCounter>

参数

globalRulestackName

string

GlobalRulestack 资源名称

priority

string

发布规则优先级

options
PostRulesGetCountersOptionalParams

选项参数。

返回

Promise<RuleCounter>

list(string, PostRulesListOptionalParams)

按租户列出 PostRulesResource 资源

function list(globalRulestackName: string, options?: PostRulesListOptionalParams): PagedAsyncIterableIterator<PostRulesResource, PostRulesResource[], PageSettings>

参数

globalRulestackName

string

GlobalRulestack 资源名称

options
PostRulesListOptionalParams

选项参数。

返回

refreshCounters(string, string, PostRulesRefreshCountersOptionalParams)

刷新计数器

function refreshCounters(globalRulestackName: string, priority: string, options?: PostRulesRefreshCountersOptionalParams): Promise<void>

参数

globalRulestackName

string

GlobalRulestack 资源名称

priority

string

发布规则优先级

options
PostRulesRefreshCountersOptionalParams

选项参数。

返回

Promise<void>

resetCounters(string, string, PostRulesResetCountersOptionalParams)

重置计数器

function resetCounters(globalRulestackName: string, priority: string, options?: PostRulesResetCountersOptionalParams): Promise<RuleCounterReset>

参数

globalRulestackName

string

GlobalRulestack 资源名称

priority

string

发布规则优先级

options
PostRulesResetCountersOptionalParams

选项参数。

返回

Promise<RuleCounterReset>