Consulta o status dos plug-ins nos clusters.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
yundun-sas:ListClusterPluginInfo |
list |
*All Resource
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| Lang |
string |
Não |
O idioma do conteúdo na solicitação e na resposta. Valor padrão: zh. Valores válidos:
|
zh |
| PluginName |
string |
Não |
O nome do plug-in. |
alihips |
| ClusterIds |
array |
Sim |
Os IDs dos clusters. |
|
|
string |
Não |
O ID do cluster. |
902e428f6cc6679685d65fc81803**** |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| RequestId |
string |
O ID da solicitação. |
0B48AB3C-84FC-424D-A01D-B9270EF46038 |
| Data |
array<object> |
As informações sobre o plug-in. |
|
|
array<object> |
|||
| ClusterStatus |
string |
O status do cluster. Valores válidos:
|
ABNORMAL |
| ClusterId |
string |
O ID do cluster. |
c8ca91e0907d94efaba7fb0827eb9**** |
| ClusterName |
string |
O nome do cluster. |
lmftest |
| NodePluginInfoList |
array<object> |
Os plug-ins. |
|
|
object |
|||
| PluginVersion |
string |
The version of the plug-in. |
1.3.1 |
| Installed |
boolean |
Indicates whether the plug-in is installed. Valid values:
|
true |
| MachineType |
integer |
The type of the instance. Valid values include:
|
ECS |
| Uuid |
string |
The UUID of the server. |
bc563d2b-2a3d-411b-8bbe-d75b8d3c**** |
| MachineIntranetIp |
string |
The private IP address of the server. |
10.XXX.XXX.XX |
| Online |
boolean |
Indicates whether the Security Center agent is online. Valid values:
Nota
If the Security Center agent of the server is offline, Security Center does not protect the server. |
true |
| MachineInternetIp |
string |
The public IP address of the server. |
100.100.XXX.XX |
| PluginName |
string |
The name of the plug-in. |
alihips |
| MachineName |
string |
The name of the server. |
npznas05 |
| instanceId |
string |
The instance ID of the server. |
tpp-cn-2r42njq4y001 |
| ErrorCode |
string |
The error code returned. |
kenerl not support |
| ErrorMsg |
string |
The error message returned. |
kenerl not support |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "0B48AB3C-84FC-424D-A01D-B9270EF46038",
"Data": [
{
"ClusterStatus": "ABNORMAL",
"ClusterId": "c8ca91e0907d94efaba7fb0827eb9****",
"ClusterName": "lmftest",
"NodePluginInfoList": [
{
"PluginVersion": "1.3.1",
"Installed": true,
"MachineType": 0,
"Uuid": "bc563d2b-2a3d-411b-8bbe-d75b8d3c****",
"MachineIntranetIp": "10.XXX.XXX.XX",
"Online": true,
"MachineInternetIp": "100.100.XXX.XX",
"PluginName": "alihips",
"MachineName": "npznas05",
"instanceId": "tpp-cn-2r42njq4y001",
"ErrorCode": "kenerl not support",
"ErrorMsg": "kenerl not support"
}
]
}
]
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.