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.
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.
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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.