ListSaasService

更新时间:
复制 MD 格式

Query SaaS Service List

Operation description

Usage Notes

This API operation is used to view information about all SaaS services.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

No

The region ID of the workspace.

cn-hangzhou

WorkspaceId

string

Yes

The workspace ID.

ws-*****

ServiceType

string

Yes

Service type, with the following value:

  • memroy

  • drama

drama

MaxResults

integer

No

The maximum number of entries to return in this request. Default value: 10.

50

NextToken

string

No

The token for the next query to begin with during a paginated query.

caeba0bbb2be03f84eb48b699f0a4883

Response elements

Element

Type

Description

Example

object

TotalRecordCount

integer

The total number of records.

2

RequestId

string

The request ID.

34b32a0a-08ef-4a87-b6be-cdd9f56fc3ad

Items

array<object>

The list of service details.

object

The list of service details.

ServiceId

string

The service ID.

agdb-xxxx

ServiceName

string

The service name.

agdb-xxxx

ServiceType

string

The service type:

  • memory

  • drama

memory

Status

string

The service status:

  • active: Running

  • creating: Being created

active

CreateTime

string

The creation time.

2021-10-09T04:54:08Z

Cu

integer

The computing resources.

1

PayType

string

The billing type. Valid values:

  • POSTPAY: pay-as-you-go.

  • PREPAY: subscription.

POSTPAY

ExpireTime

string

The expiration time.

2021-10-15T16:00:00Z

Plan

string

[Deprecated]

deprecated

NextToken

string

The token for the next query to begin with.

caeba0bbb2be03f84eb48b699f0a4883

MaxResults

integer

The maximum number of entries returned in this request. Default value: 10.

50

Examples

Success response

JSON format

{
  "TotalRecordCount": 2,
  "RequestId": "34b32a0a-08ef-4a87-b6be-cdd9f56fc3ad",
  "Items": [
    {
      "ServiceId": "agdb-xxxx",
      "ServiceName": "agdb-xxxx",
      "ServiceType": "memory",
      "Status": "active",
      "CreateTime": "2021-10-09T04:54:08Z",
      "Cu": 1,
      "PayType": "POSTPAY",
      "ExpireTime": "2021-10-15T16:00:00Z",
      "Plan": "deprecated"
    }
  ],
  "NextToken": "caeba0bbb2be03f84eb48b699f0a4883",
  "MaxResults": 50
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.