All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating<Key.DefinitionStages.Blank>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById<Key>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByName<Key>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing<Key>

public interface Keys extends com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating<Key.DefinitionStages.Blank>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById<Key>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByName<Key>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing<Key>
Entry point for Key Vault keys API.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets a Key Vault key.
    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

    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 Details

    • getByNameAndVersion

      Key getByNameAndVersion(String name, String version)
      Gets a Key Vault key.
      Parameters:
      name - the name of the key
      version - 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 key
      version - 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
    • restoreAsync

      Mono<Key> restoreAsync(byte[] backup)
      Restores a backup key into a Key Vault key.
      Parameters:
      backup - the backup key
      Returns:
      the key restored from the backup