Pool Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Pool()
Initializes a new instance of the Pool class.
public Pool ();
Public Sub New ()
Applies to
Pool(String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<PoolProvisioningState>, Nullable<DateTime>, Nullable<AllocationState>, Nullable<DateTime>, String, DeploymentConfiguration, Nullable<Int32>, Nullable<Int32>, ScaleSettings, AutoScaleRun, Nullable<InterNodeCommunicationState>, NetworkConfiguration, Nullable<Int32>, TaskSchedulingPolicy, IList<UserAccount>, IList<MetadataItem>, StartTask, IList<CertificateReference>, IList<ApplicationPackageReference>, IList<String>, ResizeOperationStatus, IList<MountConfiguration>, Nullable<NodeCommunicationMode>, Nullable<NodeCommunicationMode>, BatchPoolIdentity)
Initializes a new instance of the Pool class.
public Pool (string id = default, string name = default, string type = default, string etag = default, string displayName = default, DateTime? lastModified = default, DateTime? creationTime = default, Microsoft.Azure.Management.Batch.Models.PoolProvisioningState? provisioningState = default, DateTime? provisioningStateTransitionTime = default, Microsoft.Azure.Management.Batch.Models.AllocationState? allocationState = default, DateTime? allocationStateTransitionTime = default, string vmSize = default, Microsoft.Azure.Management.Batch.Models.DeploymentConfiguration deploymentConfiguration = default, int? currentDedicatedNodes = default, int? currentLowPriorityNodes = default, Microsoft.Azure.Management.Batch.Models.ScaleSettings scaleSettings = default, Microsoft.Azure.Management.Batch.Models.AutoScaleRun autoScaleRun = default, Microsoft.Azure.Management.Batch.Models.InterNodeCommunicationState? interNodeCommunication = default, Microsoft.Azure.Management.Batch.Models.NetworkConfiguration networkConfiguration = default, int? taskSlotsPerNode = default, Microsoft.Azure.Management.Batch.Models.TaskSchedulingPolicy taskSchedulingPolicy = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.UserAccount> userAccounts = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.MetadataItem> metadata = default, Microsoft.Azure.Management.Batch.Models.StartTask startTask = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.CertificateReference> certificates = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.ApplicationPackageReference> applicationPackages = default, System.Collections.Generic.IList<string> applicationLicenses = default, Microsoft.Azure.Management.Batch.Models.ResizeOperationStatus resizeOperationStatus = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.MountConfiguration> mountConfiguration = default, Microsoft.Azure.Management.Batch.Models.NodeCommunicationMode? targetNodeCommunicationMode = default, Microsoft.Azure.Management.Batch.Models.NodeCommunicationMode? currentNodeCommunicationMode = default, Microsoft.Azure.Management.Batch.Models.BatchPoolIdentity identity = default);
new Microsoft.Azure.Management.Batch.Models.Pool : string * string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<Microsoft.Azure.Management.Batch.Models.PoolProvisioningState> * Nullable<DateTime> * Nullable<Microsoft.Azure.Management.Batch.Models.AllocationState> * Nullable<DateTime> * string * Microsoft.Azure.Management.Batch.Models.DeploymentConfiguration * Nullable<int> * Nullable<int> * Microsoft.Azure.Management.Batch.Models.ScaleSettings * Microsoft.Azure.Management.Batch.Models.AutoScaleRun * Nullable<Microsoft.Azure.Management.Batch.Models.InterNodeCommunicationState> * Microsoft.Azure.Management.Batch.Models.NetworkConfiguration * Nullable<int> * Microsoft.Azure.Management.Batch.Models.TaskSchedulingPolicy * System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.UserAccount> * System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.MetadataItem> * Microsoft.Azure.Management.Batch.Models.StartTask * System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.CertificateReference> * System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.ApplicationPackageReference> * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Batch.Models.ResizeOperationStatus * System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.MountConfiguration> * Nullable<Microsoft.Azure.Management.Batch.Models.NodeCommunicationMode> * Nullable<Microsoft.Azure.Management.Batch.Models.NodeCommunicationMode> * Microsoft.Azure.Management.Batch.Models.BatchPoolIdentity -> Microsoft.Azure.Management.Batch.Models.Pool
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional etag As String = Nothing, Optional displayName As String = Nothing, Optional lastModified As Nullable(Of DateTime) = Nothing, Optional creationTime As Nullable(Of DateTime) = Nothing, Optional provisioningState As Nullable(Of PoolProvisioningState) = Nothing, Optional provisioningStateTransitionTime As Nullable(Of DateTime) = Nothing, Optional allocationState As Nullable(Of AllocationState) = Nothing, Optional allocationStateTransitionTime As Nullable(Of DateTime) = Nothing, Optional vmSize As String = Nothing, Optional deploymentConfiguration As DeploymentConfiguration = Nothing, Optional currentDedicatedNodes As Nullable(Of Integer) = Nothing, Optional currentLowPriorityNodes As Nullable(Of Integer) = Nothing, Optional scaleSettings As ScaleSettings = Nothing, Optional autoScaleRun As AutoScaleRun = Nothing, Optional interNodeCommunication As Nullable(Of InterNodeCommunicationState) = Nothing, Optional networkConfiguration As NetworkConfiguration = Nothing, Optional taskSlotsPerNode As Nullable(Of Integer) = Nothing, Optional taskSchedulingPolicy As TaskSchedulingPolicy = Nothing, Optional userAccounts As IList(Of UserAccount) = Nothing, Optional metadata As IList(Of MetadataItem) = Nothing, Optional startTask As StartTask = Nothing, Optional certificates As IList(Of CertificateReference) = Nothing, Optional applicationPackages As IList(Of ApplicationPackageReference) = Nothing, Optional applicationLicenses As IList(Of String) = Nothing, Optional resizeOperationStatus As ResizeOperationStatus = Nothing, Optional mountConfiguration As IList(Of MountConfiguration) = Nothing, Optional targetNodeCommunicationMode As Nullable(Of NodeCommunicationMode) = Nothing, Optional currentNodeCommunicationMode As Nullable(Of NodeCommunicationMode) = Nothing, Optional identity As BatchPoolIdentity = Nothing)
Parameters
- id
- String
The ID of the resource.
- name
- String
The name of the resource.
- type
- String
The type of the resource.
- etag
- String
The ETag of the resource, used for concurrency statements.
- displayName
- String
The display name for the pool.
- provisioningState
- Nullable<PoolProvisioningState>
The current state of the pool.
The time at which the pool entered its current state.
- allocationState
- Nullable<AllocationState>
Whether the pool is resizing.
The time at which the pool entered its current allocation state.
- vmSize
- String
The size of virtual machines in the pool. All VMs in a pool are the same size.
- deploymentConfiguration
- DeploymentConfiguration
This property describes how the pool nodes will be deployed - using Cloud Services or Virtual Machines.
The number of Spot/low-priority compute nodes currently in the pool.
- scaleSettings
- ScaleSettings
Settings which configure the number of nodes in the pool.
- autoScaleRun
- AutoScaleRun
The results and errors from the last execution of the autoscale formula.
- interNodeCommunication
- Nullable<InterNodeCommunicationState>
Whether the pool permits direct communication between nodes.
- networkConfiguration
- NetworkConfiguration
The network configuration for the pool.
The number of task slots that can be used to run concurrent tasks on a single compute node in the pool.
- taskSchedulingPolicy
- TaskSchedulingPolicy
How tasks are distributed across compute nodes in a pool.
- userAccounts
- IList<UserAccount>
The list of user accounts to be created on each node in the pool.
- metadata
- IList<MetadataItem>
A list of name-value pairs associated with the pool as metadata.
- startTask
- StartTask
A task specified to run on each compute node as it joins the pool.
- certificates
- IList<CertificateReference>
The list of certificates to be installed on each compute node in the pool.
- applicationPackages
- IList<ApplicationPackageReference>
The list of application packages to be installed on each compute node in the pool.
The list of application licenses the Batch service will make available on each compute node in the pool.
- resizeOperationStatus
- ResizeOperationStatus
Contains details about the current or last completed resize operation.
- mountConfiguration
- IList<MountConfiguration>
A list of file systems to mount on each node in the pool.
- targetNodeCommunicationMode
- Nullable<NodeCommunicationMode>
The desired node communication mode for the pool.
- currentNodeCommunicationMode
- Nullable<NodeCommunicationMode>
The current state of the pool communication mode.
- identity
- BatchPoolIdentity
The type of identity used for the Batch Pool.
Applies to
Azure SDK for .NET