Bases: OCIType
Assign a service pack to user. If the service pack has not been authorized to service provider or group, it will be authorized.
If the service pack needs to be authorized at group/service provider levels, the authorizedQuantity will be used. Otherwise, it will be ignored. If the authorizedQuantity is not included, the quantity will come from the group template for the service pack. If a template does not exist, the service quantity will be set to unlimited.
Attributes:
service_pack_name (str):
authorized_quantity (Optional[UnboundedPositiveInt]):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class CombinedServicePackAssignment(OCIType):
"""Assign a service pack to user. If the service pack has not been authorized to service provider or
group, it will be authorized.
If the service pack needs to be authorized at group/service provider levels, the authorizedQuantity
will be used. Otherwise, it will be ignored. If the authorizedQuantity is not included, the
quantity will come from the group template for the service pack. If a template does
not exist, the service quantity will be set to unlimited.
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"}
)
|