Interface Secrets
- All Superinterfaces:
SupportsCreating<Secret.DefinitionStages.Blank>,SupportsDeletingById,SupportsGettingById<Secret>,SupportsGettingByName<Secret>,SupportsListing<Secret>
public interface Secrets
extends SupportsCreating<Secret.DefinitionStages.Blank>, SupportsDeletingById, SupportsGettingById<Secret>, SupportsGettingByName<Secret>, SupportsListing<Secret>
Entry point for Key Vault secrets API.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddisableByNameAndVersion(String name, String version) Disables a secret.disableByNameAndVersionAsync(String name, String version) Disables a secret.enableByNameAndVersion(String name, String version) Enables a secret.enableByNameAndVersionAsync(String name, String version) Enables a secret.getByNameAndVersion(String name, String version) Gets a Key Vault secret when the secret is enabled.getByNameAndVersionAsync(String name, String version) Gets a Key Vault secret when the secret is enabled.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 secret when the secret is enabled.- Parameters:
name- the name of the secretversion- the version of the secret- Returns:
- the secret
-
getByNameAndVersionAsync
Gets a Key Vault secret when the secret is enabled.- Parameters:
name- the name of the secretversion- the version of the secret- Returns:
- the secret
-
enableByNameAndVersion
Enables a secret.- Parameters:
name- the name of the secretversion- the version of the secret- Returns:
- the secret
-
enableByNameAndVersionAsync
Enables a secret.- Parameters:
name- the name of the secretversion- the version of the secret- Returns:
- the secret
-
disableByNameAndVersion
Disables a secret.- Parameters:
name- the name of the secretversion- the version of the secret
-
disableByNameAndVersionAsync
Disables a secret.- Parameters:
name- the name of the secretversion- the version of the secret- Returns:
- completion
-