KeysClient Interface
public interface KeysClient
An instance of this class provides access to all the operations defined in KeysClient.
Method Summary
Method Details
createIfNotExist
public abstract KeyInner createIfNotExist(String resourceGroupName, String vaultName, String keyName, KeyCreateParameters parameters)
Creates the first version of a new key if it does not exist. If it already exists, then the existing key is returned without any write operations being performed. This API does not create subsequent versions, and does not update existing keys.
Parameters:
Returns:
createIfNotExistAsync
public abstract Mono<KeyInner> createIfNotExistAsync(String resourceGroupName, String vaultName, String keyName, KeyCreateParameters parameters)
Creates the first version of a new key if it does not exist. If it already exists, then the existing key is returned without any write operations being performed. This API does not create subsequent versions, and does not update existing keys.
Parameters:
Returns:
createIfNotExistWithResponse
public abstract Response<KeyInner> createIfNotExistWithResponse(String resourceGroupName, String vaultName, String keyName, KeyCreateParameters parameters, Context context)
Creates the first version of a new key if it does not exist. If it already exists, then the existing key is returned without any write operations being performed. This API does not create subsequent versions, and does not update existing keys.
Parameters:
Returns:
createIfNotExistWithResponseAsync
public abstract Mono<Response<KeyInner>> createIfNotExistWithResponseAsync(String resourceGroupName, String vaultName, String keyName, KeyCreateParameters parameters)
Creates the first version of a new key if it does not exist. If it already exists, then the existing key is returned without any write operations being performed. This API does not create subsequent versions, and does not update existing keys.
Parameters:
Returns:
get
public abstract KeyInner get(String resourceGroupName, String vaultName, String keyName)
Gets the current version of the specified key from the specified key vault.
Parameters:
Returns:
getAsync
public abstract Mono<KeyInner> getAsync(String resourceGroupName, String vaultName, String keyName)
Gets the current version of the specified key from the specified key vault.
Parameters:
Returns:
getVersion
public abstract KeyInner getVersion(String resourceGroupName, String vaultName, String keyName, String keyVersion)
Gets the specified version of the specified key in the specified key vault.
Parameters:
Returns:
getVersionAsync
public abstract Mono<KeyInner> getVersionAsync(String resourceGroupName, String vaultName, String keyName, String keyVersion)
Gets the specified version of the specified key in the specified key vault.
Parameters:
Returns:
getVersionWithResponse
public abstract Response<KeyInner> getVersionWithResponse(String resourceGroupName, String vaultName, String keyName, String keyVersion, Context context)
Gets the specified version of the specified key in the specified key vault.
Parameters:
Returns:
getVersionWithResponseAsync
public abstract Mono<Response<KeyInner>> getVersionWithResponseAsync(String resourceGroupName, String vaultName, String keyName, String keyVersion)
Gets the specified version of the specified key in the specified key vault.
Parameters:
Returns:
getWithResponse
public abstract Response<KeyInner> getWithResponse(String resourceGroupName, String vaultName, String keyName, Context context)
Gets the current version of the specified key from the specified key vault.
Parameters:
Returns:
getWithResponseAsync
public abstract Mono<Response<KeyInner>> getWithResponseAsync(String resourceGroupName, String vaultName, String keyName)
Gets the current version of the specified key from the specified key vault.
Parameters:
Returns:
list
public abstract PagedIterable<KeyInner> list(String resourceGroupName, String vaultName)
Lists the keys in the specified key vault.
Parameters:
Returns:
list
public abstract PagedIterable<KeyInner> list(String resourceGroupName, String vaultName, Context context)
Lists the keys in the specified key vault.
Parameters:
Returns:
listAsync
public abstract PagedFlux<KeyInner> listAsync(String resourceGroupName, String vaultName)
Lists the keys in the specified key vault.
Parameters:
Returns:
listVersions
public abstract PagedIterable<KeyInner> listVersions(String resourceGroupName, String vaultName, String keyName)
Lists the keys in the specified key vault.
Parameters:
Returns:
listVersions
public abstract PagedIterable<KeyInner> listVersions(String resourceGroupName, String vaultName, String keyName, Context context)
Lists the keys in the specified key vault.
Parameters:
Returns:
listVersionsAsync
public abstract PagedFlux<KeyInner> listVersionsAsync(String resourceGroupName, String vaultName, String keyName)
Lists the keys in the specified key vault.
Parameters:
Returns: