GetPoolResult

data class GetPoolResult(val allocationState: String, val allocationStateTransitionTime: String, val applicationLicenses: List<String>? = null, val applicationPackages: List<ApplicationPackageReferenceResponse>? = null, val autoScaleRun: AutoScaleRunResponse, val azureApiVersion: String, val certificates: List<CertificateReferenceResponse>? = null, val creationTime: String, val currentDedicatedNodes: Int, val currentLowPriorityNodes: Int, val currentNodeCommunicationMode: String, val deploymentConfiguration: DeploymentConfigurationResponse? = null, val displayName: String? = null, val etag: String, val id: String, val identity: BatchPoolIdentityResponse? = null, val interNodeCommunication: String? = null, val lastModified: String, val metadata: List<MetadataItemResponse>? = null, val mountConfiguration: List<MountConfigurationResponse>? = null, val name: String, val networkConfiguration: NetworkConfigurationResponse? = null, val provisioningState: String, val provisioningStateTransitionTime: String, val resizeOperationStatus: ResizeOperationStatusResponse, val resourceTags: Map<String, String>? = null, val scaleSettings: ScaleSettingsResponse? = null, val startTask: StartTaskResponse? = null, val tags: Map<String, String>? = null, val targetNodeCommunicationMode: String? = null, val taskSchedulingPolicy: TaskSchedulingPolicyResponse? = null, val taskSlotsPerNode: Int? = null, val type: String, val upgradePolicy: UpgradePolicyResponse? = null, val userAccounts: List<UserAccountResponse>? = null, val vmSize: String? = null)

Contains information about a pool.

Constructors

Link copied to clipboard
constructor(allocationState: String, allocationStateTransitionTime: String, applicationLicenses: List<String>? = null, applicationPackages: List<ApplicationPackageReferenceResponse>? = null, autoScaleRun: AutoScaleRunResponse, azureApiVersion: String, certificates: List<CertificateReferenceResponse>? = null, creationTime: String, currentDedicatedNodes: Int, currentLowPriorityNodes: Int, currentNodeCommunicationMode: String, deploymentConfiguration: DeploymentConfigurationResponse? = null, displayName: String? = null, etag: String, id: String, identity: BatchPoolIdentityResponse? = null, interNodeCommunication: String? = null, lastModified: String, metadata: List<MetadataItemResponse>? = null, mountConfiguration: List<MountConfigurationResponse>? = null, name: String, networkConfiguration: NetworkConfigurationResponse? = null, provisioningState: String, provisioningStateTransitionTime: String, resizeOperationStatus: ResizeOperationStatusResponse, resourceTags: Map<String, String>? = null, scaleSettings: ScaleSettingsResponse? = null, startTask: StartTaskResponse? = null, tags: Map<String, String>? = null, targetNodeCommunicationMode: String? = null, taskSchedulingPolicy: TaskSchedulingPolicyResponse? = null, taskSlotsPerNode: Int? = null, type: String, upgradePolicy: UpgradePolicyResponse? = null, userAccounts: List<UserAccountResponse>? = null, vmSize: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

This property is set only if the pool automatically scales, i.e. autoScaleSettings are used.

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard

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. Warning: This property is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val displayName: String? = null

The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.

Link copied to clipboard

The ETag of the resource, used for concurrency statements.

Link copied to clipboard
val id: String

The ID of the resource.

Link copied to clipboard

The type of identity used for the Batch Pool.

Link copied to clipboard

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'.

Link copied to clipboard

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.

Link copied to clipboard

The Batch service does not assign any meaning to metadata; it is solely for the use of user code.

Link copied to clipboard

This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.

Link copied to clipboard

The name of the resource.

Link copied to clipboard

The network configuration for a pool.

Link copied to clipboard
Link copied to clipboard

Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady).

Link copied to clipboard
val resourceTags: Map<String, String>? = null

The user-defined tags to be associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources associated with the pool. This property can only be specified when the Batch account was created with the poolAllocationMode property set to 'UserSubscription'.

Link copied to clipboard

Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.

Link copied to clipboard

In an PATCH (update) operation, this property can be set to an empty object to remove the start task from the pool.

Link copied to clipboard
val tags: Map<String, String>? = null

The tags of the resource.

Link copied to clipboard

If omitted, the default value is Default.

Link copied to clipboard

If not specified, the default is spread.

Link copied to clipboard
val taskSlotsPerNode: Int? = null

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.

Link copied to clipboard

The type of the resource.

Link copied to clipboard

Describes an upgrade policy - automatic, manual, or rolling.

Link copied to clipboard
Link copied to clipboard
val vmSize: String? = null

For information about available VM sizes, see Sizes for Virtual Machines in Azure (https://learn.microsoft.com/azure/virtual-machines/sizes/overview). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).