Class IstioServiceMesh
java.lang.Object
com.azure.resourcemanager.containerservice.models.IstioServiceMesh
- All Implemented Interfaces:
com.azure.json.JsonSerializable<IstioServiceMesh>
public final class IstioServiceMesh
extends Object
implements com.azure.json.JsonSerializable<IstioServiceMesh>
Istio service mesh configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the certificateAuthority property: Istio Service Mesh Certificate Authority (CA) configuration.Get the components property: Istio components configuration.static IstioServiceMeshfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of IstioServiceMesh from the JsonReader.Get the revisions property: The list of revisions of the Istio control plane.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withCertificateAuthority(IstioCertificateAuthority certificateAuthority) Set the certificateAuthority property: Istio Service Mesh Certificate Authority (CA) configuration.withComponents(IstioComponents components) Set the components property: Istio components configuration.withRevisions(List<String> revisions) Set the revisions property: The list of revisions of the Istio control plane.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
-
IstioServiceMesh
public IstioServiceMesh()Creates an instance of IstioServiceMesh class.
-
-
Method Details
-
components
Get the components property: Istio components configuration.- Returns:
- the components value.
-
withComponents
Set the components property: Istio components configuration.- Parameters:
components- the components value to set.- Returns:
- the IstioServiceMesh object itself.
-
certificateAuthority
Get the certificateAuthority property: Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca.- Returns:
- the certificateAuthority value.
-
withCertificateAuthority
Set the certificateAuthority property: Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca.- Parameters:
certificateAuthority- the certificateAuthority value to set.- Returns:
- the IstioServiceMesh object itself.
-
revisions
Get the revisions property: The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade.- Returns:
- the revisions value.
-
withRevisions
Set the revisions property: The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade.- Parameters:
revisions- the revisions value to set.- Returns:
- the IstioServiceMesh 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<IstioServiceMesh>- Throws:
IOException
-
fromJson
Reads an instance of IstioServiceMesh from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of IstioServiceMesh 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 IstioServiceMesh.
-