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:
Gets the available_amount of this Commitment.
Gets the funded_allocation_value of this Commitment.
[Required] Gets the id of this Commitment.
Gets the quantity of this Commitment.
Gets the subscribed_service_id of this Commitment.
Gets the time_end of this Commitment.
Gets the time_start of this Commitment.
Gets 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.
- property available_amount¶
Gets the available_amount of this Commitment. Commitment available amount.
- Returns
The available_amount of this Commitment.
- Return type
str
- property 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
- property id¶
[Required] Gets the id of this Commitment. SPM (Subscription Plan Management) internal commitment ID.
- Returns
The id of this Commitment.
- Return type
str
- property quantity¶
Gets the quantity of this Commitment. Commitment quantity.
- Returns
The quantity of this Commitment.
- Return type
str
- property 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
- property time_end¶
Gets the time_end of this Commitment. Commitment end date.
- Returns
The time_end of this Commitment.
- Return type
datetime
- property time_start¶
Gets the time_start of this Commitment. Commitment start date.
- Returns
The time_start of this Commitment.
- Return type
datetime
- property used_amount¶
Gets the used_amount of this Commitment. Commitment used amount.
- Returns
The used_amount of this Commitment.
- Return type
str