Interface GatewaysClient


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

    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<GatewayResourceInner>> getWithResponseAsync(String resourceGroupName, String serviceName, String gatewayName)
      Get the Spring Cloud Gateway and its properties.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      Returns:
      the Spring Cloud Gateway and its properties 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<GatewayResourceInner> getAsync(String resourceGroupName, String serviceName, String gatewayName)
      Get the Spring Cloud Gateway and its properties.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      Returns:
      the Spring Cloud Gateway and its properties 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<GatewayResourceInner> getWithResponse(String resourceGroupName, String serviceName, String gatewayName, com.azure.core.util.Context context)
      Get the Spring Cloud Gateway and its properties.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      context - The context to associate with this operation.
      Returns:
      the Spring Cloud Gateway and its properties 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

      GatewayResourceInner get(String resourceGroupName, String serviceName, String gatewayName)
      Get the Spring Cloud Gateway and its properties.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      Returns:
      the Spring Cloud Gateway and its properties.
      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 serviceName, String gatewayName, GatewayResourceInner gatewayResource)
      Create the default Spring Cloud Gateway or update the existing Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      gatewayResource - The gateway for the create or update operation.
      Returns:
      spring Cloud Gateway resource 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<GatewayResourceInner>,GatewayResourceInner> beginCreateOrUpdateAsync(String resourceGroupName, String serviceName, String gatewayName, GatewayResourceInner gatewayResource)
      Create the default Spring Cloud Gateway or update the existing Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      gatewayResource - The gateway for the create or update operation.
      Returns:
      the PollerFlux for polling of spring Cloud Gateway 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<GatewayResourceInner>,GatewayResourceInner> beginCreateOrUpdate(String resourceGroupName, String serviceName, String gatewayName, GatewayResourceInner gatewayResource)
      Create the default Spring Cloud Gateway or update the existing Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      gatewayResource - The gateway for the create or update operation.
      Returns:
      the SyncPoller for polling of spring Cloud Gateway 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<GatewayResourceInner>,GatewayResourceInner> beginCreateOrUpdate(String resourceGroupName, String serviceName, String gatewayName, GatewayResourceInner gatewayResource, com.azure.core.util.Context context)
      Create the default Spring Cloud Gateway or update the existing Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      gatewayResource - The gateway for the create or update operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of spring Cloud Gateway 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<GatewayResourceInner> createOrUpdateAsync(String resourceGroupName, String serviceName, String gatewayName, GatewayResourceInner gatewayResource)
      Create the default Spring Cloud Gateway or update the existing Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      gatewayResource - The gateway for the create or update operation.
      Returns:
      spring Cloud Gateway 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

      GatewayResourceInner createOrUpdate(String resourceGroupName, String serviceName, String gatewayName, GatewayResourceInner gatewayResource)
      Create the default Spring Cloud Gateway or update the existing Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      gatewayResource - The gateway for the create or update operation.
      Returns:
      spring Cloud Gateway 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

      GatewayResourceInner createOrUpdate(String resourceGroupName, String serviceName, String gatewayName, GatewayResourceInner gatewayResource, com.azure.core.util.Context context)
      Create the default Spring Cloud Gateway or update the existing Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      gatewayResource - The gateway for the create or update operation.
      context - The context to associate with this operation.
      Returns:
      spring Cloud Gateway 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 serviceName, String gatewayName)
      Disable the default Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      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 serviceName, String gatewayName)
      Disable the default Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      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 serviceName, String gatewayName)
      Disable the default Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      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 serviceName, String gatewayName, com.azure.core.util.Context context)
      Disable the default Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      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 serviceName, String gatewayName)
      Disable the default Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      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 serviceName, String gatewayName)
      Disable the default Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      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 serviceName, String gatewayName, com.azure.core.util.Context context)
      Disable the default Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      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.
    • listEnvSecretsWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Map<String,String>>> listEnvSecretsWithResponseAsync(String resourceGroupName, String serviceName, String gatewayName)
      List sensitive environment variables of Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      Returns:
      sensitive properties for Spring Cloud Gateway 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.
    • listEnvSecretsAsync

      Mono<Map<String,String>> listEnvSecretsAsync(String resourceGroupName, String serviceName, String gatewayName)
      List sensitive environment variables of Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      Returns:
      sensitive properties for Spring Cloud Gateway 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.
    • listEnvSecretsWithResponse

      com.azure.core.http.rest.Response<Map<String,String>> listEnvSecretsWithResponse(String resourceGroupName, String serviceName, String gatewayName, com.azure.core.util.Context context)
      List sensitive environment variables of Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      context - The context to associate with this operation.
      Returns:
      sensitive properties for Spring Cloud Gateway 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.
    • listEnvSecrets

      Map<String,String> listEnvSecrets(String resourceGroupName, String serviceName, String gatewayName)
      List sensitive environment variables of Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      Returns:
      sensitive properties for Spring Cloud Gateway.
      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.
    • restartWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> restartWithResponseAsync(String resourceGroupName, String serviceName, String gatewayName)
      Restart the Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      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.
    • beginRestartAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRestartAsync(String resourceGroupName, String serviceName, String gatewayName)
      Restart the Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      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.
    • beginRestart

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRestart(String resourceGroupName, String serviceName, String gatewayName)
      Restart the Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      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.
    • beginRestart

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRestart(String resourceGroupName, String serviceName, String gatewayName, com.azure.core.util.Context context)
      Restart the Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      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.
    • restartAsync

      Mono<Void> restartAsync(String resourceGroupName, String serviceName, String gatewayName)
      Restart the Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      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.
    • restart

      void restart(String resourceGroupName, String serviceName, String gatewayName)
      Restart the Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      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.
    • restart

      void restart(String resourceGroupName, String serviceName, String gatewayName, com.azure.core.util.Context context)
      Restart the Spring Cloud Gateway.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<GatewayResourceInner> listAsync(String resourceGroupName, String serviceName)
      Handles requests to list all resources in a Service.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      Returns:
      object that includes an array of gateway resources and a possible link for next set 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<GatewayResourceInner> list(String resourceGroupName, String serviceName)
      Handles requests to list all resources in a Service.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      Returns:
      object that includes an array of gateway resources and a possible link for next set 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<GatewayResourceInner> list(String resourceGroupName, String serviceName, com.azure.core.util.Context context)
      Handles requests to list all resources in a Service.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      context - The context to associate with this operation.
      Returns:
      object that includes an array of gateway resources and a possible link for next set 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.
    • validateDomainWithResponseAsync

      Mono<com.azure.core.http.rest.Response<CustomDomainValidateResult>> validateDomainWithResponseAsync(String resourceGroupName, String serviceName, String gatewayName, CustomDomainValidatePayload validatePayload)
      Check the domains are valid as well as not in use.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      validatePayload - Custom domain payload to be validated.
      Returns:
      validation result for custom domain 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.
    • validateDomainAsync

      Mono<CustomDomainValidateResult> validateDomainAsync(String resourceGroupName, String serviceName, String gatewayName, CustomDomainValidatePayload validatePayload)
      Check the domains are valid as well as not in use.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      validatePayload - Custom domain payload to be validated.
      Returns:
      validation result for custom domain 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.
    • validateDomainWithResponse

      com.azure.core.http.rest.Response<CustomDomainValidateResult> validateDomainWithResponse(String resourceGroupName, String serviceName, String gatewayName, CustomDomainValidatePayload validatePayload, com.azure.core.util.Context context)
      Check the domains are valid as well as not in use.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      validatePayload - Custom domain payload to be validated.
      context - The context to associate with this operation.
      Returns:
      validation result for custom domain 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.
    • validateDomain

      CustomDomainValidateResult validateDomain(String resourceGroupName, String serviceName, String gatewayName, CustomDomainValidatePayload validatePayload)
      Check the domains are valid as well as not in use.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      gatewayName - The name of Spring Cloud Gateway.
      validatePayload - Custom domain payload to be validated.
      Returns:
      validation result for custom domain.
      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.