CloudServiceVaultAndSecretReference Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. CloudServiceVaultAndSecretReference
- com.
Implements
public final class CloudServiceVaultAndSecretReference
implements JsonSerializable<CloudServiceVaultAndSecretReference>
Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.
Constructor Summary
Constructor | Description |
---|---|
CloudServiceVaultAndSecretReference() |
Creates an instance of Cloud |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Cloud |
fromJson(JsonReader jsonReader)
Reads an instance of Cloud |
String |
secretUrl()
Get the secret |
Sub |
sourceVault()
Get the source |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Cloud |
withSecretUrl(String secretUrl)
Set the secret |
Cloud |
withSourceVault(SubResource sourceVault)
Set the source |
Methods inherited from java.lang.Object
Constructor Details
CloudServiceVaultAndSecretReference
public CloudServiceVaultAndSecretReference()
Creates an instance of CloudServiceVaultAndSecretReference class.
Method Details
fromJson
public static CloudServiceVaultAndSecretReference fromJson(JsonReader jsonReader)
Reads an instance of CloudServiceVaultAndSecretReference from the JsonReader.
Parameters:
Returns:
Throws:
secretUrl
public String secretUrl()
Get the secretUrl property: Secret URL which contains the protected settings of the extension.
Returns:
sourceVault
public SubResource sourceVault()
Get the sourceVault property: The ARM Resource ID of the Key Vault.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSecretUrl
public CloudServiceVaultAndSecretReference withSecretUrl(String secretUrl)
Set the secretUrl property: Secret URL which contains the protected settings of the extension.
Parameters:
Returns:
withSourceVault
public CloudServiceVaultAndSecretReference withSourceVault(SubResource sourceVault)
Set the sourceVault property: The ARM Resource ID of the Key Vault.
Parameters:
Returns:
Applies to
Azure SDK for Java