CloudServiceVaultCertificate Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. CloudServiceVaultCertificate
- com.
Implements
public final class CloudServiceVaultCertificate
implements JsonSerializable<CloudServiceVaultCertificate>
Describes a single certificate reference in a Key Vault, and where the certificate should reside on the role instance.
Constructor Summary
Constructor | Description |
---|---|
CloudServiceVaultCertificate() |
Creates an instance of Cloud |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
certificateUrl()
Get the certificate |
static
Cloud |
fromJson(JsonReader jsonReader)
Reads an instance of Cloud |
Boolean |
isBootstrapCertificate()
Get the is |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Cloud |
withCertificateUrl(String certificateUrl)
Set the certificate |
Cloud |
withIsBootstrapCertificate(Boolean isBootstrapCertificate)
Set the is |
Methods inherited from java.lang.Object
Constructor Details
CloudServiceVaultCertificate
public CloudServiceVaultCertificate()
Creates an instance of CloudServiceVaultCertificate class.
Method Details
certificateUrl
public String certificateUrl()
Get the certificateUrl property: This is the URL of a certificate that has been uploaded to Key Vault as a secret.
Returns:
fromJson
public static CloudServiceVaultCertificate fromJson(JsonReader jsonReader)
Reads an instance of CloudServiceVaultCertificate from the JsonReader.
Parameters:
Returns:
Throws:
isBootstrapCertificate
public Boolean isBootstrapCertificate()
Get the isBootstrapCertificate property: Flag indicating if the certificate provided is a bootstrap certificate to be used by the Key Vault Extension to fetch the remaining certificates.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCertificateUrl
public CloudServiceVaultCertificate withCertificateUrl(String certificateUrl)
Set the certificateUrl property: This is the URL of a certificate that has been uploaded to Key Vault as a secret.
Parameters:
Returns:
withIsBootstrapCertificate
public CloudServiceVaultCertificate withIsBootstrapCertificate(Boolean isBootstrapCertificate)
Set the isBootstrapCertificate property: Flag indicating if the certificate provided is a bootstrap certificate to be used by the Key Vault Extension to fetch the remaining certificates.
Parameters:
Returns:
Applies to
Azure SDK for Java