Class ManagedClusterManagedOutboundIpProfile

java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterManagedOutboundIpProfile
All Implemented Interfaces:
com.azure.json.JsonSerializable<ManagedClusterManagedOutboundIpProfile>

public final class ManagedClusterManagedOutboundIpProfile extends Object implements com.azure.json.JsonSerializable<ManagedClusterManagedOutboundIpProfile>
Profile of the managed outbound IP resources of the managed cluster.
  • Constructor Details

    • ManagedClusterManagedOutboundIpProfile

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

    • count

      public Integer count()
      Get the count property: The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1.
      Returns:
      the count value.
    • withCount

      Set the count property: The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1.
      Parameters:
      count - the count value to set.
      Returns:
      the ManagedClusterManagedOutboundIpProfile 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<ManagedClusterManagedOutboundIpProfile>
      Throws:
      IOException
    • fromJson

      public static ManagedClusterManagedOutboundIpProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ManagedClusterManagedOutboundIpProfile from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ManagedClusterManagedOutboundIpProfile 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 ManagedClusterManagedOutboundIpProfile.