Consulta os detalhes de um cluster.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
mse:QueryClusterDetail |
get |
*All Resource
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| InstanceId |
string |
Não |
O ID da instância. |
mse-cn-st21ri2**** |
| OrderId |
string |
Não |
O ID do pedido. |
20576750143**** |
| AclSwitch |
boolean |
Não |
Especifica se a lista de controle de acesso (ACL) deve ser consultada. |
false |
| AcceptLanguage |
string |
Não |
O idioma da resposta. Valores válidos:
|
zh |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
Os dados retornados pela solicitação. |
||
| Message |
string |
A mensagem retornada. |
The request is processed successfully. |
| RequestId |
string |
O ID da solicitação. |
9515ACA4-E94D-440D-989E-C379FCED**** |
| Data |
object |
Os detalhes do cluster. |
|
| VpcId |
string |
O ID da VPC. |
vpc-bp1hcg467ekqsv0zr**** |
| CreateTime |
string |
A hora de criação do cluster. |
2020-07-31 11:36:08 |
| IntranetAddress |
string |
O endereço privado. |
192.168.XX.XX |
| DiskType |
string |
O tipo de disco. |
alicloud-disk-ssd-multi-zone |
| PubNetworkFlow |
string |
A largura de banda pública em Mbit/s. |
3 |
| DiskCapacity |
integer |
A capacidade do disco em GB. |
60 |
| MemoryCapacity |
integer |
A capacidade de memória em GB. |
2 |
| ClusterAliasName |
string |
O alias do cluster. |
mse-7413**** |
| InstanceCount |
integer |
O número de instâncias no cluster. |
3 |
| IntranetPort |
string |
A porta privada. |
8761 |
| InstanceModels |
array<object> |
A lista de instâncias no cluster. |
|
|
object |
Uma instância no cluster. |
||
| PodName |
string |
The name of the pod. |
mse-7413****-159616656****-reg-center-0-0 |
| SingleTunnelVip |
string |
The virtual IP address (VIP) of a single tunnel. |
192.168.XX.XX |
| InternetIp |
string |
The public IP address. |
47.98.XX.XX |
| Ip |
string |
The IP address of the instance. |
10.12.XX.XX |
| Role |
string |
The role of the instance. |
Peer |
| HealthStatus |
string |
The health status of the instance. |
Running |
| CreationTimestamp |
string |
The Unix timestamp, in milliseconds, that indicates when the instance was created. |
1578575377732 |
| Zone |
string |
The availability zone where the instance is located. |
cn-shanghai-f |
| IntranetDomain |
string |
O nome de domínio privado. |
mse-7413****-eureka.mse.aliyuncs.com |
| InternetDomain |
string |
O nome de domínio público. |
mse-7413****-p.eureka.mse.aliyuncs.com |
| PayInfo |
string |
Especifica o método de cobrança, que pode ser |
Pay-as-you-go |
| InternetAddress |
string |
O endereço público. |
47.98.XX.XX |
| InstanceId |
string |
O ID da instância. |
mse-cn-st21ri2**** |
| AclEntryList |
string |
A lista de permissões de endereços IP. |
[] |
| HealthStatus |
string |
O status de integridade do cluster. |
RESTART_SUCCESS |
| InitCostTime |
integer |
O tempo necessário para criar o cluster, em milissegundos. |
98408 |
| RegionId |
string |
O ID da região. |
cn-hangzhou |
| AclId |
string |
O ID da lista de permissões. |
acl-bp17020kiqvzutwwj**** |
| Cpu |
integer |
O número de núcleos de CPU. |
1 |
| ClusterType |
string |
O tipo do cluster. Valores válidos: |
Nacos-Ans |
| ClusterName |
string |
O nome do cluster. |
mse-bc1a29b0-160230875**** |
| InitStatus |
string |
O status de criação do cluster. |
RESTART_SUCCESS |
| InternetPort |
string |
A porta pública. |
8761 |
| AppVersion |
string |
A versão do aplicativo. |
1.2.1 |
| NetType |
string |
O tipo de rede. Valores válidos:
|
privatenet |
| ClusterVersion |
string |
A versão do cluster. |
1.2.1 |
| ClusterSpecification |
string |
As especificações do cluster. |
MSE_SC_1_2_200_c |
| VSwitchId |
string |
O ID do vSwitch. |
vsw-xxx-xxxx |
| ConnectionType |
string |
O tipo de conexão de rede. Valores válidos:
|
slb |
| MseVersion |
string |
A edição da instância do Microservices Engine (MSE). |
mse_basic |
| ChargeType |
string |
Especifica o método de cobrança, que pode ser |
Pay-as-you-go |
| OrderClusterVersion |
string |
A versão do cluster adquirida originalmente. |
1.2.0 |
| Tags |
object |
As tags associadas à instância. |
|
| ResourceGroupId |
string |
O ID do grupo de recursos. |
rg-aek2dhgysj***** |
| VersionLifecycle |
string |
O status do ciclo de vida da versão do cluster. |
|
| ErrorCode |
string |
O código de erro. |
mse-100-000 |
| Success |
boolean |
Indica se a solicitação foi bem-sucedida. Valores válidos:
|
true |
Exemplos
Resposta de sucesso
JSON formato
{
"Message": "The request is processed successfully.",
"RequestId": "9515ACA4-E94D-440D-989E-C379FCED****",
"Data": {
"VpcId": "vpc-bp1hcg467ekqsv0zr****",
"CreateTime": "2020-07-31 11:36:08",
"IntranetAddress": "192.168.XX.XX",
"DiskType": "alicloud-disk-ssd-multi-zone",
"PubNetworkFlow": "3",
"DiskCapacity": 60,
"MemoryCapacity": 2,
"ClusterAliasName": "mse-7413****",
"InstanceCount": 3,
"IntranetPort": "8761",
"InstanceModels": [
{
"PodName": "mse-7413****-159616656****-reg-center-0-0",
"SingleTunnelVip": "192.168.XX.XX",
"InternetIp": "47.98.XX.XX",
"Ip": "10.12.XX.XX",
"Role": "Peer",
"HealthStatus": "Running",
"CreationTimestamp": "1578575377732",
"Zone": "cn-shanghai-f"
}
],
"IntranetDomain": "mse-7413****-eureka.mse.aliyuncs.com",
"InternetDomain": "mse-7413****-p.eureka.mse.aliyuncs.com",
"PayInfo": "Pay-as-you-go",
"InternetAddress": "47.98.XX.XX",
"InstanceId": "mse-cn-st21ri2****",
"AclEntryList": "[]",
"HealthStatus": "RESTART_SUCCESS",
"InitCostTime": 98408,
"RegionId": "cn-hangzhou",
"AclId": "acl-bp17020kiqvzutwwj****",
"Cpu": 1,
"ClusterType": "Nacos-Ans",
"ClusterName": "mse-bc1a29b0-160230875****",
"InitStatus": "RESTART_SUCCESS",
"InternetPort": "8761",
"AppVersion": "1.2.1",
"NetType": "privatenet",
"ClusterVersion": "1.2.1",
"ClusterSpecification": "MSE_SC_1_2_200_c",
"VSwitchId": "vsw-xxx-xxxx",
"ConnectionType": "slb",
"MseVersion": "mse_basic",
"ChargeType": "Pay-as-you-go",
"OrderClusterVersion": "1.2.0",
"Tags": {
"test": "test",
"test2": 1
},
"ResourceGroupId": "rg-aek2dhgysj*****",
"VersionLifecycle": ""
},
"ErrorCode": "mse-100-000",
"Success": true
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.