ServerKeysClient Interface

public interface ServerKeysClient

An instance of this class provides access to all the operations defined in ServerKeysClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ServerKeyInner>,ServerKeyInner> beginCreateOrUpdate(String serverName, String keyName, String resourceGroupName, ServerKeyInner parameters)

Creates or updates a PostgreSQL Server key.

abstract SyncPoller<PollResult<ServerKeyInner>,ServerKeyInner> beginCreateOrUpdate(String serverName, String keyName, String resourceGroupName, ServerKeyInner parameters, Context context)

Creates or updates a PostgreSQL Server key.

abstract PollerFlux<PollResult<ServerKeyInner>,ServerKeyInner> beginCreateOrUpdateAsync(String serverName, String keyName, String resourceGroupName, ServerKeyInner parameters)

Creates or updates a PostgreSQL Server key.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String serverName, String keyName, String resourceGroupName)

Deletes the PostgreSQL Server key with the given name.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String serverName, String keyName, String resourceGroupName, Context context)

Deletes the PostgreSQL Server key with the given name.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String serverName, String keyName, String resourceGroupName)

Deletes the PostgreSQL Server key with the given name.

abstract ServerKeyInner createOrUpdate(String serverName, String keyName, String resourceGroupName, ServerKeyInner parameters)

Creates or updates a PostgreSQL Server key.

abstract ServerKeyInner createOrUpdate(String serverName, String keyName, String resourceGroupName, ServerKeyInner parameters, Context context)

Creates or updates a PostgreSQL Server key.

abstract Mono<ServerKeyInner> createOrUpdateAsync(String serverName, String keyName, String resourceGroupName, ServerKeyInner parameters)

Creates or updates a PostgreSQL Server key.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String serverName, String keyName, String resourceGroupName, ServerKeyInner parameters)

Creates or updates a PostgreSQL Server key.

abstract void delete(String serverName, String keyName, String resourceGroupName)

Deletes the PostgreSQL Server key with the given name.

abstract void delete(String serverName, String keyName, String resourceGroupName, Context context)

Deletes the PostgreSQL Server key with the given name.

abstract Mono<Void> deleteAsync(String serverName, String keyName, String resourceGroupName)

Deletes the PostgreSQL Server key with the given name.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String serverName, String keyName, String resourceGroupName)

Deletes the PostgreSQL Server key with the given name.

abstract ServerKeyInner get(String resourceGroupName, String serverName, String keyName)

Gets a PostgreSQL Server key.

abstract Mono<ServerKeyInner> getAsync(String resourceGroupName, String serverName, String keyName)

Gets a PostgreSQL Server key.

abstract Response<ServerKeyInner> getWithResponse(String resourceGroupName, String serverName, String keyName, Context context)

Gets a PostgreSQL Server key.

abstract Mono<Response<ServerKeyInner>> getWithResponseAsync(String resourceGroupName, String serverName, String keyName)

Gets a PostgreSQL Server key.

abstract PagedIterable<ServerKeyInner> list(String resourceGroupName, String serverName)

Gets a list of Server keys.

abstract PagedIterable<ServerKeyInner> list(String resourceGroupName, String serverName, Context context)

Gets a list of Server keys.

abstract PagedFlux<ServerKeyInner> listAsync(String resourceGroupName, String serverName)

Gets a list of Server keys.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ServerKeyInner>,ServerKeyInner> beginCreateOrUpdate(String serverName, String keyName, String resourceGroupName, ServerKeyInner parameters)

Creates or updates a PostgreSQL Server key.

Parameters:

serverName - The name of the server.
keyName - The name of the PostgreSQL Server key to be operated on (updated or created).
resourceGroupName - The name of the resource group. The name is case insensitive.
parameters - The requested PostgreSQL Server key resource state.

Returns:

the SyncPoller<T,U> for polling of a PostgreSQL Server key.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ServerKeyInner>,ServerKeyInner> beginCreateOrUpdate(String serverName, String keyName, String resourceGroupName, ServerKeyInner parameters, Context context)

Creates or updates a PostgreSQL Server key.

Parameters:

serverName - The name of the server.
keyName - The name of the PostgreSQL Server key to be operated on (updated or created).
resourceGroupName - The name of the resource group. The name is case insensitive.
parameters - The requested PostgreSQL Server key resource state.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a PostgreSQL Server key.

beginCreateOrUpdateAsync

public abstract PollerFlux<PollResult<ServerKeyInner>,ServerKeyInner> beginCreateOrUpdateAsync(String serverName, String keyName, String resourceGroupName, ServerKeyInner parameters)

Creates or updates a PostgreSQL Server key.

Parameters:

serverName - The name of the server.
keyName - The name of the PostgreSQL Server key to be operated on (updated or created).
resourceGroupName - The name of the resource group. The name is case insensitive.
parameters - The requested PostgreSQL Server key resource state.

Returns:

the PollerFlux<T,U> for polling of a PostgreSQL Server key.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String serverName, String keyName, String resourceGroupName)

Deletes the PostgreSQL Server key with the given name.

Parameters:

serverName - The name of the server.
keyName - The name of the PostgreSQL Server key to be deleted.
resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String serverName, String keyName, String resourceGroupName, Context context)

Deletes the PostgreSQL Server key with the given name.

Parameters:

serverName - The name of the server.
keyName - The name of the PostgreSQL Server key to be deleted.
resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String serverName, String keyName, String resourceGroupName)

Deletes the PostgreSQL Server key with the given name.

Parameters:

serverName - The name of the server.
keyName - The name of the PostgreSQL Server key to be deleted.
resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

createOrUpdate

public abstract ServerKeyInner createOrUpdate(String serverName, String keyName, String resourceGroupName, ServerKeyInner parameters)

Creates or updates a PostgreSQL Server key.

Parameters:

serverName - The name of the server.
keyName - The name of the PostgreSQL Server key to be operated on (updated or created).
resourceGroupName - The name of the resource group. The name is case insensitive.
parameters - The requested PostgreSQL Server key resource state.

Returns:

a PostgreSQL Server key.

createOrUpdate

public abstract ServerKeyInner createOrUpdate(String serverName, String keyName, String resourceGroupName, ServerKeyInner parameters, Context context)

Creates or updates a PostgreSQL Server key.

Parameters:

serverName - The name of the server.
keyName - The name of the PostgreSQL Server key to be operated on (updated or created).
resourceGroupName - The name of the resource group. The name is case insensitive.
parameters - The requested PostgreSQL Server key resource state.
context - The context to associate with this operation.

Returns:

a PostgreSQL Server key.

createOrUpdateAsync

public abstract Mono<ServerKeyInner> createOrUpdateAsync(String serverName, String keyName, String resourceGroupName, ServerKeyInner parameters)

Creates or updates a PostgreSQL Server key.

Parameters:

serverName - The name of the server.
keyName - The name of the PostgreSQL Server key to be operated on (updated or created).
resourceGroupName - The name of the resource group. The name is case insensitive.
parameters - The requested PostgreSQL Server key resource state.

Returns:

a PostgreSQL Server key on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String serverName, String keyName, String resourceGroupName, ServerKeyInner parameters)

Creates or updates a PostgreSQL Server key.

Parameters:

serverName - The name of the server.
keyName - The name of the PostgreSQL Server key to be operated on (updated or created).
resourceGroupName - The name of the resource group. The name is case insensitive.
parameters - The requested PostgreSQL Server key resource state.

Returns:

a PostgreSQL Server key along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String serverName, String keyName, String resourceGroupName)

Deletes the PostgreSQL Server key with the given name.

Parameters:

serverName - The name of the server.
keyName - The name of the PostgreSQL Server key to be deleted.
resourceGroupName - The name of the resource group. The name is case insensitive.

delete

public abstract void delete(String serverName, String keyName, String resourceGroupName, Context context)

Deletes the PostgreSQL Server key with the given name.

Parameters:

serverName - The name of the server.
keyName - The name of the PostgreSQL Server key to be deleted.
resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

deleteAsync

public abstract Mono<Void> deleteAsync(String serverName, String keyName, String resourceGroupName)

Deletes the PostgreSQL Server key with the given name.

Parameters:

serverName - The name of the server.
keyName - The name of the PostgreSQL Server key to be deleted.
resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String serverName, String keyName, String resourceGroupName)

Deletes the PostgreSQL Server key with the given name.

Parameters:

serverName - The name of the server.
keyName - The name of the PostgreSQL Server key to be deleted.
resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract ServerKeyInner get(String resourceGroupName, String serverName, String keyName)

Gets a PostgreSQL Server key.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
keyName - The name of the PostgreSQL Server key to be retrieved.

Returns:

a PostgreSQL Server key.

getAsync

public abstract Mono<ServerKeyInner> getAsync(String resourceGroupName, String serverName, String keyName)

Gets a PostgreSQL Server key.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
keyName - The name of the PostgreSQL Server key to be retrieved.

Returns:

a PostgreSQL Server key on successful completion of Mono.

getWithResponse

public abstract Response<ServerKeyInner> getWithResponse(String resourceGroupName, String serverName, String keyName, Context context)

Gets a PostgreSQL Server key.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
keyName - The name of the PostgreSQL Server key to be retrieved.
context - The context to associate with this operation.

Returns:

a PostgreSQL Server key along with Response<T>.

getWithResponseAsync

public abstract Mono<Response<ServerKeyInner>> getWithResponseAsync(String resourceGroupName, String serverName, String keyName)

Gets a PostgreSQL Server key.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
keyName - The name of the PostgreSQL Server key to be retrieved.

Returns:

a PostgreSQL Server key along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable<ServerKeyInner> list(String resourceGroupName, String serverName)

Gets a list of Server keys.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.

Returns:

a list of Server keys as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ServerKeyInner> list(String resourceGroupName, String serverName, Context context)

Gets a list of Server keys.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
context - The context to associate with this operation.

Returns:

a list of Server keys as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux<ServerKeyInner> listAsync(String resourceGroupName, String serverName)

Gets a list of Server keys.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.

Returns:

a list of Server keys as paginated response with PagedFlux<T>.

Applies to