PoolAddParameter 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
PoolAddParameter()
- Source:
- PoolAddParameter.cs
Initializes a new instance of the PoolAddParameter class.
public PoolAddParameter ();
Public Sub New ()
Applies to
PoolAddParameter(String, String, String, VirtualMachineConfiguration, Nullable<TimeSpan>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, String, Nullable<TimeSpan>, Nullable<Boolean>, NetworkConfiguration, StartTask, IList<CertificateReference>, IList<ApplicationPackageReference>, Nullable<Int32>, TaskSchedulingPolicy, IList<UserAccount>, IList<MetadataItem>, IList<MountConfiguration>, Nullable<NodeCommunicationMode>, UpgradePolicy, IDictionary<String,String>)
- Source:
- PoolAddParameter.cs
Initializes a new instance of the PoolAddParameter class.
public PoolAddParameter (string id, string vmSize, string displayName = default, Microsoft.Azure.Batch.Protocol.Models.VirtualMachineConfiguration virtualMachineConfiguration = default, TimeSpan? resizeTimeout = default, int? targetDedicatedNodes = default, int? targetLowPriorityNodes = default, bool? enableAutoScale = default, string autoScaleFormula = default, TimeSpan? autoScaleEvaluationInterval = default, bool? enableInterNodeCommunication = default, Microsoft.Azure.Batch.Protocol.Models.NetworkConfiguration networkConfiguration = default, Microsoft.Azure.Batch.Protocol.Models.StartTask startTask = default, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.CertificateReference> certificateReferences = default, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.ApplicationPackageReference> applicationPackageReferences = default, int? taskSlotsPerNode = default, Microsoft.Azure.Batch.Protocol.Models.TaskSchedulingPolicy taskSchedulingPolicy = default, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.UserAccount> userAccounts = default, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.MetadataItem> metadata = default, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.MountConfiguration> mountConfiguration = default, Microsoft.Azure.Batch.Protocol.Models.NodeCommunicationMode? targetNodeCommunicationMode = default, Microsoft.Azure.Batch.Protocol.Models.UpgradePolicy upgradePolicy = default, System.Collections.Generic.IDictionary<string,string> resourceTags = default);
new Microsoft.Azure.Batch.Protocol.Models.PoolAddParameter : string * string * string * Microsoft.Azure.Batch.Protocol.Models.VirtualMachineConfiguration * Nullable<TimeSpan> * Nullable<int> * Nullable<int> * Nullable<bool> * string * Nullable<TimeSpan> * Nullable<bool> * Microsoft.Azure.Batch.Protocol.Models.NetworkConfiguration * Microsoft.Azure.Batch.Protocol.Models.StartTask * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.CertificateReference> * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.ApplicationPackageReference> * Nullable<int> * Microsoft.Azure.Batch.Protocol.Models.TaskSchedulingPolicy * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.UserAccount> * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.MetadataItem> * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.MountConfiguration> * Nullable<Microsoft.Azure.Batch.Protocol.Models.NodeCommunicationMode> * Microsoft.Azure.Batch.Protocol.Models.UpgradePolicy * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Batch.Protocol.Models.PoolAddParameter
Public Sub New (id As String, vmSize As String, Optional displayName As String = Nothing, Optional virtualMachineConfiguration As VirtualMachineConfiguration = Nothing, Optional resizeTimeout As Nullable(Of TimeSpan) = Nothing, Optional targetDedicatedNodes As Nullable(Of Integer) = Nothing, Optional targetLowPriorityNodes As Nullable(Of Integer) = Nothing, Optional enableAutoScale As Nullable(Of Boolean) = Nothing, Optional autoScaleFormula As String = Nothing, Optional autoScaleEvaluationInterval As Nullable(Of TimeSpan) = Nothing, Optional enableInterNodeCommunication As Nullable(Of Boolean) = Nothing, Optional networkConfiguration As NetworkConfiguration = Nothing, Optional startTask As StartTask = Nothing, Optional certificateReferences As IList(Of CertificateReference) = Nothing, Optional applicationPackageReferences As IList(Of ApplicationPackageReference) = 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 mountConfiguration As IList(Of MountConfiguration) = Nothing, Optional targetNodeCommunicationMode As Nullable(Of NodeCommunicationMode) = Nothing, Optional upgradePolicy As UpgradePolicy = Nothing, Optional resourceTags As IDictionary(Of String, String) = Nothing)
Parameters
- id
- String
A string that uniquely identifies the Pool within the Account.
- vmSize
- String
The size of virtual machines in the Pool. All virtual machines in a Pool are the same size.
- displayName
- String
The display name for the Pool.
- virtualMachineConfiguration
- VirtualMachineConfiguration
The virtual machine configuration for the Pool.
The desired number of Spot/Low-priority Compute Nodes in the Pool.
- autoScaleFormula
- String
A formula for the desired number of Compute Nodes in the Pool.
The time interval at which to automatically adjust the Pool size according to the autoscale formula.
Whether the Pool permits direct communication between Compute Nodes.
- networkConfiguration
- NetworkConfiguration
The network configuration for the Pool.
- startTask
- StartTask
A Task specified to run on each Compute Node as it joins the Pool.
- certificateReferences
- IList<CertificateReference>
The list of Certificates to be installed on each Compute Node in the Pool.
- applicationPackageReferences
- IList<ApplicationPackageReference>
The list of Packages to be installed on each Compute Node in 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 Compute Node in the Pool.
- metadata
- IList<MetadataItem>
A list of name-value pairs associated with the Pool as metadata.
- mountConfiguration
- IList<MountConfiguration>
Mount storage using specified file system for the entire lifetime of the pool.
- targetNodeCommunicationMode
- Nullable<NodeCommunicationMode>
The desired node communication mode for the pool.
- upgradePolicy
- UpgradePolicy
The upgrade policy for the Pool.
- resourceTags
- IDictionary<String,String>
The user-specified tags associated with the pool.