全部產品
Search
文件中心

Elastic High Performance Computing:GetCluster - 查詢叢集詳情

更新時間:Feb 25, 2026

查詢指定E-HPC叢集資訊。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

ehpc:GetCluster

get

*全部資源

*

請求參數

名稱

類型

必填

描述

樣本值

ClusterId

string

叢集 ID。

ehpc-hz-FYUr32****

返回參數

名稱

類型

描述

樣本值

object

返回參數集合。

RequestId

string

請求 ID。

04F0F334-1335-436C-A1D7-6C044FE73368

ClusterId

string

E-HPC 叢集 ID

ehpc-hz-FYUr32****

ClusterName

string

E-HPC 叢集名稱

slurm22.05.8-cluster-20240614

ClusterCategory

string

叢集系列,可能值:

  • Standard

  • Serverless

Standard

MaxCount

string

叢集可管理的計算節點數量。

100

MaxCoreCount

string

叢集可管理的計算節點總核心數。

10000

DeleteProtection

string

叢集是否開啟刪除保護。可能值:

  • true:啟動刪除保護。

  • false:不啟用刪除保護。

true

ResourceGroupId

string

資源群組 ID。

rg-acfmxazb4ph****

ClusterCreateTime

string

叢集的建立時間。以 ISO 8601 為標準,並使用 UTC+0 時間,格式為 yyyy-MM-ddTHH:mmZ。更多資訊,請參見ISO 8601

2024-08-06T12:43:01.000Z

ClusterModifyTime

string

叢集的修改時間。以 ISO 8601 為標準,並使用 UTC+0 時間,格式為 yyyy-MM-ddTHH:mmZ。更多資訊,請參見ISO 8601

2024-08-06T12:43:01.000Z

ClusterVpcId

string

叢集使用的Virtual Private Cloud ID。

vpc-uf6u3lk1pjy28eg*****

ClusterVSwitchId

string

叢集使用的虛擬交換器 ID。

vsw-bp1p2uugqsjppno******

SecurityGroupId

string

安全性群組 ID。

sg-f8z9vb2zaezpkr69a21k

EhpcVersion

string

E-HPC 產品版本號碼。

2.0.0

ClientVersion

string

叢集使用的 E-HPC Util 版本。

2.0.31

ClusterStatus

string

叢集狀態。可能值:

  • uninit:安裝中

  • creating:建立中

  • initing:初始化中

  • running;運行中

  • exception:異常

  • raleasing:釋放中

  • stopping:停止中

  • stopped:已停止

  • pending:待配置

running

ClusterMode

string

叢集的部署類型。可能值:

  • Integrated:公用雲

  • Hybrid:混合雲

  • Custom:自訂叢集

Integrated

Manager

object

叢集管理節點配置。

Scheduler

object

調度器服務資訊。

Type

string

調度器類型。可能值:

  • SLURM

  • PBS

  • OPENGRIDSCHEDULER

  • LSF_PLUGIN

  • PBS_PLUGIN

SLURM

Version

string

調度器版本。

22.05.8

Status

string

調度器服務狀態,可能值:

  • uninit:安裝中

  • initing:初始化中

  • running:運行中

  • exception:異常

  • releasing:釋放中

  • stopped:已停止

  • pending:待配置

running

DirectoryService

object

域帳號服務資訊。

Type

string

域帳號類型。

nis

Version

string

域帳號版本。

2.31

Status

string

域帳號服務狀態,可能值:

  • uninit:安裝中

  • initing:初始化中

  • running:運行中

  • exception:異常

  • releasing:釋放中

  • stopped:已停止

  • pending:待配置

running

DNS

object

網域名稱解析服務配置資訊。

Type

string

網域名稱解析類型。

nis

Version

string

網域名稱解析版本。

2.31

Status

string

網域名稱解析服務狀態,可能值:

  • uninit:安裝中

  • initing:初始化中

  • running:運行中

  • exception:異常

  • releasing:釋放中

  • stopped:已停止

  • pending:待配置

running

ManagerNode

object

管理節點的配置資訊。

InstanceId

string

管理節點執行個體 ID。

i-bp1a170jgea1vl******

InstanceType

string

管控節點執行個體規格。

ecs.g6.4xlarge

InstanceChargeType

string

管理節點的執行個體付費類型。可能值:

  • PostPaid:隨用隨付

  • PrePaid:訂用帳戶

PostPaid

ExpiredTime

string

管理節點的到期時間。

2099-12-31T15:59Z

ImageId

string

aliyun_2_1903_x64_20G_alibase_20200324.vhd

PeriodUnit

string

Month

Period

integer

1

AutoRenew

boolean

AutoRenewPeriod

integer

Month

SpotStrategy

string

NoSpot

SpotPriceLimit

number

1

Duration

integer

1

EnableHt

boolean

SystemDisk

object

Category

string

cloud_ssd

Size

integer

40

Level

string

PL0

ClusterCustomConfiguration

object

叢集後處理指令碼。

Script

string

後處理指令碼的下載地址。

http://*****

Args

string

安裝後指令碼的執行參數。

E-HPC cn-hangzhou

GrowInterval

integer

叢集自動擴容的時間間隔。

2

IdleInterval

integer

叢集計算節點的空閑時間。

4

EnableScaleOut

boolean

叢集是否開啟自動擴容。可選值:

  • true:開啟

  • false:關閉

true

EnableScaleIn

boolean

叢集是否開啟自動縮容,可能值:

  • true:開啟

  • false:關閉

true

MonitorSpec

object

叢集監控詳情。

EnableComputeLoadMonitor

boolean

叢集是否開啟計算節點的監控組件,可能值:

  • true:開啟

  • false:關閉

true

SchedulerSpec

object

叢集調度詳情。

EnableTopologyAwareness

boolean

叢集是否開啟拓撲感知功能,可能值:

  • true:開啟

  • false:關閉

true

EnablePowerSaving

boolean

樣本

正常返回樣本

JSON格式

{
  "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
  "ClusterId": "ehpc-hz-FYUr32****",
  "ClusterName": "slurm22.05.8-cluster-20240614",
  "ClusterCategory": "Standard",
  "MaxCount": "100",
  "MaxCoreCount": "10000",
  "DeleteProtection": "true",
  "ResourceGroupId": "rg-acfmxazb4ph****",
  "ClusterCreateTime": "2024-08-06T12:43:01.000Z\n",
  "ClusterModifyTime": "2024-08-06T12:43:01.000Z\n",
  "ClusterVpcId": "vpc-uf6u3lk1pjy28eg*****",
  "ClusterVSwitchId": "vsw-bp1p2uugqsjppno******",
  "SecurityGroupId": "sg-f8z9vb2zaezpkr69a21k",
  "EhpcVersion": "2.0.0",
  "ClientVersion": "2.0.31",
  "ClusterStatus": "running",
  "ClusterMode": "Integrated",
  "Manager": {
    "Scheduler": {
      "Type": "SLURM",
      "Version": "22.05.8",
      "Status": "running"
    },
    "DirectoryService": {
      "Type": "nis",
      "Version": "2.31",
      "Status": "running"
    },
    "DNS": {
      "Type": "nis",
      "Version": "2.31",
      "Status": "running"
    },
    "ManagerNode": {
      "InstanceId": "i-bp1a170jgea1vl******",
      "InstanceType": "ecs.g6.4xlarge",
      "InstanceChargeType": "PostPaid",
      "ExpiredTime": "2099-12-31T15:59Z",
      "ImageId": "aliyun_2_1903_x64_20G_alibase_20200324.vhd",
      "PeriodUnit": "Month",
      "Period": 1,
      "AutoRenew": true,
      "AutoRenewPeriod": 0,
      "SpotStrategy": "NoSpot",
      "SpotPriceLimit": 1,
      "Duration": 1,
      "EnableHt": true,
      "SystemDisk": {
        "Category": "cloud_ssd",
        "Size": 40,
        "Level": "PL0"
      }
    }
  },
  "ClusterCustomConfiguration": {
    "Script": "http://*****\n",
    "Args": "E-HPC cn-hangzhou\n"
  },
  "GrowInterval": 2,
  "IdleInterval": 4,
  "EnableScaleOut": true,
  "EnableScaleIn": true,
  "MonitorSpec": {
    "EnableComputeLoadMonitor": true
  },
  "SchedulerSpec": {
    "EnableTopologyAwareness": true,
    "EnablePowerSaving": true
  }
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

404 ClusterNotFound The specified cluster does not exist. 指定的叢集不存在,請您檢查該參數是否正確。
503 ServiceUnavailable The request has failed due to a temporary failure of the server 請求失敗,服務暫時不可用

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情