跳转到主要内容
资源中心/硬件设施/SAN存储相关接口/FC存储相关接口

检查SCSI Lun与集群连接关系

检查SCSI Lun与集群连接关系

PUT/zstack/v1/storage-devices/scsi-lun/{uuid}/cluster/{clusterUuid}

操作 ID

CheckScsiLunClusterStatus

起始版本

3.1.0

执行模式

同步

认证信息

需要认证

认证信息

调用该 API 时需要在请求头中携带以下认证信息。

Authorizationstring必填

Bearer 令牌

X-Tenant-IDstring

X-Tenant-ID

请求参数

application/json

路径参数

  • uuid
    String必填

    资源的UUID,唯一标示该资源

  • clusterUuid
    String必填

    集群UUID

请求体字段

  • systemTags
    List

    系统标签。

  • userTags
    List

    用户标签。

响应状态

200 OK
200 OK

该 API 成功时返回以下响应结构。

  • error
    ErrorCode必填

    错误码,若不为null,则表示操作失败, 操作成功时该字段为null。 详情参考error

    • code
      String必填

      错误码号,错误的全局唯一标识,例如SYS.1000, HOST.1001

    • description
      String必填

      错误的概要描述

    • details
      String必填

      错误的详细信息

    • elaboration
      String必填

      保留字段,默认为null

    • opaque
      LinkedHashMap必填

      保留字段,默认为null

    • cause
      ErrorCode必填

      根错误,引发当前错误的源错误,若无原错误,该字段为null

  • inventory
    ScsiLunClusterStatusInventory必填

    详情参考inventory

    • isAllHostsAttached
      Boolean必填

      SCSI Lun是否已与集群全部物理机连接

    • attachedHosts
      List必填

      详情参考attachedHosts

      • zoneUuid
        String必填

        区域UUID

      • name
        String必填

        资源名称

      • uuid
        String必填

        资源的UUID,唯一标示该资源

      • clusterUuid
        String必填

        集群UUID

      • description
        String必填

        资源的详细描述

      • managementIp
        String必填

        管理IP。

      • hypervisorType
        String必填

        hypervisor类型。

      • state
        String必填

        当前状态。

      • status
        String必填

        状态信息。

      • totalCpuCapacity
        Long必填

        总CPU容量。

      • availableCpuCapacity
        Long必填

        可用CPU容量。

      • totalMemoryCapacity
        Long必填

        总内存容量。

      • availableMemoryCapacity
        Long必填

        可用内存容量。

      • createDate
        Timestamp必填

        创建时间

      • lastOpDate
        Timestamp必填

        最后一次修改时间

    • unattachedHosts
      List必填

      详情参考unattachedHosts

      • zoneUuid
        String必填

        区域UUID

      • name
        String必填

        资源名称

      • uuid
        String必填

        资源的UUID,唯一标示该资源

      • clusterUuid
        String必填

        集群UUID

      • description
        String必填

        资源的详细描述

      • managementIp
        String必填

        管理IP。

      • hypervisorType
        String必填

        hypervisor类型。

      • state
        String必填

        当前状态。

      • status
        String必填

        状态信息。

      • totalCpuCapacity
        Long必填

        总CPU容量。

      • availableCpuCapacity
        Long必填

        可用CPU容量。

      • totalMemoryCapacity
        Long必填

        总内存容量。

      • availableMemoryCapacity
        Long必填

        可用内存容量。

      • createDate
        Timestamp必填

        创建时间

      • lastOpDate
        Timestamp必填

        最后一次修改时间