你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ComputeFleetVmAttributes Constructor

Definition

Initializes a new instance of ComputeFleetVmAttributes.

public ComputeFleetVmAttributes (Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxInteger vCpuCount, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxDouble memoryInGiB);
new Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributes : Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxInteger * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxDouble -> Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributes
Public Sub New (vCpuCount As ComputeFleetVmAttributeMinMaxInteger, memoryInGiB As ComputeFleetVmAttributeMinMaxDouble)

Parameters

vCpuCount
ComputeFleetVmAttributeMinMaxInteger

The range of vCpuCount specified from Min to Max. Must be specified if VMAttributes are specified, either Min or Max is required if specified.

memoryInGiB
ComputeFleetVmAttributeMinMaxDouble

The range of memory specified from Min to Max. Must be specified if VMAttributes are specified, either Min or Max is required if specified.

Exceptions

vCpuCount or memoryInGiB is null.

Applies to