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 resourceGroupName, String serverName, String keyName, ServerKeyInner parameters)

Creates or updates a server key.

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

Creates or updates a server key.

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

Creates or updates a server key.

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

Deletes the server key with the given name.

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

Deletes the server key with the given name.

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

Deletes the server key with the given name.

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

Creates or updates a server key.

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

Creates or updates a server key.

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

Creates or updates a server key.

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

Creates or updates a server key.

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

Deletes the server key with the given name.

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

Deletes the server key with the given name.

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

Deletes the server key with the given name.

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

Deletes the server key with the given name.

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

Gets a server key.

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

Gets a server key.

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

Gets a server key.

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

Gets a server key.

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

Gets a list of server keys.

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

Gets a list of server keys.

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

Gets a list of server keys.

Method Details

beginCreateOrUpdate

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

Creates or updates a server key.

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.
keyName - The name of the server key to be operated on (updated or created). The key name is required to be in the format of 'vault_key_version'. For example, if the keyId is https://YourVaultName.vault.azure.net/keys/YourKeyName/YourKeyVersion, then the server key name should be formatted as: YourVaultName_YourKeyName_YourKeyVersion.
parameters - The requested server key resource state.

Returns:

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

beginCreateOrUpdate

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

Creates or updates a server key.

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.
keyName - The name of the server key to be operated on (updated or created). The key name is required to be in the format of 'vault_key_version'. For example, if the keyId is https://YourVaultName.vault.azure.net/keys/YourKeyName/YourKeyVersion, then the server key name should be formatted as: YourVaultName_YourKeyName_YourKeyVersion.
parameters - The requested server key resource state.
context - The context to associate with this operation.

Returns:

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

beginCreateOrUpdateAsync

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

Creates or updates a server key.

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.
keyName - The name of the server key to be operated on (updated or created). The key name is required to be in the format of 'vault_key_version'. For example, if the keyId is https://YourVaultName.vault.azure.net/keys/YourKeyName/YourKeyVersion, then the server key name should be formatted as: YourVaultName_YourKeyName_YourKeyVersion.
parameters - The requested server key resource state.

Returns:

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

beginDelete

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

Deletes the server key 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.
keyName - The name of the server key to be deleted.

Returns:

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

beginDelete

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

Deletes the server key 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.
keyName - The name of the server key to be deleted.
context - The context to associate with this operation.

Returns:

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

beginDeleteAsync

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

Deletes the server key 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.
keyName - The name of the server key to be deleted.

Returns:

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

createOrUpdate

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

Creates or updates a server key.

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.
keyName - The name of the server key to be operated on (updated or created). The key name is required to be in the format of 'vault_key_version'. For example, if the keyId is https://YourVaultName.vault.azure.net/keys/YourKeyName/YourKeyVersion, then the server key name should be formatted as: YourVaultName_YourKeyName_YourKeyVersion.
parameters - The requested server key resource state.

Returns:

a server key.

createOrUpdate

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

Creates or updates a server key.

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.
keyName - The name of the server key to be operated on (updated or created). The key name is required to be in the format of 'vault_key_version'. For example, if the keyId is https://YourVaultName.vault.azure.net/keys/YourKeyName/YourKeyVersion, then the server key name should be formatted as: YourVaultName_YourKeyName_YourKeyVersion.
parameters - The requested server key resource state.
context - The context to associate with this operation.

Returns:

a server key.

createOrUpdateAsync

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

Creates or updates a server key.

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.
keyName - The name of the server key to be operated on (updated or created). The key name is required to be in the format of 'vault_key_version'. For example, if the keyId is https://YourVaultName.vault.azure.net/keys/YourKeyName/YourKeyVersion, then the server key name should be formatted as: YourVaultName_YourKeyName_YourKeyVersion.
parameters - The requested server key resource state.

Returns:

a server key on successful completion of Mono.

createOrUpdateWithResponseAsync

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

Creates or updates a server key.

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.
keyName - The name of the server key to be operated on (updated or created). The key name is required to be in the format of 'vault_key_version'. For example, if the keyId is https://YourVaultName.vault.azure.net/keys/YourKeyName/YourKeyVersion, then the server key name should be formatted as: YourVaultName_YourKeyName_YourKeyVersion.
parameters - The requested server key resource state.

Returns:

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

delete

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

Deletes the server key 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.
keyName - The name of the server key to be deleted.

delete

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

Deletes the server key 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.
keyName - The name of the server key to be deleted.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String serverName, String keyName)

Deletes the server key 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.
keyName - The name of the server key to be deleted.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String serverName, String keyName)

Deletes the server key 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.
keyName - The name of the server key to be deleted.

Returns:

the Response<T> on successful completion of Mono.

get

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

Gets a server key.

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.
keyName - The name of the server key to be retrieved.

Returns:

a server key.

getAsync

public abstract Mono getAsync(String resourceGroupName, String serverName, String keyName)

Gets a server key.

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.
keyName - The name of the server key to be retrieved.

Returns:

a server key on successful completion of Mono.

getWithResponse

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

Gets a server key.

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.
keyName - The name of the server key to be retrieved.
context - The context to associate with this operation.

Returns:

a server key along with Response<T>.

getWithResponseAsync

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

Gets a server key.

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.
keyName - The name of the server key to be retrieved.

Returns:

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

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName)

Gets a list of server keys.

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.

Returns:

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

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName, Context context)

Gets a list of server keys.

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.
context - The context to associate with this operation.

Returns:

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

listByServerAsync

public abstract PagedFlux listByServerAsync(String resourceGroupName, String serverName)

Gets a list of server keys.

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.

Returns:

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

Applies to