Class AdvancedNetworking
java.lang.Object
com.azure.resourcemanager.containerservice.models.AdvancedNetworking
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AdvancedNetworking>
public final class AdvancedNetworking
extends Object
implements com.azure.json.JsonSerializable<AdvancedNetworking>
Advanced Networking profile for enabling observability and security feature suite on a cluster. For more information
see aka.ms/aksadvancednetworking.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionenabled()Get the enabled property: Indicates the enablement of Advanced Networking functionalities of observability and security on AKS clusters.static AdvancedNetworkingfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AdvancedNetworking from the JsonReader.Get the observability property: Observability profile to enable advanced network metrics and flow logs with historical contexts.security()Get the security property: Security profile to enable security features on cilium based cluster.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withEnabled(Boolean enabled) Set the enabled property: Indicates the enablement of Advanced Networking functionalities of observability and security on AKS clusters.withObservability(AdvancedNetworkingObservability observability) Set the observability property: Observability profile to enable advanced network metrics and flow logs with historical contexts.withSecurity(AdvancedNetworkingSecurity security) Set the security property: Security profile to enable security features on cilium based cluster.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
-
AdvancedNetworking
public AdvancedNetworking()Creates an instance of AdvancedNetworking class.
-
-
Method Details
-
enabled
Get the enabled property: Indicates the enablement of Advanced Networking functionalities of observability and security on AKS clusters. When this is set to true, all observability and security features will be set to enabled unless explicitly disabled. If not specified, the default is false.- Returns:
- the enabled value.
-
withEnabled
Set the enabled property: Indicates the enablement of Advanced Networking functionalities of observability and security on AKS clusters. When this is set to true, all observability and security features will be set to enabled unless explicitly disabled. If not specified, the default is false.- Parameters:
enabled- the enabled value to set.- Returns:
- the AdvancedNetworking object itself.
-
observability
Get the observability property: Observability profile to enable advanced network metrics and flow logs with historical contexts.- Returns:
- the observability value.
-
withObservability
Set the observability property: Observability profile to enable advanced network metrics and flow logs with historical contexts.- Parameters:
observability- the observability value to set.- Returns:
- the AdvancedNetworking object itself.
-
security
Get the security property: Security profile to enable security features on cilium based cluster.- Returns:
- the security value.
-
withSecurity
Set the security property: Security profile to enable security features on cilium based cluster.- Parameters:
security- the security value to set.- Returns:
- the AdvancedNetworking 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<AdvancedNetworking>- Throws:
IOException
-
fromJson
Reads an instance of AdvancedNetworking from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AdvancedNetworking 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 AdvancedNetworking.
-