Bases: OCIRequest
Get the list of all native tags with logic managed by the Device Management System, on a per-device profile basis. The response is either ServiceProviderAccessDeviceGetNativeTagsWithLogicListResponse or ErrorResponse.
Attributes:
service_provider_id (str):
device_name (str):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class ServiceProviderAccessDeviceGetNativeTagsWithLogicListRequest(OCIRequest):
"""Get the list of all native tags with logic managed by the Device Management System, on a per-device profile basis.
The response is either ServiceProviderAccessDeviceGetNativeTagsWithLogicListResponse or ErrorResponse.
Attributes:
service_provider_id (str):
device_name (str):
"""
service_provider_id: str = field(metadata={"alias": "serviceProviderId"})
device_name: str = field(metadata={"alias": "deviceName"})
|
Responses
Bases: OCIDataResponse
Response to ServiceProviderAccessDeviceGetNativeTagsWithLogicListRequest. Contains a table of all native tags with logic managed by the Device Management System on a per-device profile basis.
The column headings are: "Tag Name", "Tag Value".
Attributes:
device_native_tags_with_logic_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class ServiceProviderAccessDeviceGetNativeTagsWithLogicListResponse(OCIDataResponse):
"""Response to ServiceProviderAccessDeviceGetNativeTagsWithLogicListRequest.
Contains a table of all native tags with logic managed by the Device Management System on a per-device profile basis.
The column headings are: \"Tag Name\", \"Tag Value\".
Attributes:
device_native_tags_with_logic_table (OCITable):
"""
device_native_tags_with_logic_table: OCITable = field(
metadata={"alias": "deviceNativeTagsWithLogicTable"}
)
|
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 ServiceProviderAccessDeviceGetNativeTagsWithLogicListRequest
client = Client()
command = ServiceProviderAccessDeviceGetNativeTagsWithLogicListRequest(
service_provider_id=...,
device_name=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("ServiceProviderAccessDeviceGetNativeTagsWithLogicListRequest",
service_provider_id=...,
device_name=...,
)
print(response)