public interface Secrets extends SupportsCreating<Secret.DefinitionStages.Blank>, SupportsDeletingById, SupportsGettingById<Secret>, SupportsGettingByName<Secret>, SupportsListing<Secret>
| Modifier and Type | Method and Description |
|---|---|
void |
disableByNameAndVersion(String name,
String version)
Disables a secret.
|
Mono<Void> |
disableByNameAndVersionAsync(String name,
String version)
Disables a secret.
|
Secret |
enableByNameAndVersion(String name,
String version)
Enables a secret.
|
Mono<Secret> |
enableByNameAndVersionAsync(String name,
String version)
Enables a secret.
|
Secret |
getByNameAndVersion(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.
|
definedeleteById, deleteByIdAsyncgetById, getByIdAsyncgetByName, getByNameAsynclist, listAsyncSecret getByNameAndVersion(String name, String version)
name - the name of the secretversion - the version of the secretMono<Secret> getByNameAndVersionAsync(String name, String version)
name - the name of the secretversion - the version of the secretSecret enableByNameAndVersion(String name, String version)
name - the name of the secretversion - the version of the secretMono<Secret> enableByNameAndVersionAsync(String name, String version)
name - the name of the secretversion - the version of the secretvoid disableByNameAndVersion(String name, String version)
name - the name of the secretversion - the version of the secretCopyright © 2020 Microsoft Corporation. All rights reserved.