Pool.DefinitionStages.WithAttach<ParentT> Interface

Type Parameters

ParentT

the stage of the parent Batch account definition to return to after attaching this definition

Implements

InDefinition<ParentT>

public static interface Pool.DefinitionStages.WithAttach
extends InDefinition<ParentT>

The stage of a Batch pool definition that allows the creation of a pool.

Method Summary

Modifier and Type Method and Description
abstract WithAttach<ParentT> withApplicationLicenses(List<String> applicationLicenses)

Specifies the list of application licenses.

abstract WithAttach<ParentT> withApplicationPackages(List<ApplicationPackageReference> applicationPackages)

Specifies the application package references affect all new compute nodes joining the pool.

abstract WithAttach<ParentT> withCertificates(List<CertificateReference> certificates)

Specifies the certificates for compute nodes.

abstract WithAttach<ParentT> withDeploymentConfiguration(DeploymentConfiguration deploymentConfiguration)

Specifies the creation of nodes using CloudServiceConfiguration/VirtualMachineConfiguration.

abstract WithAttach<ParentT> withDisplayName(String displayName)

Specifies the display name for the pool.

abstract WithAttach<ParentT> withInterNodeCommunication(InterNodeCommunicationState interNodeCommunication)

Specifies the restrictions on which nodes can be assigned to the pool.

abstract WithAttach<ParentT> withMaxTasksPerNode(Integer maxTasksPerNode)

Specifies the maximum value of tasks to run on each node.

abstract WithAttach<ParentT> withMetadata(List<MetadataItem> metadata)

Specifies the metadata for the use of user code.

abstract WithAttach<ParentT> withMountConfiguration(List<MountConfiguration> mountConfigurations)

Specifies the file system configuration for the pool to mount on each node.

abstract WithAttach<ParentT> withNetworkConfiguration(NetworkConfiguration networkConfiguration)

Specifies the network configuration for the pool.

abstract WithAttach<ParentT> withScaleSettings(ScaleSettings scaleSettings)

Specifies the scale settings for the pool.

abstract WithAttach<ParentT> withStartTask(StartTask startTask)

Specifies the start task for the pool.

abstract WithAttach<ParentT> withTaskSchedulingPolicy(TaskSchedulingPolicy taskSchedulingPolicy)

Specifies the task scheduling policy.

abstract WithAttach<ParentT> 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.

abstract WithAttach<ParentT> withUserAccounts(List<UserAccount> userAccounts)

Specifies the user accounts value.

abstract WithAttach<ParentT> withVmSize(String vmSize)

Specifies the available sizes of virtual machine for Cloud Services pools.

Method Details

withApplicationLicenses

public abstract Pool.DefinitionStages.WithAttach withApplicationLicenses(List applicationLicenses)

Specifies the list of application licenses.

Parameters:

applicationLicenses - applicationLicenses value

Returns:

the next stage of the definition

withApplicationPackages

public abstract Pool.DefinitionStages.WithAttach withApplicationPackages(List applicationPackages)

Specifies the application package references affect all new compute nodes joining the pool.

Parameters:

applicationPackages - applicationPackages value

Returns:

the next stage of the definition

withCertificates

public abstract Pool.DefinitionStages.WithAttach withCertificates(List certificates)

Specifies the certificates for compute nodes.

Parameters:

certificates - certificates value

Returns:

the next stage of the definition

withDeploymentConfiguration

public abstract Pool.DefinitionStages.WithAttach withDeploymentConfiguration(DeploymentConfiguration deploymentConfiguration)

Specifies the creation of nodes using CloudServiceConfiguration/VirtualMachineConfiguration.

Parameters:

deploymentConfiguration - deploymentConfiguration value

Returns:

the next stage of the definition

withDisplayName

public abstract Pool.DefinitionStages.WithAttach withDisplayName(String displayName)

Specifies the display name for the pool.

Parameters:

displayName - displayName value

Returns:

the next stage of the definition

withInterNodeCommunication

public abstract Pool.DefinitionStages.WithAttach withInterNodeCommunication(InterNodeCommunicationState interNodeCommunication)

Specifies the restrictions on which nodes can be assigned to the pool.

Parameters:

interNodeCommunication - interNodeCommunication value

Returns:

the next stage of the definition

withMaxTasksPerNode


public abstract Pool.DefinitionStages.WithAttach withMaxTasksPerNode(Integer maxTasksPerNode)

Specifies the maximum value of tasks to run on each node.

Parameters:

maxTasksPerNode - maxTasksPerNode value

Returns:

the next stage of the definition

withMetadata

public abstract Pool.DefinitionStages.WithAttach withMetadata(List metadata)

Specifies the metadata for the use of user code.

Parameters:

metadata - metadata value

Returns:

the next stage of the definition

withMountConfiguration

public abstract Pool.DefinitionStages.WithAttach withMountConfiguration(List mountConfigurations)

Specifies the file system configuration for the pool to mount on each node.

Parameters:

mountConfigurations - mount configuration value

Returns:

the next stage of the definition

withNetworkConfiguration

public abstract Pool.DefinitionStages.WithAttach withNetworkConfiguration(NetworkConfiguration networkConfiguration)

Specifies the network configuration for the pool.

Parameters:

networkConfiguration - network configuration value

Returns:

the next stage of the definition

withScaleSettings

public abstract Pool.DefinitionStages.WithAttach withScaleSettings(ScaleSettings scaleSettings)

Specifies the scale settings for the pool.

Parameters:

scaleSettings - scale settings value

Returns:

the next stage of the definition

withStartTask

public abstract Pool.DefinitionStages.WithAttach withStartTask(StartTask startTask)

Specifies the start task for the pool.

Parameters:

startTask - start task value

Returns:

the next stage of the definition

withTaskSchedulingPolicy

public abstract Pool.DefinitionStages.WithAttach withTaskSchedulingPolicy(TaskSchedulingPolicy taskSchedulingPolicy)

Specifies the task scheduling policy.

Parameters:

taskSchedulingPolicy - taskSchedulingPolicy value

Returns:

the next stage of the definition

withTaskSlotsPerNode

public abstract Pool.DefinitionStages.WithAttach 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:

taskSlotsPerNode - the number of task slots

Returns:

the next stage of the definition

withUserAccounts

public abstract Pool.DefinitionStages.WithAttach withUserAccounts(List userAccounts)

Specifies the user accounts value.

Parameters:

userAccounts - userAccounts value

Returns:

the next stage of the definition

withVmSize

public abstract Pool.DefinitionStages.WithAttach withVmSize(String vmSize)

Specifies the available sizes of virtual machine for Cloud Services pools.

Parameters:

vmSize - vmSize value

Returns:

the next stage of the definition

Applies to