跳转到主要内容
基础设施相关接口/生命周期升级

重新检查升级计划

重新检查一个已暂停的升级计划。

POST/api/v1/lifecycle/upgrades/plans/{planUuid}/recheck

操作 ID

RecheckUpgradePlan

起始版本

1.0.0

执行模式

同步

认证信息

需要认证

认证信息

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

Authorizationstring必填

Bearer 令牌

X-Tenant-IDstring

X-Tenant-ID

请求参数

application/json

路径参数

  • planUuid
    String必填

    唯一UUID计划。

请求体字段

  • stepUuid
    String

    步骤UUID。

    示例: value

响应状态

200 OK

请求成功。

Content-Type: application/json

响应体根类型: object

  • plan
    Object

    升级计划返回操作。

    • uuid
      String

      资源的UUID,唯一标识该资源。

      示例: value

    • name
      String

      资源名称。

      示例: my-resource

    • status
      String

      状态信息。

      示例: value

    • executorKind
      String

      执行器类型。

      示例: value

    • planScope
      String

      计划作用域。

      示例: value

    • operation
      String

      操作。

      示例: value

    • updateType
      String

      更新类型。

      示例: value

    • createdBy
      String

      创建该记录的用户UUID。

      示例: value

    • bundleName
      String

      打包名称。

      示例: value

    • targetBundleVersionUuid
      String

      目标打包版本UUID。

      示例: value

    • fromVersion
      String

      版本。

      示例: value

    • fromRelease
      String

      发布。

      示例: value

    • toVersion
      String

      目标版本号。

      示例: value

    • toRelease
      String

      目标发布。

      示例: value

    • precheckRevision
      Integer

      预检修订版本。

      示例: 10

      {"format":"int32"}

    • precheckStatus
      String

      预检状态。

      示例: value

    • backupRecordUuid
      String

      备份记录UUID。

      示例: value

    • autoExecute
      Boolean

      是否执行。

      示例: true

    • blockedReason
      String

      已阻塞原因。

      示例: value

    • failureType
      String

      失败类型。

      示例: value

    • currentTaskUuid
      String

      当前任务UUID。

      示例: value

    • currentStepUuid
      String

      当前步骤UUID。

      示例: value

    • failedTaskUuid
      String

      失败任务UUID。

      示例: value

    • failedStepUuid
      String

      失败步骤UUID。

      示例: value

    • failedLifecycleTaskUuid
      String

      失败生命周期任务UUID。

      示例: value

    • nextAction
      String

      下一个动作。

      示例: value

    • lastErrorCode
      String

      最近一次错误代码。

      示例: value

    • lastErrorMessage
      String

      最近一次错误消息。

      示例: value

    • startedAt
      String

      开始时间。

      示例: 2026-01-15T08:00:00Z

      {"format":"date-time"}

    • completedAt
      String

      完成时间。

      示例: 2026-01-15T08:00:00Z

      {"format":"date-time"}

    • createdAt
      String

      创建时间。

      示例: 2026-01-15T08:00:00Z

      {"format":"date-time"}

    • updatedAt
      String

      更新时间。

      示例: 2026-01-15T08:00:00Z

      {"format":"date-time"}

    • backupRecord
      Object

      备份记录。

      • uuid
        String

        资源的UUID,唯一标识该资源。

        示例: value

      • sourceType
        String

        源类型。

        示例: value

      • sourceUuid
        String

        源UUID。

        示例: value

      • status
        String

        状态信息。

        示例: value

      • artifactCount
        Integer

        构件数量。

        示例: 10

        {"format":"int32"}

      • expiresAt
        String

        过期时间。

        示例: 2026-01-15T08:00:00Z

        {"format":"date-time"}

      • errorCode
        String

        LDAP错误分类编码。

        示例: value

      • errorMessage
        String

        错误返回消息。

        示例: value

      • startedAt
        String

        开始时间。

        示例: 2026-01-15T08:00:00Z

        {"format":"date-time"}

      • completedAt
        String

        完成时间。

        示例: 2026-01-15T08:00:00Z

        {"format":"date-time"}

      • deletedAt
        String

        已删除时间。

        示例: 2026-01-15T08:00:00Z

        {"format":"date-time"}

      • createdAt
        String

        创建时间。

        示例: 2026-01-15T08:00:00Z

        {"format":"date-time"}

      • updatedAt
        String

        更新时间。

        示例: 2026-01-15T08:00:00Z

        {"format":"date-time"}

      • backupRange
        Object

        备份范围。

      • manifestSetChecksum
        String

        清单设置校验和。

        示例: value

      • targetMembershipChangesChecksum
        String

        目标成员变更校验和。

        示例: value

      • deleteReason
        String

        删除原因。

        示例: value

      • physicalDeleteError
        String

        物理删除错误。

        示例: value

      • artifacts
        List

        制品。

        • uuid
          String

          资源的UUID,唯一标识该资源。

          示例: value

        • backupRecordUuid
          String

          备份记录UUID。

          示例: value

        • artifactName
          String

          构件名称。

          示例: value

        • componentUuid
          String

          组件UUID。

          示例: value

        • componentInstanceUuid
          String

          组件实例UUID。

          示例: value

        • serviceInstanceUuid
          String

          服务实例UUID。

          示例: value

        • nodeUuid
          String

          节点UUID。

          示例: value

        • lcaUuid
          String

          LCA UUID。

          示例: value

        • path
          String

          存储路径备份构件。

          示例: value

        • digest
          String

          摘要。

          示例: value

        • sizeBytes
          String

          文件大小,单位为字节。

          示例: 10

          {"format":"int64"}

        • status
          String

          状态信息。

          示例: value

        • manifestChecksum
          String

          清单校验和。

          示例: value

        • lifecycleTaskUuid
          String

          生命周期任务UUID。

          示例: value

        • attemptIndex
          Integer

          尝试索引。

          示例: 10

          {"format":"int32"}

        • errorCode
          String

          LDAP错误分类编码。

          示例: value

        • errorMessage
          String

          错误返回消息。

          示例: value

        • physicalDeleteError
          String

          物理删除错误。

          示例: value

        • createdAt
          String

          创建时间。

          示例: 2026-01-15T08:00:00Z

          {"format":"date-time"}

        • updatedAt
          String

          更新时间。

          示例: 2026-01-15T08:00:00Z

          {"format":"date-time"}

    • precheckSummary
      Object

      预检汇总。

    • tasks
      List

      任务。

      • uuid
        String

        资源的UUID,唯一标识该资源。

        示例: value

      • planUuid
        String

        计划UUID。

        示例: value

      • batchIndex
        Integer

        批次索引。

        示例: 10

        {"format":"int32"}

      • orderIndex
        Integer

        排序索引。

        示例: 10

        {"format":"int32"}

      • componentUuid
        String

        组件UUID。

        示例: value

      • componentName
        String

        组件名称。

        示例: value

      • taskType
        String

        任务类型。

        示例: value

      • fromVersion
        String

        版本。

        示例: value

      • fromRelease
        String

        发布。

        示例: value

      • toVersion
        String

        目标版本号。

        示例: value

      • toRelease
        String

        目标发布。

        示例: value

      • status
        String

        状态信息。

        示例: value

      • skipReason
        String

        跳过原因。

        示例: value

      • blockedReason
        String

        已阻塞原因。

        示例: value

      • failureType
        String

        失败类型。

        示例: value

      • lifecycleTaskUuid
        String

        生命周期任务UUID。

        示例: value

      • message
        String

        错误返回消息。

        示例: value

      • startedAt
        String

        开始时间。

        示例: 2026-01-15T08:00:00Z

        {"format":"date-time"}

      • createdAt
        String

        创建时间。

        示例: 2026-01-15T08:00:00Z

        {"format":"date-time"}

      • updatedAt
        String

        更新时间。

        示例: 2026-01-15T08:00:00Z

        {"format":"date-time"}

    • steps
      List

      执行步骤列表。

      • uuid
        String

        资源的UUID,唯一标识该资源。

        示例: value

      • taskUuid
        String

        任务UUID。

        示例: value

      • orderIndex
        Integer

        排序索引。

        示例: 10

        {"format":"int32"}

      • action
        String

        动作名称。

        示例: value

      • executionKind
        String

        执行类型。

        示例: value

      • targetLevel
        String

        目标等级。

        示例: value

      • required
        Boolean

        是否必填。

        示例: true

      • componentUuid
        String

        组件UUID。

        示例: value

      • componentName
        String

        组件名称。

        示例: value

      • componentInstanceUuid
        String

        组件实例UUID。

        示例: value

      • serviceInstanceUuid
        String

        服务实例UUID。

        示例: value

      • nodeUuid
        String

        节点UUID。

        示例: value

      • lcaUuid
        String

        LCA UUID。

        示例: value

      • fromVersion
        String

        版本。

        示例: value

      • fromRelease
        String

        发布。

        示例: value

      • toVersion
        String

        目标版本号。

        示例: value

      • toRelease
        String

        目标发布。

        示例: value

      • depotArtifactId
        Integer

        软件仓库构件ID。

        示例: 10

        {"format":"int32"}

      • localDownloadId
        Integer

        本地下载ID。

        示例: 10

        {"format":"int32"}

      • artifactDigest
        String

        构件摘要。

        示例: value

      • artifactManifestChecksum
        String

        构件清单校验和。

        示例: value

      • currentLifecycleTaskUuid
        String

        当前生命周期任务UUID。

        示例: value

      • attemptCount
        Integer

        尝试数量。

        示例: 10

        {"format":"int32"}

      • status
        String

        状态信息。

        示例: value

      • precheckRevision
        Integer

        预检修订版本。

        示例: 10

        {"format":"int32"}

      • checkKey
        String

        检查键。

        示例: value

      • riskKey
        String

        风险键。

        示例: value

      • checkResult
        String

        检查结果。

        示例: value

      • confirmationRequired
        Boolean

        确认必需。

        示例: true

      • fixHint
        String

        修复提示。

        示例: value

      • details
        Object

        详细信息。

      • checkedAt
        String

        检查时间。

        示例: 2026-01-15T08:00:00Z

        {"format":"date-time"}

      • observedVersion
        String

        已观察版本。

        示例: value

      • observedRelease
        String

        已观察发布。

        示例: value

      • nextAction
        String

        下一个动作。

        示例: value

      • message
        String

        错误返回消息。

        示例: value

      • lastErrorCode
        String

        最近一次错误代码。

        示例: value

      • lastErrorMessage
        String

        最近一次错误消息。

        示例: value

      • startedAt
        String

        开始时间。

        示例: 2026-01-15T08:00:00Z

        {"format":"date-time"}

      • completedAt
        String

        完成时间。

        示例: 2026-01-15T08:00:00Z

        {"format":"date-time"}

      • createdAt
        String

        创建时间。

        示例: 2026-01-15T08:00:00Z

        {"format":"date-time"}

      • updatedAt
        String

        更新时间。

        示例: 2026-01-15T08:00:00Z

        {"format":"date-time"}

    • targetManifestSetChecksum
      String

      目标清单设置校验和。

      示例: value

    • targetMembershipChangesChecksum
      String

      目标成员变更校验和。

      示例: value

    • targetMembershipChanges
      List

      目标成员变更。

      • action
        String

        动作名称。

        示例: value

      • fromBundleName
        String

        打包名称。

        示例: value

      • componentName
        String

        组件名称。

        示例: value

      • reason
        String

        原因说明。

        示例: value

      • componentCategory
        String

        组件分类。

        示例: value

      • componentType
        String

        组件类型。

        示例: "lifecycle-service"

    • observeDurationNs
      String

      观察时长纳秒。

      示例: 10

      {"format":"int64"}

    • nextActionApi
      String

      下一个动作API。

      示例: value

    • nextActionReason
      String

      下一个动作原因。

      示例: value

    • manualActionRequired
      Boolean

      手动动作必需。

      示例: true

  • 变更时间

    新增响应字段 manualActionRequired
    查看 API