SystemCallProcessingPolicyProfileGetAssignedNCOSListRequest
Bases: OCIRequest
Request a list of NCOSs that have a given CallP Policy Profile assigned. The response is either a SystemCallProcessingPolicyProfileGetAssignedNCOSListResponse or ErrorResponse.
Attributes:
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class SystemCallProcessingPolicyProfileGetAssignedNCOSListRequest(OCIRequest):
"""Request a list of NCOSs that have a given CallP Policy Profile assigned.
The response is either a
SystemCallProcessingPolicyProfileGetAssignedNCOSListResponse or
ErrorResponse.
Attributes:
profile_name (str):
"""
profile_name: str = field(metadata={"alias": "profileName"})
|
Responses
Bases: OCIDataResponse
Response to the SystemCallProcessingPolicyProfileGetAssignedNCOSListRequest. The response contains a table of all Network Classes of Service that contain the specific CAllP Policy Profile. The column headings are "Name" and "Description".
Attributes:
network_class_of_service_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class SystemCallProcessingPolicyProfileGetAssignedNCOSListResponse(OCIDataResponse):
"""Response to the
SystemCallProcessingPolicyProfileGetAssignedNCOSListRequest.
The response contains a table of all Network Classes of Service that
contain the specific CAllP Policy Profile. The column headings
are \"Name\" and \"Description\".
Attributes:
network_class_of_service_table (OCITable):
"""
network_class_of_service_table: OCITable = field(
metadata={"alias": "networkClassOfServiceTable"}
)
|
Bases: OCIResponseSource 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 SystemCallProcessingPolicyProfileGetAssignedNCOSListRequest
client = Client()
command = SystemCallProcessingPolicyProfileGetAssignedNCOSListRequest(
profile_name=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("SystemCallProcessingPolicyProfileGetAssignedNCOSListRequest",
profile_name=...,
)
print(response)