SecretArchiveReference Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. SecretArchiveReference
- com.
Implements
public final class SecretArchiveReference
implements JsonSerializable<SecretArchiveReference>
SecretArchiveReference represents the reference to a secret in a key vault.
Constructor Summary
| Constructor | Description |
|---|---|
| SecretArchiveReference() |
Creates an instance of Secret |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Secret |
fromJson(JsonReader jsonReader)
Reads an instance of Secret |
| String |
keyVaultId()
Get the key |
| String |
keyVaultUri()
Get the key |
| String |
secretName()
Get the secret |
| String |
secretVersion()
Get the secret |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
SecretArchiveReference
public SecretArchiveReference()
Creates an instance of SecretArchiveReference class.
Method Details
fromJson
public static SecretArchiveReference fromJson(JsonReader jsonReader)
Reads an instance of SecretArchiveReference from the JsonReader.
Parameters:
Returns:
Throws:
keyVaultId
public String keyVaultId()
Get the keyVaultId property: The resource ID of the key vault containing the secret.
Returns:
keyVaultUri
public String keyVaultUri()
Get the keyVaultUri property: The URI of the key containing the secret.
Returns:
secretName
public String secretName()
Get the secretName property: The name of the secret in the key vault.
Returns:
secretVersion
public String secretVersion()
Get the secretVersion property: The version of the secret in the key vault.
Returns:
toJson
validate
public void validate()
Validates the instance.