Interface LinkedServersClient
-
public interface LinkedServersClientAn instance of this class provides access to all the operations defined in LinkedServersClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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).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).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).RedisLinkedServerWithPropertiesInnercreate(String resourceGroupName, String name, String linkedServerName, RedisLinkedServerCreateParameters parameters)Adds a linked server to the Redis cache (requires Premium SKU).RedisLinkedServerWithPropertiesInnercreate(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).Mono<RedisLinkedServerWithPropertiesInner>createAsync(String resourceGroupName, String name, String linkedServerName, RedisLinkedServerCreateParameters parameters)Adds a linked server to the Redis cache (requires Premium SKU).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).voiddelete(String resourceGroupName, String name, String linkedServerName)Deletes the linked server from a redis cache (requires Premium SKU).Mono<Void>deleteAsync(String resourceGroupName, String name, String linkedServerName)Deletes the linked server from a redis cache (requires Premium SKU).com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String name, String linkedServerName, com.azure.core.util.Context context)Deletes the linked server from a redis cache (requires Premium SKU).Mono<com.azure.core.http.rest.Response<Void>>deleteWithResponseAsync(String resourceGroupName, String name, String linkedServerName)Deletes the linked server from a redis cache (requires Premium SKU).RedisLinkedServerWithPropertiesInnerget(String resourceGroupName, String name, String linkedServerName)Gets the detailed information about a linked server of a redis cache (requires Premium SKU).Mono<RedisLinkedServerWithPropertiesInner>getAsync(String resourceGroupName, String name, String linkedServerName)Gets the detailed information about a linked server of a redis cache (requires Premium SKU).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).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).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).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).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).
-
-
-
Method Detail
-
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.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
Responseon successful completion ofMono. - 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.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
PollerFluxfor 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.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
SyncPollerfor 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.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
SyncPollerfor 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.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.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.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<Void>> 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.name- The name of the redis cache.linkedServerName- The name of the linked server that is being added to the Redis cache.- Returns:
- the
Responseon successful completion ofMono. - 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.name- The name of the redis cache.linkedServerName- The name of the linked server that is being added to the Redis cache.- Returns:
- A
Monothat 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.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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(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.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
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.
-
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.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
Responseon successful completion ofMono. - 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.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.
-
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.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.
-
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.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.
-
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.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.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.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.
-
-