ArmScVmmModelFactory.ScVmmHardwareProfile Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ScVmmHardwareProfile.
public static Azure.ResourceManager.ScVmm.Models.ScVmmHardwareProfile ScVmmHardwareProfile (int? memoryMB = default, int? cpuCount = default, Azure.ResourceManager.ScVmm.Models.LimitCpuForMigration? limitCpuForMigration = default, Azure.ResourceManager.ScVmm.Models.DynamicMemoryEnabled? dynamicMemoryEnabled = default, int? dynamicMemoryMaxMB = default, int? dynamicMemoryMinMB = default, Azure.ResourceManager.ScVmm.Models.IsHighlyAvailable? isHighlyAvailable = default);
static member ScVmmHardwareProfile : Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.ScVmm.Models.LimitCpuForMigration> * Nullable<Azure.ResourceManager.ScVmm.Models.DynamicMemoryEnabled> * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.ScVmm.Models.IsHighlyAvailable> -> Azure.ResourceManager.ScVmm.Models.ScVmmHardwareProfile
Public Shared Function ScVmmHardwareProfile (Optional memoryMB As Nullable(Of Integer) = Nothing, Optional cpuCount As Nullable(Of Integer) = Nothing, Optional limitCpuForMigration As Nullable(Of LimitCpuForMigration) = Nothing, Optional dynamicMemoryEnabled As Nullable(Of DynamicMemoryEnabled) = Nothing, Optional dynamicMemoryMaxMB As Nullable(Of Integer) = Nothing, Optional dynamicMemoryMinMB As Nullable(Of Integer) = Nothing, Optional isHighlyAvailable As Nullable(Of IsHighlyAvailable) = Nothing) As ScVmmHardwareProfile
Parameters
- limitCpuForMigration
- Nullable<LimitCpuForMigration>
Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs.
- dynamicMemoryEnabled
- Nullable<DynamicMemoryEnabled>
Gets or sets a value indicating whether to enable dynamic memory or not.
- isHighlyAvailable
- Nullable<IsHighlyAvailable>
Gets highly available property.
Returns
A new ScVmmHardwareProfile instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET