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
Modifier and TypeMethodDescriptiongetByNameAndVersion(String name, String version) Gets a Key Vault key.getByNameAndVersionAsync(String name, String version) Gets a Key Vault key.restore(byte[] backup) Restores a backup key into a Key Vault key.restoreAsync(byte[] backup) Restores a backup key into a Key Vault key.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating
defineMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByName
getByName, getByNameAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing
list, listAsync
-
Method Details
-
getByNameAndVersion
Gets a Key Vault key.- Parameters:
name- the name of the keyversion- the version of the key- Returns:
- the key
-
getByNameAndVersionAsync
Gets a Key Vault key.- Parameters:
name- the name of the keyversion- the version of the key- Returns:
- the key
-
restore
Restores a backup key into a Key Vault key.- Parameters:
backup- the backup key- Returns:
- the key restored from the backup
-
restoreAsync
Restores a backup key into a Key Vault key.- Parameters:
backup- the backup key- Returns:
- the key restored from the backup
-