PoolInner Class
- java.
lang. Object - ProxyResource
- com.
microsoft. azure. management. batch. implementation. PoolInner
- com.
public class PoolInner
Contains information about a pool.
Method Summary
Modifier and Type | Method and Description |
---|---|
Allocation |
allocationState()
Get possible values include: 'Steady', 'Resizing', 'Stopping'. |
DateTime |
allocationStateTransitionTime()
Get the allocationStateTransitionTime value. |
List<String> |
applicationLicenses()
Get the list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail. |
List<Application |
applicationPackages()
Get changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. There is a maximum of 10 application package references on any given pool. |
Auto |
autoScaleRun()
Get this property is set only if the pool automatically scales, i.e. autoScaleSettings are used. |
List<Certificate |
certificates()
Get for Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory. |
DateTime |
creationTime()
Get the creationTime value. |
Integer |
currentDedicatedNodes()
Get the currentDedicatedNodes value. |
Integer |
currentLowPriorityNodes()
Get the currentLowPriorityNodes value. |
Deployment |
deploymentConfiguration()
Get using CloudServiceConfiguration specifies that the nodes should be creating using Azure Cloud Services (PaaS), while VirtualMachineConfiguration uses Azure Virtual Machines (IaaS). |
String |
displayName()
Get the display name need not be unique and can contain any Unicode characters up to a maximum length of 1024. |
String |
etag()
Get the ETag of the resource, used for concurrency statements. |
Batch |
identity()
Get the type of identity used for the Batch Pool. |
Inter |
interNodeCommunication()
Get this imposes restrictions on which nodes can be assigned to the pool. Enabling this value can reduce the chance of the requested number of nodes to be allocated in the pool. If not specified, this value defaults to 'Disabled'. Possible values include: 'Enabled', 'Disabled'. |
DateTime |
lastModified()
Get this is the last time at which the pool level data, such as the targetDedicatedNodes or autoScaleSettings, changed. It does not factor in node-level changes such as a compute node changing state. |
List<Metadata |
metadata()
Get the Batch service does not assign any meaning to metadata; it is solely for the use of user code. |
List<Mount |
mountConfiguration()
Get this supports Azure Files, NFS, CIFS/SMB, and Blobfuse. |
Network |
networkConfiguration()
Get the networkConfiguration value. |
Pool |
provisioningState()
Get possible values include: 'Succeeded', 'Deleting'. |
DateTime |
provisioningStateTransitionTime()
Get the provisioningStateTransitionTime value. |
Resize |
resizeOperationStatus()
Get the resizeOperationStatus value. |
Scale |
scaleSettings()
Get the scaleSettings value. |
Start |
startTask()
Get in an PATCH (update) operation, this property can be set to an empty object to remove the start task from the pool. |
Task |
taskSchedulingPolicy()
Get if not specified, the default is spread. |
Integer |
taskSlotsPerNode()
Get 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. |
List<User |
userAccounts()
Get the userAccounts value. |
String |
vmSize()
Get for information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). |
Pool |
withApplicationLicenses(List<String> applicationLicenses)
Set the list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail. |
Pool |
withApplicationPackages(List<ApplicationPackageReference> applicationPackages)
Set changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. There is a maximum of 10 application package references on any given pool. |
Pool |
withCertificates(List<CertificateReference> certificates)
Set for Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory. |
Pool |
withDeploymentConfiguration(DeploymentConfiguration deploymentConfiguration)
Set using CloudServiceConfiguration specifies that the nodes should be creating using Azure Cloud Services (PaaS), while VirtualMachineConfiguration uses Azure Virtual Machines (IaaS). |
Pool |
withDisplayName(String displayName)
Set the display name need not be unique and can contain any Unicode characters up to a maximum length of 1024. |
Pool |
withIdentity(BatchPoolIdentity identity)
Set the type of identity used for the Batch Pool. |
Pool |
withInterNodeCommunication(InterNodeCommunicationState interNodeCommunication)
Set this imposes restrictions on which nodes can be assigned to the pool. Enabling this value can reduce the chance of the requested number of nodes to be allocated in the pool. If not specified, this value defaults to 'Disabled'. Possible values include: 'Enabled', 'Disabled'. |
Pool |
withMetadata(List<MetadataItem> metadata)
Set the Batch service does not assign any meaning to metadata; it is solely for the use of user code. |
Pool |
withMountConfiguration(List<MountConfiguration> mountConfiguration)
Set this supports Azure Files, NFS, CIFS/SMB, and Blobfuse. |
Pool |
withNetworkConfiguration(NetworkConfiguration networkConfiguration)
Set the networkConfiguration value. |
Pool |
withScaleSettings(ScaleSettings scaleSettings)
Set the scaleSettings value. |
Pool |
withStartTask(StartTask startTask)
Set in an PATCH (update) operation, this property can be set to an empty object to remove the start task from the pool. |
Pool |
withTaskSchedulingPolicy(TaskSchedulingPolicy taskSchedulingPolicy)
Set if not specified, the default is spread. |
Pool |
withTaskSlotsPerNode(Integer taskSlotsPerNode)
Set 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)
Set the userAccounts value. |
Pool |
withVmSize(String vmSize)
Set for information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). |
Method Details
allocationState
public AllocationState allocationState()
Get possible values include: 'Steady', 'Resizing', 'Stopping'.
Returns:
allocationStateTransitionTime
public DateTime allocationStateTransitionTime()
Get the allocationStateTransitionTime value.
Returns:
applicationLicenses
public List
Get the list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail.
Returns:
applicationPackages
public List
Get changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. There is a maximum of 10 application package references on any given pool.
Returns:
autoScaleRun
public AutoScaleRun autoScaleRun()
Get this property is set only if the pool automatically scales, i.e. autoScaleSettings are used.
Returns:
certificates
public List
Get for Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
Returns:
creationTime
public DateTime creationTime()
Get the creationTime value.
Returns:
currentDedicatedNodes
public Integer currentDedicatedNodes()
Get the currentDedicatedNodes value.
Returns:
currentLowPriorityNodes
public Integer currentLowPriorityNodes()
Get the currentLowPriorityNodes value.
Returns:
deploymentConfiguration
public DeploymentConfiguration deploymentConfiguration()
Get using CloudServiceConfiguration specifies that the nodes should be creating using Azure Cloud Services (PaaS), while VirtualMachineConfiguration uses Azure Virtual Machines (IaaS).
Returns:
displayName
public String displayName()
Get the display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
Returns:
etag
public String etag()
Get the ETag of the resource, used for concurrency statements.
Returns:
identity
public BatchPoolIdentity identity()
Get the type of identity used for the Batch Pool.
Returns:
interNodeCommunication
public InterNodeCommunicationState interNodeCommunication()
Get this imposes restrictions on which nodes can be assigned to the pool. Enabling this value can reduce the chance of the requested number of nodes to be allocated in the pool. If not specified, this value defaults to 'Disabled'. Possible values include: 'Enabled', 'Disabled'.
Returns:
lastModified
public DateTime lastModified()
Get this is the last time at which the pool level data, such as the targetDedicatedNodes or autoScaleSettings, changed. It does not factor in node-level changes such as a compute node changing state.
Returns:
metadata
public List
Get the Batch service does not assign any meaning to metadata; it is solely for the use of user code.
Returns:
mountConfiguration
public List
Get this supports Azure Files, NFS, CIFS/SMB, and Blobfuse.
Returns:
networkConfiguration
public NetworkConfiguration networkConfiguration()
Get the networkConfiguration value.
Returns:
provisioningState
public PoolProvisioningState provisioningState()
Get possible values include: 'Succeeded', 'Deleting'.
Returns:
provisioningStateTransitionTime
public DateTime provisioningStateTransitionTime()
Get the provisioningStateTransitionTime value.
Returns:
resizeOperationStatus
public ResizeOperationStatus resizeOperationStatus()
Get the resizeOperationStatus value.
Returns:
scaleSettings
public ScaleSettings scaleSettings()
Get the scaleSettings value.
Returns:
startTask
public StartTask startTask()
Get in an PATCH (update) operation, this property can be set to an empty object to remove the start task from the pool.
Returns:
taskSchedulingPolicy
public TaskSchedulingPolicy taskSchedulingPolicy()
Get if not specified, the default is spread.
Returns:
taskSlotsPerNode
public Integer taskSlotsPerNode()
Get 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.
Returns:
userAccounts
public List
Get the userAccounts value.
Returns:
vmSize
public String vmSize()
Get for information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
Returns:
withApplicationLicenses
public PoolInner withApplicationLicenses(List
Set the list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail.
Parameters:
Returns:
withApplicationPackages
public PoolInner withApplicationPackages(List
Set changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. There is a maximum of 10 application package references on any given pool.
Parameters:
Returns:
withCertificates
public PoolInner withCertificates(List
Set for Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
Parameters:
Returns:
withDeploymentConfiguration
public PoolInner withDeploymentConfiguration(DeploymentConfiguration deploymentConfiguration)
Set using CloudServiceConfiguration specifies that the nodes should be creating using Azure Cloud Services (PaaS), while VirtualMachineConfiguration uses Azure Virtual Machines (IaaS).
Parameters:
Returns:
withDisplayName
public PoolInner withDisplayName(String displayName)
Set the display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
Parameters:
Returns:
withIdentity
public PoolInner withIdentity(BatchPoolIdentity identity)
Set the type of identity used for the Batch Pool.
Parameters:
Returns:
withInterNodeCommunication
public PoolInner withInterNodeCommunication(InterNodeCommunicationState interNodeCommunication)
Set this imposes restrictions on which nodes can be assigned to the pool. Enabling this value can reduce the chance of the requested number of nodes to be allocated in the pool. If not specified, this value defaults to 'Disabled'. Possible values include: 'Enabled', 'Disabled'.
Parameters:
Returns:
withMetadata
public PoolInner withMetadata(List
Set the Batch service does not assign any meaning to metadata; it is solely for the use of user code.
Parameters:
Returns:
withMountConfiguration
public PoolInner withMountConfiguration(List
Set this supports Azure Files, NFS, CIFS/SMB, and Blobfuse.
Parameters:
Returns:
withNetworkConfiguration
public PoolInner withNetworkConfiguration(NetworkConfiguration networkConfiguration)
Set the networkConfiguration value.
Parameters:
Returns:
withScaleSettings
public PoolInner withScaleSettings(ScaleSettings scaleSettings)
Set the scaleSettings value.
Parameters:
Returns:
withStartTask
public PoolInner withStartTask(StartTask startTask)
Set in an PATCH (update) operation, this property can be set to an empty object to remove the start task from the pool.
Parameters:
Returns:
withTaskSchedulingPolicy
public PoolInner withTaskSchedulingPolicy(TaskSchedulingPolicy taskSchedulingPolicy)
Set if not specified, the default is spread.
Parameters:
Returns:
withTaskSlotsPerNode
public PoolInner withTaskSlotsPerNode(Integer taskSlotsPerNode)
Set 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 PoolInner withUserAccounts(List
Set the userAccounts value.
Parameters:
Returns:
withVmSize
public PoolInner withVmSize(String vmSize)
Set for information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
Parameters:
Returns:
Applies to
Azure SDK for Java