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 MySQL Server key.

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

Creates or updates a MySQL Server key.

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

Deletes the MySQL Server key with the given name.

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

Deletes the MySQL Server key with the given name.

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

Creates or updates a MySQL Server key.

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

Creates or updates a MySQL Server key.

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

Deletes the MySQL Server key with the given name.

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

Deletes the MySQL Server key with the given name.

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

Gets a MySQL Server key.

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

Gets a MySQL 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.

Method Details

beginCreateOrUpdate

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

Creates or updates a MySQL Server key.

Parameters:

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

Returns:

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

beginCreateOrUpdate

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

Creates or updates a MySQL Server key.

Parameters:

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

Returns:

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

beginDelete

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

Deletes the MySQL Server key with the given name.

Parameters:

serverName - The name of the server.
keyName - The name of the MySQL 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.

beginDelete

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

Deletes the MySQL Server key with the given name.

Parameters:

serverName - The name of the server.
keyName - The name of the MySQL 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 Response<T> on successful completion of Mono.

createOrUpdate

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

Creates or updates a MySQL Server key.

Parameters:

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

Returns:

a MySQL Server key.

createOrUpdate

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

Creates or updates a MySQL Server key.

Parameters:

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

Returns:

a MySQL Server key.

delete

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

Deletes the MySQL Server key with the given name.

Parameters:

serverName - The name of the server.
keyName - The name of the MySQL 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 MySQL Server key with the given name.

Parameters:

serverName - The name of the server.
keyName - The name of the MySQL 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.

get

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

Gets a MySQL 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 MySQL Server key to be retrieved.

Returns:

a MySQL Server key.

getWithResponse

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

Gets a MySQL 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 MySQL Server key to be retrieved.
context - The context to associate with this operation.

Returns:

a MySQL Server key along with Response<T>.

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.

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.

Applies to