IstioServiceMesh Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.IstioServiceMesh

Implements

public final class IstioServiceMesh
implements JsonSerializable<IstioServiceMesh>

Istio service mesh configuration.

Constructor Summary

Constructor Description
IstioServiceMesh()

Creates an instance of IstioServiceMesh class.

Method Summary

Modifier and Type Method and Description
IstioCertificateAuthority certificateAuthority()

Get the certificateAuthority property: Istio Service Mesh Certificate Authority (CA) configuration.

IstioComponents components()

Get the components property: Istio components configuration.

static IstioServiceMesh fromJson(JsonReader jsonReader)

Reads an instance of IstioServiceMesh from the JsonReader.

List<String> revisions()

Get the revisions property: The list of revisions of the Istio control plane.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

IstioServiceMesh withCertificateAuthority(IstioCertificateAuthority certificateAuthority)

Set the certificateAuthority property: Istio Service Mesh Certificate Authority (CA) configuration.

IstioServiceMesh withComponents(IstioComponents components)

Set the components property: Istio components configuration.

IstioServiceMesh withRevisions(List<String> revisions)

Set the revisions property: The list of revisions of the Istio control plane.

Methods inherited from java.lang.Object

Constructor Details

IstioServiceMesh

public IstioServiceMesh()

Creates an instance of IstioServiceMesh class.

Method Details

certificateAuthority

public IstioCertificateAuthority 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.

components

public IstioComponents components()

Get the components property: Istio components configuration.

Returns:

the components value.

fromJson

public static IstioServiceMesh fromJson(JsonReader jsonReader)

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.

revisions

public List 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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCertificateAuthority

public IstioServiceMesh withCertificateAuthority(IstioCertificateAuthority certificateAuthority)

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.

withComponents

public IstioServiceMesh withComponents(IstioComponents components)

Set the components property: Istio components configuration.

Parameters:

components - the components value to set.

Returns:

the IstioServiceMesh object itself.

withRevisions

public IstioServiceMesh withRevisions(List revisions)

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.

Applies to