PoolOperations.CreatePool メソッド

定義

オーバーロード

CreatePool()

バインドされておらず、Batch サービス内のプールとの整合性関係がない CloudPool のインスタンスを作成します。

CreatePool(String, String, CloudServiceConfiguration, Nullable<Int32>, Nullable<Int32>)

バインドされておらず、Batch サービス内のプールとの整合性関係がない CloudPool のインスタンスを作成します。

CreatePool(String, String, VirtualMachineConfiguration, Nullable<Int32>, Nullable<Int32>)

バインドされておらず、Batch サービス内のプールとの整合性関係がない CloudPool のインスタンスを作成します。

CreatePool()

バインドされておらず、Batch サービス内のプールとの整合性関係がない CloudPool のインスタンスを作成します。

public Microsoft.Azure.Batch.CloudPool CreatePool ();
member this.CreatePool : unit -> Microsoft.Azure.Batch.CloudPool
Public Function CreatePool () As CloudPool

戻り値

CloudPool Batch サービスに追加されていない新しいプールを表す 。 プールを Batch アカウントに追加するには、 を呼び出します CommitAsync(IEnumerable<BatchClientBehavior>, CancellationToken)

適用対象

CreatePool(String, String, CloudServiceConfiguration, Nullable<Int32>, Nullable<Int32>)

バインドされておらず、Batch サービス内のプールとの整合性関係がない CloudPool のインスタンスを作成します。

public Microsoft.Azure.Batch.CloudPool CreatePool (string poolId, string virtualMachineSize, Microsoft.Azure.Batch.CloudServiceConfiguration cloudServiceConfiguration, int? targetDedicatedComputeNodes = default, int? targetLowPriorityComputeNodes = default);
member this.CreatePool : string * string * Microsoft.Azure.Batch.CloudServiceConfiguration * Nullable<int> * Nullable<int> -> Microsoft.Azure.Batch.CloudPool
Public Function CreatePool (poolId As String, virtualMachineSize As String, cloudServiceConfiguration As CloudServiceConfiguration, Optional targetDedicatedComputeNodes As Nullable(Of Integer) = Nothing, Optional targetLowPriorityComputeNodes As Nullable(Of Integer) = Nothing) As CloudPool

パラメーター

poolId
String

プールの ID。

virtualMachineSize
String

プール内の仮想マシンのサイズ。 サイズについては、「」を参照してください https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/ 。 Batch では、ExtraSmall、A1V2、A2V2 を除くすべての Azure クラウド サービス VM サイズがサポートされます。

cloudServiceConfiguration
CloudServiceConfiguration

CloudServiceConfigurationプールの 。

targetDedicatedComputeNodes
Nullable<Int32>

プール内の専用コンピューティング ノードの必要な数。 と をtargetLowPriorityComputeNodes省略した場合targetDedicatedComputeNodesは、 プロパティと AutoScaleFormula プロパティを設定するAutoScaleEnabled必要があります。

targetLowPriorityComputeNodes
Nullable<Int32>

プール内の優先順位の低いコンピューティング ノードの必要な数。 と をtargetLowPriorityComputeNodes省略した場合targetDedicatedComputeNodesは、 プロパティと AutoScaleFormula プロパティを設定するAutoScaleEnabled必要があります。

戻り値

CloudPool Batch サービスに追加されていない新しいプールを表す 。 プールを Batch アカウントに追加するには、 を呼び出します CommitAsync(IEnumerable<BatchClientBehavior>, CancellationToken)

注釈

Azure ゲスト OS ファミリの詳細については、次を参照してください。 https://azure.microsoft.com/documentation/articles/cloud-services-guestos-update-matrix/

適用対象

CreatePool(String, String, VirtualMachineConfiguration, Nullable<Int32>, Nullable<Int32>)

バインドされておらず、Batch サービス内のプールとの整合性関係がない CloudPool のインスタンスを作成します。

public Microsoft.Azure.Batch.CloudPool CreatePool (string poolId, string virtualMachineSize, Microsoft.Azure.Batch.VirtualMachineConfiguration virtualMachineConfiguration, int? targetDedicatedComputeNodes = default, int? targetLowPriorityComputeNodes = default);
member this.CreatePool : string * string * Microsoft.Azure.Batch.VirtualMachineConfiguration * Nullable<int> * Nullable<int> -> Microsoft.Azure.Batch.CloudPool
Public Function CreatePool (poolId As String, virtualMachineSize As String, virtualMachineConfiguration As VirtualMachineConfiguration, Optional targetDedicatedComputeNodes As Nullable(Of Integer) = Nothing, Optional targetLowPriorityComputeNodes As Nullable(Of Integer) = Nothing) As CloudPool

パラメーター

poolId
String

プールの ID。

virtualMachineSize
String

プール内の仮想マシンのサイズ。 「Windows のサイズ」とhttps://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/「Linux サイズ」を参照してくださいhttps://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/

virtualMachineConfiguration
VirtualMachineConfiguration

VirtualMachineConfigurationプールの 。

targetDedicatedComputeNodes
Nullable<Int32>

プール内の専用コンピューティング ノードの必要な数。 と をtargetLowPriorityComputeNodes省略した場合targetDedicatedComputeNodesは、 プロパティと AutoScaleFormula プロパティを設定するAutoScaleEnabled必要があります。

targetLowPriorityComputeNodes
Nullable<Int32>

プール内の優先順位の低いコンピューティング ノードの必要な数。 と をtargetLowPriorityComputeNodes省略した場合targetDedicatedComputeNodesは、 プロパティと AutoScaleFormula プロパティを設定するAutoScaleEnabled必要があります。

戻り値

CloudPool Batch サービスに追加されていない新しいプールを表す 。 プールを Batch アカウントに追加するには、 を呼び出します CommitAsync(IEnumerable<BatchClientBehavior>, CancellationToken)

適用対象