InboundNatRules interface

Interface representing a InboundNatRules.

Methods

beginCreateOrUpdate(string, string, string, InboundNatRule, InboundNatRulesCreateOrUpdateOptionalParams)

Creates or updates a load balancer inbound nat rule.

beginCreateOrUpdateAndWait(string, string, string, InboundNatRule, InboundNatRulesCreateOrUpdateOptionalParams)

Creates or updates a load balancer inbound nat rule.

beginDelete(string, string, string, InboundNatRulesDeleteOptionalParams)

Deletes the specified load balancer inbound nat rule.

beginDeleteAndWait(string, string, string, InboundNatRulesDeleteOptionalParams)

Deletes the specified load balancer inbound nat rule.

get(string, string, string, InboundNatRulesGetOptionalParams)

Gets the specified load balancer inbound nat rule.

list(string, string, InboundNatRulesListOptionalParams)

Gets all the inbound nat rules in a load balancer.

Method Details

beginCreateOrUpdate(string, string, string, InboundNatRule, InboundNatRulesCreateOrUpdateOptionalParams)

Creates or updates a load balancer inbound nat rule.

function beginCreateOrUpdate(resourceGroupName: string, loadBalancerName: string, inboundNatRuleName: string, inboundNatRuleParameters: InboundNatRule, options?: InboundNatRulesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<InboundNatRule>, InboundNatRule>>

Parameters

resourceGroupName

string

The name of the resource group.

loadBalancerName

string

The name of the load balancer.

inboundNatRuleName

string

The name of the inbound nat rule.

inboundNatRuleParameters
InboundNatRule

Parameters supplied to the create or update inbound nat rule operation.

options
InboundNatRulesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<InboundNatRule>, InboundNatRule>>

beginCreateOrUpdateAndWait(string, string, string, InboundNatRule, InboundNatRulesCreateOrUpdateOptionalParams)

Creates or updates a load balancer inbound nat rule.

function beginCreateOrUpdateAndWait(resourceGroupName: string, loadBalancerName: string, inboundNatRuleName: string, inboundNatRuleParameters: InboundNatRule, options?: InboundNatRulesCreateOrUpdateOptionalParams): Promise<InboundNatRule>

Parameters

resourceGroupName

string

The name of the resource group.

loadBalancerName

string

The name of the load balancer.

inboundNatRuleName

string

The name of the inbound nat rule.

inboundNatRuleParameters
InboundNatRule

Parameters supplied to the create or update inbound nat rule operation.

options
InboundNatRulesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<InboundNatRule>

beginDelete(string, string, string, InboundNatRulesDeleteOptionalParams)

Deletes the specified load balancer inbound nat rule.

function beginDelete(resourceGroupName: string, loadBalancerName: string, inboundNatRuleName: string, options?: InboundNatRulesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

loadBalancerName

string

The name of the load balancer.

inboundNatRuleName

string

The name of the inbound nat rule.

options
InboundNatRulesDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, string, InboundNatRulesDeleteOptionalParams)

Deletes the specified load balancer inbound nat rule.

function beginDeleteAndWait(resourceGroupName: string, loadBalancerName: string, inboundNatRuleName: string, options?: InboundNatRulesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

loadBalancerName

string

The name of the load balancer.

inboundNatRuleName

string

The name of the inbound nat rule.

options
InboundNatRulesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, InboundNatRulesGetOptionalParams)

Gets the specified load balancer inbound nat rule.

function get(resourceGroupName: string, loadBalancerName: string, inboundNatRuleName: string, options?: InboundNatRulesGetOptionalParams): Promise<InboundNatRule>

Parameters

resourceGroupName

string

The name of the resource group.

loadBalancerName

string

The name of the load balancer.

inboundNatRuleName

string

The name of the inbound nat rule.

options
InboundNatRulesGetOptionalParams

The options parameters.

Returns

Promise<InboundNatRule>

list(string, string, InboundNatRulesListOptionalParams)

Gets all the inbound nat rules in a load balancer.

function list(resourceGroupName: string, loadBalancerName: string, options?: InboundNatRulesListOptionalParams): PagedAsyncIterableIterator<InboundNatRule, InboundNatRule[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

loadBalancerName

string

The name of the load balancer.

options
InboundNatRulesListOptionalParams

The options parameters.

Returns