次の方法で共有


ArmConnectedVMwarevSphereModelFactory.HardwareProfile メソッド

定義

HardwareProfile の新しいインスタンスを初期化します。

public static Azure.ResourceManager.ConnectedVMwarevSphere.Models.HardwareProfile HardwareProfile (int? memorySizeMB = default, int? numCpus = default, int? numCoresPerSocket = default, bool? cpuHotAddEnabled = default, bool? cpuHotRemoveEnabled = default, bool? memoryHotAddEnabled = default);
static member HardwareProfile : Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.ConnectedVMwarevSphere.Models.HardwareProfile
Public Shared Function HardwareProfile (Optional memorySizeMB As Nullable(Of Integer) = Nothing, Optional numCpus As Nullable(Of Integer) = Nothing, Optional numCoresPerSocket As Nullable(Of Integer) = Nothing, Optional cpuHotAddEnabled As Nullable(Of Boolean) = Nothing, Optional cpuHotRemoveEnabled As Nullable(Of Boolean) = Nothing, Optional memoryHotAddEnabled As Nullable(Of Boolean) = Nothing) As HardwareProfile

パラメーター

memorySizeMB
Nullable<Int32>

VM の MB 単位のメモリ サイズを取得または設定します。

numCpus
Nullable<Int32>

VM の vCPU の数を取得または設定します。

numCoresPerSocket
Nullable<Int32>

VM のソケットあたりのコア数を取得または設定します。 指定しない場合、既定値は 1 です。

cpuHotAddEnabled
Nullable<Boolean>

この仮想マシンの実行中に仮想プロセッサを追加できるかどうかを示す値を取得または設定します。

cpuHotRemoveEnabled
Nullable<Boolean>

この仮想マシンの実行中に仮想プロセッサを削除できるかどうかを示す値を取得または設定します。

memoryHotAddEnabled
Nullable<Boolean>

この仮想マシンの実行中にメモリを追加できるかどうかを示す値を取得または設定します。

戻り値

モック作成用の新しい HardwareProfile インスタンス。

適用対象