Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

GET image/list

List the details of all NFV images in PI

Since Product Version: 3.1

Resource Information

Rate Limiting?

No

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Read

HTTP Methods

GET

API version v1 is deprecated

This API version has been deprecated. It will be removed in a future release of the product. Please develop new clients using the latest API version. Please modify your existing clients to use a later API version.

Resource URL

/webacs/api/v1/op/image/list

Response Parameters

Attribute Description

items Arrow image ImageDetailDTO[]

List of images

Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

Sample XML Response Payload

https://localhost/webacs/api/v1/op/image/list

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v1/op/image/list" rootUrl="https://localhost/webacs/api/v1/op">
  <imageListDTO>
    <imageList>
      <image>
        <applicationType>String value</applicationType>
        <family>String value</family>
        <imageId>2</imageId>
        <imageLocation>String value</imageLocation>
        <imageType>String value</imageType>
        <lastModified>String value</lastModified>
        <name>String value</name>
        <ovaProfiles>
          <ovaProfile>
            <description>String value</description>
            <memory>1</memory>
            <profileName>String value</profileName>
            <shares>1</shares>
            <vcpu>1</vcpu>
          </ovaProfile>
        </ovaProfiles>
        <size>String value</size>
        <userInputInfo>
          <maxCPU>3.0</maxCPU>
          <maxMemory>3.0</maxMemory>
          <maxStorage>3.0</maxStorage>
          <minCPU>3.0</minCPU>
          <minMemory>3.0</minMemory>
          <minStorage>3.0</minStorage>
        </userInputInfo>
        <version>String value</version>
      </image>
    </imageList>
  </imageListDTO>
</mgmtResponse>

Sample JSON Response Payload

https://localhost/webacs/api/v1/op/image/list.json

{
  "mgmtResponse" : {
    "@responseType" : "operation",
    "@requestUrl" : "https : \/\/localhost\/webacs\/api\/v1\/op\/image\/list",
    "@rootUrl" : "https : \/\/localhost\/webacs\/api\/v1\/op",
    "imageListDTO" : {
      "imageList" : {
        "image" : {
          "applicationType" : "String value",
          "family" : "String value",
          "imageId" : 2,
          "imageLocation" : "String value",
          "imageType" : "String value",
          "lastModified" : "String value",
          "name" : "String value",
          "ovaProfiles" : {
            "ovaProfile" : {
              "description" : "String value",
              "memory" : 1,
              "profileName" : "String value",
              "shares" : 1,
              "vcpu" : 1
            }
          },
          "size" : "String value",
          "userInputInfo" : {
            "maxCPU" : 3,
            "maxMemory" : 3,
            "maxStorage" : 3,
            "minCPU" : 3,
            "minMemory" : 3,
            "minStorage" : 3
          },
          "version" : "String value"
        }
      }
    }
  }
}