共用方式為


PoolPatchParameter Constructors

Definition

Overloads

PoolPatchParameter()

Initializes a new instance of the PoolPatchParameter class.

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

Initializes a new instance of the PoolPatchParameter class.

PoolPatchParameter()

Source:
PoolPatchParameter.cs

Initializes a new instance of the PoolPatchParameter class.

public PoolPatchParameter ();
Public Sub New ()

Applies to

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

Initializes a new instance of the PoolPatchParameter class.

public PoolPatchParameter (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, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.MetadataItem> metadata = default, Microsoft.Azure.Batch.Protocol.Models.NodeCommunicationMode? targetNodeCommunicationMode = default, string displayName = default, string vmSize = default, int? taskSlotsPerNode = default, Microsoft.Azure.Batch.Protocol.Models.TaskSchedulingPolicy taskSchedulingPolicy = default, bool? enableInterNodeCommunication = default, Microsoft.Azure.Batch.Protocol.Models.VirtualMachineConfiguration virtualMachineConfiguration = default, Microsoft.Azure.Batch.Protocol.Models.NetworkConfiguration networkConfiguration = default, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.UserAccount> userAccounts = default, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.MountConfiguration> mountConfiguration = default, Microsoft.Azure.Batch.Protocol.Models.UpgradePolicy upgradePolicy = default, System.Collections.Generic.IDictionary<string,string> resourceTags = default);
new Microsoft.Azure.Batch.Protocol.Models.PoolPatchParameter : 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> * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.MetadataItem> * Nullable<Microsoft.Azure.Batch.Protocol.Models.NodeCommunicationMode> * string * string * Nullable<int> * Microsoft.Azure.Batch.Protocol.Models.TaskSchedulingPolicy * Nullable<bool> * Microsoft.Azure.Batch.Protocol.Models.VirtualMachineConfiguration * Microsoft.Azure.Batch.Protocol.Models.NetworkConfiguration * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.UserAccount> * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.MountConfiguration> * Microsoft.Azure.Batch.Protocol.Models.UpgradePolicy * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Batch.Protocol.Models.PoolPatchParameter
Public Sub New (Optional startTask As StartTask = Nothing, Optional certificateReferences As IList(Of CertificateReference) = Nothing, Optional applicationPackageReferences As IList(Of ApplicationPackageReference) = Nothing, Optional metadata As IList(Of MetadataItem) = Nothing, Optional targetNodeCommunicationMode As Nullable(Of NodeCommunicationMode) = Nothing, Optional displayName As String = Nothing, Optional vmSize As String = Nothing, Optional taskSlotsPerNode As Nullable(Of Integer) = Nothing, Optional taskSchedulingPolicy As TaskSchedulingPolicy = Nothing, Optional enableInterNodeCommunication As Nullable(Of Boolean) = Nothing, Optional virtualMachineConfiguration As VirtualMachineConfiguration = Nothing, Optional networkConfiguration As NetworkConfiguration = Nothing, Optional userAccounts As IList(Of UserAccount) = Nothing, Optional mountConfiguration As IList(Of MountConfiguration) = Nothing, Optional upgradePolicy As UpgradePolicy = Nothing, Optional resourceTags As IDictionary(Of String, String) = Nothing)

Parameters

startTask
StartTask

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.

certificateReferences
IList<CertificateReference>

A list of Certificates to be installed on each Compute Node in the Pool.

applicationPackageReferences
IList<ApplicationPackageReference>

A list of Packages to be installed on each Compute Node in the Pool.

metadata
IList<MetadataItem>

A list of name-value pairs associated with the Pool as metadata.

targetNodeCommunicationMode
Nullable<NodeCommunicationMode>

The desired node communication mode for the pool.

displayName
String

The display name for the Pool.

vmSize
String

The size of virtual machines in the Pool. All VMs in a Pool are the same size.

taskSlotsPerNode
Nullable<Int32>

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.

enableInterNodeCommunication
Nullable<Boolean>

Whether the Pool permits direct communication between Compute Nodes.

virtualMachineConfiguration
VirtualMachineConfiguration

The virtual machine configuration for the Pool.

networkConfiguration
NetworkConfiguration

The network configuration for the Pool.

userAccounts
IList<UserAccount>

The list of user Accounts to be created on each Compute Node in the Pool.

mountConfiguration
IList<MountConfiguration>

Mount storage using specified file system for the entire lifetime of the pool.

upgradePolicy
UpgradePolicy

The upgrade policy for the Pool.

resourceTags
IDictionary<String,String>

The user-specified tags associated with the pool.

Applies to