Interface InboundNatRulesClient
public interface InboundNatRulesClient
An instance of this class provides access to all the operations defined in InboundNatRulesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<InboundNatRuleInner>, InboundNatRuleInner> beginCreateOrUpdate(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters) Creates or updates a load balancer inbound NAT rule.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<InboundNatRuleInner>, InboundNatRuleInner> beginCreateOrUpdate(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters, com.azure.core.util.Context context) Creates or updates a load balancer inbound NAT rule.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<InboundNatRuleInner>, InboundNatRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters) Creates or updates a load balancer inbound NAT rule.beginDelete(String resourceGroupName, String loadBalancerName, String inboundNatRuleName) Deletes the specified load balancer inbound NAT rule.beginDelete(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, com.azure.core.util.Context context) Deletes the specified load balancer inbound NAT rule.beginDeleteAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName) Deletes the specified load balancer inbound NAT rule.createOrUpdate(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters) Creates or updates a load balancer inbound NAT rule.createOrUpdate(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters, com.azure.core.util.Context context) Creates or updates a load balancer inbound NAT rule.createOrUpdateAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters) Creates or updates a load balancer inbound NAT rule.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters) Creates or updates a load balancer inbound NAT rule.voidDeletes the specified load balancer inbound NAT rule.voiddelete(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, com.azure.core.util.Context context) Deletes the specified load balancer inbound NAT rule.deleteAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName) Deletes the specified load balancer inbound NAT rule.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName) Deletes the specified load balancer inbound NAT rule.Gets the specified load balancer inbound NAT rule.Gets the specified load balancer inbound NAT rule.com.azure.core.http.rest.Response<InboundNatRuleInner> getWithResponse(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, String expand, com.azure.core.util.Context context) Gets the specified load balancer inbound NAT rule.Mono<com.azure.core.http.rest.Response<InboundNatRuleInner>> getWithResponseAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, String expand) Gets the specified load balancer inbound NAT rule.com.azure.core.http.rest.PagedIterable<InboundNatRuleInner> Gets all the inbound NAT rules in a load balancer.com.azure.core.http.rest.PagedIterable<InboundNatRuleInner> Gets all the inbound NAT rules in a load balancer.com.azure.core.http.rest.PagedFlux<InboundNatRuleInner> Gets all the inbound NAT rules in a load balancer.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<InboundNatRuleInner> listAsync(String resourceGroupName, String loadBalancerName) Gets all the inbound NAT rules in a load balancer.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.- Returns:
- all the inbound NAT rules in a load balancer 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.
-
list
com.azure.core.http.rest.PagedIterable<InboundNatRuleInner> list(String resourceGroupName, String loadBalancerName) Gets all the inbound NAT rules in a load balancer.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.- Returns:
- all the inbound NAT rules in a load balancer 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.
-
list
com.azure.core.http.rest.PagedIterable<InboundNatRuleInner> list(String resourceGroupName, String loadBalancerName, com.azure.core.util.Context context) Gets all the inbound NAT rules in a load balancer.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.context- The context to associate with this operation.- Returns:
- all the inbound NAT rules in a load balancer 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName) Deletes the specified load balancer inbound NAT rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.inboundNatRuleName- The name of the inbound 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 loadBalancerName, String inboundNatRuleName) Deletes the specified load balancer inbound NAT rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.inboundNatRuleName- The name of the inbound 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 loadBalancerName, String inboundNatRuleName) Deletes the specified load balancer inbound NAT rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.inboundNatRuleName- The name of the inbound 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 loadBalancerName, String inboundNatRuleName, com.azure.core.util.Context context) Deletes the specified load balancer inbound NAT rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.inboundNatRuleName- The name of the inbound 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 loadBalancerName, String inboundNatRuleName) Deletes the specified load balancer inbound NAT rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.inboundNatRuleName- The name of the inbound 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 the specified load balancer inbound NAT rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.inboundNatRuleName- The name of the inbound 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 loadBalancerName, String inboundNatRuleName, com.azure.core.util.Context context) Deletes the specified load balancer inbound NAT rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.inboundNatRuleName- The name of the inbound 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<InboundNatRuleInner>> getWithResponseAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, String expand) Gets the specified load balancer inbound NAT rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.inboundNatRuleName- The name of the inbound NAT rule.expand- Expands referenced resources.- Returns:
- the specified load balancer inbound NAT rule 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<InboundNatRuleInner> getAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName) Gets the specified load balancer inbound NAT rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.inboundNatRuleName- The name of the inbound NAT rule.- Returns:
- the specified load balancer inbound NAT rule 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<InboundNatRuleInner> getWithResponse(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, String expand, com.azure.core.util.Context context) Gets the specified load balancer inbound NAT rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.inboundNatRuleName- The name of the inbound NAT rule.expand- Expands referenced resources.context- The context to associate with this operation.- Returns:
- the specified load balancer inbound NAT rule 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
InboundNatRuleInner get(String resourceGroupName, String loadBalancerName, String inboundNatRuleName) Gets the specified load balancer inbound NAT rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.inboundNatRuleName- The name of the inbound NAT rule.- Returns:
- the specified load balancer inbound 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters) Creates or updates a load balancer inbound NAT rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.inboundNatRuleName- The name of the inbound NAT rule.inboundNatRuleParameters- Parameters supplied to the create or update inbound NAT rule operation.- Returns:
- inbound NAT rule of the load balancer 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<InboundNatRuleInner>,InboundNatRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters) Creates or updates a load balancer inbound NAT rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.inboundNatRuleName- The name of the inbound NAT rule.inboundNatRuleParameters- Parameters supplied to the create or update inbound NAT rule operation.- Returns:
- the
PollerFluxfor polling of inbound NAT rule of the load balancer. - 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<InboundNatRuleInner>,InboundNatRuleInner> beginCreateOrUpdate(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters) Creates or updates a load balancer inbound NAT rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.inboundNatRuleName- The name of the inbound NAT rule.inboundNatRuleParameters- Parameters supplied to the create or update inbound NAT rule operation.- Returns:
- the
SyncPollerfor polling of inbound NAT rule of the load balancer. - 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<InboundNatRuleInner>,InboundNatRuleInner> beginCreateOrUpdate(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters, com.azure.core.util.Context context) Creates or updates a load balancer inbound NAT rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.inboundNatRuleName- The name of the inbound NAT rule.inboundNatRuleParameters- Parameters supplied to the create or update inbound NAT rule operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of inbound NAT rule of the load balancer. - 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<InboundNatRuleInner> createOrUpdateAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters) Creates or updates a load balancer inbound NAT rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.inboundNatRuleName- The name of the inbound NAT rule.inboundNatRuleParameters- Parameters supplied to the create or update inbound NAT rule operation.- Returns:
- inbound NAT rule of the load balancer 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
InboundNatRuleInner createOrUpdate(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters) Creates or updates a load balancer inbound NAT rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.inboundNatRuleName- The name of the inbound NAT rule.inboundNatRuleParameters- Parameters supplied to the create or update inbound NAT rule operation.- Returns:
- inbound NAT rule of the load balancer.
- 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
InboundNatRuleInner createOrUpdate(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters, com.azure.core.util.Context context) Creates or updates a load balancer inbound NAT rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.inboundNatRuleName- The name of the inbound NAT rule.inboundNatRuleParameters- Parameters supplied to the create or update inbound NAT rule operation.context- The context to associate with this operation.- Returns:
- inbound NAT rule of the load balancer.
- 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.
-