CostMgmtByBudgetResponseBody

pydantic model openapi_client.models.cost_mgmt_by_budget_response_body.CostMgmtByBudgetResponseBody

Complete stored configuration for one cost budget.

Fields:
field budget_id: Optional[StrictStr] = None (alias 'BudgetId')

Unique budget identifier.

field budget_name: Optional[StrictStr] = None (alias 'BudgetName')

Budget display name.

field description: Optional[StrictStr] = None (alias 'Description')

Budget purpose.

field tag_key: Optional[StrictStr] = None (alias 'TagKey')

Cost allocation tag key monitored by the budget.

field tag_values: Optional[List[StrictStr]] = None (alias 'TagValues')

Tag values included in the budget.

field budget_amount: Optional[StrictStr] = None (alias 'BudgetAmount')

Configured budget amount.

field budget_amount_used: Optional[StrictStr] = None (alias 'BudgetAmountUsed')

Amount consumed in the current period.

field currency_unit: Optional[StrictStr] = 'USD' (alias 'CurrencyUnit')

ISO currency code.

field budget_period: Optional[StrictStr] = None (alias 'BudgetPeriod')

Budget reset period.

field action_configurations: Optional[List[CostBudgetsActionConfigurationsResponseBody]] = None (alias 'ActionConfigurations')

Actions and thresholds configured for the budget.

field budget_hash_key: Optional[StrictStr] = None (alias 'BudgetHashKey')

Internal hash key used to identify the stored budget.

field single_value_budget: Optional[StrictBool] = None (alias 'SingleValueBudget')

Whether the budget is fixed to one immutable tag value.

field last_modified_time: Optional[StrictStr] = None (alias 'LastModifiedTime')

Timestamp of the latest update.

field last_modified_by: Optional[StrictStr] = None (alias 'LastModifiedBy')

User who last modified the budget.

field created_by: Optional[StrictStr] = None (alias 'CreatedBy')

User who created the budget.

field creation_time: Optional[StrictStr] = None (alias 'CreationTime')

Timestamp when the budget was created.

to_str()

Returns the string representation of the model using alias

Return type:

str

to_json()

Returns the JSON representation of the model using alias

Return type:

str

classmethod from_json(json_str)

Create an instance of CostMgmtByBudgetResponseBody from a JSON string

Return type:

Optional[Self]

to_dict()

Return the dictionary representation of the model using alias.

This has the following differences from calling pydantic’s self.model_dump(by_alias=True):

  • None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.

Return type:

Dict[str, Any]

classmethod from_dict(obj)

Create an instance of CostMgmtByBudgetResponseBody from a dict

Return type:

Optional[Self]