Class IstioCertificateAuthority
java.lang.Object
com.azure.resourcemanager.containerservice.models.IstioCertificateAuthority
- All Implemented Interfaces:
com.azure.json.JsonSerializable<IstioCertificateAuthority>
public final class IstioCertificateAuthority
extends Object
implements com.azure.json.JsonSerializable<IstioCertificateAuthority>
Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as
described here https://aka.ms/asm-plugin-ca.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of IstioCertificateAuthority class. -
Method Summary
Modifier and TypeMethodDescriptionstatic IstioCertificateAuthorityfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of IstioCertificateAuthority from the JsonReader.plugin()Get the plugin property: Plugin certificates information for Service Mesh.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Set the plugin property: Plugin certificates information for Service Mesh.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
IstioCertificateAuthority
public IstioCertificateAuthority()Creates an instance of IstioCertificateAuthority class.
-
-
Method Details
-
plugin
Get the plugin property: Plugin certificates information for Service Mesh.- Returns:
- the plugin value.
-
withPlugin
Set the plugin property: Plugin certificates information for Service Mesh.- Parameters:
plugin- the plugin value to set.- Returns:
- the IstioCertificateAuthority object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<IstioCertificateAuthority>- Throws:
IOException
-
fromJson
public static IstioCertificateAuthority fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of IstioCertificateAuthority from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of IstioCertificateAuthority if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the IstioCertificateAuthority.
-