Package com.azure.compute.batch.models
Class BatchNodeCommunicationMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<BatchNodeCommunicationMode>
com.azure.compute.batch.models.BatchNodeCommunicationMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class BatchNodeCommunicationMode
extends com.azure.core.util.ExpandableStringEnum<BatchNodeCommunicationMode>
BatchNodeCommunicationMode enums.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BatchNodeCommunicationMode
Nodes using the classic communication mode require inbound TCP communication on ports 29876 and 29877 from the "BatchNodeManagement.static final BatchNodeCommunicationMode
The node communication mode is automatically set by the Batch service.static final BatchNodeCommunicationMode
Nodes using the simplified communication mode require outbound TCP communication on port 443 to the "BatchNodeManagement. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BatchNodeCommunicationMode
fromString
(String name) Creates or finds a BatchNodeCommunicationMode from its string representation.static Collection
<BatchNodeCommunicationMode> values()
Gets known BatchNodeCommunicationMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
DEFAULT
The node communication mode is automatically set by the Batch service. -
CLASSIC
Nodes using the classic communication mode require inbound TCP communication on ports 29876 and 29877 from the "BatchNodeManagement.{region}" service tag and outbound TCP communication on port 443 to the "Storage.region" and "BatchNodeManagement.{region}" service tags. -
SIMPLIFIED
Nodes using the simplified communication mode require outbound TCP communication on port 443 to the "BatchNodeManagement.{region}" service tag. No open inbound ports are required.
-
-
Constructor Details
-
BatchNodeCommunicationMode
Deprecated.Use thefromString(String)
factory method.Creates a new instance of BatchNodeCommunicationMode value.
-
-
Method Details
-
fromString
Creates or finds a BatchNodeCommunicationMode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding BatchNodeCommunicationMode.
-
values
Gets known BatchNodeCommunicationMode values.- Returns:
- known BatchNodeCommunicationMode values.
-
fromString(String)
factory method.