VMAttributes interface
VMAttributes 将用于过滤 VMSsize ,并用于启动实例。
属性
| accelerator |
从最小值到最大值指定的加速键计数范围。 可选参数。 如果指定,则需要 Min 或 Max。 acceleratorSupport 应设置为“Included”或“Required”才能使用此 VMAttribute。 如果 acceleratorSupport 为“已排除”,则不能使用此 VMAttribute。 |
| accelerator |
指定为列表的加速器制造商。 acceleratorSupport 应设置为“Included”或“Required”才能使用此 VMAttribute。 如果 acceleratorSupport 为“已排除”,则不能使用此 VMAttribute。 |
| accelerator |
规定是否应使用支持的 VMSize 加速器来启动实例。 acceleratorSupport 应设置为“Included”或“Required”才能使用此 VMAttribute。 如果 acceleratorSupport 为“已排除”,则不能使用此 VMAttribute。 |
| accelerator |
指定为列表的加速器类型。 acceleratorSupport 应设置为“Included”或“Required”才能使用此 VMAttribute。 如果 acceleratorSupport 为“已排除”,则不能使用此 VMAttribute。 |
| allowed |
规定在VMAttributes上过滤时应允许哪些VMSsize。 不能与排除的VMSizes一起指定。 最多允许10个虚拟机大小。 可选参数。 |
| architecture |
指定为列表的 VM 体系结构类型。 如果指定了VMAttributes,必须指定。 必须与所用图像兼容。 |
| burstable |
规定是否应使用支持突发性的VMSize来启动实例。 |
| cpu |
指定为列表的 VM CPU 制造商。 可选参数。 |
| data |
从最小值到最大值指定的数据磁盘计数范围。 可选参数。 如果指定,则需要 Min 或 Max。 |
| excluded |
在VMAttributes过滤时,指定应排除哪些VMS大小。 不能与允许的VMSizes一起指定。 最多允许10个虚拟机大小。 可选参数。 |
| hyper |
HyperV世代以列表形式指定。 可选参数。 |
| local |
指定为列表的本地存储磁盘类型。 LocalStorageSupport 应设置为“Included”或“Required”才能使用此 VMAttribute。 如果 localStorageSupport 为“Excluded”,则不能使用此 VMAttribute。 |
| local |
LocalStorageSupport 应设置为“Included”或“Required”才能使用此 VMAttribute。 如果 localStorageSupport 为“Excluded”,则不能使用此 VMAttribute。 |
| local |
指定是否应使用支持本地存储的VMSize来启动实例。 包含 - 如果未指定,默认设置,因为大多数 Azure 虚拟机支持本地存储。 |
| memory |
从最小值到最大值指定的内存范围。 如果指定了 VMAttributes,则必须指定 Min 或 Max(如果指定)。 |
| memory |
每个 vCPU 中指定的内存范围(从最小值到最大值)。 可选参数。 如果指定,则需要 Min 或 Max。 |
| network |
从最小值到最大值指定的网络带宽范围(以 Mbps 为单位)。 可选参数。 如果指定,则需要 Min 或 Max。 |
| network |
从最小值到最大值指定的网络接口计数范围。 可选参数。 如果指定,则需要 Min 或 Max。 |
| rdma |
从最小值到最大值指定的 RDMA(远程直接内存访问)网络接口计数范围。 可选参数。 如果指定,则需要 Min 或 Max。 rdmaSupport 应设置为“Included”或“Required”以使用此 VMAttribute。 如果 rdmaSupport 为“Excluded”,则不能使用此 VMAttribute。 |
| rdma |
规定是否应使用支持RDMA(远程直接内存访问)的VMSiz来构建启动实例。 |
| v |
从 Min 到 Max 指定的 vCpuCount 的范围。 如果指定了 VMAttributes,则必须指定 Min 或 Max(如果指定)。 |
| vm |
指定为列表的 VM 类别。 可选参数。 |
属性详细信息
acceleratorCount
从最小值到最大值指定的加速键计数范围。 可选参数。 如果指定,则需要 Min 或 Max。 acceleratorSupport 应设置为“Included”或“Required”才能使用此 VMAttribute。 如果 acceleratorSupport 为“已排除”,则不能使用此 VMAttribute。
acceleratorCount?: VMAttributeMinMaxInteger
属性值
acceleratorManufacturers
指定为列表的加速器制造商。 acceleratorSupport 应设置为“Included”或“Required”才能使用此 VMAttribute。 如果 acceleratorSupport 为“已排除”,则不能使用此 VMAttribute。
acceleratorManufacturers?: string[]
属性值
string[]
acceleratorSupport
规定是否应使用支持的 VMSize 加速器来启动实例。 acceleratorSupport 应设置为“Included”或“Required”才能使用此 VMAttribute。 如果 acceleratorSupport 为“已排除”,则不能使用此 VMAttribute。
acceleratorSupport?: string
属性值
string
acceleratorTypes
指定为列表的加速器类型。 acceleratorSupport 应设置为“Included”或“Required”才能使用此 VMAttribute。 如果 acceleratorSupport 为“已排除”,则不能使用此 VMAttribute。
acceleratorTypes?: string[]
属性值
string[]
allowedVMSizes
规定在VMAttributes上过滤时应允许哪些VMSsize。 不能与排除的VMSizes一起指定。 最多允许10个虚拟机大小。 可选参数。
allowedVMSizes?: string[]
属性值
string[]
architectureTypes
指定为列表的 VM 体系结构类型。 如果指定了VMAttributes,必须指定。 必须与所用图像兼容。
architectureTypes: string[]
属性值
string[]
burstableSupport
规定是否应使用支持突发性的VMSize来启动实例。
burstableSupport?: string
属性值
string
cpuManufacturers
指定为列表的 VM CPU 制造商。 可选参数。
cpuManufacturers?: string[]
属性值
string[]
dataDiskCount
从最小值到最大值指定的数据磁盘计数范围。 可选参数。 如果指定,则需要 Min 或 Max。
dataDiskCount?: VMAttributeMinMaxInteger
属性值
excludedVMSizes
在VMAttributes过滤时,指定应排除哪些VMS大小。 不能与允许的VMSizes一起指定。 最多允许10个虚拟机大小。 可选参数。
excludedVMSizes?: string[]
属性值
string[]
hyperVGenerations
HyperV世代以列表形式指定。 可选参数。
hyperVGenerations?: string[]
属性值
string[]
localStorageDiskTypes
指定为列表的本地存储磁盘类型。 LocalStorageSupport 应设置为“Included”或“Required”才能使用此 VMAttribute。 如果 localStorageSupport 为“Excluded”,则不能使用此 VMAttribute。
localStorageDiskTypes?: string[]
属性值
string[]
localStorageInGiB
LocalStorageSupport 应设置为“Included”或“Required”才能使用此 VMAttribute。 如果 localStorageSupport 为“Excluded”,则不能使用此 VMAttribute。
localStorageInGiB?: VMAttributeMinMaxDouble
属性值
localStorageSupport
指定是否应使用支持本地存储的VMSize来启动实例。 包含 - 如果未指定,默认设置,因为大多数 Azure 虚拟机支持本地存储。
localStorageSupport?: string
属性值
string
memoryInGiB
从最小值到最大值指定的内存范围。 如果指定了 VMAttributes,则必须指定 Min 或 Max(如果指定)。
memoryInGiB: VMAttributeMinMaxDouble
属性值
memoryInGiBPerVCpu
每个 vCPU 中指定的内存范围(从最小值到最大值)。 可选参数。 如果指定,则需要 Min 或 Max。
memoryInGiBPerVCpu?: VMAttributeMinMaxDouble
属性值
networkBandwidthInMbps
从最小值到最大值指定的网络带宽范围(以 Mbps 为单位)。 可选参数。 如果指定,则需要 Min 或 Max。
networkBandwidthInMbps?: VMAttributeMinMaxDouble
属性值
networkInterfaceCount
从最小值到最大值指定的网络接口计数范围。 可选参数。 如果指定,则需要 Min 或 Max。
networkInterfaceCount?: VMAttributeMinMaxInteger
属性值
rdmaNetworkInterfaceCount
从最小值到最大值指定的 RDMA(远程直接内存访问)网络接口计数范围。 可选参数。 如果指定,则需要 Min 或 Max。 rdmaSupport 应设置为“Included”或“Required”以使用此 VMAttribute。 如果 rdmaSupport 为“Excluded”,则不能使用此 VMAttribute。
rdmaNetworkInterfaceCount?: VMAttributeMinMaxInteger
属性值
rdmaSupport
规定是否应使用支持RDMA(远程直接内存访问)的VMSiz来构建启动实例。
rdmaSupport?: string
属性值
string
vCpuCount
从 Min 到 Max 指定的 vCpuCount 的范围。 如果指定了 VMAttributes,则必须指定 Min 或 Max(如果指定)。
vCpuCount: VMAttributeMinMaxInteger
属性值
vmCategories
指定为列表的 VM 类别。 可选参数。
vmCategories?: string[]
属性值
string[]