Interface Secrets

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

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

    Modifier and Type
    Method
    Description
    void
    Disables a secret.
    Disables a secret.
    Enables a secret.
    Enables a secret.
    Gets a Key Vault secret when the secret is enabled.
    Gets a Key Vault secret when the secret is enabled.

    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

      Secret getByNameAndVersion(String name, String version)
      Gets a Key Vault secret when the secret is enabled.
      Parameters:
      name - the name of the secret
      version - the version of the secret
      Returns:
      the secret
    • getByNameAndVersionAsync

      Mono<Secret> getByNameAndVersionAsync(String name, String version)
      Gets a Key Vault secret when the secret is enabled.
      Parameters:
      name - the name of the secret
      version - the version of the secret
      Returns:
      the secret
    • enableByNameAndVersion

      Secret enableByNameAndVersion(String name, String version)
      Enables a secret.
      Parameters:
      name - the name of the secret
      version - the version of the secret
      Returns:
      the secret
    • enableByNameAndVersionAsync

      Mono<Secret> enableByNameAndVersionAsync(String name, String version)
      Enables a secret.
      Parameters:
      name - the name of the secret
      version - the version of the secret
      Returns:
      the secret
    • disableByNameAndVersion

      void disableByNameAndVersion(String name, String version)
      Disables a secret.
      Parameters:
      name - the name of the secret
      version - the version of the secret
    • disableByNameAndVersionAsync

      Mono<Void> disableByNameAndVersionAsync(String name, String version)
      Disables a secret.
      Parameters:
      name - the name of the secret
      version - the version of the secret
      Returns:
      completion