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

ComputeFleetVmAttributes Class

Definition

VMAttributes that will be used to filter VMSizes which will be used to build Fleet.

public class ComputeFleetVmAttributes : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributes>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributes>
type ComputeFleetVmAttributes = class
    interface IJsonModel<ComputeFleetVmAttributes>
    interface IPersistableModel<ComputeFleetVmAttributes>
Public Class ComputeFleetVmAttributes
Implements IJsonModel(Of ComputeFleetVmAttributes), IPersistableModel(Of ComputeFleetVmAttributes)
Inheritance
ComputeFleetVmAttributes
Implements

Constructors

ComputeFleetVmAttributes(ComputeFleetVmAttributeMinMaxInteger, ComputeFleetVmAttributeMinMaxDouble)

Initializes a new instance of ComputeFleetVmAttributes.

Properties

AcceleratorCount

The range of accelerator count specified from min to max. Optional parameter. Either Min or Max is required if specified. acceleratorSupport should be set to "Included" or "Required" to use this VMAttribute. If acceleratorSupport is "Excluded", this VMAttribute can not be used.

AcceleratorManufacturers

The accelerator manufacturers specified as a list. acceleratorSupport should be set to "Included" or "Required" to use this VMAttribute. If acceleratorSupport is "Excluded", this VMAttribute can not be used.

AcceleratorSupport

Specifies whether the VMSize supporting accelerator should be used to build Fleet or not. acceleratorSupport should be set to "Included" or "Required" to use this VMAttribute. If acceleratorSupport is "Excluded", this VMAttribute can not be used.

AcceleratorTypes

The accelerator types specified as a list. acceleratorSupport should be set to "Included" or "Required" to use this VMAttribute. If acceleratorSupport is "Excluded", this VMAttribute can not be used.

ArchitectureTypes

The VM architecture types specified as a list. Optional parameter.

BurstableSupport

Specifies whether the VMSize supporting burstable capability should be used to build Fleet or not.

CpuManufacturers

The VM CPU manufacturers specified as a list. Optional parameter.

DataDiskCount

The range of data disk count specified from Min to Max. Optional parameter. Either Min or Max is required if specified.

ExcludedVmSizes

Specifies which VMSizes should be excluded while building Fleet. Optional parameter.

LocalStorageDiskTypes

The local storage disk types specified as a list. LocalStorageSupport should be set to "Included" or "Required" to use this VMAttribute. If localStorageSupport is "Excluded", this VMAttribute can not be used.

LocalStorageInGiB

LocalStorageSupport should be set to "Included" or "Required" to use this VMAttribute. If localStorageSupport is "Excluded", this VMAttribute can not be used.

LocalStorageSupport

Specifies whether the VMSize supporting local storage should be used to build Fleet or not.

MemoryInGiB

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

MemoryInGiBPerVCpu

The range of memory in GiB per vCPU specified from min to max. Optional parameter. Either Min or Max is required if specified.

NetworkBandwidthInMbps

The range of network bandwidth in Mbps specified from Min to Max. Optional parameter. Either Min or Max is required if specified.

NetworkInterfaceCount

The range of network interface count specified from Min to Max. Optional parameter. Either Min or Max is required if specified.

RdmaNetworkInterfaceCount

The range of RDMA (Remote Direct Memory Access) network interface count specified from Min to Max. Optional parameter. Either Min or Max is required if specified. rdmaSupport should be set to "Included" or "Required" to use this VMAttribute. If rdmaSupport is "Excluded", this VMAttribute can not be used.

RdmaSupport

Specifies whether the VMSize supporting RDMA (Remote Direct Memory Access) should be used to build Fleet or not.

VCpuCount

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

VmCategories

The VM category specified as a list. Optional parameter.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ComputeFleetVmAttributes>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ComputeFleetVmAttributes>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeFleetVmAttributes>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputeFleetVmAttributes>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ComputeFleetVmAttributes>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to