Pool Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
Pool()
Initialisiert eine neue instance der Pool-Klasse.
public Pool();
Public Sub New ()
Gilt für:
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)
Initialisiert eine neue instance der Pool-Klasse.
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)
Parameter
- id
- String
Die ID der Ressource.
- name
- String
Der Name der Ressource.
- type
- String
Der Typ der Ressource.
- etag
- String
Das ETag der Ressource, die für Parallelitätsanweisungen verwendet wird.
- displayName
- String
Der Anzeigename für den Pool.
- provisioningState
- Nullable<PoolProvisioningState>
Der aktuelle Zustand des Pools.
Der Zeitpunkt, zu dem der Pool seinen aktuellen Status erlangt hat.
- allocationState
- Nullable<AllocationState>
Gibt an, ob die Größe des Pools geändert wird.
Der Zeitpunkt, zu dem der Pool seinen aktuellen Zuordnungsstatus erlangt hat.
- vmSize
- String
Die Größe der virtuellen Computer im Pool. Alle virtuellen Computer in einem Pool haben die gleiche Größe.
- deploymentConfiguration
- DeploymentConfiguration
Diese Eigenschaft beschreibt, wie die Poolknoten mithilfe von Cloud Services oder Virtual Machines bereitgestellt werden.
Die Anzahl der dedizierten Computeknoten, die sich derzeit im Pool befinden.
Die Anzahl der Computeknoten mit spot/low-priority, die sich derzeit im Pool befinden.
- scaleSettings
- ScaleSettings
Einstellungen, mit denen die Anzahl der Knoten im Pool konfiguriert wird.
- autoScaleRun
- AutoScaleRun
Die Ergebnisse und Fehler der letzten Ausführung der Formel für die automatische Skalierung.
- interNodeCommunication
- Nullable<InterNodeCommunicationState>
Gibt an, ob der Pool eine direkte Kommunikation zwischen Knoten zulässt.
- networkConfiguration
- NetworkConfiguration
Die Netzwerkkonfiguration des Pools.
Die Anzahl von Taskslots, die verwendet werden können, um gleichzeitige Tasks auf einem einzelnen Computeknoten im Pool auszuführen.
- taskSchedulingPolicy
- TaskSchedulingPolicy
Wie Aufgaben auf Computeknoten in einem Pool verteilt werden.
- userAccounts
- IList<UserAccount>
Die Liste der Benutzerkonten, die auf jedem Knoten im Pool erstellt werden sollen.
- metadata
- IList<MetadataItem>
Eine Liste von Name-Wert-Paaren, die dem Pool als Metadaten zugeordnet sind.
- startTask
- StartTask
Ein Task, der für die Ausführung auf jedem Computeknoten angegeben ist, während er den Pool verknüpft.
- certificates
- IList<CertificateReference>
Die Liste der Zertifikate, die auf jedem Computeknoten im Pool installiert werden sollen.
- applicationPackages
- IList<ApplicationPackageReference>
Die Liste der Anwendungspakete, die auf jedem Computeknoten im Pool installiert werden sollen.
Die Liste der Anwendungslizenzen, die der Batch-Dienst auf jedem Computeknoten im Pool verfügbar macht.
- resizeOperationStatus
- ResizeOperationStatus
Enthält Details zum aktuellen oder letzten Vorgang zur Größenänderung.
- mountConfiguration
- IList<MountConfiguration>
Eine Liste der Dateisysteme, die auf jedem Knoten im Pool bereitgestellt werden sollen.
- targetNodeCommunicationMode
- Nullable<NodeCommunicationMode>
Der gewünschte Knotenkommunikationsmodus für den Pool.
- currentNodeCommunicationMode
- Nullable<NodeCommunicationMode>
Der aktuelle Zustand des Poolkommunikationsmodus.
- identity
- BatchPoolIdentity
Der Identitätstyp, der für den Batchpool verwendet wird.
Gilt für:
Azure SDK for .NET