public interface NatRulesClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnGatewayNatRuleInner>,VpnGatewayNatRuleInner> |
beginCreateOrUpdate(String resourceGroupName,
String gatewayName,
String natRuleName,
VpnGatewayNatRuleInner natRuleParameters,
com.azure.core.util.Context context)
Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.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.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String gatewayName,
String natRuleName)
Deletes a nat rule.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String gatewayName,
String natRuleName,
com.azure.core.util.Context context)
Deletes a nat rule.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String gatewayName,
String natRuleName)
Deletes a nat rule.
|
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.
|
VpnGatewayNatRuleInner |
createOrUpdate(String resourceGroupName,
String gatewayName,
String natRuleName,
VpnGatewayNatRuleInner natRuleParameters,
com.azure.core.util.Context context)
Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules.
|
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.
|
Mono<com.azure.core.http.rest.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.
|
void |
delete(String resourceGroupName,
String gatewayName,
String natRuleName)
Deletes a nat rule.
|
void |
delete(String resourceGroupName,
String gatewayName,
String natRuleName,
com.azure.core.util.Context context)
Deletes a nat rule.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String gatewayName,
String natRuleName)
Deletes a nat rule.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String gatewayName,
String natRuleName)
Deletes a nat rule.
|
VpnGatewayNatRuleInner |
get(String resourceGroupName,
String gatewayName,
String natRuleName)
Retrieves the details of a nat ruleGet.
|
Mono<VpnGatewayNatRuleInner> |
getAsync(String resourceGroupName,
String gatewayName,
String natRuleName)
Retrieves the details of a nat ruleGet.
|
com.azure.core.http.rest.Response<VpnGatewayNatRuleInner> |
getWithResponse(String resourceGroupName,
String gatewayName,
String natRuleName,
com.azure.core.util.Context context)
Retrieves the details of a nat ruleGet.
|
Mono<com.azure.core.http.rest.Response<VpnGatewayNatRuleInner>> |
getWithResponseAsync(String resourceGroupName,
String gatewayName,
String natRuleName)
Retrieves the details of a nat ruleGet.
|
com.azure.core.http.rest.PagedIterable<VpnGatewayNatRuleInner> |
listByVpnGateway(String resourceGroupName,
String gatewayName)
Retrieves all nat rules for a particular virtual wan vpn gateway.
|
com.azure.core.http.rest.PagedIterable<VpnGatewayNatRuleInner> |
listByVpnGateway(String resourceGroupName,
String gatewayName,
com.azure.core.util.Context context)
Retrieves all nat rules for a particular virtual wan vpn gateway.
|
com.azure.core.http.rest.PagedFlux<VpnGatewayNatRuleInner> |
listByVpnGatewayAsync(String resourceGroupName,
String gatewayName)
Retrieves all nat rules for a particular virtual wan vpn gateway.
|
Mono<com.azure.core.http.rest.Response<VpnGatewayNatRuleInner>> getWithResponseAsync(String resourceGroupName, String gatewayName, String natRuleName)
resourceGroupName - The resource group name of the VpnGateway.gatewayName - The name of the gateway.natRuleName - The name of the nat rule.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.Mono<VpnGatewayNatRuleInner> getAsync(String resourceGroupName, String gatewayName, String natRuleName)
resourceGroupName - The resource group name of the VpnGateway.gatewayName - The name of the gateway.natRuleName - The name of the nat rule.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.VpnGatewayNatRuleInner get(String resourceGroupName, String gatewayName, String natRuleName)
resourceGroupName - The resource group name of the VpnGateway.gatewayName - The name of the gateway.natRuleName - The name of the nat rule.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.com.azure.core.http.rest.Response<VpnGatewayNatRuleInner> getWithResponse(String resourceGroupName, String gatewayName, String natRuleName, com.azure.core.util.Context context)
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.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters)
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.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VpnGatewayNatRuleInner>,VpnGatewayNatRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters)
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.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnGatewayNatRuleInner>,VpnGatewayNatRuleInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters)
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.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnGatewayNatRuleInner>,VpnGatewayNatRuleInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters, com.azure.core.util.Context context)
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.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.Mono<VpnGatewayNatRuleInner> createOrUpdateAsync(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters)
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.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.VpnGatewayNatRuleInner createOrUpdate(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters)
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.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.VpnGatewayNatRuleInner createOrUpdate(String resourceGroupName, String gatewayName, String natRuleName, VpnGatewayNatRuleInner natRuleParameters, com.azure.core.util.Context context)
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.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String gatewayName, String natRuleName)
resourceGroupName - The resource group name of the VpnGateway.gatewayName - The name of the gateway.natRuleName - The name of the nat rule.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String gatewayName, String natRuleName)
resourceGroupName - The resource group name of the VpnGateway.gatewayName - The name of the gateway.natRuleName - The name of the nat rule.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String gatewayName, String natRuleName)
resourceGroupName - The resource group name of the VpnGateway.gatewayName - The name of the gateway.natRuleName - The name of the nat rule.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String gatewayName, String natRuleName, com.azure.core.util.Context context)
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.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.Mono<Void> deleteAsync(String resourceGroupName, String gatewayName, String natRuleName)
resourceGroupName - The resource group name of the VpnGateway.gatewayName - The name of the gateway.natRuleName - The name of the nat rule.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.void delete(String resourceGroupName, String gatewayName, String natRuleName)
resourceGroupName - The resource group name of the VpnGateway.gatewayName - The name of the gateway.natRuleName - The name of the nat rule.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.void delete(String resourceGroupName, String gatewayName, String natRuleName, com.azure.core.util.Context context)
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.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.com.azure.core.http.rest.PagedFlux<VpnGatewayNatRuleInner> listByVpnGatewayAsync(String resourceGroupName, String gatewayName)
resourceGroupName - The resource group name of the VpnGateway.gatewayName - The name of the gateway.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.com.azure.core.http.rest.PagedIterable<VpnGatewayNatRuleInner> listByVpnGateway(String resourceGroupName, String gatewayName)
resourceGroupName - The resource group name of the VpnGateway.gatewayName - The name of the gateway.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.com.azure.core.http.rest.PagedIterable<VpnGatewayNatRuleInner> listByVpnGateway(String resourceGroupName, String gatewayName, com.azure.core.util.Context context)
resourceGroupName - The resource group name of the VpnGateway.gatewayName - The name of the gateway.context - The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.