Interface Keys
-
- All Superinterfaces:
SupportsCreating<Key.DefinitionStages.Blank>,SupportsDeletingById,SupportsGettingById<Key>,SupportsGettingByName<Key>,SupportsListing<Key>
public interface Keys extends SupportsCreating<Key.DefinitionStages.Blank>, SupportsDeletingById, SupportsGettingById<Key>, SupportsGettingByName<Key>, SupportsListing<Key>
Entry point for Key Vault keys API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeygetByNameAndVersion(String name, String version)Gets a Key Vault key.Mono<Key>getByNameAndVersionAsync(String name, String version)Gets a Key Vault key.Keyrestore(byte[] backup)Restores a backup key into a Key Vault key.Mono<Key>restoreAsync(byte[] backup)Restores a backup key into a Key Vault key.-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating
define
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByName
getByName, getByNameAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing
list, listAsync
-
-
-
-
Method Detail
-
getByNameAndVersion
Key getByNameAndVersion(String name, String version)
Gets a Key Vault key.- Parameters:
name- the name of the keyversion- the version of the key- Returns:
- the key
-
getByNameAndVersionAsync
Mono<Key> getByNameAndVersionAsync(String name, String version)
Gets a Key Vault key.- Parameters:
name- the name of the keyversion- the version of the key- Returns:
- the key
-
restore
Key restore(byte[] backup)
Restores a backup key into a Key Vault key.- Parameters:
backup- the backup key- Returns:
- the key restored from the backup
-
-