Class CloudServiceVaultAndSecretReference
java.lang.Object
com.azure.resourcemanager.compute.models.CloudServiceVaultAndSecretReference
Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the secretUrl property: Secret URL which contains the protected settings of the extension.com.azure.core.management.SubResourceGet the sourceVault property: The ARM Resource ID of the Key Vault.voidvalidate()Validates the instance.withSecretUrl(String secretUrl) Set the secretUrl property: Secret URL which contains the protected settings of the extension.withSourceVault(com.azure.core.management.SubResource sourceVault) Set the sourceVault property: The ARM Resource ID of the Key Vault.
-
Constructor Details
-
CloudServiceVaultAndSecretReference
public CloudServiceVaultAndSecretReference()
-
-
Method Details
-
sourceVault
public com.azure.core.management.SubResource sourceVault()Get the sourceVault property: The ARM Resource ID of the Key Vault.- Returns:
- the sourceVault value.
-
withSourceVault
public CloudServiceVaultAndSecretReference withSourceVault(com.azure.core.management.SubResource sourceVault) Set the sourceVault property: The ARM Resource ID of the Key Vault.- Parameters:
sourceVault- the sourceVault value to set.- Returns:
- the CloudServiceVaultAndSecretReference object itself.
-
secretUrl
Get the secretUrl property: Secret URL which contains the protected settings of the extension.- Returns:
- the secretUrl value.
-
withSecretUrl
Set the secretUrl property: Secret URL which contains the protected settings of the extension.- Parameters:
secretUrl- the secretUrl value to set.- Returns:
- the CloudServiceVaultAndSecretReference object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-