Rack Skus - List By Subscription
列出订阅中的机架 SKU。
获取提供的订阅中的机架 SKU 列表。
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/rackSkus?api-version=2023-07-01
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
subscription
|
path | True |
string (uuid) |
目标订阅的 ID。 该值必须是 UUID。 |
api-version
|
query | True |
string minLength: 1 |
用于此作的 API 版本。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
还行 |
|
Other Status Codes |
描述作失败的原因的错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow。
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
List rack SKUs for subscription
示例请求
示例响应
{
"value": [
{
"id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
"name": "rackSkuName",
"systemData": {
"createdAt": "2021-01-22T13:27:03.008Z",
"createdBy": "identityA",
"createdByType": "Application",
"lastModifiedAt": "2021-01-22T13:29:03.001Z",
"lastModifiedBy": "identityB",
"lastModifiedByType": "User"
},
"type": "Microsoft.NetworkCloud/rackSkus",
"properties": {
"provisioningState": "Succeeded",
"rackType": "Single",
"maxClusterSlots": 0,
"description": "Sample SKU for the single rack.",
"controllerMachines": [
{
"properties": {
"vendor": "Dell",
"model": "PowerEdge R650",
"generation": "8",
"hardwareVersion": "3",
"bootstrapProtocol": "PXE",
"cpuSockets": 1,
"cpuCores": 8,
"totalThreads": 16,
"memoryCapacityGB": 128,
"disks": [
{
"capacityGB": 893,
"type": "SSD",
"connection": "SAS"
}
],
"networkInterfaces": [
{
"address": "04:00.0",
"physicalSlot": 2,
"portCount": 2,
"portSpeed": 1,
"deviceConnectionType": "PCI",
"vendor": "Broadcom Corp",
"model": "Broadcom Gigabit Ethernet BCM5720"
}
]
},
"rackSlot": 5
}
],
"computeMachines": [
{
"properties": {
"vendor": "Dell",
"model": "PowerEdge R750",
"generation": "8",
"hardwareVersion": "3",
"bootstrapProtocol": "PXE",
"cpuSockets": 2,
"cpuCores": 28,
"totalThreads": 112,
"memoryCapacityGB": 512,
"disks": [
{
"capacityGB": 893,
"type": "SSD",
"connection": "SAS"
}
],
"networkInterfaces": [
{
"address": "04:00.0",
"physicalSlot": 1,
"portCount": 2,
"portSpeed": 1,
"deviceConnectionType": "PCI",
"vendor": "Broadcom Corp",
"model": "Broadcom Gigabit Ethernet BCM5720"
}
]
},
"rackSlot": 1
}
],
"storageAppliances": [
{
"properties": {
"capacityGB": 9100,
"model": "x70r3-9"
},
"rackSlot": 2
}
]
}
}
]
}
定义
名称 | 说明 |
---|---|
Bootstrap |
使用的启动协议的类型。 |
created |
创建资源的标识的类型。 |
Device |
设备的连接类型。 |
Disk |
机架 SKU 资源的磁盘类型。 |
Error |
资源管理错误附加信息。 |
Error |
错误详细信息。 |
Error |
错误响应 |
Machine |
磁盘表示磁盘的属性。 |
Machine |
机架 SKU 资源的连接类型。 |
Machine |
MachineSkuSlot 表示与计算机关联的单个 SKU 和机架槽。 |
Network |
NetworkInterface 表示网络接口的属性。 |
Rack |
RackSku 表示机架的 SKU 信息。 |
Rack |
RackSkuList 表示机架 SKU 的列表。 |
Rack |
机架 SKU 资源的预配状态。 |
Rack |
机架的类型。 |
Storage |
StorageApplianceSkuSlot 表示与存储设备关联的单个 SKU 和机架槽。 |
system |
与创建和上次修改资源相关的元数据。 |
BootstrapProtocol
使用的启动协议的类型。
值 | 说明 |
---|---|
PXE |
createdByType
创建资源的标识的类型。
值 | 说明 |
---|---|
Application | |
Key | |
ManagedIdentity | |
User |
DeviceConnectionType
设备的连接类型。
值 | 说明 |
---|---|
PCI |
DiskType
机架 SKU 资源的磁盘类型。
值 | 说明 |
---|---|
HDD | |
SSD |
ErrorAdditionalInfo
资源管理错误附加信息。
名称 | 类型 | 说明 |
---|---|---|
info |
object |
其他信息。 |
type |
string |
其他信息类型。 |
ErrorDetail
错误详细信息。
名称 | 类型 | 说明 |
---|---|---|
additionalInfo |
错误附加信息。 |
|
code |
string |
错误代码。 |
details |
错误详细信息。 |
|
message |
string |
错误消息。 |
target |
string |
错误目标。 |
ErrorResponse
错误响应
名称 | 类型 | 说明 |
---|---|---|
error |
错误对象。 |
MachineDisk
磁盘表示磁盘的属性。
名称 | 类型 | 说明 |
---|---|---|
capacityGB |
integer (int64) |
最大存储量(以 GB 为单位)。 |
connection |
机架 SKU 资源的连接类型。 |
|
type |
机架 SKU 资源的磁盘类型。 |
MachineSkuDiskConnectionType
机架 SKU 资源的连接类型。
值 | 说明 |
---|---|
PCIE | |
RAID | |
SAS | |
SATA |
MachineSkuSlot
MachineSkuSlot 表示与计算机关联的单个 SKU 和机架槽。
名称 | 类型 | 说明 |
---|---|---|
properties.bootstrapProtocol |
使用的启动协议的类型。 |
|
properties.cpuCores |
integer (int64) |
此计算机的 CPU 内核计数。 |
properties.cpuSockets |
integer (int64) |
此计算机的 CPU 套接字计数。 |
properties.disks |
磁盘列表。 |
|
properties.generation |
string |
体系结构的生成。 |
properties.hardwareVersion |
string |
计算机的硬件版本。 |
properties.memoryCapacityGB |
integer (int64) |
最大内存量(以 GB 为单位)。 |
properties.model |
string |
计算机的模型。 |
properties.networkInterfaces |
网络接口列表。 |
|
properties.totalThreads |
integer (int64) |
此计算机的 SMT 和物理核心线程计数。 |
properties.vendor |
string |
计算机的构成。 |
rackSlot |
integer (int64) |
机器机架中的位置。 |
NetworkInterface
NetworkInterface 表示网络接口的属性。
名称 | 类型 | 说明 |
---|---|---|
address |
string |
外围组件互连(PCI)的部分地址。 |
deviceConnectionType |
设备的连接类型。 |
|
model |
string |
设备的模型名称。 |
physicalSlot |
integer (int64) |
此设备的物理槽。 |
portCount |
integer (int64) |
设备上的端口数。 |
portSpeed |
integer (int64) |
行卡在任何给定秒内通过端口传输的最大数据量(以 GB 为单位)。 |
vendor |
string |
设备的供应商名称。 |
RackSku
RackSku 表示机架的 SKU 信息。
名称 | 类型 | 说明 |
---|---|---|
id |
string (arm-id) |
资源的完全限定资源 ID。 例如“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}” |
name |
string |
资源的名称 |
properties.computeMachines |
此机架模型中计算专用计算机的计算机 SKU 和关联的机架槽的列表。 |
|
properties.controllerMachines |
此机架模型中控制平面专用计算机的计算机 SKU 和关联的机架槽的列表。 |
|
properties.description |
string |
描述机架的自由格式文本。 |
properties.maxClusterSlots |
integer (int64) |
聚合器机架支持的最大计算机架数。 如果这是单个机架群集(rackType=“Single”)的计算机架或机架,则为 0。 |
properties.provisioningState |
机架 SKU 资源的预配状态。 |
|
properties.rackType |
机架的类型。 |
|
properties.storageAppliances |
此机架模型中的存储设备 SKU 和关联的机架槽的列表。 |
|
properties.supportedRackSkuIds |
string[] |
如果机架是聚合器,则支持 SKU 的列表。 |
systemData |
包含 createdBy 和 modifiedBy 信息的 Azure 资源管理器元数据。 |
|
type |
string |
资源的类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts” |
RackSkuList
RackSkuList 表示机架 SKU 的列表。
名称 | 类型 | 说明 |
---|---|---|
nextLink |
string |
用于获取下一页作的链接。 |
value |
Rack |
Rack SKU 列表。 |
RackSkuProvisioningState
机架 SKU 资源的预配状态。
值 | 说明 |
---|---|
Succeeded |
RackSkuType
机架的类型。
值 | 说明 |
---|---|
Aggregator | |
Compute | |
Single |
StorageApplianceSkuSlot
StorageApplianceSkuSlot 表示与存储设备关联的单个 SKU 和机架槽。
名称 | 类型 | 说明 |
---|---|---|
properties.capacityGB |
integer (int64) |
存储设备的最大容量。 |
properties.model |
string |
存储设备的模型。 |
rackSlot |
integer (int64) |
存储设备机架中的位置。 |
systemData
与创建和上次修改资源相关的元数据。
名称 | 类型 | 说明 |
---|---|---|
createdAt |
string (date-time) |
资源创建时间戳(UTC)。 |
createdBy |
string |
创建资源的标识。 |
createdByType |
创建资源的标识的类型。 |
|
lastModifiedAt |
string (date-time) |
上次修改的资源时间戳(UTC) |
lastModifiedBy |
string |
上次修改资源的标识。 |
lastModifiedByType |
上次修改资源的标识的类型。 |