Skip to content

SystemDeviceManagementAutoRebuildConfigGetListRequest

Bases: OCIRequest

Request the list of OCI request prefixes including if they trigger DM automatic rebuild event or not. The response is either a SystemDeviceManagementAutoRebuildConfigGetListResponse or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemDeviceManagementAutoRebuildConfigGetListRequest(OCIRequest):
    """Request the list of OCI request prefixes including if they trigger DM
        automatic rebuild event or not.
        The response is either a SystemDeviceManagementAutoRebuildConfigGetListResponse or an ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemDeviceManagementAutoRebuildConfigGetListRequest. Contains a table with column headings: "OCI Request Prefix", "Auto Rebuild Enabled". "OCI Request Prefix" is the prefix of the OCI request name. It does not include the request's version '17.sp4, 18...' since the disabled flag applies to the whole series of requests, independent of the version. "Auto Rebuild Enabled": 'True' if the request prefix triggers DM events automatically. Otherwise, automatic DM events are not generated.

Attributes:

auto_rebuild_config_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemDeviceManagementAutoRebuildConfigGetListResponse(OCIDataResponse):
    """Response to SystemDeviceManagementAutoRebuildConfigGetListRequest.
        Contains a table with column headings: \"OCI Request Prefix\", \"Auto Rebuild Enabled\".
        \"OCI Request Prefix\" is the prefix of the OCI request name.  It does
        not include the request's version '17.sp4, 18...' since the disabled
        flag applies to the whole series of requests, independent of the
        version.
        \"Auto Rebuild Enabled\": 'True' if the request prefix triggers DM events
        automatically.  Otherwise, automatic DM events are not generated.

    Attributes:

        auto_rebuild_config_table (OCITable):

    """

    auto_rebuild_config_table: OCITable = field(
        metadata={"alias": "autoRebuildConfigTable"}
    )

Bases: OCIResponse

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

Example Usage

from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import SystemDeviceManagementAutoRebuildConfigGetListRequest

client = Client()

command = SystemDeviceManagementAutoRebuildConfigGetListRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemDeviceManagementAutoRebuildConfigGetListRequest")

print(response)