Skip to content

SystemXsiPolicyProfileGetListRequest

Bases: OCIRequest

Get the system Xsi policy profile list. The response is either SystemXsiPolicyProfileGetListResponse or ErrorResponse.

Attributes:

xsi_policy_profile_level (Optional[str]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemXsiPolicyProfileGetListRequest(OCIRequest):
    """Get the system Xsi policy profile list.
        The response is either SystemXsiPolicyProfileGetListResponse or ErrorResponse.

    Attributes:

        xsi_policy_profile_level (Optional[str]):

    """

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

Responses

Bases: OCIDataResponse

Response to the SystemXsiPolicyProfileGetListRequest Contains a table with column headings: "Name", "Level", "Description", "Default".

Attributes:

xsi_policy_profile_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemXsiPolicyProfileGetListResponse(OCIDataResponse):
    """Response to the SystemXsiPolicyProfileGetListRequest
        Contains a table with column headings: \"Name\", \"Level\", \"Description\", \"Default\".

    Attributes:

        xsi_policy_profile_table (OCITable):

    """

    xsi_policy_profile_table: OCITable = field(
        metadata={"alias": "xsiPolicyProfileTable"}
    )

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 SystemXsiPolicyProfileGetListRequest

client = Client()

command = SystemXsiPolicyProfileGetListRequest(
    xsi_policy_profile_level=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemXsiPolicyProfileGetListRequest",
    xsi_policy_profile_level=...,
)

print(response)