Consulta os clusters da edição Data Lakehouse na região de destino.
Descrição da operação
Para obter uma lista atualizada de endpoints de serviço, consulte Endpoints de serviço.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
adb:DescribeDBClusters |
list |
*DBClusterLakeVersion
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| RegionId |
string |
Sim |
O ID da região. Nota
Você pode chamar a operação DescribeRegions para consultar os IDs das regiões disponíveis. |
cn-hangzhou |
| DBClusterIds |
string |
Não |
O ID do cluster. Se você omitir este parâmetro, a operação retornará informações sobre todos os clusters na região especificada. |
amv-bp1r053byu48p**** |
| DBClusterDescription |
string |
Não |
A descrição do cluster.
|
test |
| DBClusterStatus |
string |
Não |
O status do cluster. Valores válidos:
|
Running |
| PageSize |
integer |
Não |
O número de entradas a serem retornadas em cada página. Valores válidos:
|
30 |
| PageNumber |
integer |
Não |
O número da página. O valor deve ser um número inteiro positivo. Valor padrão: 1. |
1 |
| ResourceGroupId |
string |
Não |
O ID do grupo de recursos. Se você omitir este parâmetro, a operação retornará informações sobre clusters em todos os grupos de recursos. |
rg-4690g37929**** |
| Tag |
array<object> |
Não |
As tags para filtrar os clusters. |
|
|
object |
Não |
Informações sobre uma tag do cluster. |
||
| Key |
string |
Não |
A chave da tag. |
tag1 |
| Value |
string |
Não |
O valor da tag. |
test1 |
| ProductVersion |
string |
Não |
A versão do produto. Valores válidos:
Nota
Se você omitir este parâmetro, a operação retornará clusters de todas as versões do produto. |
BasicVersion |
| DBClusterVersion |
string |
Não |
A versão do cluster. Valores válidos:
|
5.0 |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| TotalCount |
integer |
O número total de entradas retornadas. |
1 |
| PageSize |
integer |
O número de entradas por página. |
30 |
| RequestId |
string |
O ID da solicitação. |
A5EDBA27-AF3E-5966-9503-FD1557E19167 |
| PageNumber |
integer |
O número da página. |
1 |
| Items |
object |
||
| DBCluster |
array<object> |
Os detalhes dos clusters. |
|
|
array<object> |
Os detalhes do cluster. |
||
| Expired |
string |
Indicates whether the subscription cluster has expired. Valid values:
Nota
|
false |
| CreateTime |
string |
The creation time of the cluster. The time is in UTC and formatted as yyyy-MM-ddTHH:mm:ssZ. |
2022-04-01T09:50:18Z |
| PayType |
string |
The billing method of the cluster. Valid values:
|
Prepaid |
| Mode |
string |
The mode of the cluster. A value of flexible indicates that the cluster is in elastic mode. |
flexible |
| Port |
string |
The port number of the cluster. |
3306 |
| LockMode |
string |
The lock state of the cluster. Valid values:
|
Unlock |
| StorageResource |
string |
The amount of reserved storage resources. An AnalyticDB Compute Unit (ACU) is equivalent to 1 vCPU and 4 GB of memory. Storage resources are used for data read and write operations. Increasing storage resources can improve the read and write performance of the cluster. |
24ACU |
| DBClusterId |
string |
The ID of the Data Lakehouse Edition cluster. |
amv-bp163885f8q21**** |
| ConnectionString |
string |
The public endpoint of the cluster. |
amv-bp163885f8q21****.ads.aliyuncs.com |
| DBClusterType |
string |
The type of the cluster. A value of Common indicates a regular cluster. |
Common |
| CommodityCode |
string |
The commodity code of the cluster. Valid values:
|
ads_pre |
| ExpireTime |
string |
The expiration time of the cluster. The time is in UTC and formatted as yyyy-MM-ddTHH:mm:ssZ. Nota
|
2022-07-01T09:50:18Z |
| LockReason |
string |
The reason that the cluster is locked. Nota
This parameter is returned only when the cluster is locked. The value is fixed as instance_expired. |
instance_expired |
| VPCId |
string |
The virtual private cloud (VPC) ID. |
vpc-bp13h7uzhulpuxvnp**** |
| RegionId |
string |
The ID of the region where the cluster resides. |
cn-hangzhou |
| ComputeResource |
string |
The amount of reserved computing resources. An AnalyticDB Compute Unit (ACU) is equivalent to 1 vCPU and 4 GB of memory. Computing resources are used for data computation. You can increase computing resources to accelerate queries and elastically scale them based on the cluster performance. |
16ACU |
| VSwitchId |
string |
The vSwitch ID. |
vsw-bp1syh8vvw8yech7n**** |
| DBVersion |
string |
The database engine version. The only supported version is 5.0. |
5.0 |
| DBClusterStatus |
string |
The status of the cluster. Valid values:
|
Running |
| ResourceGroupId |
string |
The ID of the resource group. |
rg-acfmyiu4ekp**** |
| DBClusterNetworkType |
string |
The network type of the cluster. The only supported network type is VPC. |
VPC |
| DBClusterDescription |
string |
The description of the cluster. |
adb_test |
| ZoneId |
string |
The ID of the zone where the cluster resides. |
cn-hangzhou-h |
| Engine |
string |
The database engine of the cluster. The value is fixed as AnalyticDB. |
AnalyticDB |
| ReservedACU |
string |
The amount of remaining reserved computing resources. An ACU is equivalent to 1 vCPU and 4 GB of memory. |
32ACU |
| Tags |
object |
||
| Tag |
array<object> |
The list of tags. |
|
|
object |
The tags. |
||
| Key |
string |
The tag key. Nota
You can call the TagResources operation to add tags to the cluster. |
tag1 |
| Value |
string |
The tag value. |
test1 |
| Category |
string |
The edition of the cluster. This parameter is returned only for clusters in Data Warehouse Edition. Valid values:
Nota
For more information about cluster editions, see Product editions. |
MIXED_STORAGE |
| InnerPort |
string |
The internal port of the cluster. |
3306 |
| VPCCloudInstanceId |
string |
The internal endpoint. |
am-bp163885f8q21****-controller |
| InnerIp |
string |
The internal IP address of the cluster. |
10.1.xx.xx |
| DtsJobId |
string |
The ID of the Data Transmission Service (DTS) synchronization task. This parameter is returned only for MySQL analysis instances. |
dtsb1578j90XXXX |
| ElasticIOResource |
integer |
The number of Elastic IO Units (EIUs). For more information, see EIU details. Nota
This parameter is returned only for clusters in elastic mode. |
2 |
| RdsInstanceId |
string |
The ID of the source ApsaraDB RDS instance. This parameter is returned only for MySQL analysis instances. |
rm-bp11q28kvl688**** |
| ExecutorCount |
string |
The number of compute nodes in an elastic mode cluster. |
1 |
| DBNodeClass |
string |
The node specification. This parameter is returned only for clusters in Data Warehouse Edition. |
E8 |
| DiskType |
string |
The disk type of the cluster. Valid values:
Nota
For more information about ESSDs, see ESSD specifications. |
cloud_essd |
| DBNodeStorage |
integer |
The storage capacity of the cluster. Unit: GB. |
300 |
| DBNodeCount |
integer |
The number of node groups. |
2 |
| TaskInfo |
object |
Information about the task. |
|
| Name |
string |
The name of the task. |
analyticDBFlexibleScaleOut |
| Status |
string |
The status of the task. Valid values:
|
RUNNING |
| Progress |
string |
The task progress, specified as a percentage. |
10% |
| StepList |
object |
||
| StepList |
array<object> |
The steps of the task. |
|
|
object |
The steps of the task. |
||
| StepName |
string |
The name of the step. |
ApplyResource |
| StepDesc |
string |
The description of the step. |
Apply resource |
| StepStatus |
string |
The status of the step. Valid values:
|
SUCCEED |
| StepProgress |
string |
The progress of the step, specified as a percentage. |
50% |
| StartTime |
string |
The time when the step started. The time is formatted as YYYY-MM-DDThh:mm:ssZ. |
2024-03-10T09:28:34Z |
| EndTime |
string |
The time when the step ended. The time is formatted as YYYY-MM-DDThh:mm:ssZ. |
2024-03-10T10:28:34Z |
| ProductForm |
string |
The product form. Valid values:
|
IntegrationForm |
| ProductVersion |
string |
The product version. Valid values:
|
EnterpriseVersion |
| ReservedNodeSize |
string |
The resource specification of a single reserved node. |
8ACU |
| ReservedNodeCount |
integer |
The number of reserved resource nodes. |
1 |
| AINodeSpec |
string |
The AI node specification. |
ADB.MLGrand.5 |
| AINodeNumber |
integer |
The number of AI nodes. |
1 |
Exemplos
Resposta de sucesso
JSON formato
{
"TotalCount": 1,
"PageSize": 30,
"RequestId": "A5EDBA27-AF3E-5966-9503-FD1557E19167",
"PageNumber": 1,
"Items": {
"DBCluster": [
{
"Expired": "false",
"CreateTime": "2022-04-01T09:50:18Z",
"PayType": "Prepaid",
"Mode": "flexible",
"Port": "3306",
"LockMode": "Unlock",
"StorageResource": "24ACU",
"DBClusterId": "amv-bp163885f8q21****",
"ConnectionString": "amv-bp163885f8q21****.ads.aliyuncs.com",
"DBClusterType": "Common",
"CommodityCode": "ads_pre",
"ExpireTime": "2022-07-01T09:50:18Z",
"LockReason": "instance_expired",
"VPCId": "vpc-bp13h7uzhulpuxvnp****",
"RegionId": "cn-hangzhou",
"ComputeResource": "16ACU",
"VSwitchId": "vsw-bp1syh8vvw8yech7n****",
"DBVersion": "5.0",
"DBClusterStatus": "Running",
"ResourceGroupId": "rg-acfmyiu4ekp****",
"DBClusterNetworkType": "VPC",
"DBClusterDescription": "adb_test",
"ZoneId": "cn-hangzhou-h",
"Engine": "AnalyticDB",
"ReservedACU": "32ACU",
"Tags": {
"Tag": [
{
"Key": "tag1",
"Value": "test1"
}
]
},
"Category": "MIXED_STORAGE",
"InnerPort": "3306",
"VPCCloudInstanceId": "am-bp163885f8q21****-controller",
"InnerIp": "10.1.xx.xx",
"DtsJobId": "dtsb1578j90XXXX",
"ElasticIOResource": 2,
"RdsInstanceId": "rm-bp11q28kvl688****",
"ExecutorCount": "1",
"DBNodeClass": "E8",
"DiskType": "cloud_essd",
"DBNodeStorage": 300,
"DBNodeCount": 2,
"TaskInfo": {
"Name": "analyticDBFlexibleScaleOut",
"Status": "RUNNING",
"Progress": "10%",
"StepList": {
"StepList": [
{
"StepName": "ApplyResource",
"StepDesc": "Apply resource",
"StepStatus": "SUCCEED",
"StepProgress": "50%",
"StartTime": "2024-03-10T09:28:34Z",
"EndTime": "2024-03-10T10:28:34Z"
}
]
}
},
"ProductForm": "IntegrationForm",
"ProductVersion": "EnterpriseVersion",
"ReservedNodeSize": "8ACU",
"ReservedNodeCount": 1,
"AINodeSpec": "ADB.MLGrand.5",
"AINodeNumber": 1
}
]
}
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 500 | InternalError | An error occurred while processing your request. | An internal error occurred. Please try again later. |
| 503 | ServiceUnavailable | An error occurred while processing your request. | The system is unavailable. Please try again later. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.