Consulta clusters personalizados.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
polardb:DescribeAIDBClusters |
get |
*All Resource
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| DBClusterIds |
string |
Não |
O ID do cluster. Para especificar vários clusters, separe seus IDs com uma vírgula. |
pc-*************** |
| PageSize |
integer |
Não |
O número de entradas por página. Valores válidos: 30, 50 e 100. Valor padrão: 30. |
30 |
| PageNumber |
integer |
Não |
O número da página. |
1 |
| DBClusterDescription |
string |
Não |
A descrição do cluster. A pesquisa aproximada é suportada. |
pc-**************** |
| DBClusterStatus |
string |
Não |
O status do cluster. Valores válidos:
|
Running |
| PayType |
string |
Não |
O método de cobrança. Valores válidos:
|
Prepaid |
| RegionId |
string |
Sim |
O ID da região. |
cn-hangzhou |
| AiNodeType |
string |
Não |
O tipo de nó. Para especificar vários tipos, separe-os com uma vírgula. Valores válidos:
|
vnode,container |
| Tag |
array<object> |
Não |
Uma lista de tags. |
|
|
object |
Não |
|||
| Key |
string |
Não |
A chave da tag. Use este parâmetro com Tag.n.Value para filtrar clusters por tag. Você pode especificar até 20 pares de tags. O índice n deve ser um número inteiro exclusivo e consecutivo começando em 1. |
testKey |
| Value |
string |
Não |
O valor da tag. |
testValueData |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
Os dados retornados. |
||
| RequestId |
string |
O ID da solicitação. |
9D6CE7C6-1C52-5BF6-B3D7-10977D44542C |
| TotalRecordCount |
integer |
O número total de entradas. |
5 |
| PageRecordCount |
integer |
O número de entradas na página atual. |
7 |
| PageNumber |
integer |
O número da página. Valor padrão: 1. |
1 |
| Items |
object |
Os detalhes dos clusters de IA. |
|
| DBCluster |
array<object> |
Uma lista de instâncias de cluster de IA. |
|
|
array<object> |
As propriedades da instância do cluster de IA. |
||
| DBClusterId |
string |
The cluster ID. |
pc-************** |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| ZoneId |
string |
The zone ID. |
cn-hangzhou-j |
| PayType |
string |
The billing method. Valid values:
|
Postpaid |
| DBClusterStatus |
string |
The status of the cluster. |
Creating |
| DBClusterDescription |
string |
The description of the cluster. |
ocpx |
| VpcId |
string |
The VPC ID. |
vpc-*************** |
| DBNodeClass |
string |
The node class. |
polar.pg.g8.8xlarge.gu30 |
| StorageType |
string |
The storage type. Valid values:
|
essdpl0 |
| StorageSpace |
integer |
The storage space. Unit: GB. |
10 |
| ExpireTime |
string |
The expiration time. Nota
This parameter is returned only for subscription clusters. For pay-as-you-go clusters, this parameter is empty. |
2028-09-01T16:00:00Z |
| Expired |
boolean |
Indicates whether the cluster has expired. Valid values:
|
False |
| LockMode |
string |
The lock state of the cluster. Valid values:
|
Unlock |
| CreateTime |
string |
The time the cluster was created. |
2021-09-13T15:45:27Z |
| KubeClusterId |
string |
The ID of the Container Service for Kubernetes (ACK) cluster. |
xxxxxxxxxxxx |
| RunType |
string |
The run type. Valid values:
|
container |
| DBType |
string |
The database engine type. Only polardb_ai is supported. |
polardb_ai |
| AiNodeType |
string |
The node type. Valid values: vnode: a node managed by Kubernetes; container: a container that supports logon; maas: a model service. |
vnode |
| Tags |
object |
The tags of the cluster. |
|
| Tag |
array<object> |
A list of tags. |
|
|
object |
A tag attached to the cluster. |
||
| Key |
string |
The tag key. |
testKey |
| Value |
string |
The tag value. |
testValueData |
| VswitchId |
string |
The VSwitch ID. |
vsw-************** |
| RelativeDBClusterId |
string |
The ID of the associated cluster instance. |
pc-************** |
| ModelType |
string |
The model type. |
custom |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "9D6CE7C6-1C52-5BF6-B3D7-10977D44542C",
"TotalRecordCount": 5,
"PageRecordCount": 7,
"PageNumber": 1,
"Items": {
"DBCluster": [
{
"DBClusterId": "pc-**************",
"RegionId": "cn-hangzhou",
"ZoneId": "cn-hangzhou-j",
"PayType": "Postpaid",
"DBClusterStatus": "Creating",
"DBClusterDescription": "ocpx",
"VpcId": "vpc-***************",
"DBNodeClass": "\npolar.pg.g8.8xlarge.gu30",
"StorageType": "essdpl0",
"StorageSpace": 10,
"ExpireTime": "2028-09-01T16:00:00Z",
"Expired": true,
"LockMode": "Unlock",
"CreateTime": "2021-09-13T15:45:27Z",
"KubeClusterId": "xxxxxxxxxxxx",
"RunType": "container",
"DBType": "polardb_ai",
"AiNodeType": "vnode",
"Tags": {
"Tag": [
{
"Key": "testKey",
"Value": "testValueData"
}
]
},
"VswitchId": "vsw-**************",
"RelativeDBClusterId": "pc-**************",
"ModelType": "custom"
}
]
}
}
Códigos de erro
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.