Acepta y autoriza la ejecución de una operación de evento del sistema. Para eventos del sistema en estado Inquiring, esta operación acepta la acción predeterminada del evento del sistema y autoriza al sistema a ejecutar dicha acción.
Pruébelo ahora
Test
Autorización de RAM
|
Action |
Nivel de acceso |
Tipo de recurso |
Clave de condición |
Acción dependiente |
|
ecs:AcceptInquiredSystemEvent |
update |
*All Resource
|
Ninguna | Ninguna |
Parámetros de la solicitud
|
Parámetro |
Tipo |
Obligatorio |
Descripción |
Ejemplo |
| RegionId |
string |
Sí |
El ID de la región del evento del sistema. Puede llamar a DescribeRegions para consultar la lista de regiones más reciente. |
cn-hangzhou |
| EventId |
string |
Sí |
El ID del evento del sistema. |
e-2zeielxl1qzq8slb**** |
| Choice |
string |
No |
Nota
Este parámetro se encuentra en versión preliminar por invitación y no está disponible públicamente. |
hide |
Elementos de la respuesta
|
Elemento |
Tipo |
Descripción |
Ejemplo |
|
object |
|||
| RequestId |
string |
El ID de la solicitud. |
4DD56CA6-6D75-4D33-BE34-E4A44EBE1C3D |
Ejemplos
Respuesta exitosa
JSON Formato
{
"RequestId": "4DD56CA6-6D75-4D33-BE34-E4A44EBE1C3D"
}
Códigos de error
|
Código de estado HTTP |
Código de error |
Mensaje de error |
Descripción |
|---|---|---|---|
| 400 | MissingParameter | %s | A parameter is not specified. |
| 400 | InvalidParameter | %s | The specified parameter is invalid. |
| 400 | IncorrectInstanceStatus | Current instance status does not support this operation. | The instance is in a state that does not support the current operation. |
| 403 | OperationConflict | %s | This operation conflicts with another operation in progress. Try again later. |
| 403 | OperationFail.DiskCategoryNotSupported | %s | The current disk category does not support this operation. |
| 403 | OperationFail.DiskStatusNotSupported | %s | The current disk status does not support this operation. |
| 403 | OperationFail.InstanceStatusNotSupported | %s | The current instance status does not support this operation. |
| 403 | OperationDenied.AcceptNotSupported | Accept is not supported on current event type. | The current event type does not support this response action. |
| 403 | SwitchToOffline.OnlineIsolateFail | Failed to online isolate disk while offline isolation succeeded. | Online isolation failed and has been converted to offline isolation. |
| 403 | SwitchToOffline.OnlineReinitFail | Failed to online reinitialize disk while offline reinitialization succeeded. | Online repair failed and has been converted to offline repair. |
| 403 | Forbidden.RAM | User not authorized to operate on the specified resource, or this API does not support RAM. | You are not authorized to manage this resource, or this API operation does not support RAM roles. |
| 403 | OperationFail.AcceptRecoverFail | Failed to accept system event due to resource constraints. | The response to the event failed due to insufficient underlying resources. |
| 404 | InvalidEventId.NoInquiringEventFound | %s | The specified EventId parameter is invalid. |
Consulte Códigos de error para ver la lista completa.
Notas de la versión
Consulte Notas de la versión para ver la lista completa.