Lists instances.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
cams:ListInstance | list | *Instance
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
ChannelType | string | No | The channel type. Valid values:
| VIBER |
InstanceName | string | No | The instance name. | viber_ins |
SubmitTime | string | No | The submission time, in | 2023-12-12 00:00:00 |
PageSize | integer | No | The number of items to return per page. | 87 |
PageIndex | integer | No | The page number to return. | 92 |
ResourceGroupId | string | No | The ID of the resource group that contains the instance. | 11 |
InstanceId | string | No | The instance ID. Use this parameter for non-Alibaba Cloud hosts only. | r-uf6wd7pkyjwxvlxfhk |
FilterStr | string | No | The filter string for the query. | aa |
Response elements
Element | Type | Description | Example |
object | The data returned. | ||
AccessDeniedDetail | string | The details of the access denial. | {} |
TotalCount | integer | The total number of entries that match the specified criteria. | 15 |
RequestId | string | The request ID. | 2993***** |
Message | string | The response message. | NULL |
| Data | array<object> | An array of objects, each representing an instance. | |
object | The details of the instance. | ||
CountryId | string | The country ID. | 1 |
ContactMail | string | The contact email address. | ma**@gmail.com |
ResourceRegionId | string | The ID of the region where the resource is located. | 11 |
ResourceGroupId | string | The resource group ID. | 12 |
InstanceId | string | The instance ID. | 29339**** |
OfficeAddress | string | The office address. | example |
SubmitTime | string | The time when the instance was submitted. | 2023-12-12 00:00:00 |
InstanceName | string | The instance name. | viber_ins |
CustSpaceId | string | The customer space ID. | dad-gf** |
IsvTerms | string | The ISV terms. | aa |
FacebookBmId | string | The ID of the associated Facebook Business Manager account. | 1 |
InstanceDescription | string | The instance description. | ins |
ChannelType | string | The channel type. | VIBER |
State | string | The state of the instance. | published |
Code | string | The request status code.
| OK |
Success | boolean | Indicates whether the call succeeded.
| true |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "{}",
"TotalCount": 15,
"RequestId": "2993*****",
"Message": "NULL",
"Data": [
{
"CountryId": "1",
"ContactMail": "ma**@gmail.com",
"ResourceRegionId": "11",
"ResourceGroupId": "12",
"InstanceId": "29339****",
"OfficeAddress": "example",
"SubmitTime": "2023-12-12 00:00:00",
"InstanceName": "viber_ins",
"CustSpaceId": "dad-gf**",
"IsvTerms": "aa",
"FacebookBmId": "1",
"InstanceDescription": "ins",
"ChannelType": "VIBER",
"State": "published"
}
],
"Code": "OK",
"Success": true
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.