Class ManagedEnvironmentPropertiesPeerAuthentication
java.lang.Object
com.azure.resourcemanager.appcontainers.models.ManagedEnvironmentPropertiesPeerAuthentication
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ManagedEnvironmentPropertiesPeerAuthentication>
public final class ManagedEnvironmentPropertiesPeerAuthentication
extends Object
implements com.azure.json.JsonSerializable<ManagedEnvironmentPropertiesPeerAuthentication>
Peer authentication settings for the Managed Environment.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedEnvironmentPropertiesPeerAuthentication class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ManagedEnvironmentPropertiesPeerAuthentication from the JsonReader.mtls()
Get the mtls property: Mutual TLS authentication settings for the Managed Environment.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.Set the mtls property: Mutual TLS authentication settings for the Managed Environment.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ManagedEnvironmentPropertiesPeerAuthentication
public ManagedEnvironmentPropertiesPeerAuthentication()Creates an instance of ManagedEnvironmentPropertiesPeerAuthentication class.
-
-
Method Details
-
mtls
Get the mtls property: Mutual TLS authentication settings for the Managed Environment.- Returns:
- the mtls value.
-
withMtls
Set the mtls property: Mutual TLS authentication settings for the Managed Environment.- Parameters:
mtls
- the mtls value to set.- Returns:
- the ManagedEnvironmentPropertiesPeerAuthentication object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<ManagedEnvironmentPropertiesPeerAuthentication>
- Throws:
IOException
-
fromJson
public static ManagedEnvironmentPropertiesPeerAuthentication fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ManagedEnvironmentPropertiesPeerAuthentication from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of ManagedEnvironmentPropertiesPeerAuthentication 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 ManagedEnvironmentPropertiesPeerAuthentication.
-