Interface Pool.UpdateStages.WithAttach
- All Known Subinterfaces:
Pool.Update
- Enclosing interface:
- Pool.UpdateStages
public static interface Pool.UpdateStages.WithAttach
The stage of a Batch pool update allowing the creation of configurations.
-
Method Summary
Modifier and TypeMethodDescriptionwithApplicationLicenses
(List<String> applicationLicenses) Specifies the list of application licenses.withApplicationPackages
(List<ApplicationPackageReference> applicationPackages) Specifies the application package references affect all new compute nodes joining the pool.withCertificates
(List<CertificateReference> certificates) Specifies the certificates for compute nodes.withDeploymentConfiguration
(DeploymentConfiguration deploymentConfiguration) Specifies the creation of nodes using CloudServiceConfiguration/VirtualMachineConfiguration.withDisplayName
(String displayName) Specifies the display name for the pool.withInterNodeCommunication
(InterNodeCommunicationState interNodeCommunication) Specifies the restrictions on which nodes can be assigned to the pool.withMaxTasksPerNode
(Integer maxTasksPerNode) Deprecated.withMetadata
(List<MetadataItem> metadata) Specifies the metadata for the use of user code.withMountConfiguration
(List<MountConfiguration> mountConfigurations) Specifies the file system configuration for the pool to mount on each node.withNetworkConfiguration
(NetworkConfiguration networkConfiguration) Specifies the network configuration for the pool.withScaleSettings
(ScaleSettings scaleSettings) Specifies the scale settings for the pool.withStartTask
(StartTask startTask) Specifies the start task for the pool.withTaskSchedulingPolicy
(TaskSchedulingPolicy taskSchedulingPolicy) Specifies the task scheduling policy.withTaskSlotsPerNode
(Integer taskSlotsPerNode) Specifies the number of task slots that can be used to run concurrent tasks on a single compute node in the pool.withUserAccounts
(List<UserAccount> userAccounts) Specifies the user accounts value.withVmSize
(String vmSize) Specifies the available sizes of virtual machine for Cloud Services pools.
-
Method Details
-
withNetworkConfiguration
Specifies the network configuration for the pool.- Parameters:
networkConfiguration
- network configuration value- Returns:
- the next stage of the update
-
withMountConfiguration
Specifies the file system configuration for the pool to mount on each node.- Parameters:
mountConfigurations
- mount configuration value- Returns:
- the next stage of the update
-
withScaleSettings
Specifies the scale settings for the pool.- Parameters:
scaleSettings
- scale settings value- Returns:
- the next stage of the update
-
withStartTask
Specifies the start task for the pool.- Parameters:
startTask
- start task value- Returns:
- the next stage of the update
-
withMetadata
Specifies the metadata for the use of user code.- Parameters:
metadata
- metadata value- Returns:
- the next stage of the update
-
withApplicationPackages
Specifies the application package references affect all new compute nodes joining the pool.- Parameters:
applicationPackages
- applicationPackages value- Returns:
- the next stage of the update
-
withCertificates
Specifies the certificates for compute nodes.- Parameters:
certificates
- certificates value- Returns:
- the next stage of the update
-
withVmSize
Specifies the available sizes of virtual machine for Cloud Services pools.- Parameters:
vmSize
- vmSize value- Returns:
- the next stage of the update
-
withDeploymentConfiguration
Specifies the creation of nodes using CloudServiceConfiguration/VirtualMachineConfiguration.- Parameters:
deploymentConfiguration
- deploymentConfiguration value- Returns:
- the next stage of the update
-
withDisplayName
Specifies the display name for the pool.- Parameters:
displayName
- displayName value- Returns:
- the next stage of the update
-
withInterNodeCommunication
Specifies the restrictions on which nodes can be assigned to the pool.- Parameters:
interNodeCommunication
- interNodeCommunication value- Returns:
- the next stage of the update
-
withMaxTasksPerNode
Deprecated.Specifies the maximum value of tasks to run on each node.- Parameters:
maxTasksPerNode
- maxTasksPerNode value- Returns:
- the next stage of the update
-
withTaskSlotsPerNode
Specifies the number of task slots that can be used to run concurrent tasks on a single compute node in the pool. The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256.- Parameters:
taskSlotsPerNode
- the number of task slots- Returns:
- the next stage of the update
-
withTaskSchedulingPolicy
Specifies the task scheduling policy.- Parameters:
taskSchedulingPolicy
- taskSchedulingPolicy value- Returns:
- the next stage of the update
-
withUserAccounts
Specifies the user accounts value.- Parameters:
userAccounts
- userAccounts value- Returns:
- the next stage of the update
-
withApplicationLicenses
Specifies the list of application licenses.- Parameters:
applicationLicenses
- applicationLicenses value- Returns:
- the next stage of the update
-