Skip to content

SystemRuntimeDataPublicationModifyRequest

Bases: OCIRequest

Modify the system call admission control parameters. The response is either a SuccessResponse or an ErrorResponse. The following elements are only used in AS data mode and ignored in XS data mode: enableRuntimeDataSync, runtimeIntervalInMilliSeconds

Attributes:

enable_runtime_data_sync (Optional[bool]):

runtime_data_sync_interval_in_milli_seconds (Optional[int]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemRuntimeDataPublicationModifyRequest(OCIRequest):
    """Modify the system call admission control parameters.
        The response is either a SuccessResponse or an ErrorResponse.
        The following elements are only used in AS data mode and ignored in XS data mode:
        enableRuntimeDataSync,
        runtimeIntervalInMilliSeconds

    Attributes:

        enable_runtime_data_sync (Optional[bool]):

        runtime_data_sync_interval_in_milli_seconds (Optional[int]):

    """

    enable_runtime_data_sync: Optional[bool] = field(
        default=None, metadata={"alias": "enableRuntimeDataSync"}
    )

    runtime_data_sync_interval_in_milli_seconds: Optional[int] = field(
        default=None, metadata={"alias": "runtimeDataSyncIntervalInMilliSeconds"}
    )

Responses

Bases: OCIResponse

Source code in src/mercury_ocip/commands/base_command.py
class SuccessResponse(OCIResponse):
    pass

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 SystemRuntimeDataPublicationModifyRequest

client = Client()

command = SystemRuntimeDataPublicationModifyRequest(
    enable_runtime_data_sync=...,
    runtime_data_sync_interval_in_milli_seconds=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemRuntimeDataPublicationModifyRequest",
    enable_runtime_data_sync=...,
    runtime_data_sync_interval_in_milli_seconds=...,
)

print(response)