Interface ConfigServersClient


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

      • 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.
        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.
        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.
        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,
                                                                                             ConfigServerProperties properties)
        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.
        properties - Properties of the Config Server resource.
        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.
      • beginUpdatePutAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ConfigServerResourceInner>,​ConfigServerResourceInner> beginUpdatePutAsync​(String resourceGroupName,
                                                                                                                                                                            String serviceName,
                                                                                                                                                                            ConfigServerProperties properties)
        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.
        properties - Properties of the Config Server resource.
        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.
      • beginUpdatePut

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigServerResourceInner>,​ConfigServerResourceInner> beginUpdatePut​(String resourceGroupName,
                                                                                                                                                                       String serviceName,
                                                                                                                                                                       ConfigServerProperties properties)
        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.
        properties - Properties of the Config Server resource.
        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.
      • beginUpdatePut

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigServerResourceInner>,​ConfigServerResourceInner> beginUpdatePut​(String resourceGroupName,
                                                                                                                                                                       String serviceName,
                                                                                                                                                                       ConfigServerProperties properties,
                                                                                                                                                                       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.
        properties - Properties of the Config Server resource.
        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.
      • updatePutAsync

        Mono<ConfigServerResourceInner> updatePutAsync​(String resourceGroupName,
                                                       String serviceName,
                                                       ConfigServerProperties properties)
        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.
        properties - Properties of the Config Server resource.
        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.
      • updatePutAsync

        Mono<ConfigServerResourceInner> updatePutAsync​(String resourceGroupName,
                                                       String serviceName)
        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.
        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,
                                            ConfigServerProperties properties)
        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.
        properties - Properties of the Config Server resource.
        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)
        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.
        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,
                                            ConfigServerProperties properties,
                                            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.
        properties - Properties of the Config Server resource.
        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,
                                                                                               ConfigServerProperties properties)
        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.
        properties - Properties of the Config Server resource.
        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.
      • beginUpdatePatchAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ConfigServerResourceInner>,​ConfigServerResourceInner> beginUpdatePatchAsync​(String resourceGroupName,
                                                                                                                                                                              String serviceName,
                                                                                                                                                                              ConfigServerProperties properties)
        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.
        properties - Properties of the Config Server resource.
        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.
      • beginUpdatePatch

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigServerResourceInner>,​ConfigServerResourceInner> beginUpdatePatch​(String resourceGroupName,
                                                                                                                                                                         String serviceName,
                                                                                                                                                                         ConfigServerProperties properties)
        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.
        properties - Properties of the Config Server resource.
        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.
      • beginUpdatePatch

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigServerResourceInner>,​ConfigServerResourceInner> beginUpdatePatch​(String resourceGroupName,
                                                                                                                                                                         String serviceName,
                                                                                                                                                                         ConfigServerProperties properties,
                                                                                                                                                                         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.
        properties - Properties of the Config Server resource.
        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.
      • updatePatchAsync

        Mono<ConfigServerResourceInner> updatePatchAsync​(String resourceGroupName,
                                                         String serviceName,
                                                         ConfigServerProperties properties)
        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.
        properties - Properties of the Config Server resource.
        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.
      • updatePatchAsync

        Mono<ConfigServerResourceInner> updatePatchAsync​(String resourceGroupName,
                                                         String serviceName)
        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.
        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,
                                              ConfigServerProperties properties)
        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.
        properties - Properties of the Config Server resource.
        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)
        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.
        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,
                                              ConfigServerProperties properties,
                                              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.
        properties - Properties of the Config Server resource.
        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,
                                                                                            ConfigServerGitProperty gitProperty)
        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.
        gitProperty - Property of git environment.
        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.
      • beginValidateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ConfigServerSettingsValidateResultInner>,​ConfigServerSettingsValidateResultInner> beginValidateAsync​(String resourceGroupName,
                                                                                                                                                                                                       String serviceName,
                                                                                                                                                                                                       ConfigServerGitProperty gitProperty)
        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.
        gitProperty - Property of git environment.
        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.
      • beginValidate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigServerSettingsValidateResultInner>,​ConfigServerSettingsValidateResultInner> beginValidate​(String resourceGroupName,
                                                                                                                                                                                                  String serviceName,
                                                                                                                                                                                                  ConfigServerGitProperty gitProperty)
        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.
        gitProperty - Property of git environment.
        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.
      • beginValidate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigServerSettingsValidateResultInner>,​ConfigServerSettingsValidateResultInner> beginValidate​(String resourceGroupName,
                                                                                                                                                                                                  String serviceName,
                                                                                                                                                                                                  ConfigServerGitProperty gitProperty,
                                                                                                                                                                                                  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.
        gitProperty - Property of git environment.
        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.
      • validateAsync

        Mono<ConfigServerSettingsValidateResultInner> validateAsync​(String resourceGroupName,
                                                                    String serviceName,
                                                                    ConfigServerGitProperty gitProperty)
        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.
        gitProperty - Property of git environment.
        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.
      • validateAsync

        Mono<ConfigServerSettingsValidateResultInner> validateAsync​(String resourceGroupName,
                                                                    String serviceName)
        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.
        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,
                                                         ConfigServerGitProperty gitProperty)
        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.
        gitProperty - Property of git environment.
        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)
        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.
        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,
                                                         ConfigServerGitProperty gitProperty,
                                                         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.
        gitProperty - Property of git environment.
        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.