PoolImpl Class
- java.
lang. Object - com.
microsoft. azure. management. resources. fluentcore. arm. models. implementation. ExternalChildResourceImpl<Pool, PoolInner, BatchAccountImpl, BatchAccount> - com.
microsoft. azure. management. batch. implementation. PoolImpl
- com.
- com.
public class PoolImpl implements Pool,Pool.Definition<BatchAccount.DefinitionStages.WithPool>,Pool.UpdateDefinition<BatchAccount.Update>,Pool.Update
Implementation for BatchAccount Pool and its parent interfaces.
Constructor Summary
Constructor | Description | |
---|---|---|
PoolImpl(String name, BatchAccountImpl batchAccount, PoolInner inner) |
Method Summary
Inherited Members
Constructor Details
PoolImpl
protected PoolImpl(String name, BatchAccountImpl batchAccount, PoolInner inner)
Parameters:
Method Details
applicationLicenses
public List
Overrides:
PoolImpl.applicationLicenses()Returns:
applicationPackages
public List
Overrides:
PoolImpl.applicationPackages()Returns:
attach
public BatchAccountImpl attach()
certificates
public List
Overrides:
PoolImpl.certificates()Returns:
createResourceAsync
public Observable
deleteResourceAsync
public Observable
deploymentConfiguration
public DeploymentConfiguration deploymentConfiguration()
Overrides:
PoolImpl.deploymentConfiguration()Returns:
displayName
public String displayName()
Overrides:
PoolImpl.displayName()Returns:
getInnerAsync
protected Observable
id
public String id()
Overrides:
PoolImpl.id()Returns:
interNodeCommunication
public InterNodeCommunicationState interNodeCommunication()
Overrides:
PoolImpl.interNodeCommunication()Returns:
maxTasksPerNode
public Integer maxTasksPerNode()
Overrides:
PoolImpl.maxTasksPerNode()Returns:
metadata
public List
Overrides:
PoolImpl.metadata()Returns:
mountConfiguration
public List
Overrides:
PoolImpl.mountConfiguration()Returns:
networkConfiguration
public NetworkConfiguration networkConfiguration()
Overrides:
PoolImpl.networkConfiguration()Returns:
newPool
protected static PoolImpl newPool(String name, BatchAccountImpl parent)
Parameters:
refreshAsync
public Observable
Refreshes the resource to sync with Azure.
Overrides:
PoolImpl.refreshAsync()Returns:
scaleSettings
public ScaleSettings scaleSettings()
Overrides:
PoolImpl.scaleSettings()Returns:
startTask
public StartTask startTask()
Overrides:
PoolImpl.startTask()Returns:
taskSchedulingPolicy
public TaskSchedulingPolicy taskSchedulingPolicy()
Overrides:
PoolImpl.taskSchedulingPolicy()Returns:
taskSlotsPerNode
public Integer taskSlotsPerNode()
Overrides:
PoolImpl.taskSlotsPerNode()Returns:
updateResourceAsync
public Observable
userAccounts
public List
Overrides:
PoolImpl.userAccounts()Returns:
vmSize
public String vmSize()
Overrides:
PoolImpl.vmSize()Returns:
withApplicationLicenses
public PoolImpl withApplicationLicenses(List
Specifies the list of application licenses.
Overrides:
PoolImpl.withApplicationLicenses(List<String> applicationLicenses)Parameters:
Returns:
withApplicationPackages
public PoolImpl withApplicationPackages(List
Specifies the application package references affect all new compute nodes joining the pool.
Overrides:
PoolImpl.withApplicationPackages(List<ApplicationPackageReference> applicationPackages)Parameters:
Returns:
withCertificates
public PoolImpl withCertificates(List
Specifies the certificates for compute nodes.
Overrides:
PoolImpl.withCertificates(List<CertificateReference> certificates)Parameters:
Returns:
withDeploymentConfiguration
public PoolImpl withDeploymentConfiguration(DeploymentConfiguration deploymentConfiguration)
Specifies the creation of nodes using CloudServiceConfiguration/VirtualMachineConfiguration.
Overrides:
PoolImpl.withDeploymentConfiguration(DeploymentConfiguration deploymentConfiguration)Parameters:
Returns:
withDisplayName
public PoolImpl withDisplayName(String displayName)
Specifies the display name for the pool.
Overrides:
PoolImpl.withDisplayName(String displayName)Parameters:
Returns:
withInterNodeCommunication
public PoolImpl withInterNodeCommunication(InterNodeCommunicationState interNodeCommunication)
Specifies the restrictions on which nodes can be assigned to the pool.
Overrides:
PoolImpl.withInterNodeCommunication(InterNodeCommunicationState interNodeCommunication)Parameters:
Returns:
withMaxTasksPerNode
public PoolImpl withMaxTasksPerNode(Integer maxTasksPerNode)
Specifies the maximum value of tasks to run on each node.
Overrides:
PoolImpl.withMaxTasksPerNode(Integer maxTasksPerNode)Parameters:
Returns:
withMetadata
public PoolImpl withMetadata(List
Specifies the metadata for the use of user code.
Overrides:
PoolImpl.withMetadata(List<MetadataItem> metadata)Parameters:
Returns:
withMountConfiguration
public PoolImpl withMountConfiguration(List
Specifies the file system configuration for the pool to mount on each node.
Overrides:
PoolImpl.withMountConfiguration(List<MountConfiguration> mountConfigurations)Parameters:
Returns:
withNetworkConfiguration
public PoolImpl withNetworkConfiguration(NetworkConfiguration networkConfiguration)
Specifies the network configuration for the pool.
Overrides:
PoolImpl.withNetworkConfiguration(NetworkConfiguration networkConfiguration)Parameters:
Returns:
withScaleSettings
public PoolImpl withScaleSettings(ScaleSettings scaleSettings)
Specifies the scale settings for the pool.
Overrides:
PoolImpl.withScaleSettings(ScaleSettings scaleSettings)Parameters:
Returns:
withStartTask
public PoolImpl withStartTask(StartTask startTask)
Specifies the start task for the pool.
Overrides:
PoolImpl.withStartTask(StartTask startTask)Parameters:
Returns:
withTaskSchedulingPolicy
public PoolImpl withTaskSchedulingPolicy(TaskSchedulingPolicy taskSchedulingPolicy)
Specifies the task scheduling policy.
Overrides:
PoolImpl.withTaskSchedulingPolicy(TaskSchedulingPolicy taskSchedulingPolicy)Parameters:
Returns:
withTaskSlotsPerNode
public PoolImpl 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.
Overrides:
PoolImpl.withTaskSlotsPerNode(Integer taskSlotsPerNode)Parameters:
Returns:
withUserAccounts
public PoolImpl withUserAccounts(List
Specifies the user accounts value.
Overrides:
PoolImpl.withUserAccounts(List<UserAccount> userAccounts)Parameters:
Returns:
withVmSize
public PoolImpl withVmSize(String vmSize)
Specifies the available sizes of virtual machine for Cloud Services pools.
Overrides:
PoolImpl.withVmSize(String vmSize)Parameters:
Returns:
Applies to
Azure SDK for Java