Skip to content

SystemInterceptUserGetDnListRequest

Bases: OCIRequest

Request to get a list of Intercept User dns defined in the system. The response is either a SystemInterceptUserGetDnListResponse or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemInterceptUserGetDnListRequest(OCIRequest):
    """Request to get a list of Intercept User dns defined in the system.
          The response is either a SystemInterceptUserGetDnListResponse
          or an ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemInterceptUserGetDnListRequest. The Intercept User DN List.

Attributes:

intercept_user_list (Optional[List[InterceptDNListEntry]]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemInterceptUserGetDnListResponse(OCIDataResponse):
    """Response to SystemInterceptUserGetDnListRequest.
          The Intercept User DN List.

    Attributes:

        intercept_user_list (Optional[List[InterceptDNListEntry]]):

    """

    intercept_user_list: Optional[List[InterceptDNListEntry]] = field(
        default=None, metadata={"alias": "interceptUserList"}
    )

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 SystemInterceptUserGetDnListRequest

client = Client()

command = SystemInterceptUserGetDnListRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemInterceptUserGetDnListRequest")

print(response)