VirtualNetworkGatewayNatRulesClient Interface

public interface VirtualNetworkGatewayNatRulesClient

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

Method Summary

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

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

abstract SyncPoller<PollResult<VirtualNetworkGatewayNatRuleInner>,VirtualNetworkGatewayNatRuleInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, VirtualNetworkGatewayNatRuleInner natRuleParameters, Context context)

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

abstract PollerFlux<PollResult<VirtualNetworkGatewayNatRuleInner>,VirtualNetworkGatewayNatRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, VirtualNetworkGatewayNatRuleInner natRuleParameters)

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

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

Deletes a nat rule.

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

Deletes a nat rule.

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

Deletes a nat rule.

abstract VirtualNetworkGatewayNatRuleInner createOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, VirtualNetworkGatewayNatRuleInner natRuleParameters)

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

abstract VirtualNetworkGatewayNatRuleInner createOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, VirtualNetworkGatewayNatRuleInner natRuleParameters, Context context)

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

abstract Mono<VirtualNetworkGatewayNatRuleInner> createOrUpdateAsync(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, VirtualNetworkGatewayNatRuleInner natRuleParameters)

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

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, VirtualNetworkGatewayNatRuleInner natRuleParameters)

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

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

Deletes a nat rule.

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

Deletes a nat rule.

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

Deletes a nat rule.

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

Deletes a nat rule.

abstract VirtualNetworkGatewayNatRuleInner get(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName)

Retrieves the details of a nat rule.

abstract Mono<VirtualNetworkGatewayNatRuleInner> getAsync(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName)

Retrieves the details of a nat rule.

abstract Response<VirtualNetworkGatewayNatRuleInner> getWithResponse(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, Context context)

Retrieves the details of a nat rule.

abstract Mono<Response<VirtualNetworkGatewayNatRuleInner>> getWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName)

Retrieves the details of a nat rule.

abstract PagedIterable<VirtualNetworkGatewayNatRuleInner> listByVirtualNetworkGateway(String resourceGroupName, String virtualNetworkGatewayName)

Retrieves all nat rules for a particular virtual network gateway.

abstract PagedIterable<VirtualNetworkGatewayNatRuleInner> listByVirtualNetworkGateway(String resourceGroupName, String virtualNetworkGatewayName, Context context)

Retrieves all nat rules for a particular virtual network gateway.

abstract PagedFlux<VirtualNetworkGatewayNatRuleInner> listByVirtualNetworkGatewayAsync(String resourceGroupName, String virtualNetworkGatewayName)

Retrieves all nat rules for a particular virtual network gateway.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,VirtualNetworkGatewayNatRuleInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, VirtualNetworkGatewayNatRuleInner natRuleParameters)

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

Parameters:

resourceGroupName - The resource group name of the Virtual Network Gateway.
virtualNetworkGatewayName - 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 virtualNetworkGatewayNatRule Resource.

beginCreateOrUpdate

public abstract SyncPoller,VirtualNetworkGatewayNatRuleInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, VirtualNetworkGatewayNatRuleInner natRuleParameters, Context context)

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

Parameters:

resourceGroupName - The resource group name of the Virtual Network Gateway.
virtualNetworkGatewayName - 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 virtualNetworkGatewayNatRule Resource.

beginCreateOrUpdateAsync

public abstract PollerFlux,VirtualNetworkGatewayNatRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, VirtualNetworkGatewayNatRuleInner natRuleParameters)

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

Parameters:

resourceGroupName - The resource group name of the Virtual Network Gateway.
virtualNetworkGatewayName - 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 virtualNetworkGatewayNatRule Resource.

beginDelete

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

Deletes a nat rule.

Parameters:

resourceGroupName - The resource group name of the Virtual Network Gateway.
virtualNetworkGatewayName - 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 virtualNetworkGatewayName, String natRuleName, Context context)

Deletes a nat rule.

Parameters:

resourceGroupName - The resource group name of the Virtual Network Gateway.
virtualNetworkGatewayName - 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 virtualNetworkGatewayName, String natRuleName)

Deletes a nat rule.

Parameters:

resourceGroupName - The resource group name of the Virtual Network Gateway.
virtualNetworkGatewayName - 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 VirtualNetworkGatewayNatRuleInner createOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, VirtualNetworkGatewayNatRuleInner natRuleParameters)

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

Parameters:

resourceGroupName - The resource group name of the Virtual Network Gateway.
virtualNetworkGatewayName - The name of the gateway.
natRuleName - The name of the nat rule.
natRuleParameters - Parameters supplied to create or Update a Nat Rule.

Returns:

virtualNetworkGatewayNatRule Resource.

createOrUpdate

public abstract VirtualNetworkGatewayNatRuleInner createOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, VirtualNetworkGatewayNatRuleInner natRuleParameters, Context context)

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

Parameters:

resourceGroupName - The resource group name of the Virtual Network Gateway.
virtualNetworkGatewayName - 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:

virtualNetworkGatewayNatRule Resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, VirtualNetworkGatewayNatRuleInner natRuleParameters)

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

Parameters:

resourceGroupName - The resource group name of the Virtual Network Gateway.
virtualNetworkGatewayName - The name of the gateway.
natRuleName - The name of the nat rule.
natRuleParameters - Parameters supplied to create or Update a Nat Rule.

Returns:

virtualNetworkGatewayNatRule Resource on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, VirtualNetworkGatewayNatRuleInner natRuleParameters)

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

Parameters:

resourceGroupName - The resource group name of the Virtual Network Gateway.
virtualNetworkGatewayName - The name of the gateway.
natRuleName - The name of the nat rule.
natRuleParameters - Parameters supplied to create or Update a Nat Rule.

Returns:

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

delete

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

Deletes a nat rule.

Parameters:

resourceGroupName - The resource group name of the Virtual Network Gateway.
virtualNetworkGatewayName - The name of the gateway.
natRuleName - The name of the nat rule.

delete

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

Deletes a nat rule.

Parameters:

resourceGroupName - The resource group name of the Virtual Network Gateway.
virtualNetworkGatewayName - 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 virtualNetworkGatewayName, String natRuleName)

Deletes a nat rule.

Parameters:

resourceGroupName - The resource group name of the Virtual Network Gateway.
virtualNetworkGatewayName - 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 virtualNetworkGatewayName, String natRuleName)

Deletes a nat rule.

Parameters:

resourceGroupName - The resource group name of the Virtual Network Gateway.
virtualNetworkGatewayName - The name of the gateway.
natRuleName - The name of the nat rule.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract VirtualNetworkGatewayNatRuleInner get(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName)

Retrieves the details of a nat rule.

Parameters:

resourceGroupName - The resource group name of the Virtual Network Gateway.
virtualNetworkGatewayName - The name of the gateway.
natRuleName - The name of the nat rule.

Returns:

virtualNetworkGatewayNatRule Resource.

getAsync

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

Retrieves the details of a nat rule.

Parameters:

resourceGroupName - The resource group name of the Virtual Network Gateway.
virtualNetworkGatewayName - The name of the gateway.
natRuleName - The name of the nat rule.

Returns:

virtualNetworkGatewayNatRule Resource on successful completion of Mono.

getWithResponse

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

Retrieves the details of a nat rule.

Parameters:

resourceGroupName - The resource group name of the Virtual Network Gateway.
virtualNetworkGatewayName - The name of the gateway.
natRuleName - The name of the nat rule.
context - The context to associate with this operation.

Returns:

virtualNetworkGatewayNatRule Resource along with Response<T>.

getWithResponseAsync

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

Retrieves the details of a nat rule.

Parameters:

resourceGroupName - The resource group name of the Virtual Network Gateway.
virtualNetworkGatewayName - The name of the gateway.
natRuleName - The name of the nat rule.

Returns:

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

listByVirtualNetworkGateway

public abstract PagedIterable listByVirtualNetworkGateway(String resourceGroupName, String virtualNetworkGatewayName)

Retrieves all nat rules for a particular virtual network gateway.

Parameters:

resourceGroupName - The resource group name of the virtual network gateway.
virtualNetworkGatewayName - The name of the gateway.

Returns:

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

listByVirtualNetworkGateway

public abstract PagedIterable listByVirtualNetworkGateway(String resourceGroupName, String virtualNetworkGatewayName, Context context)

Retrieves all nat rules for a particular virtual network gateway.

Parameters:

resourceGroupName - The resource group name of the virtual network gateway.
virtualNetworkGatewayName - 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 network gateway as paginated response with PagedIterable<T>.

listByVirtualNetworkGatewayAsync

public abstract PagedFlux listByVirtualNetworkGatewayAsync(String resourceGroupName, String virtualNetworkGatewayName)

Retrieves all nat rules for a particular virtual network gateway.

Parameters:

resourceGroupName - The resource group name of the virtual network gateway.
virtualNetworkGatewayName - The name of the gateway.

Returns:

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

Applies to