Skip to main content

Get Image Status of Element (v2.1)

POST 

/v2.1/api/tenants/:tenant_id/software/current_status/query

Get the current image status of all the elements.

Request

Path Parameters

    tenant_id stringrequired

    The tenant ID.

Body

    aggregate Aggregate

    The aggregate number of element image status that match the query parameters.

    data AggregateData[]

    The details of the aggregate data.

  • Array [
  • value number

    Value of the aggregate data.

    view object

    View the aggregate date.

  • ]
  • field string

    Field

    name string

    The name of the query response.

    operator string

    Possible values: [max, count, min, avg, sum]

    Operator

    statistic string

    QoS application aggregate statistics.

    unit string

    The unit.

    dest_page int32

    The destination page.

    getDeleted boolean

    The number of element image status deleted for a time frame.

    group_by string[]

    Group the element image status for the query.

    id string

    List the element image status by ID.

    last_query_ts int64

    Return the ID of a specified query in the current session.

    limit int32

    The query limit.

    next_query object

    The limit.

    query_params object

    Query using query parameters.

    retrieved_fields string[]

    Retrieve information from a field.

    retrieved_fields_mask boolean

    List the fields to query.

    sort_params object

    Specify the order in which you want the search criteria to display.

    total_count int64

    The total number of query parameters.

Responses

Successful Operation

Schema
    count int32

    The actual count.

    deleted_count int64

    The deleted number.

    deleted_ids string[]

    The deleted IDs.

    description

    Description of the query. Max size = 256.

    id string

    The ID.

    next_query object

    Details of the next query.

    tenant_id string

    The tenant ID.

    total_count int64

    Total number.

    items ElementImageStatusQueryFilterV2N1[]
  • Array [
  • active_image_id string

    The active image ID.

    active_version string

    The active version.

    download_interval integer

    The download interval.

    download_percent integer

    The download percentage.

    element_id string

    Element Id

    failure_info string

    The element image failure information.

    id string

    The ID.

    previous_image_id string

    The previous image ID.

    rollback_version string

    The rollback version.

    scheduled_download string

    The scheduled download.

    scheduled_upgrade string

    The scheduled upgrade.

    upgrade_image_id string

    The upgrade image ID.

    upgrade_interval integer

    The upgrade interval.

    upgrade_state string

    Possible values: [pending, init, discovery, download, download_init, download_complete, download_scheduled, download_abort, download_cancelled, download_cancel_pending, upgrade, upgrade_init, upgrade_complete, upgrade_scheduled, upgrade_abort, upgrade_cancelled, upgrade_cancel_pending, upgrade_failed, upgrading, verify, in-progress, install, complete, done, failed, download_discovery, download_failed, downloading, install_failed, installing, verifying, waiting_download_time, waiting_install_time, abort_upgrade_pending, abort_download_pending, invalid]

    The upgrade state of the element.

  • ]
Loading...