Commitment¶
-
class
oci.onesubscription.models.Commitment(**kwargs)¶ Bases:
objectSubscribed service commitment summary.
Methods
__init__(**kwargs)Initializes a new Commitment object with values from keyword arguments. Attributes
available_amountGets the available_amount of this Commitment. funded_allocation_valueGets the funded_allocation_value of this Commitment. id[Required] Gets the id of this Commitment. quantityGets the quantity of this Commitment. subscribed_service_idGets the subscribed_service_id of this Commitment. time_endGets the time_end of this Commitment. time_startGets the time_start of this Commitment. used_amountGets the used_amount of this Commitment. -
__init__(**kwargs)¶ Initializes a new Commitment object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this Commitment.
- subscribed_service_id (str) – The value to assign to the subscribed_service_id property of this Commitment.
- time_start (datetime) – The value to assign to the time_start property of this Commitment.
- time_end (datetime) – The value to assign to the time_end property of this Commitment.
- quantity (str) – The value to assign to the quantity property of this Commitment.
- used_amount (str) – The value to assign to the used_amount property of this Commitment.
- available_amount (str) – The value to assign to the available_amount property of this Commitment.
- funded_allocation_value (str) – The value to assign to the funded_allocation_value property of this Commitment.
-
available_amount¶ Gets the available_amount of this Commitment. Commitment available amount.
Returns: The available_amount of this Commitment. Return type: str
-
funded_allocation_value¶ Gets the funded_allocation_value of this Commitment. Funded allocation line value. Example: 12000.00
Returns: The funded_allocation_value of this Commitment. Return type: str
-
id¶ [Required] Gets the id of this Commitment. SPM (Subscription Plan Management) internal commitment ID.
Returns: The id of this Commitment. Return type: str
-
quantity¶ Gets the quantity of this Commitment. Commitment quantity.
Returns: The quantity of this Commitment. Return type: str
-
subscribed_service_id¶ Gets the subscribed_service_id of this Commitment. SPM internal subscribed service ID.
Returns: The subscribed_service_id of this Commitment. Return type: str
-
time_end¶ Gets the time_end of this Commitment. Commitment end date.
Returns: The time_end of this Commitment. Return type: datetime
-
time_start¶ Gets the time_start of this Commitment. Commitment start date.
Returns: The time_start of this Commitment. Return type: datetime
-
used_amount¶ Gets the used_amount of this Commitment. Commitment used amount.
Returns: The used_amount of this Commitment. Return type: str
-