Consulta as informações de rede de um cluster do ApsaraDB for ClickHouse especificado.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
clickhouse:DescribeDBClusterNetInfoItems |
get |
*All Resource
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| DBClusterId |
string |
Sim |
O ID do cluster. |
cc-bp1qx68m06981**** |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| NetInfoItems |
object |
||
| NetInfoItem |
array<object> |
Uma lista de informações de rede. |
|
|
object |
Uma lista de informações de rede. |
||
| VpcId |
string |
The VPC ID. Nota
This parameter is empty if the network type of the endpoint is `Public`. |
vpc-bp175iuvg8nxqraf2**** |
| VSwitchId |
string |
The vSwitch ID. Nota
This parameter is empty if the network type of the endpoint is `Public`. |
vsw-bp1gzt31twhlo0sa5**** |
| ConnectionString |
string |
The database endpoint. |
cc-bp1554t789i8e****.clickhouse.ads.aliyuncs.com |
| JdbcPort |
string |
The Java Database Connectivity (JDBC) port number. |
3306 |
| NetType |
string |
The network type of the endpoint. Valid values:
|
VPC |
| HttpPort |
string |
The HTTP port number. |
8123 |
| IPAddress |
string |
The IP address. |
10.255.234.251 |
| HttpsPort |
string |
The HTTPS port number. |
8443 |
| MySQLPort |
string |
The MySQL port number. |
9004 |
| ClusterNetworkType |
string |
O tipo de rede. Somente VPC é suportado. |
VPC |
| RequestId |
string |
O ID da solicitação. |
9A23C87D-87DF-4DA0-A50E-CB13F4F7923D |
| EnableSLB |
boolean |
Indica se o Server Load Balancer (SLB) está ativado na VPC. Valores válidos:
|
true |
Exemplos
Resposta de sucesso
JSON formato
{
"NetInfoItems": {
"NetInfoItem": [
{
"VpcId": "vpc-bp175iuvg8nxqraf2****",
"VSwitchId": "vsw-bp1gzt31twhlo0sa5****",
"ConnectionString": "cc-bp1554t789i8e****.clickhouse.ads.aliyuncs.com",
"JdbcPort": "3306",
"NetType": "VPC",
"HttpPort": "8123",
"IPAddress": "10.255.234.251",
"HttpsPort": "8443",
"MySQLPort": "9004"
}
]
},
"ClusterNetworkType": "VPC",
"RequestId": "9A23C87D-87DF-4DA0-A50E-CB13F4F7923D",
"EnableSLB": true
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The DBClusterId provided does not exist in our records. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.