Enum IPAddressProvisioningType
- java.lang.Object
-
- java.lang.Enum<IPAddressProvisioningType>
-
- com.microsoft.azure.batch.protocol.models.IPAddressProvisioningType
-
- All Implemented Interfaces:
Serializable
,Comparable<IPAddressProvisioningType>
public enum IPAddressProvisioningType extends Enum<IPAddressProvisioningType>
Defines values for IPAddressProvisioningType.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BATCH_MANAGED
A public IP will be created and managed by Batch.NO_PUBLIC_IPADDRESSES
No public IP Address will be created.USER_MANAGED
Public IPs are provided by the user and will be used to provision the Compute Nodes.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IPAddressProvisioningType
fromString(String value)
Parses a serialized value to a IPAddressProvisioningType instance.String
toString()
static IPAddressProvisioningType
valueOf(String name)
Returns the enum constant of this type with the specified name.static IPAddressProvisioningType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BATCH_MANAGED
public static final IPAddressProvisioningType BATCH_MANAGED
A public IP will be created and managed by Batch. There may be multiple public IPs depending on the size of the Pool.
-
USER_MANAGED
public static final IPAddressProvisioningType USER_MANAGED
Public IPs are provided by the user and will be used to provision the Compute Nodes.
-
NO_PUBLIC_IPADDRESSES
public static final IPAddressProvisioningType NO_PUBLIC_IPADDRESSES
No public IP Address will be created.
-
-
Method Detail
-
values
public static IPAddressProvisioningType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IPAddressProvisioningType c : IPAddressProvisioningType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IPAddressProvisioningType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromString
public static IPAddressProvisioningType fromString(String value)
Parses a serialized value to a IPAddressProvisioningType instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed IPAddressProvisioningType object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toString
in classEnum<IPAddressProvisioningType>
-
-