跳转到主要内容
资源中心/网络服务/网络服务相关接口/安全策略定时计划相关接口

获取资源的安全策略定时计划

获取资源的安全策略定时计划

GET/zstack/v1/network-security-policy-schedules

操作 ID

GetNetworkSecurityPolicySchedule

起始版本

5.5.38

执行模式

同步

认证信息

需要认证

认证信息

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

Authorizationstring必填

Bearer 令牌

X-Tenant-IDstring

X-Tenant-ID

请求参数

查询参数

  • resourceUuid
    String必填

    资源UUID

  • timeStatus
    String

    时间状态

  • repeatType
    String

    计划类型

  • timeType
    String

    时区类型

  • systemTags
    List

    系统标签

响应状态

200 OK
200 OK

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

  • success
    boolean必填

    操作是否成功

  • error
    ErrorCode必填

    详情参考error

    • code
      String必填

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

    • description
      String必填

      错误的概要描述

    • details
      String必填

      错误的详细信息

    • elaboration
      String必填

      保留字段,默认为null

    • opaque
      LinkedHashMap必填

      保留字段,默认为null

    • cause
      ErrorCode必填

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

  • inventories
    List必填

    所属资源下的定时计划列表