你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Rules interface
表示规则的接口。
方法
方法详细信息
beginCreate(string, string, string, string, Rule, RulesCreateOptionalParams)
在指定的规则集中创建新的传递规则。
function beginCreate(resourceGroupName: string, profileName: string, ruleSetName: string, ruleName: string, rule: Rule, options?: RulesCreateOptionalParams): Promise<SimplePollerLike<OperationState<Rule>, Rule>>
参数
- resourceGroupName
-
string
Azure 订阅中资源组的名称。
- profileName
-
string
Azure Front Door Standard 或 Azure Front Door Premium 配置文件的名称,该配置文件在资源组中是唯一的。
- ruleSetName
-
string
配置文件下的规则集的名称。
- ruleName
-
string
终结点中唯一的传递规则的名称。
- rule
- Rule
传递规则属性。
- options
- RulesCreateOptionalParams
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<Rule>, Rule>>
beginCreateAndWait(string, string, string, string, Rule, RulesCreateOptionalParams)
在指定的规则集中创建新的传递规则。
function beginCreateAndWait(resourceGroupName: string, profileName: string, ruleSetName: string, ruleName: string, rule: Rule, options?: RulesCreateOptionalParams): Promise<Rule>
参数
- resourceGroupName
-
string
Azure 订阅中资源组的名称。
- profileName
-
string
Azure Front Door Standard 或 Azure Front Door Premium 配置文件的名称,该配置文件在资源组中是唯一的。
- ruleSetName
-
string
配置文件下的规则集的名称。
- ruleName
-
string
终结点中唯一的传递规则的名称。
- rule
- Rule
传递规则属性。
- options
- RulesCreateOptionalParams
选项参数。
返回
Promise<Rule>
beginDelete(string, string, string, string, RulesDeleteOptionalParams)
删除规则集中的现有传递规则。
function beginDelete(resourceGroupName: string, profileName: string, ruleSetName: string, ruleName: string, options?: RulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
参数
- resourceGroupName
-
string
Azure 订阅中资源组的名称。
- profileName
-
string
Azure Front Door Standard 或 Azure Front Door Premium 配置文件的名称,该配置文件在资源组中是唯一的。
- ruleSetName
-
string
配置文件下的规则集的名称。
- ruleName
-
string
终结点中唯一的传递规则的名称。
- options
- RulesDeleteOptionalParams
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, string, RulesDeleteOptionalParams)
删除规则集中的现有传递规则。
function beginDeleteAndWait(resourceGroupName: string, profileName: string, ruleSetName: string, ruleName: string, options?: RulesDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
Azure 订阅中资源组的名称。
- profileName
-
string
Azure Front Door Standard 或 Azure Front Door Premium 配置文件的名称,该配置文件在资源组中是唯一的。
- ruleSetName
-
string
配置文件下的规则集的名称。
- ruleName
-
string
终结点中唯一的传递规则的名称。
- options
- RulesDeleteOptionalParams
选项参数。
返回
Promise<void>
beginUpdate(string, string, string, string, RuleUpdateParameters, RulesUpdateOptionalParams)
汇报规则集中的现有传递规则。
function beginUpdate(resourceGroupName: string, profileName: string, ruleSetName: string, ruleName: string, ruleUpdateProperties: RuleUpdateParameters, options?: RulesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Rule>, Rule>>
参数
- resourceGroupName
-
string
Azure 订阅中资源组的名称。
- profileName
-
string
Azure Front Door Standard 或 Azure Front Door Premium 配置文件的名称,该配置文件在资源组中是唯一的。
- ruleSetName
-
string
配置文件下的规则集的名称。
- ruleName
-
string
终结点中唯一的传递规则的名称。
- ruleUpdateProperties
- RuleUpdateParameters
传递规则属性
- options
- RulesUpdateOptionalParams
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<Rule>, Rule>>
beginUpdateAndWait(string, string, string, string, RuleUpdateParameters, RulesUpdateOptionalParams)
汇报规则集中的现有传递规则。
function beginUpdateAndWait(resourceGroupName: string, profileName: string, ruleSetName: string, ruleName: string, ruleUpdateProperties: RuleUpdateParameters, options?: RulesUpdateOptionalParams): Promise<Rule>
参数
- resourceGroupName
-
string
Azure 订阅中资源组的名称。
- profileName
-
string
Azure Front Door Standard 或 Azure Front Door Premium 配置文件的名称,该配置文件在资源组中是唯一的。
- ruleSetName
-
string
配置文件下的规则集的名称。
- ruleName
-
string
终结点中唯一的传递规则的名称。
- ruleUpdateProperties
- RuleUpdateParameters
传递规则属性
- options
- RulesUpdateOptionalParams
选项参数。
返回
Promise<Rule>
get(string, string, string, string, RulesGetOptionalParams)
获取规则集中的现有传递规则。
function get(resourceGroupName: string, profileName: string, ruleSetName: string, ruleName: string, options?: RulesGetOptionalParams): Promise<Rule>
参数
- resourceGroupName
-
string
Azure 订阅中资源组的名称。
- profileName
-
string
Azure Front Door Standard 或 Azure Front Door Premium 配置文件的名称,该配置文件在资源组中是唯一的。
- ruleSetName
-
string
配置文件下的规则集的名称。
- ruleName
-
string
终结点中唯一的传递规则的名称。
- options
- RulesGetOptionalParams
选项参数。
返回
Promise<Rule>
listByRuleSet(string, string, string, RulesListByRuleSetOptionalParams)
列出规则集中的所有现有传递规则。
function listByRuleSet(resourceGroupName: string, profileName: string, ruleSetName: string, options?: RulesListByRuleSetOptionalParams): PagedAsyncIterableIterator<Rule, Rule[], PageSettings>
参数
- resourceGroupName
-
string
Azure 订阅中资源组的名称。
- profileName
-
string
Azure Front Door Standard 或 Azure Front Door Premium 配置文件的名称,该配置文件在资源组中是唯一的。
- ruleSetName
-
string
配置文件下的规则集的名称。
- options
- RulesListByRuleSetOptionalParams
选项参数。