start_test
async
¶
start_test(
source_server_i_ds: StartTestRequestSourceServerIDs,
*,
config_overrides: Optional[AsyncmgnClientConfig] = None,
tags: Optional[TagsMap] = None,
account_id: Optional[AccountID] = None,
) -> StartTestResponse
Launches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING.
Parameters:
-
source_server_i_ds(StartTestRequestSourceServerIDs) –Start Test for Source Server IDs.
-
tags(Optional[TagsMap], default:None) –Start Test by Tags.
-
account_id(Optional[AccountID], default:None) –Start Test for Account ID.
Raises:
-
ConflictException–The request could not be completed due to a conflict with the current state of the target resource.
-
UninitializedAccountException–Uninitialized account exception.
-
ValidationException–Validate exception.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mgn/_services/async_mgn.py
8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 | |