ArmComputeFleetModelFactory.ComputeFleetVmAttributes Method

Definition

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

public static Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributes ComputeFleetVmAttributes(Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxInteger vCpuCount = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxDouble memoryInGiB = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxDouble memoryInGiBPerVCpu = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeSupport? localStorageSupport = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxDouble localStorageInGiB = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ComputeFleet.Models.LocalStorageDiskType> localStorageDiskTypes = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxInteger dataDiskCount = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxInteger networkInterfaceCount = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxDouble networkBandwidthInMbps = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeSupport? rdmaSupport = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxInteger rdmaNetworkInterfaceCount = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeSupport? acceleratorSupport = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ComputeFleet.Models.AcceleratorManufacturer> acceleratorManufacturers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ComputeFleet.Models.AcceleratorType> acceleratorTypes = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxInteger acceleratorCount = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmCategory> vmCategories = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ComputeFleet.Models.ArchitectureType> architectureTypes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ComputeFleet.Models.CpuManufacturer> cpuManufacturers = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeSupport? burstableSupport = default, System.Collections.Generic.IEnumerable<string> excludedVmSizes = default);
static member ComputeFleetVmAttributes : Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxInteger * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxDouble * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxDouble * Nullable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeSupport> * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxDouble * seq<Azure.ResourceManager.ComputeFleet.Models.LocalStorageDiskType> * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxInteger * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxInteger * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxDouble * Nullable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeSupport> * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxInteger * Nullable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeSupport> * seq<Azure.ResourceManager.ComputeFleet.Models.AcceleratorManufacturer> * seq<Azure.ResourceManager.ComputeFleet.Models.AcceleratorType> * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeMinMaxInteger * seq<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmCategory> * seq<Azure.ResourceManager.ComputeFleet.Models.ArchitectureType> * seq<Azure.ResourceManager.ComputeFleet.Models.CpuManufacturer> * Nullable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributeSupport> * seq<string> -> Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributes
Public Shared Function ComputeFleetVmAttributes (Optional vCpuCount As ComputeFleetVmAttributeMinMaxInteger = Nothing, Optional memoryInGiB As ComputeFleetVmAttributeMinMaxDouble = Nothing, Optional memoryInGiBPerVCpu As ComputeFleetVmAttributeMinMaxDouble = Nothing, Optional localStorageSupport As Nullable(Of ComputeFleetVmAttributeSupport) = Nothing, Optional localStorageInGiB As ComputeFleetVmAttributeMinMaxDouble = Nothing, Optional localStorageDiskTypes As IEnumerable(Of LocalStorageDiskType) = Nothing, Optional dataDiskCount As ComputeFleetVmAttributeMinMaxInteger = Nothing, Optional networkInterfaceCount As ComputeFleetVmAttributeMinMaxInteger = Nothing, Optional networkBandwidthInMbps As ComputeFleetVmAttributeMinMaxDouble = Nothing, Optional rdmaSupport As Nullable(Of ComputeFleetVmAttributeSupport) = Nothing, Optional rdmaNetworkInterfaceCount As ComputeFleetVmAttributeMinMaxInteger = Nothing, Optional acceleratorSupport As Nullable(Of ComputeFleetVmAttributeSupport) = Nothing, Optional acceleratorManufacturers As IEnumerable(Of AcceleratorManufacturer) = Nothing, Optional acceleratorTypes As IEnumerable(Of AcceleratorType) = Nothing, Optional acceleratorCount As ComputeFleetVmAttributeMinMaxInteger = Nothing, Optional vmCategories As IEnumerable(Of ComputeFleetVmCategory) = Nothing, Optional architectureTypes As IEnumerable(Of ArchitectureType) = Nothing, Optional cpuManufacturers As IEnumerable(Of CpuManufacturer) = Nothing, Optional burstableSupport As Nullable(Of ComputeFleetVmAttributeSupport) = Nothing, Optional excludedVmSizes As IEnumerable(Of String) = Nothing) As ComputeFleetVmAttributes

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.

memoryInGiBPerVCpu
ComputeFleetVmAttributeMinMaxDouble

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

localStorageSupport
Nullable<ComputeFleetVmAttributeSupport>

Specifies whether the VMSize supporting local storage should be used to build Fleet or not. Included - Default if not specified as most Azure VMs support local storage.

localStorageInGiB
ComputeFleetVmAttributeMinMaxDouble

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

localStorageDiskTypes
IEnumerable<LocalStorageDiskType>

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.

dataDiskCount
ComputeFleetVmAttributeMinMaxInteger

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

networkInterfaceCount
ComputeFleetVmAttributeMinMaxInteger

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

networkBandwidthInMbps
ComputeFleetVmAttributeMinMaxDouble

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

rdmaSupport
Nullable<ComputeFleetVmAttributeSupport>

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

rdmaNetworkInterfaceCount
ComputeFleetVmAttributeMinMaxInteger

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.

acceleratorSupport
Nullable<ComputeFleetVmAttributeSupport>

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.

acceleratorManufacturers
IEnumerable<AcceleratorManufacturer>

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.

acceleratorTypes
IEnumerable<AcceleratorType>

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.

acceleratorCount
ComputeFleetVmAttributeMinMaxInteger

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.

vmCategories
IEnumerable<ComputeFleetVmCategory>

The VM category specified as a list. Optional parameter.

architectureTypes
IEnumerable<ArchitectureType>

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

cpuManufacturers
IEnumerable<CpuManufacturer>

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

burstableSupport
Nullable<ComputeFleetVmAttributeSupport>

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

excludedVmSizes
IEnumerable<String>

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

Returns

A new ComputeFleetVmAttributes instance for mocking.

Applies to