Skip to content

SystemAliasGetListRequest

Bases: OCIRequest

Requests the list of all system-level Application Server aliases. The response is either SystemAliasGetListResponse or ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemAliasGetListRequest(OCIRequest):
    """Requests the list of all system-level Application Server aliases.
        The response is either SystemAliasGetListResponse or ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemAliasGetListRequest. Contains the list of all network alias' for the Application Server.

Attributes:

alias_net_address (Optional[List[str]]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemAliasGetListResponse(OCIDataResponse):
    """Response to SystemAliasGetListRequest. Contains the list of all network alias' for
        the Application Server.

    Attributes:

        alias_net_address (Optional[List[str]]):

    """

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

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 SystemAliasGetListRequest

client = Client()

command = SystemAliasGetListRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemAliasGetListRequest")

print(response)