Skip to content

SystemGeographicRedundancyProxyGetRequest

Bases: OCIRequest

Request to get the list of Geographic Redundancy Proxy system parameters The response is a SystemGeographicRedundancyProxyGetResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemGeographicRedundancyProxyGetRequest(OCIRequest):
    """Request to get the list of Geographic Redundancy Proxy system parameters
        The response is a SystemGeographicRedundancyProxyGetResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemGeographicRedundancyProxyGetRequest. Contains a list of Geographic Redundancy Proxy system parameters.

Attributes:

enabled (bool):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemGeographicRedundancyProxyGetResponse(OCIDataResponse):
    """Response to SystemGeographicRedundancyProxyGetRequest.
        Contains a list of Geographic Redundancy Proxy system parameters.

    Attributes:

        enabled (bool):

    """

    enabled: bool = field(metadata={"alias": "enabled"})

Example Usage

from mercury_ocip.client import Client
from mercury_ocip.commands import SystemGeographicRedundancyProxyGetRequest

client = Client()

command = SystemGeographicRedundancyProxyGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemGeographicRedundancyProxyGetRequest")

print(response)