ServiceProviderServicePackMigrationTaskAddRequest21
Bases: OCIRequest
Create a service pack migration task. The response is either SuccessResponse or ErrorResponse.
Attributes:
service_provider_id (str):
task_name (str):
start_timestamp (str):
expire_after_num_hours (int):
max_duration_hours (int):
send_report_email (bool):
report_delivery_email_address (Optional[str]):
abort_on_error (bool):
abort_error_threshold (Optional[int]):
report_all_users (bool):
automatically_increment_service_quantity (bool):
Source code in src/mercury_ocip/commands/commands.py
70349 70350 70351 70352 70353 70354 70355 70356 70357 70358 70359 70360 70361 70362 70363 70364 70365 70366 70367 70368 70369 70370 70371 70372 70373 70374 70375 70376 70377 70378 70379 70380 70381 70382 70383 70384 70385 70386 70387 70388 70389 70390 70391 70392 70393 70394 70395 70396 70397 70398 70399 70400 70401 70402 70403 70404 70405 70406 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import ServiceProviderServicePackMigrationTaskAddRequest21
client = Client()
command = ServiceProviderServicePackMigrationTaskAddRequest21(
service_provider_id=...,
task_name=...,
start_timestamp=...,
expire_after_num_hours=...,
max_duration_hours=...,
send_report_email=...,
report_delivery_email_address=...,
abort_on_error=...,
abort_error_threshold=...,
report_all_users=...,
automatically_increment_service_quantity=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("ServiceProviderServicePackMigrationTaskAddRequest21",
service_provider_id=...,
task_name=...,
start_timestamp=...,
expire_after_num_hours=...,
max_duration_hours=...,
send_report_email=...,
report_delivery_email_address=...,
abort_on_error=...,
abort_error_threshold=...,
report_all_users=...,
automatically_increment_service_quantity=...,
)
print(response)