Skip to content

ConsolidatedServicePackAssignment

Bases: OCIType

Assign a service pack to user. If the service pack has not been authorized to the group, it will be authorized. 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:

service_pack_name (str):

authorized_quantity (Optional[UnboundedPositiveInt]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class ConsolidatedServicePackAssignment(OCIType):
    """Assign a service pack to user. If the service pack has not been authorized to
        the group, it will be authorized.
        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:

        service_pack_name (str):

        authorized_quantity (Optional[UnboundedPositiveInt]):

    """

    service_pack_name: str = field(metadata={"alias": "servicePackName"})

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