此内容没有您所选择的语言版本。

38.7. listSnapshots


Name
listSnapshots
Description
List snapshots for a given system. A user may optionally provide a start and end date to narrow the snapshots that will be listed. For example,
  • If the user provides startDate only, all snapshots created either on or after the date provided will be returned.
  • If user provides startDate and endDate, all snapshots created on or between the dates provided will be returned.
  • If the user doesn't provide a startDate and endDate, all snapshots associated with the server will be returned.
Available since: 10.1
Parameters
  • string sessionKey
  • int serverId
  • struct - date details
    • dateTime.iso8601 startDate - Optional, unless endDate is provided.
    • dateTime.iso8601 endDate - Optional.
Return Value
  • array:
    • struct - server snapshot
      • int id
      • string reason - the reason for the snapshot's existence
      • dateTime.iso8601 created
      • array channels
        • string - labels of channels associated with the snapshot
      • array groups
        • string - Names of server groups associated with the snapshot
      • array entitlements
        • string - Names of system entitlements associated with the snapshot
      • array config_channels
        • string - Labels of config channels the snapshot is associated with.
      • array tags
        • string - Tag names associated with this snapshot.
      • string Invalid_reason - If the snapshot is invalid, this is the reason (optional).
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat