共用方式為


PoolSpecification Class

Definition

Specification for creating a new Pool.

public class PoolSpecification
type PoolSpecification = class
Public Class PoolSpecification
Inheritance
PoolSpecification

Constructors

PoolSpecification()

Initializes a new instance of the PoolSpecification class.

PoolSpecification(String, String, VirtualMachineConfiguration, Nullable<Int32>, TaskSchedulingPolicy, Nullable<TimeSpan>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, String, Nullable<TimeSpan>, Nullable<Boolean>, NetworkConfiguration, StartTask, IList<CertificateReference>, IList<ApplicationPackageReference>, IList<UserAccount>, IList<MetadataItem>, IList<MountConfiguration>, Nullable<NodeCommunicationMode>, UpgradePolicy, IDictionary<String,String>)

Initializes a new instance of the PoolSpecification class.

Properties

ApplicationPackageReferences

Gets or sets the list of Packages to be installed on each Compute Node in the Pool.

AutoScaleEvaluationInterval

Gets or sets the time interval at which to automatically adjust the Pool size according to the autoscale formula.

AutoScaleFormula

Gets or sets the formula for the desired number of Compute Nodes in the Pool.

CertificateReferences

Gets or sets a list of Certificates to be installed on each Compute Node in the Pool.

DisplayName

Gets or sets the display name for the Pool.

EnableAutoScale

Gets or sets whether the Pool size should automatically adjust over time.

EnableInterNodeCommunication

Gets or sets whether the Pool permits direct communication between Compute Nodes.

Metadata

Gets or sets a list of name-value pairs associated with the Pool as metadata.

MountConfiguration

Gets or sets a list of file systems to mount on each node in the pool.

NetworkConfiguration

Gets or sets the network configuration for the Pool.

ResizeTimeout

Gets or sets the timeout for allocation of Compute Nodes to the Pool.

ResourceTags

Gets or sets the user-specified tags associated with the pool.

StartTask

Gets or sets a Task to run on each Compute Node as it joins the Pool. The Task runs when the Compute Node is added to the Pool or when the Compute Node is restarted.

TargetDedicatedNodes

Gets or sets the desired number of dedicated Compute Nodes in the Pool.

TargetLowPriorityNodes

Gets or sets the desired number of Spot/Low-priority Compute Nodes in the Pool.

TargetNodeCommunicationMode

Gets or sets the desired node communication mode for the pool.

TaskSchedulingPolicy

Gets or sets how Tasks are distributed across Compute Nodes in a Pool.

TaskSlotsPerNode

Gets or sets the number of task slots that can be used to run concurrent tasks on a single compute node in the pool.

UpgradePolicy

Gets or sets the upgrade policy for the pool.

UserAccounts

Gets or sets the list of user Accounts to be created on each Compute Node in the Pool.

VirtualMachineConfiguration

Gets or sets the virtual machine configuration for the Pool.

VmSize

Gets or sets the size of the virtual machines in the Pool. All virtual machines in a Pool are the same size.

Applies to