Class AgentPoolWindowsProfile
java.lang.Object
com.azure.resourcemanager.containerservice.models.AgentPoolWindowsProfile
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AgentPoolWindowsProfile>
public final class AgentPoolWindowsProfile
extends Object
implements com.azure.json.JsonSerializable<AgentPoolWindowsProfile>
The Windows agent pool's specific profile.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AgentPoolWindowsProfile class. -
Method Summary
Modifier and TypeMethodDescriptionGet the disableOutboundNat property: The default value is false.static AgentPoolWindowsProfilefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AgentPoolWindowsProfile from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDisableOutboundNat(Boolean disableOutboundNat) Set the disableOutboundNat property: The default value is false.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
-
AgentPoolWindowsProfile
public AgentPoolWindowsProfile()Creates an instance of AgentPoolWindowsProfile class.
-
-
Method Details
-
disableOutboundNat
Get the disableOutboundNat property: The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.- Returns:
- the disableOutboundNat value.
-
withDisableOutboundNat
Set the disableOutboundNat property: The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.- Parameters:
disableOutboundNat- the disableOutboundNat value to set.- Returns:
- the AgentPoolWindowsProfile 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<AgentPoolWindowsProfile>- Throws:
IOException
-
fromJson
public static AgentPoolWindowsProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AgentPoolWindowsProfile from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AgentPoolWindowsProfile 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 AgentPoolWindowsProfile.
-