Dela via


SshPublicKeysClient Interface

Implements

public interface SshPublicKeysClient
extends InnerSupportsGet<SshPublicKeyResourceInner>, InnerSupportsListing<SshPublicKeyResourceInner>, InnerSupportsDelete<Void>

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

Method Summary

Modifier and Type Method and Description
abstract SshPublicKeyResourceInner create(String resourceGroupName, String sshPublicKeyName, SshPublicKeyResourceInner parameters)

Creates a new SSH public key resource.

abstract Mono<SshPublicKeyResourceInner> createAsync(String resourceGroupName, String sshPublicKeyName, SshPublicKeyResourceInner parameters)

Creates a new SSH public key resource.

abstract Response<SshPublicKeyResourceInner> createWithResponse(String resourceGroupName, String sshPublicKeyName, SshPublicKeyResourceInner parameters, Context context)

Creates a new SSH public key resource.

abstract Mono<Response<SshPublicKeyResourceInner>> createWithResponseAsync(String resourceGroupName, String sshPublicKeyName, SshPublicKeyResourceInner parameters)

Creates a new SSH public key resource.

abstract void delete(String resourceGroupName, String sshPublicKeyName)

Delete an SSH public key.

abstract Mono<Void> deleteAsync(String resourceGroupName, String sshPublicKeyName)

Delete an SSH public key.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String sshPublicKeyName, Context context)

Delete an SSH public key.

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String sshPublicKeyName)

Delete an SSH public key.

abstract SshPublicKeyGenerateKeyPairResultInner generateKeyPair(String resourceGroupName, String sshPublicKeyName)

Generates and returns a public/private key pair and populates the SSH public key resource with the public key.

abstract Mono<SshPublicKeyGenerateKeyPairResultInner> generateKeyPairAsync(String resourceGroupName, String sshPublicKeyName)

Generates and returns a public/private key pair and populates the SSH public key resource with the public key.

abstract Response<SshPublicKeyGenerateKeyPairResultInner> generateKeyPairWithResponse(String resourceGroupName, String sshPublicKeyName, SshGenerateKeyPairInputParameters parameters, Context context)

Generates and returns a public/private key pair and populates the SSH public key resource with the public key.

abstract Mono<Response<SshPublicKeyGenerateKeyPairResultInner>> generateKeyPairWithResponseAsync(String resourceGroupName, String sshPublicKeyName, SshGenerateKeyPairInputParameters parameters)

Generates and returns a public/private key pair and populates the SSH public key resource with the public key.

abstract SshPublicKeyResourceInner getByResourceGroup(String resourceGroupName, String sshPublicKeyName)

Retrieves information about an SSH public key.

abstract Mono<SshPublicKeyResourceInner> getByResourceGroupAsync(String resourceGroupName, String sshPublicKeyName)

Retrieves information about an SSH public key.

abstract Response<SshPublicKeyResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String sshPublicKeyName, Context context)

Retrieves information about an SSH public key.

abstract Mono<Response<SshPublicKeyResourceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String sshPublicKeyName)

Retrieves information about an SSH public key.

abstract PagedIterable<SshPublicKeyResourceInner> list()

Lists all of the SSH public keys in the subscription.

abstract PagedIterable<SshPublicKeyResourceInner> list(Context context)

Lists all of the SSH public keys in the subscription.

abstract PagedFlux<SshPublicKeyResourceInner> listAsync()

Lists all of the SSH public keys in the subscription.

abstract PagedIterable<SshPublicKeyResourceInner> listByResourceGroup(String resourceGroupName)

Lists all of the SSH public keys in the specified resource group.

abstract PagedIterable<SshPublicKeyResourceInner> listByResourceGroup(String resourceGroupName, Context context)

Lists all of the SSH public keys in the specified resource group.

abstract PagedFlux<SshPublicKeyResourceInner> listByResourceGroupAsync(String resourceGroupName)

Lists all of the SSH public keys in the specified resource group.

abstract SshPublicKeyResourceInner update(String resourceGroupName, String sshPublicKeyName, SshPublicKeyUpdateResource parameters)

Updates a new SSH public key resource.

abstract Mono<SshPublicKeyResourceInner> updateAsync(String resourceGroupName, String sshPublicKeyName, SshPublicKeyUpdateResource parameters)

Updates a new SSH public key resource.

abstract Response<SshPublicKeyResourceInner> updateWithResponse(String resourceGroupName, String sshPublicKeyName, SshPublicKeyUpdateResource parameters, Context context)

Updates a new SSH public key resource.

abstract Mono<Response<SshPublicKeyResourceInner>> updateWithResponseAsync(String resourceGroupName, String sshPublicKeyName, SshPublicKeyUpdateResource parameters)

Updates a new SSH public key resource.

Method Details

create

public abstract SshPublicKeyResourceInner create(String resourceGroupName, String sshPublicKeyName, SshPublicKeyResourceInner parameters)

Creates a new SSH public key resource.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.
parameters - Parameters supplied to create the SSH public key.

Returns:

specifies information about the SSH public key.

createAsync

public abstract Mono createAsync(String resourceGroupName, String sshPublicKeyName, SshPublicKeyResourceInner parameters)

Creates a new SSH public key resource.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.
parameters - Parameters supplied to create the SSH public key.

Returns:

specifies information about the SSH public key on successful completion of Mono.

createWithResponse

public abstract Response createWithResponse(String resourceGroupName, String sshPublicKeyName, SshPublicKeyResourceInner parameters, Context context)

Creates a new SSH public key resource.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.
parameters - Parameters supplied to create the SSH public key.
context - The context to associate with this operation.

Returns:

specifies information about the SSH public key along with Response<T>.

createWithResponseAsync

public abstract Mono<>> createWithResponseAsync(String resourceGroupName, String sshPublicKeyName, SshPublicKeyResourceInner parameters)

Creates a new SSH public key resource.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.
parameters - Parameters supplied to create the SSH public key.

Returns:

specifies information about the SSH public key along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String sshPublicKeyName)

Delete an SSH public key.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String sshPublicKeyName)

Delete an SSH public key.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String sshPublicKeyName, Context context)

Delete an SSH public key.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

public abstract Mono<>> deleteWithResponseAsync(String resourceGroupName, String sshPublicKeyName)

Delete an SSH public key.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.

Returns:

the Response<T> on successful completion of Mono.

generateKeyPair

public abstract SshPublicKeyGenerateKeyPairResultInner generateKeyPair(String resourceGroupName, String sshPublicKeyName)

Generates and returns a public/private key pair and populates the SSH public key resource with the public key. The length of the key will be 3072 bits. This operation can only be performed once per SSH public key resource.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.

Returns:

response from generation of an SSH key pair.

generateKeyPairAsync

public abstract Mono generateKeyPairAsync(String resourceGroupName, String sshPublicKeyName)

Generates and returns a public/private key pair and populates the SSH public key resource with the public key. The length of the key will be 3072 bits. This operation can only be performed once per SSH public key resource.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.

Returns:

response from generation of an SSH key pair on successful completion of Mono.

generateKeyPairWithResponse

public abstract Response generateKeyPairWithResponse(String resourceGroupName, String sshPublicKeyName, SshGenerateKeyPairInputParameters parameters, Context context)

Generates and returns a public/private key pair and populates the SSH public key resource with the public key. The length of the key will be 3072 bits. This operation can only be performed once per SSH public key resource.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.
parameters - Parameters supplied to generate the SSH public key.
context - The context to associate with this operation.

Returns:

response from generation of an SSH key pair along with Response<T>.

generateKeyPairWithResponseAsync

public abstract Mono<>> generateKeyPairWithResponseAsync(String resourceGroupName, String sshPublicKeyName, SshGenerateKeyPairInputParameters parameters)

Generates and returns a public/private key pair and populates the SSH public key resource with the public key. The length of the key will be 3072 bits. This operation can only be performed once per SSH public key resource.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.
parameters - Parameters supplied to generate the SSH public key.

Returns:

response from generation of an SSH key pair along with Response<T> on successful completion of Mono.

getByResourceGroup

public abstract SshPublicKeyResourceInner getByResourceGroup(String resourceGroupName, String sshPublicKeyName)

Retrieves information about an SSH public key.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.

Returns:

specifies information about the SSH public key.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String sshPublicKeyName)

Retrieves information about an SSH public key.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.

Returns:

specifies information about the SSH public key on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String sshPublicKeyName, Context context)

Retrieves information about an SSH public key.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.
context - The context to associate with this operation.

Returns:

specifies information about the SSH public key along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono<>> getByResourceGroupWithResponseAsync(String resourceGroupName, String sshPublicKeyName)

Retrieves information about an SSH public key.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.

Returns:

specifies information about the SSH public key along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Lists all of the SSH public keys in the subscription. Use the nextLink property in the response to get the next page of SSH public keys.

Returns:

the list SSH public keys operation response as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Lists all of the SSH public keys in the subscription. Use the nextLink property in the response to get the next page of SSH public keys.

Parameters:

context - The context to associate with this operation.

Returns:

the list SSH public keys operation response as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Lists all of the SSH public keys in the subscription. Use the nextLink property in the response to get the next page of SSH public keys.

Returns:

the list SSH public keys operation response as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Lists all of the SSH public keys in the specified resource group. Use the nextLink property in the response to get the next page of SSH public keys.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

the list SSH public keys operation response as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Lists all of the SSH public keys in the specified resource group. Use the nextLink property in the response to get the next page of SSH public keys.

Parameters:

resourceGroupName - The name of the resource group.
context - The context to associate with this operation.

Returns:

the list SSH public keys operation response as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Lists all of the SSH public keys in the specified resource group. Use the nextLink property in the response to get the next page of SSH public keys.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

the list SSH public keys operation response as paginated response with PagedFlux<T>.

update

public abstract SshPublicKeyResourceInner update(String resourceGroupName, String sshPublicKeyName, SshPublicKeyUpdateResource parameters)

Updates a new SSH public key resource.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.
parameters - Parameters supplied to update the SSH public key.

Returns:

specifies information about the SSH public key.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String sshPublicKeyName, SshPublicKeyUpdateResource parameters)

Updates a new SSH public key resource.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.
parameters - Parameters supplied to update the SSH public key.

Returns:

specifies information about the SSH public key on successful completion of Mono.

updateWithResponse

public abstract Response updateWithResponse(String resourceGroupName, String sshPublicKeyName, SshPublicKeyUpdateResource parameters, Context context)

Updates a new SSH public key resource.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.
parameters - Parameters supplied to update the SSH public key.
context - The context to associate with this operation.

Returns:

specifies information about the SSH public key along with Response<T>.

updateWithResponseAsync

public abstract Mono<>> updateWithResponseAsync(String resourceGroupName, String sshPublicKeyName, SshPublicKeyUpdateResource parameters)

Updates a new SSH public key resource.

Parameters:

resourceGroupName - The name of the resource group.
sshPublicKeyName - The name of the SSH public key.
parameters - Parameters supplied to update the SSH public key.

Returns:

specifies information about the SSH public key along with Response<T> on successful completion of Mono.

Applies to