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 Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedClusterManagedOutboundIpProfile class. -
Method Summary
Modifier and TypeMethodDescriptioncount()Get the count property: The desired number of outbound IPs created/managed by Azure.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ManagedClusterManagedOutboundIpProfile from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Set the count property: The desired number of outbound IPs created/managed by Azure.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
-
ManagedClusterManagedOutboundIpProfile
public ManagedClusterManagedOutboundIpProfile()Creates an instance of ManagedClusterManagedOutboundIpProfile class.
-
-
Method Details
-
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
- Specified by:
toJsonin interfacecom.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.
-