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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddisableByNameAndVersion(String name, String version)Disables a secret.Mono<Void>disableByNameAndVersionAsync(String name, String version)Disables a secret.SecretenableByNameAndVersion(String name, String version)Enables a secret.Mono<Secret>enableByNameAndVersionAsync(String name, String version)Enables a secret.SecretgetByNameAndVersion(String name, String version)Gets a Key Vault secret when the secret is enabled.Mono<Secret>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
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 Detail
-
getByNameAndVersion
Secret getByNameAndVersion(String name, String version)
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
Mono<Secret> getByNameAndVersionAsync(String name, String version)
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
Secret enableByNameAndVersion(String name, String version)
Enables a secret.- Parameters:
name- the name of the secretversion- 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 secretversion- the version of the secret- Returns:
- the secret
-
disableByNameAndVersion
void disableByNameAndVersion(String name, String version)
Disables a secret.- Parameters:
name- the name of the secretversion- the version of the secret
-
-