Pool.UpdateStages.WithAttach Interface
public interface WithAttach
The stage of a Batch pool update allowing the creation of configurations.
Method Summary
Modifier and Type | Method and Description |
---|---|
Pool. |
withApplicationLicenses(List<String> applicationLicenses)
Specifies the list of application licenses. |
Pool. |
withApplicationPackages(List<ApplicationPackageReference> applicationPackages)
Specifies the application package references affect all new compute nodes joining the pool. |
Pool. |
withCertificates(List<CertificateReference> certificates)
Specifies the certificates for compute nodes. |
Pool. |
withDeploymentConfiguration(DeploymentConfiguration deploymentConfiguration)
Specifies the creation of nodes using CloudServiceConfiguration/VirtualMachineConfiguration. |
Pool. |
withDisplayName(String displayName)
Specifies the display name for the pool. |
Pool. |
withInterNodeCommunication(InterNodeCommunicationState interNodeCommunication)
Specifies the restrictions on which nodes can be assigned to the pool. |
Pool. |
withMaxTasksPerNode(Integer maxTasksPerNode)
Specifies the maximum value of tasks to run on each node. |
Pool. |
withMetadata(List<MetadataItem> metadata)
Specifies the metadata for the use of user code. |
Pool. |
withMountConfiguration(List<MountConfiguration> mountConfigurations)
Specifies the file system configuration for the pool to mount on each node. |
Pool. |
withNetworkConfiguration(NetworkConfiguration networkConfiguration)
Specifies the network configuration for the pool. |
Pool. |
withScaleSettings(ScaleSettings scaleSettings)
Specifies the scale settings for the pool. |
Pool. |
withStartTask(StartTask startTask)
Specifies the start task for the pool. |
Pool. |
withTaskSchedulingPolicy(TaskSchedulingPolicy taskSchedulingPolicy)
Specifies the task scheduling policy. |
Pool. |
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. 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. |
Pool. |
withUserAccounts(List<UserAccount> userAccounts)
Specifies the user accounts value. |
Pool. |
withVmSize(String vmSize)
Specifies the available sizes of virtual machine for Cloud Services pools. |
Method Details
withApplicationLicenses
public Update withApplicationLicenses(List
Specifies the list of application licenses.
Parameters:
Returns:
withApplicationPackages
public Update withApplicationPackages(List
Specifies the application package references affect all new compute nodes joining the pool.
Parameters:
Returns:
withCertificates
public Update withCertificates(List
Specifies the certificates for compute nodes.
Parameters:
Returns:
withDeploymentConfiguration
public Update withDeploymentConfiguration(DeploymentConfiguration deploymentConfiguration)
Specifies the creation of nodes using CloudServiceConfiguration/VirtualMachineConfiguration.
Parameters:
Returns:
withDisplayName
public Update withDisplayName(String displayName)
Specifies the display name for the pool.
Parameters:
Returns:
withInterNodeCommunication
public Update withInterNodeCommunication(InterNodeCommunicationState interNodeCommunication)
Specifies the restrictions on which nodes can be assigned to the pool.
Parameters:
Returns:
withMaxTasksPerNode
public Update withMaxTasksPerNode(Integer maxTasksPerNode)
Specifies the maximum value of tasks to run on each node.
Parameters:
Returns:
withMetadata
public Update withMetadata(List
Specifies the metadata for the use of user code.
Parameters:
Returns:
withMountConfiguration
public Update withMountConfiguration(List
Specifies the file system configuration for the pool to mount on each node.
Parameters:
Returns:
withNetworkConfiguration
public Update withNetworkConfiguration(NetworkConfiguration networkConfiguration)
Specifies the network configuration for the pool.
Parameters:
Returns:
withScaleSettings
public Update withScaleSettings(ScaleSettings scaleSettings)
Specifies the scale settings for the pool.
Parameters:
Returns:
withStartTask
public Update withStartTask(StartTask startTask)
Specifies the start task for the pool.
Parameters:
Returns:
withTaskSchedulingPolicy
public Update withTaskSchedulingPolicy(TaskSchedulingPolicy taskSchedulingPolicy)
Specifies the task scheduling policy.
Parameters:
Returns:
withTaskSlotsPerNode
public Update 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. 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:
Returns:
withUserAccounts
public Update withUserAccounts(List
Specifies the user accounts value.
Parameters:
Returns:
withVmSize
public Update withVmSize(String vmSize)
Specifies the available sizes of virtual machine for Cloud Services pools.
Parameters:
Returns:
Applies to
Azure SDK for Java