resumeMicrovm method
Resumes a suspended MicroVM, restoring it to RUNNING state with all state intact. The MicroVM must be in SUSPENDED state.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter microvmIdentifier :
The ID of the MicroVM to resume.
Implementation
Future<void> resumeMicrovm({
required String microvmIdentifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'POST',
requestUri:
'/2025-09-09/microvms/${Uri.encodeComponent(microvmIdentifier)}/resume',
exceptionFnMap: _exceptionFns,
);
}