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 Details

    • AgentPoolWindowsProfile

      public AgentPoolWindowsProfile()
      Creates an instance of AgentPoolWindowsProfile class.
  • Method Details

    • disableOutboundNat

      public Boolean 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

      public AgentPoolWindowsProfile withDisableOutboundNat(Boolean disableOutboundNat)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.