public interface SshPublicKeysClient extends InnerSupportsGet<SshPublicKeyResourceInner>, InnerSupportsListing<SshPublicKeyResourceInner>, InnerSupportsDelete<Void>
Modifier and Type | Method and Description |
---|---|
SshPublicKeyResourceInner |
create(String resourceGroupName,
String sshPublicKeyName,
SshPublicKeyResourceInner parameters)
Creates a new SSH public key resource.
|
Mono<SshPublicKeyResourceInner> |
createAsync(String resourceGroupName,
String sshPublicKeyName,
SshPublicKeyResourceInner parameters)
Creates a new SSH public key resource.
|
com.azure.core.http.rest.Response<SshPublicKeyResourceInner> |
createWithResponse(String resourceGroupName,
String sshPublicKeyName,
SshPublicKeyResourceInner parameters,
com.azure.core.util.Context context)
Creates a new SSH public key resource.
|
Mono<com.azure.core.http.rest.Response<SshPublicKeyResourceInner>> |
createWithResponseAsync(String resourceGroupName,
String sshPublicKeyName,
SshPublicKeyResourceInner parameters)
Creates a new SSH public key resource.
|
void |
delete(String resourceGroupName,
String sshPublicKeyName)
Delete an SSH public key.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String sshPublicKeyName)
Delete an SSH public key.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String sshPublicKeyName,
com.azure.core.util.Context context)
Delete an SSH public key.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteWithResponseAsync(String resourceGroupName,
String sshPublicKeyName)
Delete an SSH public key.
|
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.
|
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.
|
com.azure.core.http.rest.Response<SshPublicKeyGenerateKeyPairResultInner> |
generateKeyPairWithResponse(String resourceGroupName,
String sshPublicKeyName,
com.azure.core.util.Context context)
Generates and returns a public/private key pair and populates the SSH public key resource with the public key.
|
Mono<com.azure.core.http.rest.Response<SshPublicKeyGenerateKeyPairResultInner>> |
generateKeyPairWithResponseAsync(String resourceGroupName,
String sshPublicKeyName)
Generates and returns a public/private key pair and populates the SSH public key resource with the public key.
|
SshPublicKeyResourceInner |
getByResourceGroup(String resourceGroupName,
String sshPublicKeyName)
Retrieves information about an SSH public key.
|
Mono<SshPublicKeyResourceInner> |
getByResourceGroupAsync(String resourceGroupName,
String sshPublicKeyName)
Retrieves information about an SSH public key.
|
com.azure.core.http.rest.Response<SshPublicKeyResourceInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String sshPublicKeyName,
com.azure.core.util.Context context)
Retrieves information about an SSH public key.
|
Mono<com.azure.core.http.rest.Response<SshPublicKeyResourceInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String sshPublicKeyName)
Retrieves information about an SSH public key.
|
com.azure.core.http.rest.PagedIterable<SshPublicKeyResourceInner> |
list()
Lists all of the SSH public keys in the subscription.
|
com.azure.core.http.rest.PagedIterable<SshPublicKeyResourceInner> |
list(com.azure.core.util.Context context)
Lists all of the SSH public keys in the subscription.
|
com.azure.core.http.rest.PagedFlux<SshPublicKeyResourceInner> |
listAsync()
Lists all of the SSH public keys in the subscription.
|
com.azure.core.http.rest.PagedIterable<SshPublicKeyResourceInner> |
listByResourceGroup(String resourceGroupName)
Lists all of the SSH public keys in the specified resource group.
|
com.azure.core.http.rest.PagedIterable<SshPublicKeyResourceInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Lists all of the SSH public keys in the specified resource group.
|
com.azure.core.http.rest.PagedFlux<SshPublicKeyResourceInner> |
listByResourceGroupAsync(String resourceGroupName)
Lists all of the SSH public keys in the specified resource group.
|
SshPublicKeyResourceInner |
update(String resourceGroupName,
String sshPublicKeyName,
SshPublicKeyUpdateResource parameters)
Updates a new SSH public key resource.
|
Mono<SshPublicKeyResourceInner> |
updateAsync(String resourceGroupName,
String sshPublicKeyName,
SshPublicKeyUpdateResource parameters)
Updates a new SSH public key resource.
|
com.azure.core.http.rest.Response<SshPublicKeyResourceInner> |
updateWithResponse(String resourceGroupName,
String sshPublicKeyName,
SshPublicKeyUpdateResource parameters,
com.azure.core.util.Context context)
Updates a new SSH public key resource.
|
Mono<com.azure.core.http.rest.Response<SshPublicKeyResourceInner>> |
updateWithResponseAsync(String resourceGroupName,
String sshPublicKeyName,
SshPublicKeyUpdateResource parameters)
Updates a new SSH public key resource.
|
com.azure.core.http.rest.PagedFlux<SshPublicKeyResourceInner> listAsync()
listAsync
in interface InnerSupportsListing<SshPublicKeyResourceInner>
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<SshPublicKeyResourceInner> list()
list
in interface InnerSupportsListing<SshPublicKeyResourceInner>
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<SshPublicKeyResourceInner> list(com.azure.core.util.Context context)
context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<SshPublicKeyResourceInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync
in interface InnerSupportsListing<SshPublicKeyResourceInner>
resourceGroupName
- The name of the resource group.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<SshPublicKeyResourceInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup
in interface InnerSupportsListing<SshPublicKeyResourceInner>
resourceGroupName
- The name of the resource group.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<SshPublicKeyResourceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<SshPublicKeyResourceInner>> createWithResponseAsync(String resourceGroupName, String sshPublicKeyName, SshPublicKeyResourceInner parameters)
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.parameters
- Specifies information about the SSH public key.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<SshPublicKeyResourceInner> createAsync(String resourceGroupName, String sshPublicKeyName, SshPublicKeyResourceInner parameters)
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.parameters
- Specifies information about the SSH public key.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.SshPublicKeyResourceInner create(String resourceGroupName, String sshPublicKeyName, SshPublicKeyResourceInner parameters)
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.parameters
- Specifies information about the SSH public key.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<SshPublicKeyResourceInner> createWithResponse(String resourceGroupName, String sshPublicKeyName, SshPublicKeyResourceInner parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.parameters
- Specifies information about the SSH public key.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<SshPublicKeyResourceInner>> updateWithResponseAsync(String resourceGroupName, String sshPublicKeyName, SshPublicKeyUpdateResource parameters)
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.parameters
- Specifies information about the SSH public key.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<SshPublicKeyResourceInner> updateAsync(String resourceGroupName, String sshPublicKeyName, SshPublicKeyUpdateResource parameters)
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.parameters
- Specifies information about the SSH public key.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.SshPublicKeyResourceInner update(String resourceGroupName, String sshPublicKeyName, SshPublicKeyUpdateResource parameters)
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.parameters
- Specifies information about the SSH public key.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<SshPublicKeyResourceInner> updateWithResponse(String resourceGroupName, String sshPublicKeyName, SshPublicKeyUpdateResource parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.parameters
- Specifies information about the SSH public key.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String sshPublicKeyName)
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<Void> deleteAsync(String resourceGroupName, String sshPublicKeyName)
deleteAsync
in interface InnerSupportsDelete<Void>
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String sshPublicKeyName)
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String sshPublicKeyName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<SshPublicKeyResourceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String sshPublicKeyName)
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<SshPublicKeyResourceInner> getByResourceGroupAsync(String resourceGroupName, String sshPublicKeyName)
getByResourceGroupAsync
in interface InnerSupportsGet<SshPublicKeyResourceInner>
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.SshPublicKeyResourceInner getByResourceGroup(String resourceGroupName, String sshPublicKeyName)
getByResourceGroup
in interface InnerSupportsGet<SshPublicKeyResourceInner>
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<SshPublicKeyResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String sshPublicKeyName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<SshPublicKeyGenerateKeyPairResultInner>> generateKeyPairWithResponseAsync(String resourceGroupName, String sshPublicKeyName)
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<SshPublicKeyGenerateKeyPairResultInner> generateKeyPairAsync(String resourceGroupName, String sshPublicKeyName)
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.SshPublicKeyGenerateKeyPairResultInner generateKeyPair(String resourceGroupName, String sshPublicKeyName)
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<SshPublicKeyGenerateKeyPairResultInner> generateKeyPairWithResponse(String resourceGroupName, String sshPublicKeyName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.sshPublicKeyName
- The name of the SSH public key.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2020 Microsoft Corporation. All rights reserved.