Interface InboundNatRulesClient


  • public interface InboundNatRulesClient
    An instance of this class provides access to all the operations defined in InboundNatRulesClient.
    • Method Detail

      • 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 Response 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 Mono that 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

        void delete​(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.
        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 Response 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.
      • getAsync

        Mono<InboundNatRuleInner> getAsync​(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 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.
      • 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.
      • 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.
      • 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.
      • 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 Response 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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.