你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
InboundNatRules interface
表示 InboundNatRules 的接口。
方法
begin |
创建或更新负载均衡器入站 nat 规则。 |
begin |
创建或更新负载均衡器入站 nat 规则。 |
begin |
删除指定的负载均衡器入站 nat 规则。 |
begin |
删除指定的负载均衡器入站 nat 规则。 |
get(string, string, string, Inbound |
获取指定的负载均衡器入站 nat 规则。 |
list(string, string, Inbound |
获取负载均衡器中的所有入站 nat 规则。 |
方法详细信息
beginCreateOrUpdate(string, string, string, InboundNatRule, InboundNatRulesCreateOrUpdateOptionalParams)
创建或更新负载均衡器入站 nat 规则。
function beginCreateOrUpdate(resourceGroupName: string, loadBalancerName: string, inboundNatRuleName: string, inboundNatRuleParameters: InboundNatRule, options?: InboundNatRulesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<InboundNatRule>, InboundNatRule>>
参数
- resourceGroupName
-
string
资源组的名称。
- loadBalancerName
-
string
负载均衡器的名称。
- inboundNatRuleName
-
string
入站 nat 规则的名称。
- inboundNatRuleParameters
- InboundNatRule
为创建或更新入站 nat 规则操作提供的参数。
选项参数。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<InboundNatRule>, InboundNatRule>>
beginCreateOrUpdateAndWait(string, string, string, InboundNatRule, InboundNatRulesCreateOrUpdateOptionalParams)
创建或更新负载均衡器入站 nat 规则。
function beginCreateOrUpdateAndWait(resourceGroupName: string, loadBalancerName: string, inboundNatRuleName: string, inboundNatRuleParameters: InboundNatRule, options?: InboundNatRulesCreateOrUpdateOptionalParams): Promise<InboundNatRule>
参数
- resourceGroupName
-
string
资源组的名称。
- loadBalancerName
-
string
负载均衡器的名称。
- inboundNatRuleName
-
string
入站 nat 规则的名称。
- inboundNatRuleParameters
- InboundNatRule
为创建或更新入站 nat 规则操作提供的参数。
选项参数。
返回
Promise<InboundNatRule>
beginDelete(string, string, string, InboundNatRulesDeleteOptionalParams)
删除指定的负载均衡器入站 nat 规则。
function beginDelete(resourceGroupName: string, loadBalancerName: string, inboundNatRuleName: string, options?: InboundNatRulesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
参数
- resourceGroupName
-
string
资源组的名称。
- loadBalancerName
-
string
负载均衡器的名称。
- inboundNatRuleName
-
string
入站 nat 规则的名称。
选项参数。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, string, InboundNatRulesDeleteOptionalParams)
删除指定的负载均衡器入站 nat 规则。
function beginDeleteAndWait(resourceGroupName: string, loadBalancerName: string, inboundNatRuleName: string, options?: InboundNatRulesDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。
- loadBalancerName
-
string
负载均衡器的名称。
- inboundNatRuleName
-
string
入站 nat 规则的名称。
选项参数。
返回
Promise<void>
get(string, string, string, InboundNatRulesGetOptionalParams)
获取指定的负载均衡器入站 nat 规则。
function get(resourceGroupName: string, loadBalancerName: string, inboundNatRuleName: string, options?: InboundNatRulesGetOptionalParams): Promise<InboundNatRule>
参数
- resourceGroupName
-
string
资源组的名称。
- loadBalancerName
-
string
负载均衡器的名称。
- inboundNatRuleName
-
string
入站 nat 规则的名称。
- options
- InboundNatRulesGetOptionalParams
选项参数。
返回
Promise<InboundNatRule>
list(string, string, InboundNatRulesListOptionalParams)
获取负载均衡器中的所有入站 nat 规则。
function list(resourceGroupName: string, loadBalancerName: string, options?: InboundNatRulesListOptionalParams): PagedAsyncIterableIterator<InboundNatRule, InboundNatRule[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。
- loadBalancerName
-
string
负载均衡器的名称。
选项参数。