Bases: OCIType
Assign a service user. If the service has not been authorized to service provider or group, it will be authorized.
If the service 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. If a template does not exist, the service quantity will be set to unlimited.
Attributes:
user_service (str):
authorized_quantity (Optional[UnboundedPositiveInt]):
Source code in src/mercury_ocip_fast/commands/commands.py
| @dataclass(kw_only=True)
class CombinedUserServiceAssignment(OCIType):
"""Assign a service user. If the service has not been authorized to service provider or group, it will
be authorized.
If the service 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. If a template does
not exist, the service quantity will be set to unlimited.
Attributes:
user_service (str):
authorized_quantity (Optional[UnboundedPositiveInt]):
"""
user_service: str = field(metadata={"alias": "userService"})
authorized_quantity: Optional[UnboundedPositiveInt] = field(
default=None, metadata={"alias": "authorizedQuantity"}
)
|