Interface VirtualNetworkGatewayNatRulesClient
public interface VirtualNetworkGatewayNatRulesClient
An instance of this class provides access to all the operations defined in VirtualNetworkGatewayNatRulesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkGatewayNatRuleInner>, VirtualNetworkGatewayNatRuleInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, VirtualNetworkGatewayNatRuleInner natRuleParameters, com.azure.core.util.Context context) Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.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.beginDelete(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName) Deletes a nat rule.beginDelete(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, com.azure.core.util.Context context) Deletes a nat rule.beginDeleteAsync(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName) Deletes a nat rule.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.createOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, VirtualNetworkGatewayNatRuleInner natRuleParameters, com.azure.core.util.Context context) Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules.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.Mono<com.azure.core.http.rest.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.voidDeletes a nat rule.voiddelete(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, com.azure.core.util.Context context) Deletes a nat rule.deleteAsync(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName) Deletes a nat rule.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName) Deletes a nat rule.Retrieves the details of a nat rule.Retrieves the details of a nat rule.com.azure.core.http.rest.Response<VirtualNetworkGatewayNatRuleInner> getWithResponse(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, com.azure.core.util.Context context) Retrieves the details of a nat rule.Mono<com.azure.core.http.rest.Response<VirtualNetworkGatewayNatRuleInner>> getWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName) Retrieves the details of a nat rule.com.azure.core.http.rest.PagedIterable<VirtualNetworkGatewayNatRuleInner> listByVirtualNetworkGateway(String resourceGroupName, String virtualNetworkGatewayName) Retrieves all nat rules for a particular virtual network gateway.com.azure.core.http.rest.PagedIterable<VirtualNetworkGatewayNatRuleInner> listByVirtualNetworkGateway(String resourceGroupName, String virtualNetworkGatewayName, com.azure.core.util.Context context) Retrieves all nat rules for a particular virtual network gateway.com.azure.core.http.rest.PagedFlux<VirtualNetworkGatewayNatRuleInner> listByVirtualNetworkGatewayAsync(String resourceGroupName, String virtualNetworkGatewayName) Retrieves all nat rules for a particular virtual network gateway.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<VirtualNetworkGatewayNatRuleInner>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<VirtualNetworkGatewayNatRuleInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<VirtualNetworkGatewayNatRuleInner> getWithResponse(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, com.azure.core.util.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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.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.- 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.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.- 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
PollerFluxfor polling of virtualNetworkGatewayNatRule Resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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.- 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
SyncPollerfor polling of virtualNetworkGatewayNatRule Resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkGatewayNatRuleInner>,VirtualNetworkGatewayNatRuleInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, VirtualNetworkGatewayNatRuleInner natRuleParameters, com.azure.core.util.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
SyncPollerfor polling of virtualNetworkGatewayNatRule Resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
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.- 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
VirtualNetworkGatewayNatRuleInner createOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, VirtualNetworkGatewayNatRuleInner natRuleParameters, com.azure.core.util.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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,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
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,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
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, com.azure.core.util.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
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Mono<Void> 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
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String virtualNetworkGatewayName, String natRuleName, com.azure.core.util.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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByVirtualNetworkGatewayAsync
com.azure.core.http.rest.PagedFlux<VirtualNetworkGatewayNatRuleInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByVirtualNetworkGateway
com.azure.core.http.rest.PagedIterable<VirtualNetworkGatewayNatRuleInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByVirtualNetworkGateway
com.azure.core.http.rest.PagedIterable<VirtualNetworkGatewayNatRuleInner> listByVirtualNetworkGateway(String resourceGroupName, String virtualNetworkGatewayName, com.azure.core.util.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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-