Partager via


NatRulesClient Interface

public interface NatRulesClient

An instance of this class provides access to all the operations defined in NatRulesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<VpnGatewayNatRuleInner>,VpnGatewayNatRuleInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters)

Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules.

abstract SyncPoller<PollResult<VpnGatewayNatRuleInner>,VpnGatewayNatRuleInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters, Context context)

Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules.

abstract PollerFlux<PollResult<VpnGatewayNatRuleInner>,VpnGatewayNatRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters)

Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String gatewayName, String natRuleName)

Deletes a nat rule.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String gatewayName, String natRuleName, Context context)

Deletes a nat rule.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String gatewayName, String natRuleName)

Deletes a nat rule.

abstract VpnGatewayNatRuleInner createOrUpdate(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters)

Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules.

abstract VpnGatewayNatRuleInner createOrUpdate(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters, Context context)

Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules.

abstract Mono<VpnGatewayNatRuleInner> createOrUpdateAsync(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters)

Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters)

Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules.

abstract void delete(String resourceGroupName, String gatewayName, String natRuleName)

Deletes a nat rule.

abstract void delete(String resourceGroupName, String gatewayName, String natRuleName, Context context)

Deletes a nat rule.

abstract Mono<Void> deleteAsync(String resourceGroupName, String gatewayName, String natRuleName)

Deletes a nat rule.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String gatewayName, String natRuleName)

Deletes a nat rule.

abstract VpnGatewayNatRuleInner get(String resourceGroupName, String gatewayName, String natRuleName)

Retrieves the details of a nat ruleGet.

abstract Mono<VpnGatewayNatRuleInner> getAsync(String resourceGroupName, String gatewayName, String natRuleName)

Retrieves the details of a nat ruleGet.

abstract Response<VpnGatewayNatRuleInner> getWithResponse(String resourceGroupName, String gatewayName, String natRuleName, Context context)

Retrieves the details of a nat ruleGet.

abstract Mono<Response<VpnGatewayNatRuleInner>> getWithResponseAsync(String resourceGroupName, String gatewayName, String natRuleName)

Retrieves the details of a nat ruleGet.

abstract PagedIterable<VpnGatewayNatRuleInner> listByVpnGateway(String resourceGroupName, String gatewayName)

Retrieves all nat rules for a particular virtual wan vpn gateway.

abstract PagedIterable<VpnGatewayNatRuleInner> listByVpnGateway(String resourceGroupName, String gatewayName, Context context)

Retrieves all nat rules for a particular virtual wan vpn gateway.

abstract PagedFlux<VpnGatewayNatRuleInner> listByVpnGatewayAsync(String resourceGroupName, String gatewayName)

Retrieves all nat rules for a particular virtual wan vpn gateway.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,VpnGatewayNatRuleInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters)

Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
natRuleName - The name of the nat rule.
natRuleParameters - Parameters supplied to create or Update a Nat Rule.

Returns:

the SyncPoller<T,U> for polling of vpnGatewayNatRule Resource.

beginCreateOrUpdate

public abstract SyncPoller,VpnGatewayNatRuleInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters, Context context)

Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
natRuleName - The name of the nat rule.
natRuleParameters - Parameters supplied to create or Update a Nat Rule.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of vpnGatewayNatRule Resource.

beginCreateOrUpdateAsync

public abstract PollerFlux,VpnGatewayNatRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters)

Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
natRuleName - The name of the nat rule.
natRuleParameters - Parameters supplied to create or Update a Nat Rule.

Returns:

the PollerFlux<T,U> for polling of vpnGatewayNatRule Resource.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String gatewayName, String natRuleName)

Deletes a nat rule.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
natRuleName - The name of the nat rule.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String gatewayName, String natRuleName, Context context)

Deletes a nat rule.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
natRuleName - The name of the nat rule.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String gatewayName, String natRuleName)

Deletes a nat rule.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
natRuleName - The name of the nat rule.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

createOrUpdate

public abstract VpnGatewayNatRuleInner createOrUpdate(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters)

Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
natRuleName - The name of the nat rule.
natRuleParameters - Parameters supplied to create or Update a Nat Rule.

Returns:

vpnGatewayNatRule Resource.

createOrUpdate

public abstract VpnGatewayNatRuleInner createOrUpdate(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters, Context context)

Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
natRuleName - The name of the nat rule.
natRuleParameters - Parameters supplied to create or Update a Nat Rule.
context - The context to associate with this operation.

Returns:

vpnGatewayNatRule Resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters)

Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
natRuleName - The name of the nat rule.
natRuleParameters - Parameters supplied to create or Update a Nat Rule.

Returns:

vpnGatewayNatRule Resource on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters)

Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
natRuleName - The name of the nat rule.
natRuleParameters - Parameters supplied to create or Update a Nat Rule.

Returns:

vpnGatewayNatRule Resource along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String gatewayName, String natRuleName)

Deletes a nat rule.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
natRuleName - The name of the nat rule.

delete

public abstract void delete(String resourceGroupName, String gatewayName, String natRuleName, Context context)

Deletes a nat rule.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
natRuleName - The name of the nat rule.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String gatewayName, String natRuleName)

Deletes a nat rule.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
natRuleName - The name of the nat rule.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String gatewayName, String natRuleName)

Deletes a nat rule.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
natRuleName - The name of the nat rule.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract VpnGatewayNatRuleInner get(String resourceGroupName, String gatewayName, String natRuleName)

Retrieves the details of a nat ruleGet.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
natRuleName - The name of the nat rule.

Returns:

vpnGatewayNatRule Resource.

getAsync

public abstract Mono getAsync(String resourceGroupName, String gatewayName, String natRuleName)

Retrieves the details of a nat ruleGet.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
natRuleName - The name of the nat rule.

Returns:

vpnGatewayNatRule Resource on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String gatewayName, String natRuleName, Context context)

Retrieves the details of a nat ruleGet.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
natRuleName - The name of the nat rule.
context - The context to associate with this operation.

Returns:

vpnGatewayNatRule Resource along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String gatewayName, String natRuleName)

Retrieves the details of a nat ruleGet.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
natRuleName - The name of the nat rule.

Returns:

vpnGatewayNatRule Resource along with Response<T> on successful completion of Mono.

listByVpnGateway

public abstract PagedIterable listByVpnGateway(String resourceGroupName, String gatewayName)

Retrieves all nat rules for a particular virtual wan vpn gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

result of the request to list all nat rules to a virtual wan vpn gateway as paginated response with PagedIterable<T>.

listByVpnGateway

public abstract PagedIterable listByVpnGateway(String resourceGroupName, String gatewayName, Context context)

Retrieves all nat rules for a particular virtual wan vpn gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
context - The context to associate with this operation.

Returns:

result of the request to list all nat rules to a virtual wan vpn gateway as paginated response with PagedIterable<T>.

listByVpnGatewayAsync

public abstract PagedFlux listByVpnGatewayAsync(String resourceGroupName, String gatewayName)

Retrieves all nat rules for a particular virtual wan vpn gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

result of the request to list all nat rules to a virtual wan vpn gateway as paginated response with PagedFlux<T>.

Applies to