CommitmentSummary¶
- class oci.onesubscription.models.CommitmentSummary(**kwargs)¶
Bases:
objectSubscribed service commitment summary.
Methods:
__init__(**kwargs)Initializes a new CommitmentSummary object with values from keyword arguments.
Attributes:
Gets the available_amount of this CommitmentSummary.
Gets the funded_allocation_value of this CommitmentSummary.
[Required] Gets the id of this CommitmentSummary.
Gets the quantity of this CommitmentSummary.
Gets the subscribed_service_id of this CommitmentSummary.
Gets the time_end of this CommitmentSummary.
Gets the time_start of this CommitmentSummary.
Gets the used_amount of this CommitmentSummary.
- __init__(**kwargs)¶
Initializes a new CommitmentSummary 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 CommitmentSummary.
subscribed_service_id (str) – The value to assign to the subscribed_service_id property of this CommitmentSummary.
time_start (datetime) – The value to assign to the time_start property of this CommitmentSummary.
time_end (datetime) – The value to assign to the time_end property of this CommitmentSummary.
quantity (str) – The value to assign to the quantity property of this CommitmentSummary.
used_amount (str) – The value to assign to the used_amount property of this CommitmentSummary.
available_amount (str) – The value to assign to the available_amount property of this CommitmentSummary.
funded_allocation_value (str) – The value to assign to the funded_allocation_value property of this CommitmentSummary.
- property available_amount¶
Gets the available_amount of this CommitmentSummary. Commitment available amount.
- Returns
The available_amount of this CommitmentSummary.
- Return type
str
- property funded_allocation_value¶
Gets the funded_allocation_value of this CommitmentSummary. Funded allocation line value. Example: 12000.00
- Returns
The funded_allocation_value of this CommitmentSummary.
- Return type
str
- property id¶
[Required] Gets the id of this CommitmentSummary. SPM (Subscription Plan Management) internal commitment ID.
- Returns
The id of this CommitmentSummary.
- Return type
str
- property quantity¶
Gets the quantity of this CommitmentSummary. Commitment quantity.
- Returns
The quantity of this CommitmentSummary.
- Return type
str
- property subscribed_service_id¶
Gets the subscribed_service_id of this CommitmentSummary. SPM internal subscribed service ID.
- Returns
The subscribed_service_id of this CommitmentSummary.
- Return type
str
- property time_end¶
Gets the time_end of this CommitmentSummary. Commitment end date.
- Returns
The time_end of this CommitmentSummary.
- Return type
datetime
- property time_start¶
Gets the time_start of this CommitmentSummary. Commitment start date.
- Returns
The time_start of this CommitmentSummary.
- Return type
datetime
- property used_amount¶
Gets the used_amount of this CommitmentSummary. Commitment used amount.
- Returns
The used_amount of this CommitmentSummary.
- Return type
str