Interface LinkedServersClient


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

    • createWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String name, String linkedServerName, RedisLinkedServerCreateParameters parameters)
      Adds a linked server to the Redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      linkedServerName - The name of the linked server that is being added to the Redis cache.
      parameters - Parameters supplied to the Create Linked server operation.
      Returns:
      response to put/get linked server (with properties) for Redis cache 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.
    • beginCreateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RedisLinkedServerWithPropertiesInner>,RedisLinkedServerWithPropertiesInner> beginCreateAsync(String resourceGroupName, String name, String linkedServerName, RedisLinkedServerCreateParameters parameters)
      Adds a linked server to the Redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      linkedServerName - The name of the linked server that is being added to the Redis cache.
      parameters - Parameters supplied to the Create Linked server operation.
      Returns:
      the PollerFlux for polling of response to put/get linked server (with properties) for Redis cache.
      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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RedisLinkedServerWithPropertiesInner>,RedisLinkedServerWithPropertiesInner> beginCreate(String resourceGroupName, String name, String linkedServerName, RedisLinkedServerCreateParameters parameters)
      Adds a linked server to the Redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      linkedServerName - The name of the linked server that is being added to the Redis cache.
      parameters - Parameters supplied to the Create Linked server operation.
      Returns:
      the SyncPoller for polling of response to put/get linked server (with properties) for Redis cache.
      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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RedisLinkedServerWithPropertiesInner>,RedisLinkedServerWithPropertiesInner> beginCreate(String resourceGroupName, String name, String linkedServerName, RedisLinkedServerCreateParameters parameters, com.azure.core.util.Context context)
      Adds a linked server to the Redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      linkedServerName - The name of the linked server that is being added to the Redis cache.
      parameters - Parameters supplied to the Create Linked server operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of response to put/get linked server (with properties) for Redis cache.
      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.
    • createAsync

      Mono<RedisLinkedServerWithPropertiesInner> createAsync(String resourceGroupName, String name, String linkedServerName, RedisLinkedServerCreateParameters parameters)
      Adds a linked server to the Redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      linkedServerName - The name of the linked server that is being added to the Redis cache.
      parameters - Parameters supplied to the Create Linked server operation.
      Returns:
      response to put/get linked server (with properties) for Redis cache 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.
    • create

      RedisLinkedServerWithPropertiesInner create(String resourceGroupName, String name, String linkedServerName, RedisLinkedServerCreateParameters parameters)
      Adds a linked server to the Redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      linkedServerName - The name of the linked server that is being added to the Redis cache.
      parameters - Parameters supplied to the Create Linked server operation.
      Returns:
      response to put/get linked server (with properties) for Redis cache.
      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.
    • create

      RedisLinkedServerWithPropertiesInner create(String resourceGroupName, String name, String linkedServerName, RedisLinkedServerCreateParameters parameters, com.azure.core.util.Context context)
      Adds a linked server to the Redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      linkedServerName - The name of the linked server that is being added to the Redis cache.
      parameters - Parameters supplied to the Create Linked server operation.
      context - The context to associate with this operation.
      Returns:
      response to put/get linked server (with properties) for Redis cache.
      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 name, String linkedServerName)
      Deletes the linked server from a redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the redis cache.
      linkedServerName - The name of the linked server that is being added to the Redis cache.
      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 name, String linkedServerName)
      Deletes the linked server from a redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the redis cache.
      linkedServerName - The name of the linked server that is being added to the Redis cache.
      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 name, String linkedServerName)
      Deletes the linked server from a redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the redis cache.
      linkedServerName - The name of the linked server that is being added to the Redis cache.
      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 name, String linkedServerName, com.azure.core.util.Context context)
      Deletes the linked server from a redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the redis cache.
      linkedServerName - The name of the linked server that is being added to the Redis cache.
      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 name, String linkedServerName)
      Deletes the linked server from a redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the redis cache.
      linkedServerName - The name of the linked server that is being added to the Redis cache.
      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 name, String linkedServerName)
      Deletes the linked server from a redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the redis cache.
      linkedServerName - The name of the linked server that is being added to the Redis cache.
      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 name, String linkedServerName, com.azure.core.util.Context context)
      Deletes the linked server from a redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the redis cache.
      linkedServerName - The name of the linked server that is being added to the Redis cache.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<RedisLinkedServerWithPropertiesInner>> getWithResponseAsync(String resourceGroupName, String name, String linkedServerName)
      Gets the detailed information about a linked server of a redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the redis cache.
      linkedServerName - The name of the linked server.
      Returns:
      the detailed information about a linked server of a redis cache (requires Premium SKU) 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<RedisLinkedServerWithPropertiesInner> getAsync(String resourceGroupName, String name, String linkedServerName)
      Gets the detailed information about a linked server of a redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the redis cache.
      linkedServerName - The name of the linked server.
      Returns:
      the detailed information about a linked server of a redis cache (requires Premium SKU) 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<RedisLinkedServerWithPropertiesInner> getWithResponse(String resourceGroupName, String name, String linkedServerName, com.azure.core.util.Context context)
      Gets the detailed information about a linked server of a redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the redis cache.
      linkedServerName - The name of the linked server.
      context - The context to associate with this operation.
      Returns:
      the detailed information about a linked server of a redis cache (requires Premium SKU) 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

      RedisLinkedServerWithPropertiesInner get(String resourceGroupName, String name, String linkedServerName)
      Gets the detailed information about a linked server of a redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the redis cache.
      linkedServerName - The name of the linked server.
      Returns:
      the detailed information about a linked server of a redis cache (requires Premium SKU).
      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<RedisLinkedServerWithPropertiesInner> listAsync(String resourceGroupName, String name)
      Gets the list of linked servers associated with this redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the redis cache.
      Returns:
      the list of linked servers associated with this redis cache (requires Premium SKU) 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<RedisLinkedServerWithPropertiesInner> list(String resourceGroupName, String name)
      Gets the list of linked servers associated with this redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the redis cache.
      Returns:
      the list of linked servers associated with this redis cache (requires Premium SKU) 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<RedisLinkedServerWithPropertiesInner> list(String resourceGroupName, String name, com.azure.core.util.Context context)
      Gets the list of linked servers associated with this redis cache (requires Premium SKU).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the redis cache.
      context - The context to associate with this operation.
      Returns:
      the list of linked servers associated with this redis cache (requires Premium SKU) 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.