Skip to content

SystemServerAddressesGetRequest

Bases: OCIRequest

Request to get the list of Server Addresses. The response is either SystemServerAddressesGetResponse or ErrorResponse. See also: PrimaryInfoGetRequest PublicClusterGetFullyQualifiedDomainNameRequest

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemServerAddressesGetRequest(OCIRequest):
    """Request to get the list of Server Addresses.
        The response is either SystemServerAddressesGetResponse or ErrorResponse.
        See also:
          PrimaryInfoGetRequest
          PublicClusterGetFullyQualifiedDomainNameRequest

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemServerAddressesGetRequest. Contains a list of system Server Addresses. See also: PrimaryInfoGetResponse PublicClusterGetFullyQualifiedDomainNameResponse ServingInfoGetResponse

Attributes:

web_server_cluster_public_fqdn (Optional[str]):

application_server_cluster_primary_public_fqdn (Optional[str]):

application_server_cluster_secondary_public_fqdn (Optional[str]):

application_server_cluster_primary_private_fqdn (Optional[str]):

application_server_cluster_secondary_private_fqdn (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemServerAddressesGetResponse(OCIDataResponse):
    """Response to SystemServerAddressesGetRequest.
        Contains a list of system Server Addresses.
        See also:
          PrimaryInfoGetResponse
          PublicClusterGetFullyQualifiedDomainNameResponse
          ServingInfoGetResponse

    Attributes:

        web_server_cluster_public_fqdn (Optional[str]):

        application_server_cluster_primary_public_fqdn (Optional[str]):

        application_server_cluster_secondary_public_fqdn (Optional[str]):

        application_server_cluster_primary_private_fqdn (Optional[str]):

        application_server_cluster_secondary_private_fqdn (Optional[str]):

    """

    web_server_cluster_public_fqdn: Optional[str] = field(
        default=None, metadata={"alias": "webServerClusterPublicFQDN"}
    )

    application_server_cluster_primary_public_fqdn: Optional[str] = field(
        default=None, metadata={"alias": "applicationServerClusterPrimaryPublicFQDN"}
    )

    application_server_cluster_secondary_public_fqdn: Optional[str] = field(
        default=None, metadata={"alias": "applicationServerClusterSecondaryPublicFQDN"}
    )

    application_server_cluster_primary_private_fqdn: Optional[str] = field(
        default=None, metadata={"alias": "applicationServerClusterPrimaryPrivateFQDN"}
    )

    application_server_cluster_secondary_private_fqdn: Optional[str] = field(
        default=None, metadata={"alias": "applicationServerClusterSecondaryPrivateFQDN"}
    )

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 SystemServerAddressesGetRequest

client = Client()

command = SystemServerAddressesGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemServerAddressesGetRequest")

print(response)