CertificateKeyVaultProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appcontainers. models. CertificateKeyVaultProperties
- com.
Implements
public final class CertificateKeyVaultProperties
implements JsonSerializable<CertificateKeyVaultProperties>
Properties for a certificate stored in a Key Vault.
Constructor Summary
| Constructor | Description |
|---|---|
| CertificateKeyVaultProperties() |
Creates an instance of Certificate |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Certificate |
fromJson(JsonReader jsonReader)
Reads an instance of Certificate |
| String |
identity()
Get the identity property: Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity. |
| String |
keyVaultUrl()
Get the key |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Certificate |
withIdentity(String identity)
Set the identity property: Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity. |
|
Certificate |
withKeyVaultUrl(String keyVaultUrl)
Set the key |
Methods inherited from java.lang.Object
Constructor Details
CertificateKeyVaultProperties
public CertificateKeyVaultProperties()
Creates an instance of CertificateKeyVaultProperties class.
Method Details
fromJson
public static CertificateKeyVaultProperties fromJson(JsonReader jsonReader)
Reads an instance of CertificateKeyVaultProperties from the JsonReader.
Parameters:
Returns:
Throws:
identity
public String identity()
Get the identity property: Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
Returns:
keyVaultUrl
public String keyVaultUrl()
Get the keyVaultUrl property: URL pointing to the Azure Key Vault secret that holds the certificate.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIdentity
public CertificateKeyVaultProperties withIdentity(String identity)
Set the identity property: Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
Parameters:
Returns:
withKeyVaultUrl
public CertificateKeyVaultProperties withKeyVaultUrl(String keyVaultUrl)
Set the keyVaultUrl property: URL pointing to the Azure Key Vault secret that holds the certificate.
Parameters:
Returns: