Skip to content

SystemOCIReportingGetMessageNameListRequest

Bases: OCIRequest

Get a list of restricted messages from a host in the OCI Reporting Access Control List. The response is either a SystemOCIReportingGetMessageNameListResponse or an ErrorResponse.

Attributes:

net_address (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemOCIReportingGetMessageNameListRequest(OCIRequest):
    """Get a list of restricted messages from a host in the OCI Reporting
        Access Control List. The response is either a
        SystemOCIReportingGetMessageNameListResponse or an ErrorResponse.

    Attributes:

        net_address (str):

    """

    net_address: str = field(metadata={"alias": "netAddress"})

Responses

Bases: OCIDataResponse

Response to SystemOCIReportingGetMessageNameListRequest.

Attributes:

message_name_starts_with (Optional[List[str]]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemOCIReportingGetMessageNameListResponse(OCIDataResponse):
    """Response to SystemOCIReportingGetMessageNameListRequest.

    Attributes:

        message_name_starts_with (Optional[List[str]]):

    """

    message_name_starts_with: Optional[List[str]] = field(
        default=None, metadata={"alias": "messageNameStartsWith"}
    )

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 SystemOCIReportingGetMessageNameListRequest

client = Client()

command = SystemOCIReportingGetMessageNameListRequest(
    net_address=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemOCIReportingGetMessageNameListRequest",
    net_address=...,
)

print(response)