Interface Keys
- All Superinterfaces:
SupportsCreating<Key.DefinitionStages.Blank>
,SupportsDeletingById
,SupportsGettingById<Key>
,SupportsGettingByName<Key>
,SupportsGettingByNameAsync<Key>
,SupportsListing<Key>
@Beta(V1_6_0)
public interface Keys
extends SupportsCreating<Key.DefinitionStages.Blank>, SupportsDeletingById, SupportsGettingById<Key>, SupportsGettingByNameAsync<Key>, SupportsListing<Key>
Entry point for Key Vault keys API.
-
Method Summary
Modifier and TypeMethodDescriptiongetByNameAndVersion
(String name, String version) Gets a Key Vault key.rx.Observable<Key>
getByNameAndVersionAsync
(String name, String version) Gets a Key Vault key.restore
(byte[] backup) Restores a backup key into a Key Vault key.rx.Observable<Key>
restoreAsync
(byte[] backup) Restores a backup key into a Key Vault key.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating
define
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsync, deleteByIdAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsync, getByIdAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingByName
getByName
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingByNameAsync
getByNameAsync
Methods inherited from interface com.microsoft.azure.management.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
-