Interface ConfigServersClient


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

    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ConfigServerResourceInner>> getWithResponseAsync(String resourceGroupName, String serviceName)
      Get the config server 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.
      Returns:
      the config server 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<ConfigServerResourceInner> getAsync(String resourceGroupName, String serviceName)
      Get the config server 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.
      Returns:
      the config server 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.
    • get

      ConfigServerResourceInner get(String resourceGroupName, String serviceName)
      Get the config server 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.
      Returns:
      the config server 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.
    • getWithResponse

      com.azure.core.http.rest.Response<ConfigServerResourceInner> getWithResponse(String resourceGroupName, String serviceName, com.azure.core.util.Context context)
      Get the config server 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.
      context - The context to associate with this operation.
      Returns:
      the config server 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.
    • updatePutWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updatePutWithResponseAsync(String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource)
      Update the config server.
      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.
      configServerResource - Parameters for the update operation.
      Returns:
      config Server 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.
    • beginUpdatePutAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ConfigServerResourceInner>,ConfigServerResourceInner> beginUpdatePutAsync(String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource)
      Update the config server.
      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.
      configServerResource - Parameters for the update operation.
      Returns:
      the PollerFlux for polling of config Server 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.
    • beginUpdatePut

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigServerResourceInner>,ConfigServerResourceInner> beginUpdatePut(String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource)
      Update the config server.
      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.
      configServerResource - Parameters for the update operation.
      Returns:
      the SyncPoller for polling of config Server 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.
    • beginUpdatePut

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigServerResourceInner>,ConfigServerResourceInner> beginUpdatePut(String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource, com.azure.core.util.Context context)
      Update the config server.
      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.
      configServerResource - Parameters for the update operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of config Server 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.
    • updatePutAsync

      Mono<ConfigServerResourceInner> updatePutAsync(String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource)
      Update the config server.
      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.
      configServerResource - Parameters for the update operation.
      Returns:
      config Server 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.
    • updatePut

      ConfigServerResourceInner updatePut(String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource)
      Update the config server.
      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.
      configServerResource - Parameters for the update operation.
      Returns:
      config Server 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.
    • updatePut

      ConfigServerResourceInner updatePut(String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource, com.azure.core.util.Context context)
      Update the config server.
      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.
      configServerResource - Parameters for the update operation.
      context - The context to associate with this operation.
      Returns:
      config Server 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.
    • updatePatchWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updatePatchWithResponseAsync(String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource)
      Update the config server.
      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.
      configServerResource - Parameters for the update operation.
      Returns:
      config Server 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.
    • beginUpdatePatchAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ConfigServerResourceInner>,ConfigServerResourceInner> beginUpdatePatchAsync(String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource)
      Update the config server.
      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.
      configServerResource - Parameters for the update operation.
      Returns:
      the PollerFlux for polling of config Server 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.
    • beginUpdatePatch

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigServerResourceInner>,ConfigServerResourceInner> beginUpdatePatch(String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource)
      Update the config server.
      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.
      configServerResource - Parameters for the update operation.
      Returns:
      the SyncPoller for polling of config Server 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.
    • beginUpdatePatch

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigServerResourceInner>,ConfigServerResourceInner> beginUpdatePatch(String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource, com.azure.core.util.Context context)
      Update the config server.
      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.
      configServerResource - Parameters for the update operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of config Server 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.
    • updatePatchAsync

      Mono<ConfigServerResourceInner> updatePatchAsync(String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource)
      Update the config server.
      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.
      configServerResource - Parameters for the update operation.
      Returns:
      config Server 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.
    • updatePatch

      ConfigServerResourceInner updatePatch(String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource)
      Update the config server.
      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.
      configServerResource - Parameters for the update operation.
      Returns:
      config Server 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.
    • updatePatch

      ConfigServerResourceInner updatePatch(String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource, com.azure.core.util.Context context)
      Update the config server.
      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.
      configServerResource - Parameters for the update operation.
      context - The context to associate with this operation.
      Returns:
      config Server 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.
    • validateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> validateWithResponseAsync(String resourceGroupName, String serviceName, ConfigServerSettings configServerSettings)
      Check if the config server settings are valid.
      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.
      configServerSettings - Config server settings to be validated.
      Returns:
      validation result for config server settings 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.
    • beginValidateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ConfigServerSettingsValidateResultInner>,ConfigServerSettingsValidateResultInner> beginValidateAsync(String resourceGroupName, String serviceName, ConfigServerSettings configServerSettings)
      Check if the config server settings are valid.
      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.
      configServerSettings - Config server settings to be validated.
      Returns:
      the PollerFlux for polling of validation result for config server settings.
      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.
    • beginValidate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigServerSettingsValidateResultInner>,ConfigServerSettingsValidateResultInner> beginValidate(String resourceGroupName, String serviceName, ConfigServerSettings configServerSettings)
      Check if the config server settings are valid.
      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.
      configServerSettings - Config server settings to be validated.
      Returns:
      the SyncPoller for polling of validation result for config server settings.
      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.
    • beginValidate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigServerSettingsValidateResultInner>,ConfigServerSettingsValidateResultInner> beginValidate(String resourceGroupName, String serviceName, ConfigServerSettings configServerSettings, com.azure.core.util.Context context)
      Check if the config server settings are valid.
      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.
      configServerSettings - Config server settings to be validated.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of validation result for config server settings.
      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.
    • validateAsync

      Mono<ConfigServerSettingsValidateResultInner> validateAsync(String resourceGroupName, String serviceName, ConfigServerSettings configServerSettings)
      Check if the config server settings are valid.
      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.
      configServerSettings - Config server settings to be validated.
      Returns:
      validation result for config server settings 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.
    • validate

      ConfigServerSettingsValidateResultInner validate(String resourceGroupName, String serviceName, ConfigServerSettings configServerSettings)
      Check if the config server settings are valid.
      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.
      configServerSettings - Config server settings to be validated.
      Returns:
      validation result for config server settings.
      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.
    • validate

      ConfigServerSettingsValidateResultInner validate(String resourceGroupName, String serviceName, ConfigServerSettings configServerSettings, com.azure.core.util.Context context)
      Check if the config server settings are valid.
      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.
      configServerSettings - Config server settings to be validated.
      context - The context to associate with this operation.
      Returns:
      validation result for config server settings.
      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.