Skip to content

Usage

Source code in docs_src/capo_cost_optimization_hub/types/usage.py
class Usage(TypedDict, closed=True):
    usage_type: NotRequired["str"]
    """<p>The usage type.</p>"""
    usage_amount: NotRequired["float"]
    """<p>The usage amount.</p>"""
    operation: NotRequired["str"]
    """<p>The operation value.</p>"""
    product_code: NotRequired["str"]
    """<p>The product code.</p>"""
    unit: NotRequired["str"]
    """<p>The usage unit.</p>"""

operation instance-attribute

operation: NotRequired[str]

The operation value.

product_code instance-attribute

product_code: NotRequired[str]

The product code.

unit instance-attribute

unit: NotRequired[str]

The usage unit.

usage_amount instance-attribute

usage_amount: NotRequired[float]

The usage amount.

usage_type instance-attribute

usage_type: NotRequired[str]

The usage type.