Skip to content

ConsolidatedGroupServiceAssignment

Bases: OCIType

Authorize and assign a group service.

The authorizedQuantity will be used at the group level if provided; otherwise, the service quantity will be set to unlimited.
The command will fail if the authorized quantity set at the service provider level is insufficient.

Attributes:

group_service_name (str):

authorized_quantity (Optional[UnboundedPositiveInt]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class ConsolidatedGroupServiceAssignment(OCIType):
    """Authorize and assign a group service.

        The authorizedQuantity will be used at the group level if provided; otherwise, the service quantity will be set to unlimited.
        The command will fail if the authorized quantity set at the service provider level is insufficient.

    Attributes:

        group_service_name (str):

        authorized_quantity (Optional[UnboundedPositiveInt]):

    """

    group_service_name: str = field(metadata={"alias": "groupServiceName"})

    authorized_quantity: Optional[UnboundedPositiveInt] = field(
        default=None, metadata={"alias": "authorizedQuantity"}
    )