Skip to content

PreferredCommitment

Source code in docs_src/capo_cost_optimization_hub/types/preferred_commitment.py
class PreferredCommitment(TypedDict, closed=True):
    term: NotRequired["capo_cost_optimization_hub.types.term.Term"]
    """<p>The preferred length of the commitment period. If the value is null, it will default to <code>ThreeYears</code> (highest savings) where applicable.</p>"""
    payment_option: NotRequired[
        "capo_cost_optimization_hub.types.payment_option.PaymentOption"
    ]
    """<p>The preferred upfront payment structure for commitments. If the value is null, it will default to <code>AllUpfront</code> (highest savings) where applicable.</p>"""

payment_option instance-attribute

payment_option: NotRequired[PaymentOption]

The preferred upfront payment structure for commitments. If the value is null, it will default to AllUpfront (highest savings) where applicable.

term instance-attribute

term: NotRequired[Term]

The preferred length of the commitment period. If the value is null, it will default to ThreeYears (highest savings) where applicable.