Skip to content

SystemDeviceManagementTagSetRegionGetListRequest

Bases: OCIRequest

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

Attributes:

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

    Attributes:

        tag_set_name (str):

    """

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

Responses

Bases: OCIDataResponse

Response to SystemDeviceManagementTagSetGetListRequest. The response includes the list of region names defined in the specified tag set.

Attributes:

region_name (Optional[List[str]]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemDeviceManagementTagSetRegionGetListResponse(OCIDataResponse):
    """Response to SystemDeviceManagementTagSetGetListRequest.
        The response includes the list of region names defined in the specified tag set.

    Attributes:

        region_name (Optional[List[str]]):

    """

    region_name: Optional[List[str]] = field(
        default=None, metadata={"alias": "regionName"}
    )

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 SystemDeviceManagementTagSetRegionGetListRequest

client = Client()

command = SystemDeviceManagementTagSetRegionGetListRequest(
    tag_set_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("SystemDeviceManagementTagSetRegionGetListRequest",
    tag_set_name=...,
)

print(response)