IstioCertificateAuthority Class

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

Implements

public final class IstioCertificateAuthority
implements 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

Constructor Description
IstioCertificateAuthority()

Creates an instance of IstioCertificateAuthority class.

Method Summary

Modifier and Type Method and Description
static IstioCertificateAuthority fromJson(JsonReader jsonReader)

Reads an instance of IstioCertificateAuthority from the JsonReader.

IstioPluginCertificateAuthority plugin()

Get the plugin property: Plugin certificates information for Service Mesh.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

IstioCertificateAuthority withPlugin(IstioPluginCertificateAuthority plugin)

Set the plugin property: Plugin certificates information for Service Mesh.

Methods inherited from java.lang.Object

Constructor Details

IstioCertificateAuthority

public IstioCertificateAuthority()

Creates an instance of IstioCertificateAuthority class.

Method Details

fromJson

public static IstioCertificateAuthority fromJson(JsonReader jsonReader)

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.

plugin

public IstioPluginCertificateAuthority plugin()

Get the plugin property: Plugin certificates information for Service Mesh.

Returns:

the plugin value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPlugin

public IstioCertificateAuthority withPlugin(IstioPluginCertificateAuthority plugin)

Set the plugin property: Plugin certificates information for Service Mesh.

Parameters:

plugin - the plugin value to set.

Returns:

the IstioCertificateAuthority object itself.

Applies to