Consulta os certificados de cliente SSL criados por meio da operação DescribeSslVpnClientCerts.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
vpc:DescribeSslVpnClientCerts |
list |
SslVpnClientCert
SslVpnClientCert
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| RegionId |
string |
Sim |
O ID da região do certificado de cliente SSL que você deseja consultar. Você pode chamar a operação DescribeRegions para consultar o ID da região. |
cn-hangzhou |
| SslVpnServerId |
string |
Não |
O ID do servidor SSL. |
vss-bp18q7hzj6largv4v**** |
| SslVpnClientCertId |
string |
Não |
O ID do certificado de cliente SSL. |
vsc-bp1n8wcf134yl0osr**** |
| Name |
string |
Não |
O nome do certificado de cliente SSL. |
cert1 |
| PageNumber |
integer |
Não |
O número da página da lista. Valor padrão: 1. |
1 |
| PageSize |
integer |
Não |
O número de entradas por página em uma consulta paginada. Valor padrão: 10. Valores válidos: 1 a 50. |
10 |
| ResourceGroupId |
string |
Não |
O ID do grupo de recursos ao qual o certificado de cliente SSL pertence. O certificado de cliente SSL pertence ao mesmo grupo de recursos que seu servidor SSL associado. Você pode chamar a operação DescribeSslVpnServers para consultar o ID do grupo de recursos do servidor SSL. |
rg-acfmzs372yg**** |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
Os parâmetros de resposta. |
||
| PageSize |
integer |
O número de entradas por página em uma consulta paginada. Isso é usado para paginação. |
10 |
| RequestId |
string |
O ID da solicitação. |
5BE01CD7-5A50-472D-AC14-CA181C5C03BE |
| PageNumber |
integer |
O número da página da lista. |
1 |
| TotalCount |
integer |
O número total de entradas na lista. |
1 |
| SslVpnClientCertKeys |
object |
||
| SslVpnClientCertKey |
array<object> |
A lista de certificados de cliente SSL. |
|
|
object |
As informações sobre o certificado de cliente SSL. |
||
| Status |
string |
The status of the client certificate.
|
normal |
| EndTime |
integer |
The expiration timestamp of the SSL client certificate. Unit: milliseconds. The timestamp follows the UNIX timestamp format, representing the total duration from 00:00:00 on January 1, 1970 (UTC) to the expiration time of the SSL client certificate. |
1494966335000 |
| CreateTime |
integer |
The creation timestamp of the SSL client certificate. Unit: milliseconds. The timestamp follows the UNIX timestamp format, representing the total duration from 00:00:00 on January 1, 1970 (UTC) to the creation time of the SSL client certificate. |
1492747187000 |
| SslVpnClientCertId |
string |
The ID of the SSL client certificate. |
vsc-bp1n8wcf134yl0osr**** |
| SslVpnServerId |
string |
The ID of the SSL server. |
vss-bp18q7hzj6largv4v**** |
| Name |
string |
The name of the SSL client certificate. |
cert1 |
| RegionId |
string |
The region of the SSL client certificate. |
cn-hangzhou |
| ResourceGroupId |
string |
The ID of the resource group to which the SSL client certificate belongs. You can call the ListResourceGroups operation to query resource group information. |
rg-acfmzs372yg**** |
Exemplos
Resposta de sucesso
JSON formato
{
"PageSize": 10,
"RequestId": "5BE01CD7-5A50-472D-AC14-CA181C5C03BE",
"PageNumber": 1,
"TotalCount": 1,
"SslVpnClientCertKeys": {
"SslVpnClientCertKey": [
{
"Status": "normal",
"EndTime": 1494966335000,
"CreateTime": 1492747187000,
"SslVpnClientCertId": "vsc-bp1n8wcf134yl0osr****",
"SslVpnServerId": "vss-bp18q7hzj6largv4v****",
"Name": "cert1",
"RegionId": "cn-hangzhou",
"ResourceGroupId": "rg-acfmzs372yg****"
}
]
}
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 403 | Forbbiden.SubUser | User not authorized to operate on the specified resource as your account is created by another user. | |
| 403 | Forbidden | User not authorized to operate on the specified resource. | You do not have the permissions to manage the specified resource. Apply for the permissions and try again. |
| 404 | InvalidRegionId.NotFound | The specified region is not found during access authentication. | The specified area is not found during authentication. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.