Skip to content

SystemServicePackMigrationGetRequest

Bases: OCIRequest

Get system level Service Pack Migration parameters. The response is either a SystemServicePackMigrationGetResponse or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemServicePackMigrationGetRequest(OCIRequest):
    """Get system level Service Pack Migration parameters.
        The response is either a SystemServicePackMigrationGetResponse or an ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to the SystemServicePackMigrationGetRequest. The response contains the Service Pack Migration system level settings.

Attributes:

max_simultaneous_migration_tasks (int):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemServicePackMigrationGetResponse(OCIDataResponse):
    """Response to the SystemServicePackMigrationGetRequest.
        The response contains the Service Pack Migration system level settings.

    Attributes:

        max_simultaneous_migration_tasks (int):

    """

    max_simultaneous_migration_tasks: int = field(
        metadata={"alias": "maxSimultaneousMigrationTasks"}
    )

Bases: OCIResponse

Source code in src/mercury_ocip/commands/base_command.py
class ErrorResponse(OCIResponse):
    errorCode: Optional[int] = None
    summary: str
    summaryEnglish: str
    detail: Optional[str] = None

Example Usage

from mercury_ocip.client import Client
from mercury_ocip.commands import SystemServicePackMigrationGetRequest

client = Client()

command = SystemServicePackMigrationGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemServicePackMigrationGetRequest")

print(response)