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

Scale Units - List

返回某个位置的所有缩放单元的列表。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits?api-version=2016-05-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits?api-version=2016-05-01&$filter={$filter}

URI 参数

名称 必需 类型 说明
location
path True

string

资源的位置。

resourceGroupName
path True

string

资源组的名称。

subscriptionId
path True

string

唯一标识 Microsoft Azure 订阅的订阅凭据。 此订阅 ID 是每个服务调用的 URI 的一部分。

api-version
query True

string

客户端 API 版本。

$filter
query

string

OData 筛选器参数。

响应

名称 类型 说明
200 OK

ScaleUnitList

确定

404 Not Found

未找到

安全性

azure_auth

授权使用 Azure Active Directory OAuth2 流。

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名称 说明
user_impersonation 模拟用户帐户

示例

Returns a list of all scale units at a location.

Sample Request

GET https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01

Sample Response

{
  "value": [
    {
      "id": "/subscriptions/23a94a7f-64b3-42d8-807c-733284339015/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster",
      "name": "S-Cluster",
      "type": "Microsoft.Fabric.Admin/fabricLocations/scaleUnits",
      "location": "local",
      "tags": {},
      "properties": {
        "scaleUnitType": "HyperConverged",
        "logicalFaultDomain": 0,
        "nodes": [
          "/subscriptions/23a94a7f-64b3-42d8-807c-733284339015/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1u15a2437"
        ],
        "state": "Running",
        "totalCapacity": {
          "memoryGB": 511.8877,
          "cores": 32
        },
        "isMultiNode": false
      }
    }
  ]
}

定义

名称 说明
ScaleUnit

表示群集。 通常,群集将是故障转移群集管理器支持的主机集合。

ScaleUnitCapacity

物理计算机的容量信息。

ScaleUnitList

缩放单元的可分页列表。

ScaleUnitState

群集的当前状态。

ScaleUnitType

群集的类型。

ScaleUnit

表示群集。 通常,群集将是故障转移群集管理器支持的主机集合。

名称 类型 说明
id

string

资源的 URI。

location

string

资源所在的区域。

name

string

资源的名称。

properties.isMultiNode

boolean

表示群集中是否有多个节点。

properties.logicalFaultDomain

integer

群集的容错域名。

properties.model

string

群集中服务器的模型。

properties.nodes

string[]

服务器中的节点列表。

properties.scaleUnitType

ScaleUnitType

群集的类型。

properties.state

ScaleUnitState

群集的当前状态。

properties.totalCapacity

ScaleUnitCapacity

群集的容量信息。

tags

object

键值对列表。

type

string

资源的类型。

ScaleUnitCapacity

物理计算机的容量信息。

名称 类型 说明
cores

integer

物理计算机的 CPU 核心数。

memoryGB

number

物理计算机的内存。

ScaleUnitList

缩放单元的可分页列表。

名称 类型 说明
nextLink

string

下一页的 URI。

value

ScaleUnit[]

缩放单元列表。

ScaleUnitState

群集的当前状态。

名称 类型 说明
Creating

string

Deleting

string

Running

string

Unknown

string

Upgrading

string

ScaleUnitType

群集的类型。

名称 类型 说明
ComputeOnly

string

HyperConverged

string

StorageOnly

string

Unknown

string