All Products
Search
Document Center

Elastic Compute Service:DescribeSnapshotPackage

Last Updated:Mar 19, 2024

Queries purchased Object Storage Service (OSS) storage plans in a specified Alibaba Cloud region.

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
PageNumberintegerNo

The region ID of the snapshot. You can call the DescribeRegions operation to query the most recent region list.

1
PageSizeintegerNo

The number of entries returned per page.

10
RegionIdstringYes

The ID of the request.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object
PageSizeinteger

The page number of the returned page.

10
RequestIdstring

The total number of returned OSS storage plans.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
PageNumberinteger

Details about the OSS storage plans.

1
TotalCountinteger

The name of the OSS storage plan.

1
SnapshotPackagesobject []

The time when the OSS storage plan expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

DisplayNamestring

The time when the OSS storage plan was purchased. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

testDisplayName
EndTimestring

The maximum storage capacity offered by the OSS storage plan.

2018-11-30T06:32:31Z
StartTimestring

DescribeSnapshotPackage

2017-11-30T06:32:31Z

Examples

Sample success responses

JSONformat

{
  "PageSize": 10,
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
  "PageNumber": 1,
  "TotalCount": 1,
  "SnapshotPackages": {
    "SnapshotPackage": [
      {
        "DisplayName": "testDisplayName",
        "EndTime": "2018-11-30T06:32:31Z",
        "StartTime": "2017-11-30T06:32:31Z",
        "InitCapacity": 500
      }
    ]
  }
}

Error codes

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