Interface ServerDnsAliasesClient


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

    • listByServerAsync

      com.azure.core.http.rest.PagedFlux<ServerDnsAliasInner> listByServerAsync(String resourceGroupName, String serverName)
      Gets a list of server DNS aliases for a 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.
      serverName - The name of the server that the alias is pointing to.
      Returns:
      a list of server DNS aliases for a server 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.
    • listByServer

      com.azure.core.http.rest.PagedIterable<ServerDnsAliasInner> listByServer(String resourceGroupName, String serverName)
      Gets a list of server DNS aliases for a 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.
      serverName - The name of the server that the alias is pointing to.
      Returns:
      a list of server DNS aliases for a server 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.
    • listByServer

      com.azure.core.http.rest.PagedIterable<ServerDnsAliasInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
      Gets a list of server DNS aliases for a 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.
      serverName - The name of the server that the alias is pointing to.
      context - The context to associate with this operation.
      Returns:
      a list of server DNS aliases for a server 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ServerDnsAliasInner>> getWithResponseAsync(String resourceGroupName, String serverName, String dnsAliasName)
      Gets a server DNS alias.
      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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      Returns:
      a server DNS alias 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<ServerDnsAliasInner> getAsync(String resourceGroupName, String serverName, String dnsAliasName)
      Gets a server DNS alias.
      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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      Returns:
      a server DNS alias 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<ServerDnsAliasInner> getWithResponse(String resourceGroupName, String serverName, String dnsAliasName, com.azure.core.util.Context context)
      Gets a server DNS alias.
      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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      context - The context to associate with this operation.
      Returns:
      a server DNS alias 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

      ServerDnsAliasInner get(String resourceGroupName, String serverName, String dnsAliasName)
      Gets a server DNS alias.
      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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      Returns:
      a server DNS alias.
      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 serverName, String dnsAliasName)
      Creates a server DNS alias.
      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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      Returns:
      a server DNS alias 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<ServerDnsAliasInner>, ServerDnsAliasInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String dnsAliasName)
      Creates a server DNS alias.
      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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      Returns:
      the PollerFlux for polling of a server DNS alias.
      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<ServerDnsAliasInner>, ServerDnsAliasInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String dnsAliasName)
      Creates a server DNS alias.
      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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      Returns:
      the SyncPoller for polling of a server DNS alias.
      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<ServerDnsAliasInner>, ServerDnsAliasInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String dnsAliasName, com.azure.core.util.Context context)
      Creates a server DNS alias.
      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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a server DNS alias.
      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<ServerDnsAliasInner> createOrUpdateAsync(String resourceGroupName, String serverName, String dnsAliasName)
      Creates a server DNS alias.
      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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      Returns:
      a server DNS alias 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

      ServerDnsAliasInner createOrUpdate(String resourceGroupName, String serverName, String dnsAliasName)
      Creates a server DNS alias.
      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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      Returns:
      a server DNS alias.
      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

      ServerDnsAliasInner createOrUpdate(String resourceGroupName, String serverName, String dnsAliasName, com.azure.core.util.Context context)
      Creates a server DNS alias.
      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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      context - The context to associate with this operation.
      Returns:
      a server DNS alias.
      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 serverName, String dnsAliasName)
      Deletes the server DNS alias with the given name.
      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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      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 serverName, String dnsAliasName)
      Deletes the server DNS alias with the given name.
      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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      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 serverName, String dnsAliasName)
      Deletes the server DNS alias with the given name.
      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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      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 serverName, String dnsAliasName, com.azure.core.util.Context context)
      Deletes the server DNS alias with the given name.
      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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      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 serverName, String dnsAliasName)
      Deletes the server DNS alias with the given name.
      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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      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 serverName, String dnsAliasName)
      Deletes the server DNS alias with the given name.
      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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      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 serverName, String dnsAliasName, com.azure.core.util.Context context)
      Deletes the server DNS alias with the given name.
      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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      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.
    • acquireWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> acquireWithResponseAsync(String resourceGroupName, String serverName, String dnsAliasName, ServerDnsAliasAcquisition parameters)
      Acquires server DNS alias from another 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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      parameters - The parameters parameter.
      Returns:
      a server DNS alias 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.
    • beginAcquireAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServerDnsAliasInner>, ServerDnsAliasInner> beginAcquireAsync(String resourceGroupName, String serverName, String dnsAliasName, ServerDnsAliasAcquisition parameters)
      Acquires server DNS alias from another 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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      parameters - The parameters parameter.
      Returns:
      the PollerFlux for polling of a server DNS alias.
      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.
    • beginAcquire

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerDnsAliasInner>, ServerDnsAliasInner> beginAcquire(String resourceGroupName, String serverName, String dnsAliasName, ServerDnsAliasAcquisition parameters)
      Acquires server DNS alias from another 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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      parameters - The parameters parameter.
      Returns:
      the SyncPoller for polling of a server DNS alias.
      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.
    • beginAcquire

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerDnsAliasInner>, ServerDnsAliasInner> beginAcquire(String resourceGroupName, String serverName, String dnsAliasName, ServerDnsAliasAcquisition parameters, com.azure.core.util.Context context)
      Acquires server DNS alias from another 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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      parameters - The parameters parameter.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a server DNS alias.
      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.
    • acquireAsync

      Mono<ServerDnsAliasInner> acquireAsync(String resourceGroupName, String serverName, String dnsAliasName, ServerDnsAliasAcquisition parameters)
      Acquires server DNS alias from another 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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      parameters - The parameters parameter.
      Returns:
      a server DNS alias 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.
    • acquire

      ServerDnsAliasInner acquire(String resourceGroupName, String serverName, String dnsAliasName, ServerDnsAliasAcquisition parameters)
      Acquires server DNS alias from another 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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      parameters - The parameters parameter.
      Returns:
      a server DNS alias.
      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.
    • acquire

      ServerDnsAliasInner acquire(String resourceGroupName, String serverName, String dnsAliasName, ServerDnsAliasAcquisition parameters, com.azure.core.util.Context context)
      Acquires server DNS alias from another 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.
      serverName - The name of the server that the alias is pointing to.
      dnsAliasName - The name of the server dns alias.
      parameters - The parameters parameter.
      context - The context to associate with this operation.
      Returns:
      a server DNS alias.
      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.