Skip to content

PublicClusterGetFullyQualifiedDomainNameRequest

Bases: OCIRequest

Get the public cluster fully qualified domain name (FQDN). The response is either a PublicClusterGetFullyQualifiedDomainNameResponse or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class PublicClusterGetFullyQualifiedDomainNameRequest(OCIRequest):
    """Get the public cluster fully qualified domain name (FQDN).
        The response is either a PublicClusterGetFullyQualifiedDomainNameResponse
        or an ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to PublicClusterGetFullyQualifiedDomainNameRequest.

Attributes:

public_cluster_fqdn (Optional[str]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class PublicClusterGetFullyQualifiedDomainNameResponse(OCIDataResponse):
    """Response to PublicClusterGetFullyQualifiedDomainNameRequest.

    Attributes:

        public_cluster_fqdn (Optional[str]):

    """

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

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 PublicClusterGetFullyQualifiedDomainNameRequest

client = Client()

command = PublicClusterGetFullyQualifiedDomainNameRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("PublicClusterGetFullyQualifiedDomainNameRequest")

print(response)