Skip to content

GroupServiceGetAuthorizationListRequest

Bases: OCIRequest

Requests the group's service authorization status. The response is either GroupServiceGetAuthorizationListResponse or ErrorResponse.

Attributes:

service_provider_id (str):

group_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupServiceGetAuthorizationListRequest(OCIRequest):
    """Requests the group's service authorization status.
        The response is either GroupServiceGetAuthorizationListResponse or ErrorResponse.

    Attributes:

        service_provider_id (str):

        group_id (str):

    """

    service_provider_id: str = field(metadata={"alias": "serviceProviderId"})

    group_id: str = field(metadata={"alias": "groupId"})

Responses

Bases: OCIDataResponse

Response to GroupServiceGetAuthorizationListRequest. Contains three tables, one for the service packs, one for the group services, and one for the user services. The user table has the following column headings: "Service Name", "Authorized", "Assigned", "Limited", "Quantity", "Usage", "Licensed", "Allowed", "User Assignable", "Group Service Assignable". The group service table has the following column headings: "Service Name", "Authorized", "Assigned", "Limited", "Quantity", "Usage", "Licensed", "Allowed", "Instance Count". The service pack table's column headings are: "Service Pack Name", "Authorized", "Assigned", "Limited", "Allocated", "Allowed", "Usage", "Description".

Attributes:

service_packs_authorization_table (OCITable):

group_services_authorization_table (OCITable):

user_services_authorization_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupServiceGetAuthorizationListResponse(OCIDataResponse):
    """Response to GroupServiceGetAuthorizationListRequest.
        Contains three tables, one for the service packs, one for the group services, and one for
        the user services.
        The user table has the following column headings:
          \"Service Name\", \"Authorized\", \"Assigned\", \"Limited\", \"Quantity\", \"Usage\", \"Licensed\", \"Allowed\", \"User Assignable\", \"Group Service Assignable\".
        The group service table has the following column headings:
          \"Service Name\", \"Authorized\", \"Assigned\", \"Limited\", \"Quantity\", \"Usage\", \"Licensed\", \"Allowed\", \"Instance Count\".
        The service pack table's column headings are:
          \"Service Pack Name\", \"Authorized\", \"Assigned\", \"Limited\", \"Allocated\", \"Allowed\", \"Usage\", \"Description\".

    Attributes:

        service_packs_authorization_table (OCITable):

        group_services_authorization_table (OCITable):

        user_services_authorization_table (OCITable):

    """

    service_packs_authorization_table: OCITable = field(
        metadata={"alias": "servicePacksAuthorizationTable"}
    )

    group_services_authorization_table: OCITable = field(
        metadata={"alias": "groupServicesAuthorizationTable"}
    )

    user_services_authorization_table: OCITable = field(
        metadata={"alias": "userServicesAuthorizationTable"}
    )

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 GroupServiceGetAuthorizationListRequest

client = Client()

command = GroupServiceGetAuthorizationListRequest(
    service_provider_id=...,
    group_id=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("GroupServiceGetAuthorizationListRequest",
    service_provider_id=...,
    group_id=...,
)

print(response)