Skip to content

SystemDeviceManagementTagSetRegionTagGetListRequest

Bases: OCIRequest

Request to get the list of tag overrides for a region within a static configuration tag set for per-region tags override. The response is either a SystemDeviceManagementTagSetRegionTagGetListResponse or an ErrorResponse.

Attributes:

tag_set_name (str):

region_name (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemDeviceManagementTagSetRegionTagGetListRequest(OCIRequest):
    """Request to get the list of tag overrides for a region within a static configuration tag set for per-region tags override.
        The response is either a SystemDeviceManagementTagSetRegionTagGetListResponse or an ErrorResponse.

    Attributes:

        tag_set_name (str):

        region_name (str):

    """

    tag_set_name: str = field(metadata={"alias": "tagSetName"})

    region_name: str = field(metadata={"alias": "regionName"})

Responses

Bases: OCIDataResponse

Response to SystemDeviceManagementTagSetRegionTagGetListRequest. The column headings for the tagsTable are: "Tag Name", "Tag Value".

Attributes:

tags_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemDeviceManagementTagSetRegionTagGetListResponse(OCIDataResponse):
    """Response to SystemDeviceManagementTagSetRegionTagGetListRequest.
        The column headings for the tagsTable are: \"Tag Name\", \"Tag Value\".

    Attributes:

        tags_table (OCITable):

    """

    tags_table: OCITable = field(metadata={"alias": "tagsTable"})

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 SystemDeviceManagementTagSetRegionTagGetListRequest

client = Client()

command = SystemDeviceManagementTagSetRegionTagGetListRequest(
    tag_set_name=...,
    region_name=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemDeviceManagementTagSetRegionTagGetListRequest",
    tag_set_name=...,
    region_name=...,
)

print(response)