All Products
Search
Document Center

CloudOps Orchestration Service:GetInventorySchema

Last Updated:Mar 03, 2024

Queries the properties of a configuration list.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringNo

The region ID.

cn-hangzhou
AggregatorbooleanNo

Specifies whether to return only properties that support the aggregate feature in the configuration list. Valid values:

  • true: only returns properties that support the aggregate feature in the configuration list.
  • false: returns all properties in the configuration list.
false
TypeNamestringNo

The configuration list type name. Valid values:

  • ACS:InstanceInformation
  • ACS:Application
  • ACS:File
  • ACS:Network
  • ACS:WindowsRole
  • ACS:Service
  • ACS:WindowsUpdate
  • ACS:WindowsRegistry
ACS:Application
MaxResultsintegerNo

The number of entries per page. Valid values: 1 to 100. Default value: 50.

50
NextTokenstringNo

A pagination token. It can be used in the next request to retrieve a new page of results.

gAAAAABfh8MVLQI9AuKGACLgjbsXbWs-Mna47IDM6tr6wK7TZ1

Response parameters

ParameterTypeDescriptionExample
object
NextTokenstring

The pagination token that was used in the next request to retrieve a new page of results.

gAAAAABfh8MVLQI9AuKGACLgjbsXbWs-Mna47IDM6tr6wK7TZ1
RequestIdstring

The request ID.

89117642-7167-4F4D-B7F1-876582279E3E
MaxResultsstring

The number of entries per page.

1
Schemasobject []

The detailed configurations of the configuration list.

Versionstring

The version of the configuration list.

1.0
TypeNamestring

The name of the configuration list.

ACS:Application
Attributesobject []

The properties of the configuration list.

Namestring

The name of the property.

ApplicationType
DataTypestring

The data type of the property.

STRING

Examples

Sample success responses

JSONformat

{
  "NextToken": "gAAAAABfh8MVLQI9AuKGACLgjbsXbWs-Mna47IDM6tr6wK7TZ1",
  "RequestId": "89117642-7167-4F4D-B7F1-876582279E3E",
  "MaxResults": "1",
  "Schemas": [
    {
      "Version": "1.0",
      "TypeName": "ACS:Application",
      "Attributes": [
        {
          "Name": "ApplicationType",
          "DataType": "STRING"
        }
      ]
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.