pulumi-azure-native 2.68.0a1729544032__py3-none-any.whl → 2.68.0a1729615467__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-azure-native might be problematic. Click here for more details.
- pulumi_azure_native/__init__.py +29 -0
- pulumi_azure_native/awsconnector/_inputs.py +132 -96
- pulumi_azure_native/awsconnector/outputs.py +120 -66
- pulumi_azure_native/awsconnector/v20241201/_inputs.py +132 -96
- pulumi_azure_native/awsconnector/v20241201/outputs.py +120 -66
- pulumi_azure_native/cache/__init__.py +3 -0
- pulumi_azure_native/cache/access_policy.py +3 -3
- pulumi_azure_native/cache/access_policy_assignment.py +3 -3
- pulumi_azure_native/cache/firewall_rule.py +3 -3
- pulumi_azure_native/cache/get_access_policy.py +2 -2
- pulumi_azure_native/cache/get_access_policy_assignment.py +2 -2
- pulumi_azure_native/cache/get_firewall_rule.py +2 -2
- pulumi_azure_native/cache/get_linked_server.py +2 -2
- pulumi_azure_native/cache/get_patch_schedule.py +2 -2
- pulumi_azure_native/cache/get_private_endpoint_connection.py +2 -2
- pulumi_azure_native/cache/get_redis.py +2 -2
- pulumi_azure_native/cache/linked_server.py +3 -3
- pulumi_azure_native/cache/list_redis_keys.py +2 -2
- pulumi_azure_native/cache/patch_schedule.py +3 -3
- pulumi_azure_native/cache/private_endpoint_connection.py +3 -3
- pulumi_azure_native/cache/redis.py +3 -3
- pulumi_azure_native/cache/v20200601/redis.py +1 -1
- pulumi_azure_native/cache/v20230401/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20230401/linked_server.py +1 -1
- pulumi_azure_native/cache/v20230401/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20230401/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20230401/redis.py +1 -1
- pulumi_azure_native/cache/v20230501preview/access_policy.py +1 -1
- pulumi_azure_native/cache/v20230501preview/access_policy_assignment.py +1 -1
- pulumi_azure_native/cache/v20230501preview/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20230501preview/linked_server.py +1 -1
- pulumi_azure_native/cache/v20230501preview/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20230501preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20230501preview/redis.py +1 -1
- pulumi_azure_native/cache/v20230801/access_policy.py +1 -1
- pulumi_azure_native/cache/v20230801/access_policy_assignment.py +1 -1
- pulumi_azure_native/cache/v20230801/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20230801/linked_server.py +1 -1
- pulumi_azure_native/cache/v20230801/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20230801/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20230801/redis.py +1 -1
- pulumi_azure_native/cache/v20240301/access_policy.py +1 -1
- pulumi_azure_native/cache/v20240301/access_policy_assignment.py +1 -1
- pulumi_azure_native/cache/v20240301/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20240301/linked_server.py +1 -1
- pulumi_azure_native/cache/v20240301/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20240301/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20240301/redis.py +1 -1
- pulumi_azure_native/cache/v20240401preview/access_policy.py +1 -1
- pulumi_azure_native/cache/v20240401preview/access_policy_assignment.py +1 -1
- pulumi_azure_native/cache/v20240401preview/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20240401preview/linked_server.py +1 -1
- pulumi_azure_native/cache/v20240401preview/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20240401preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20240401preview/redis.py +1 -1
- pulumi_azure_native/cache/v20241101/__init__.py +25 -0
- pulumi_azure_native/cache/v20241101/_enums.py +111 -0
- pulumi_azure_native/cache/v20241101/_inputs.py +646 -0
- pulumi_azure_native/cache/v20241101/access_policy.py +219 -0
- pulumi_azure_native/cache/v20241101/access_policy_assignment.py +279 -0
- pulumi_azure_native/cache/v20241101/firewall_rule.py +239 -0
- pulumi_azure_native/cache/v20241101/get_access_policy.py +148 -0
- pulumi_azure_native/cache/v20241101/get_access_policy_assignment.py +176 -0
- pulumi_azure_native/cache/v20241101/get_firewall_rule.py +148 -0
- pulumi_azure_native/cache/v20241101/get_linked_server.py +204 -0
- pulumi_azure_native/cache/v20241101/get_patch_schedule.py +149 -0
- pulumi_azure_native/cache/v20241101/get_private_endpoint_connection.py +163 -0
- pulumi_azure_native/cache/v20241101/get_redis.py +493 -0
- pulumi_azure_native/cache/v20241101/linked_server.py +299 -0
- pulumi_azure_native/cache/v20241101/list_redis_keys.py +100 -0
- pulumi_azure_native/cache/v20241101/outputs.py +917 -0
- pulumi_azure_native/cache/v20241101/patch_schedule.py +221 -0
- pulumi_azure_native/cache/v20241101/private_endpoint_connection.py +232 -0
- pulumi_azure_native/cache/v20241101/redis.py +804 -0
- pulumi_azure_native/costmanagement/__init__.py +3 -0
- pulumi_azure_native/costmanagement/budget.py +3 -3
- pulumi_azure_native/costmanagement/cost_allocation_rule.py +3 -3
- pulumi_azure_native/costmanagement/export.py +3 -3
- pulumi_azure_native/costmanagement/get_budget.py +2 -2
- pulumi_azure_native/costmanagement/get_cost_allocation_rule.py +2 -2
- pulumi_azure_native/costmanagement/get_export.py +2 -2
- pulumi_azure_native/costmanagement/get_scheduled_action.py +2 -2
- pulumi_azure_native/costmanagement/get_scheduled_action_by_scope.py +2 -2
- pulumi_azure_native/costmanagement/get_view.py +2 -2
- pulumi_azure_native/costmanagement/get_view_by_scope.py +2 -2
- pulumi_azure_native/costmanagement/scheduled_action.py +3 -3
- pulumi_azure_native/costmanagement/scheduled_action_by_scope.py +3 -3
- pulumi_azure_native/costmanagement/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20190401preview/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20191001/export.py +1 -1
- pulumi_azure_native/costmanagement/v20191101/view.py +1 -1
- pulumi_azure_native/costmanagement/v20191101/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20200301preview/cost_allocation_rule.py +1 -1
- pulumi_azure_native/costmanagement/v20200601/view.py +1 -1
- pulumi_azure_native/costmanagement/v20200601/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20221001/view.py +1 -1
- pulumi_azure_native/costmanagement/v20221001/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20221005preview/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20221005preview/view.py +1 -1
- pulumi_azure_native/costmanagement/v20221005preview/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/cost_allocation_rule.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/cost_allocation_rule.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/cost_allocation_rule.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/export.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/view.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20240801/__init__.py +26 -0
- pulumi_azure_native/costmanagement/v20240801/_enums.py +538 -0
- pulumi_azure_native/costmanagement/v20240801/_inputs.py +2660 -0
- pulumi_azure_native/costmanagement/v20240801/budget.py +619 -0
- pulumi_azure_native/costmanagement/v20240801/cost_allocation_rule.py +190 -0
- pulumi_azure_native/costmanagement/v20240801/export.py +415 -0
- pulumi_azure_native/costmanagement/v20240801/get_budget.py +337 -0
- pulumi_azure_native/costmanagement/v20240801/get_cost_allocation_rule.py +129 -0
- pulumi_azure_native/costmanagement/v20240801/get_export.py +261 -0
- pulumi_azure_native/costmanagement/v20240801/get_scheduled_action.py +263 -0
- pulumi_azure_native/costmanagement/v20240801/get_scheduled_action_by_scope.py +269 -0
- pulumi_azure_native/costmanagement/v20240801/get_tag_inheritance_setting.py +144 -0
- pulumi_azure_native/costmanagement/v20240801/get_view.py +333 -0
- pulumi_azure_native/costmanagement/v20240801/get_view_by_scope.py +339 -0
- pulumi_azure_native/costmanagement/v20240801/outputs.py +2593 -0
- pulumi_azure_native/costmanagement/v20240801/scheduled_action.py +425 -0
- pulumi_azure_native/costmanagement/v20240801/scheduled_action_by_scope.py +426 -0
- pulumi_azure_native/costmanagement/v20240801/tag_inheritance_setting.py +222 -0
- pulumi_azure_native/costmanagement/v20240801/view.py +587 -0
- pulumi_azure_native/costmanagement/v20240801/view_by_scope.py +588 -0
- pulumi_azure_native/costmanagement/view.py +3 -3
- pulumi_azure_native/costmanagement/view_by_scope.py +3 -3
- pulumi_azure_native/pulumi-plugin.json +1 -1
- {pulumi_azure_native-2.68.0a1729544032.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.68.0a1729544032.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/RECORD +167 -128
- {pulumi_azure_native-2.68.0a1729544032.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.68.0a1729544032.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,619 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from ... import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._enums import *
|
|
18
|
+
from ._inputs import *
|
|
19
|
+
|
|
20
|
+
__all__ = ['BudgetArgs', 'Budget']
|
|
21
|
+
|
|
22
|
+
@pulumi.input_type
|
|
23
|
+
class BudgetArgs:
|
|
24
|
+
def __init__(__self__, *,
|
|
25
|
+
category: pulumi.Input[Union[str, 'CategoryType']],
|
|
26
|
+
scope: pulumi.Input[str],
|
|
27
|
+
time_grain: pulumi.Input[Union[str, 'TimeGrainType']],
|
|
28
|
+
time_period: pulumi.Input['BudgetTimePeriodArgs'],
|
|
29
|
+
amount: Optional[pulumi.Input[float]] = None,
|
|
30
|
+
budget_name: Optional[pulumi.Input[str]] = None,
|
|
31
|
+
e_tag: Optional[pulumi.Input[str]] = None,
|
|
32
|
+
filter: Optional[pulumi.Input['BudgetFilterArgs']] = None,
|
|
33
|
+
notifications: Optional[pulumi.Input[Mapping[str, pulumi.Input['NotificationArgs']]]] = None):
|
|
34
|
+
"""
|
|
35
|
+
The set of arguments for constructing a Budget resource.
|
|
36
|
+
:param pulumi.Input[Union[str, 'CategoryType']] category: The category of the budget.
|
|
37
|
+
- 'Cost' defines a Budget.
|
|
38
|
+
- 'ReservationUtilization' defines a Reservation Utilization Alert Rule.
|
|
39
|
+
:param pulumi.Input[str] scope: The scope associated with budget operations.
|
|
40
|
+
|
|
41
|
+
Supported scopes for **CategoryType: Cost**
|
|
42
|
+
|
|
43
|
+
Azure RBAC Scopes:
|
|
44
|
+
- '/subscriptions/{subscriptionId}/' for subscription scope
|
|
45
|
+
- '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope
|
|
46
|
+
- '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope
|
|
47
|
+
|
|
48
|
+
EA (Enterprise Agreement) Scopes:
|
|
49
|
+
|
|
50
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope
|
|
51
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope
|
|
52
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope
|
|
53
|
+
|
|
54
|
+
MCA (Modern Customer Agreement) Scopes:
|
|
55
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope
|
|
56
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope
|
|
57
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope
|
|
58
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' for customer scope (CSP only)
|
|
59
|
+
|
|
60
|
+
Supported scopes for **CategoryType: ReservationUtilization**
|
|
61
|
+
|
|
62
|
+
EA (Enterprise Agreement) Scopes:
|
|
63
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account Scope
|
|
64
|
+
|
|
65
|
+
MCA (Modern Customer Agreement) Scopes:
|
|
66
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope (non-CSP only)
|
|
67
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' for customer scope (CSP only)
|
|
68
|
+
:param pulumi.Input[Union[str, 'TimeGrainType']] time_grain: The time covered by a budget. Tracking of the amount will be reset based on the time grain.
|
|
69
|
+
|
|
70
|
+
Supported for CategoryType(s): Cost, ReservationUtilization.
|
|
71
|
+
|
|
72
|
+
Supported timeGrainTypes for **CategoryType: Cost**
|
|
73
|
+
|
|
74
|
+
- Monthly
|
|
75
|
+
- Quarterly
|
|
76
|
+
- Annually
|
|
77
|
+
- BillingMonth*
|
|
78
|
+
- BillingQuarter*
|
|
79
|
+
- BillingAnnual*
|
|
80
|
+
|
|
81
|
+
*only supported for Web Direct customers.
|
|
82
|
+
|
|
83
|
+
Supported timeGrainTypes for **CategoryType: ReservationUtilization**
|
|
84
|
+
- Last7Days
|
|
85
|
+
- Last30Days
|
|
86
|
+
|
|
87
|
+
Required for CategoryType(s): Cost, ReservationUtilization.
|
|
88
|
+
:param pulumi.Input['BudgetTimePeriodArgs'] time_period: The time period that defines the active period of the budget. The budget will evaluate data on or after the startDate and will expire on the endDate.
|
|
89
|
+
|
|
90
|
+
Supported for CategoryType(s): Cost, ReservationUtilization.
|
|
91
|
+
|
|
92
|
+
Required for CategoryType(s): Cost, ReservationUtilization.
|
|
93
|
+
:param pulumi.Input[float] amount: The total amount of cost to track with the budget.
|
|
94
|
+
|
|
95
|
+
Supported for CategoryType(s): Cost.
|
|
96
|
+
|
|
97
|
+
Required for CategoryType(s): Cost.
|
|
98
|
+
:param pulumi.Input[str] budget_name: Budget Name.
|
|
99
|
+
:param pulumi.Input[str] e_tag: eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
|
|
100
|
+
:param pulumi.Input['BudgetFilterArgs'] filter: May be used to filter budgets by user-specified dimensions and/or tags.
|
|
101
|
+
|
|
102
|
+
Supported for CategoryType(s): Cost, ReservationUtilization.
|
|
103
|
+
:param pulumi.Input[Mapping[str, pulumi.Input['NotificationArgs']]] notifications: Dictionary of notifications associated with the budget.
|
|
104
|
+
|
|
105
|
+
Supported for CategoryType(s): Cost, ReservationUtilization.
|
|
106
|
+
|
|
107
|
+
- Constraints for **CategoryType: Cost** - Budget can have up to 5 notifications with thresholdType: Actual and 5 notifications with thresholdType: Forecasted.
|
|
108
|
+
- Constraints for **CategoryType: ReservationUtilization** - Only one notification allowed. thresholdType is not applicable.
|
|
109
|
+
"""
|
|
110
|
+
pulumi.set(__self__, "category", category)
|
|
111
|
+
pulumi.set(__self__, "scope", scope)
|
|
112
|
+
pulumi.set(__self__, "time_grain", time_grain)
|
|
113
|
+
pulumi.set(__self__, "time_period", time_period)
|
|
114
|
+
if amount is not None:
|
|
115
|
+
pulumi.set(__self__, "amount", amount)
|
|
116
|
+
if budget_name is not None:
|
|
117
|
+
pulumi.set(__self__, "budget_name", budget_name)
|
|
118
|
+
if e_tag is not None:
|
|
119
|
+
pulumi.set(__self__, "e_tag", e_tag)
|
|
120
|
+
if filter is not None:
|
|
121
|
+
pulumi.set(__self__, "filter", filter)
|
|
122
|
+
if notifications is not None:
|
|
123
|
+
pulumi.set(__self__, "notifications", notifications)
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
@pulumi.getter
|
|
127
|
+
def category(self) -> pulumi.Input[Union[str, 'CategoryType']]:
|
|
128
|
+
"""
|
|
129
|
+
The category of the budget.
|
|
130
|
+
- 'Cost' defines a Budget.
|
|
131
|
+
- 'ReservationUtilization' defines a Reservation Utilization Alert Rule.
|
|
132
|
+
"""
|
|
133
|
+
return pulumi.get(self, "category")
|
|
134
|
+
|
|
135
|
+
@category.setter
|
|
136
|
+
def category(self, value: pulumi.Input[Union[str, 'CategoryType']]):
|
|
137
|
+
pulumi.set(self, "category", value)
|
|
138
|
+
|
|
139
|
+
@property
|
|
140
|
+
@pulumi.getter
|
|
141
|
+
def scope(self) -> pulumi.Input[str]:
|
|
142
|
+
"""
|
|
143
|
+
The scope associated with budget operations.
|
|
144
|
+
|
|
145
|
+
Supported scopes for **CategoryType: Cost**
|
|
146
|
+
|
|
147
|
+
Azure RBAC Scopes:
|
|
148
|
+
- '/subscriptions/{subscriptionId}/' for subscription scope
|
|
149
|
+
- '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope
|
|
150
|
+
- '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope
|
|
151
|
+
|
|
152
|
+
EA (Enterprise Agreement) Scopes:
|
|
153
|
+
|
|
154
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope
|
|
155
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope
|
|
156
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope
|
|
157
|
+
|
|
158
|
+
MCA (Modern Customer Agreement) Scopes:
|
|
159
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope
|
|
160
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope
|
|
161
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope
|
|
162
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' for customer scope (CSP only)
|
|
163
|
+
|
|
164
|
+
Supported scopes for **CategoryType: ReservationUtilization**
|
|
165
|
+
|
|
166
|
+
EA (Enterprise Agreement) Scopes:
|
|
167
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account Scope
|
|
168
|
+
|
|
169
|
+
MCA (Modern Customer Agreement) Scopes:
|
|
170
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope (non-CSP only)
|
|
171
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' for customer scope (CSP only)
|
|
172
|
+
"""
|
|
173
|
+
return pulumi.get(self, "scope")
|
|
174
|
+
|
|
175
|
+
@scope.setter
|
|
176
|
+
def scope(self, value: pulumi.Input[str]):
|
|
177
|
+
pulumi.set(self, "scope", value)
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
@pulumi.getter(name="timeGrain")
|
|
181
|
+
def time_grain(self) -> pulumi.Input[Union[str, 'TimeGrainType']]:
|
|
182
|
+
"""
|
|
183
|
+
The time covered by a budget. Tracking of the amount will be reset based on the time grain.
|
|
184
|
+
|
|
185
|
+
Supported for CategoryType(s): Cost, ReservationUtilization.
|
|
186
|
+
|
|
187
|
+
Supported timeGrainTypes for **CategoryType: Cost**
|
|
188
|
+
|
|
189
|
+
- Monthly
|
|
190
|
+
- Quarterly
|
|
191
|
+
- Annually
|
|
192
|
+
- BillingMonth*
|
|
193
|
+
- BillingQuarter*
|
|
194
|
+
- BillingAnnual*
|
|
195
|
+
|
|
196
|
+
*only supported for Web Direct customers.
|
|
197
|
+
|
|
198
|
+
Supported timeGrainTypes for **CategoryType: ReservationUtilization**
|
|
199
|
+
- Last7Days
|
|
200
|
+
- Last30Days
|
|
201
|
+
|
|
202
|
+
Required for CategoryType(s): Cost, ReservationUtilization.
|
|
203
|
+
"""
|
|
204
|
+
return pulumi.get(self, "time_grain")
|
|
205
|
+
|
|
206
|
+
@time_grain.setter
|
|
207
|
+
def time_grain(self, value: pulumi.Input[Union[str, 'TimeGrainType']]):
|
|
208
|
+
pulumi.set(self, "time_grain", value)
|
|
209
|
+
|
|
210
|
+
@property
|
|
211
|
+
@pulumi.getter(name="timePeriod")
|
|
212
|
+
def time_period(self) -> pulumi.Input['BudgetTimePeriodArgs']:
|
|
213
|
+
"""
|
|
214
|
+
The time period that defines the active period of the budget. The budget will evaluate data on or after the startDate and will expire on the endDate.
|
|
215
|
+
|
|
216
|
+
Supported for CategoryType(s): Cost, ReservationUtilization.
|
|
217
|
+
|
|
218
|
+
Required for CategoryType(s): Cost, ReservationUtilization.
|
|
219
|
+
"""
|
|
220
|
+
return pulumi.get(self, "time_period")
|
|
221
|
+
|
|
222
|
+
@time_period.setter
|
|
223
|
+
def time_period(self, value: pulumi.Input['BudgetTimePeriodArgs']):
|
|
224
|
+
pulumi.set(self, "time_period", value)
|
|
225
|
+
|
|
226
|
+
@property
|
|
227
|
+
@pulumi.getter
|
|
228
|
+
def amount(self) -> Optional[pulumi.Input[float]]:
|
|
229
|
+
"""
|
|
230
|
+
The total amount of cost to track with the budget.
|
|
231
|
+
|
|
232
|
+
Supported for CategoryType(s): Cost.
|
|
233
|
+
|
|
234
|
+
Required for CategoryType(s): Cost.
|
|
235
|
+
"""
|
|
236
|
+
return pulumi.get(self, "amount")
|
|
237
|
+
|
|
238
|
+
@amount.setter
|
|
239
|
+
def amount(self, value: Optional[pulumi.Input[float]]):
|
|
240
|
+
pulumi.set(self, "amount", value)
|
|
241
|
+
|
|
242
|
+
@property
|
|
243
|
+
@pulumi.getter(name="budgetName")
|
|
244
|
+
def budget_name(self) -> Optional[pulumi.Input[str]]:
|
|
245
|
+
"""
|
|
246
|
+
Budget Name.
|
|
247
|
+
"""
|
|
248
|
+
return pulumi.get(self, "budget_name")
|
|
249
|
+
|
|
250
|
+
@budget_name.setter
|
|
251
|
+
def budget_name(self, value: Optional[pulumi.Input[str]]):
|
|
252
|
+
pulumi.set(self, "budget_name", value)
|
|
253
|
+
|
|
254
|
+
@property
|
|
255
|
+
@pulumi.getter(name="eTag")
|
|
256
|
+
def e_tag(self) -> Optional[pulumi.Input[str]]:
|
|
257
|
+
"""
|
|
258
|
+
eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
|
|
259
|
+
"""
|
|
260
|
+
return pulumi.get(self, "e_tag")
|
|
261
|
+
|
|
262
|
+
@e_tag.setter
|
|
263
|
+
def e_tag(self, value: Optional[pulumi.Input[str]]):
|
|
264
|
+
pulumi.set(self, "e_tag", value)
|
|
265
|
+
|
|
266
|
+
@property
|
|
267
|
+
@pulumi.getter
|
|
268
|
+
def filter(self) -> Optional[pulumi.Input['BudgetFilterArgs']]:
|
|
269
|
+
"""
|
|
270
|
+
May be used to filter budgets by user-specified dimensions and/or tags.
|
|
271
|
+
|
|
272
|
+
Supported for CategoryType(s): Cost, ReservationUtilization.
|
|
273
|
+
"""
|
|
274
|
+
return pulumi.get(self, "filter")
|
|
275
|
+
|
|
276
|
+
@filter.setter
|
|
277
|
+
def filter(self, value: Optional[pulumi.Input['BudgetFilterArgs']]):
|
|
278
|
+
pulumi.set(self, "filter", value)
|
|
279
|
+
|
|
280
|
+
@property
|
|
281
|
+
@pulumi.getter
|
|
282
|
+
def notifications(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['NotificationArgs']]]]:
|
|
283
|
+
"""
|
|
284
|
+
Dictionary of notifications associated with the budget.
|
|
285
|
+
|
|
286
|
+
Supported for CategoryType(s): Cost, ReservationUtilization.
|
|
287
|
+
|
|
288
|
+
- Constraints for **CategoryType: Cost** - Budget can have up to 5 notifications with thresholdType: Actual and 5 notifications with thresholdType: Forecasted.
|
|
289
|
+
- Constraints for **CategoryType: ReservationUtilization** - Only one notification allowed. thresholdType is not applicable.
|
|
290
|
+
"""
|
|
291
|
+
return pulumi.get(self, "notifications")
|
|
292
|
+
|
|
293
|
+
@notifications.setter
|
|
294
|
+
def notifications(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['NotificationArgs']]]]):
|
|
295
|
+
pulumi.set(self, "notifications", value)
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
class Budget(pulumi.CustomResource):
|
|
299
|
+
@overload
|
|
300
|
+
def __init__(__self__,
|
|
301
|
+
resource_name: str,
|
|
302
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
303
|
+
amount: Optional[pulumi.Input[float]] = None,
|
|
304
|
+
budget_name: Optional[pulumi.Input[str]] = None,
|
|
305
|
+
category: Optional[pulumi.Input[Union[str, 'CategoryType']]] = None,
|
|
306
|
+
e_tag: Optional[pulumi.Input[str]] = None,
|
|
307
|
+
filter: Optional[pulumi.Input[Union['BudgetFilterArgs', 'BudgetFilterArgsDict']]] = None,
|
|
308
|
+
notifications: Optional[pulumi.Input[Mapping[str, pulumi.Input[Union['NotificationArgs', 'NotificationArgsDict']]]]] = None,
|
|
309
|
+
scope: Optional[pulumi.Input[str]] = None,
|
|
310
|
+
time_grain: Optional[pulumi.Input[Union[str, 'TimeGrainType']]] = None,
|
|
311
|
+
time_period: Optional[pulumi.Input[Union['BudgetTimePeriodArgs', 'BudgetTimePeriodArgsDict']]] = None,
|
|
312
|
+
__props__=None):
|
|
313
|
+
"""
|
|
314
|
+
A budget resource.
|
|
315
|
+
|
|
316
|
+
:param str resource_name: The name of the resource.
|
|
317
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
318
|
+
:param pulumi.Input[float] amount: The total amount of cost to track with the budget.
|
|
319
|
+
|
|
320
|
+
Supported for CategoryType(s): Cost.
|
|
321
|
+
|
|
322
|
+
Required for CategoryType(s): Cost.
|
|
323
|
+
:param pulumi.Input[str] budget_name: Budget Name.
|
|
324
|
+
:param pulumi.Input[Union[str, 'CategoryType']] category: The category of the budget.
|
|
325
|
+
- 'Cost' defines a Budget.
|
|
326
|
+
- 'ReservationUtilization' defines a Reservation Utilization Alert Rule.
|
|
327
|
+
:param pulumi.Input[str] e_tag: eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
|
|
328
|
+
:param pulumi.Input[Union['BudgetFilterArgs', 'BudgetFilterArgsDict']] filter: May be used to filter budgets by user-specified dimensions and/or tags.
|
|
329
|
+
|
|
330
|
+
Supported for CategoryType(s): Cost, ReservationUtilization.
|
|
331
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[Union['NotificationArgs', 'NotificationArgsDict']]]] notifications: Dictionary of notifications associated with the budget.
|
|
332
|
+
|
|
333
|
+
Supported for CategoryType(s): Cost, ReservationUtilization.
|
|
334
|
+
|
|
335
|
+
- Constraints for **CategoryType: Cost** - Budget can have up to 5 notifications with thresholdType: Actual and 5 notifications with thresholdType: Forecasted.
|
|
336
|
+
- Constraints for **CategoryType: ReservationUtilization** - Only one notification allowed. thresholdType is not applicable.
|
|
337
|
+
:param pulumi.Input[str] scope: The scope associated with budget operations.
|
|
338
|
+
|
|
339
|
+
Supported scopes for **CategoryType: Cost**
|
|
340
|
+
|
|
341
|
+
Azure RBAC Scopes:
|
|
342
|
+
- '/subscriptions/{subscriptionId}/' for subscription scope
|
|
343
|
+
- '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope
|
|
344
|
+
- '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope
|
|
345
|
+
|
|
346
|
+
EA (Enterprise Agreement) Scopes:
|
|
347
|
+
|
|
348
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope
|
|
349
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope
|
|
350
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope
|
|
351
|
+
|
|
352
|
+
MCA (Modern Customer Agreement) Scopes:
|
|
353
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope
|
|
354
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope
|
|
355
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope
|
|
356
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' for customer scope (CSP only)
|
|
357
|
+
|
|
358
|
+
Supported scopes for **CategoryType: ReservationUtilization**
|
|
359
|
+
|
|
360
|
+
EA (Enterprise Agreement) Scopes:
|
|
361
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account Scope
|
|
362
|
+
|
|
363
|
+
MCA (Modern Customer Agreement) Scopes:
|
|
364
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope (non-CSP only)
|
|
365
|
+
- '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' for customer scope (CSP only)
|
|
366
|
+
:param pulumi.Input[Union[str, 'TimeGrainType']] time_grain: The time covered by a budget. Tracking of the amount will be reset based on the time grain.
|
|
367
|
+
|
|
368
|
+
Supported for CategoryType(s): Cost, ReservationUtilization.
|
|
369
|
+
|
|
370
|
+
Supported timeGrainTypes for **CategoryType: Cost**
|
|
371
|
+
|
|
372
|
+
- Monthly
|
|
373
|
+
- Quarterly
|
|
374
|
+
- Annually
|
|
375
|
+
- BillingMonth*
|
|
376
|
+
- BillingQuarter*
|
|
377
|
+
- BillingAnnual*
|
|
378
|
+
|
|
379
|
+
*only supported for Web Direct customers.
|
|
380
|
+
|
|
381
|
+
Supported timeGrainTypes for **CategoryType: ReservationUtilization**
|
|
382
|
+
- Last7Days
|
|
383
|
+
- Last30Days
|
|
384
|
+
|
|
385
|
+
Required for CategoryType(s): Cost, ReservationUtilization.
|
|
386
|
+
:param pulumi.Input[Union['BudgetTimePeriodArgs', 'BudgetTimePeriodArgsDict']] time_period: The time period that defines the active period of the budget. The budget will evaluate data on or after the startDate and will expire on the endDate.
|
|
387
|
+
|
|
388
|
+
Supported for CategoryType(s): Cost, ReservationUtilization.
|
|
389
|
+
|
|
390
|
+
Required for CategoryType(s): Cost, ReservationUtilization.
|
|
391
|
+
"""
|
|
392
|
+
...
|
|
393
|
+
@overload
|
|
394
|
+
def __init__(__self__,
|
|
395
|
+
resource_name: str,
|
|
396
|
+
args: BudgetArgs,
|
|
397
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
398
|
+
"""
|
|
399
|
+
A budget resource.
|
|
400
|
+
|
|
401
|
+
:param str resource_name: The name of the resource.
|
|
402
|
+
:param BudgetArgs args: The arguments to use to populate this resource's properties.
|
|
403
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
404
|
+
"""
|
|
405
|
+
...
|
|
406
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
407
|
+
resource_args, opts = _utilities.get_resource_args_opts(BudgetArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
408
|
+
if resource_args is not None:
|
|
409
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
410
|
+
else:
|
|
411
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
412
|
+
|
|
413
|
+
def _internal_init(__self__,
|
|
414
|
+
resource_name: str,
|
|
415
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
416
|
+
amount: Optional[pulumi.Input[float]] = None,
|
|
417
|
+
budget_name: Optional[pulumi.Input[str]] = None,
|
|
418
|
+
category: Optional[pulumi.Input[Union[str, 'CategoryType']]] = None,
|
|
419
|
+
e_tag: Optional[pulumi.Input[str]] = None,
|
|
420
|
+
filter: Optional[pulumi.Input[Union['BudgetFilterArgs', 'BudgetFilterArgsDict']]] = None,
|
|
421
|
+
notifications: Optional[pulumi.Input[Mapping[str, pulumi.Input[Union['NotificationArgs', 'NotificationArgsDict']]]]] = None,
|
|
422
|
+
scope: Optional[pulumi.Input[str]] = None,
|
|
423
|
+
time_grain: Optional[pulumi.Input[Union[str, 'TimeGrainType']]] = None,
|
|
424
|
+
time_period: Optional[pulumi.Input[Union['BudgetTimePeriodArgs', 'BudgetTimePeriodArgsDict']]] = None,
|
|
425
|
+
__props__=None):
|
|
426
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
427
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
428
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
429
|
+
if opts.id is None:
|
|
430
|
+
if __props__ is not None:
|
|
431
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
432
|
+
__props__ = BudgetArgs.__new__(BudgetArgs)
|
|
433
|
+
|
|
434
|
+
__props__.__dict__["amount"] = amount
|
|
435
|
+
__props__.__dict__["budget_name"] = budget_name
|
|
436
|
+
if category is None and not opts.urn:
|
|
437
|
+
raise TypeError("Missing required property 'category'")
|
|
438
|
+
__props__.__dict__["category"] = category
|
|
439
|
+
__props__.__dict__["e_tag"] = e_tag
|
|
440
|
+
__props__.__dict__["filter"] = filter
|
|
441
|
+
__props__.__dict__["notifications"] = notifications
|
|
442
|
+
if scope is None and not opts.urn:
|
|
443
|
+
raise TypeError("Missing required property 'scope'")
|
|
444
|
+
__props__.__dict__["scope"] = scope
|
|
445
|
+
if time_grain is None and not opts.urn:
|
|
446
|
+
raise TypeError("Missing required property 'time_grain'")
|
|
447
|
+
__props__.__dict__["time_grain"] = time_grain
|
|
448
|
+
if time_period is None and not opts.urn:
|
|
449
|
+
raise TypeError("Missing required property 'time_period'")
|
|
450
|
+
__props__.__dict__["time_period"] = time_period
|
|
451
|
+
__props__.__dict__["current_spend"] = None
|
|
452
|
+
__props__.__dict__["forecast_spend"] = None
|
|
453
|
+
__props__.__dict__["name"] = None
|
|
454
|
+
__props__.__dict__["type"] = None
|
|
455
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:costmanagement:Budget"), pulumi.Alias(type_="azure-native:costmanagement/v20190401preview:Budget"), pulumi.Alias(type_="azure-native:costmanagement/v20230401preview:Budget"), pulumi.Alias(type_="azure-native:costmanagement/v20230801:Budget"), pulumi.Alias(type_="azure-native:costmanagement/v20230901:Budget"), pulumi.Alias(type_="azure-native:costmanagement/v20231101:Budget")])
|
|
456
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
457
|
+
super(Budget, __self__).__init__(
|
|
458
|
+
'azure-native:costmanagement/v20240801:Budget',
|
|
459
|
+
resource_name,
|
|
460
|
+
__props__,
|
|
461
|
+
opts)
|
|
462
|
+
|
|
463
|
+
@staticmethod
|
|
464
|
+
def get(resource_name: str,
|
|
465
|
+
id: pulumi.Input[str],
|
|
466
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'Budget':
|
|
467
|
+
"""
|
|
468
|
+
Get an existing Budget resource's state with the given name, id, and optional extra
|
|
469
|
+
properties used to qualify the lookup.
|
|
470
|
+
|
|
471
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
472
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
473
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
474
|
+
"""
|
|
475
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
476
|
+
|
|
477
|
+
__props__ = BudgetArgs.__new__(BudgetArgs)
|
|
478
|
+
|
|
479
|
+
__props__.__dict__["amount"] = None
|
|
480
|
+
__props__.__dict__["category"] = None
|
|
481
|
+
__props__.__dict__["current_spend"] = None
|
|
482
|
+
__props__.__dict__["e_tag"] = None
|
|
483
|
+
__props__.__dict__["filter"] = None
|
|
484
|
+
__props__.__dict__["forecast_spend"] = None
|
|
485
|
+
__props__.__dict__["name"] = None
|
|
486
|
+
__props__.__dict__["notifications"] = None
|
|
487
|
+
__props__.__dict__["time_grain"] = None
|
|
488
|
+
__props__.__dict__["time_period"] = None
|
|
489
|
+
__props__.__dict__["type"] = None
|
|
490
|
+
return Budget(resource_name, opts=opts, __props__=__props__)
|
|
491
|
+
|
|
492
|
+
@property
|
|
493
|
+
@pulumi.getter
|
|
494
|
+
def amount(self) -> pulumi.Output[Optional[float]]:
|
|
495
|
+
"""
|
|
496
|
+
The total amount of cost to track with the budget.
|
|
497
|
+
|
|
498
|
+
Supported for CategoryType(s): Cost.
|
|
499
|
+
|
|
500
|
+
Required for CategoryType(s): Cost.
|
|
501
|
+
"""
|
|
502
|
+
return pulumi.get(self, "amount")
|
|
503
|
+
|
|
504
|
+
@property
|
|
505
|
+
@pulumi.getter
|
|
506
|
+
def category(self) -> pulumi.Output[str]:
|
|
507
|
+
"""
|
|
508
|
+
The category of the budget.
|
|
509
|
+
- 'Cost' defines a Budget.
|
|
510
|
+
- 'ReservationUtilization' defines a Reservation Utilization Alert Rule.
|
|
511
|
+
"""
|
|
512
|
+
return pulumi.get(self, "category")
|
|
513
|
+
|
|
514
|
+
@property
|
|
515
|
+
@pulumi.getter(name="currentSpend")
|
|
516
|
+
def current_spend(self) -> pulumi.Output['outputs.CurrentSpendResponse']:
|
|
517
|
+
"""
|
|
518
|
+
The current amount of cost which is being tracked for a budget.
|
|
519
|
+
|
|
520
|
+
Supported for CategoryType(s): Cost.
|
|
521
|
+
"""
|
|
522
|
+
return pulumi.get(self, "current_spend")
|
|
523
|
+
|
|
524
|
+
@property
|
|
525
|
+
@pulumi.getter(name="eTag")
|
|
526
|
+
def e_tag(self) -> pulumi.Output[Optional[str]]:
|
|
527
|
+
"""
|
|
528
|
+
eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
|
|
529
|
+
"""
|
|
530
|
+
return pulumi.get(self, "e_tag")
|
|
531
|
+
|
|
532
|
+
@property
|
|
533
|
+
@pulumi.getter
|
|
534
|
+
def filter(self) -> pulumi.Output[Optional['outputs.BudgetFilterResponse']]:
|
|
535
|
+
"""
|
|
536
|
+
May be used to filter budgets by user-specified dimensions and/or tags.
|
|
537
|
+
|
|
538
|
+
Supported for CategoryType(s): Cost, ReservationUtilization.
|
|
539
|
+
"""
|
|
540
|
+
return pulumi.get(self, "filter")
|
|
541
|
+
|
|
542
|
+
@property
|
|
543
|
+
@pulumi.getter(name="forecastSpend")
|
|
544
|
+
def forecast_spend(self) -> pulumi.Output['outputs.ForecastSpendResponse']:
|
|
545
|
+
"""
|
|
546
|
+
The forecasted cost which is being tracked for a budget.
|
|
547
|
+
|
|
548
|
+
Supported for CategoryType(s): Cost.
|
|
549
|
+
"""
|
|
550
|
+
return pulumi.get(self, "forecast_spend")
|
|
551
|
+
|
|
552
|
+
@property
|
|
553
|
+
@pulumi.getter
|
|
554
|
+
def name(self) -> pulumi.Output[str]:
|
|
555
|
+
"""
|
|
556
|
+
Resource name.
|
|
557
|
+
"""
|
|
558
|
+
return pulumi.get(self, "name")
|
|
559
|
+
|
|
560
|
+
@property
|
|
561
|
+
@pulumi.getter
|
|
562
|
+
def notifications(self) -> pulumi.Output[Optional[Mapping[str, 'outputs.NotificationResponse']]]:
|
|
563
|
+
"""
|
|
564
|
+
Dictionary of notifications associated with the budget.
|
|
565
|
+
|
|
566
|
+
Supported for CategoryType(s): Cost, ReservationUtilization.
|
|
567
|
+
|
|
568
|
+
- Constraints for **CategoryType: Cost** - Budget can have up to 5 notifications with thresholdType: Actual and 5 notifications with thresholdType: Forecasted.
|
|
569
|
+
- Constraints for **CategoryType: ReservationUtilization** - Only one notification allowed. thresholdType is not applicable.
|
|
570
|
+
"""
|
|
571
|
+
return pulumi.get(self, "notifications")
|
|
572
|
+
|
|
573
|
+
@property
|
|
574
|
+
@pulumi.getter(name="timeGrain")
|
|
575
|
+
def time_grain(self) -> pulumi.Output[str]:
|
|
576
|
+
"""
|
|
577
|
+
The time covered by a budget. Tracking of the amount will be reset based on the time grain.
|
|
578
|
+
|
|
579
|
+
Supported for CategoryType(s): Cost, ReservationUtilization.
|
|
580
|
+
|
|
581
|
+
Supported timeGrainTypes for **CategoryType: Cost**
|
|
582
|
+
|
|
583
|
+
- Monthly
|
|
584
|
+
- Quarterly
|
|
585
|
+
- Annually
|
|
586
|
+
- BillingMonth*
|
|
587
|
+
- BillingQuarter*
|
|
588
|
+
- BillingAnnual*
|
|
589
|
+
|
|
590
|
+
*only supported for Web Direct customers.
|
|
591
|
+
|
|
592
|
+
Supported timeGrainTypes for **CategoryType: ReservationUtilization**
|
|
593
|
+
- Last7Days
|
|
594
|
+
- Last30Days
|
|
595
|
+
|
|
596
|
+
Required for CategoryType(s): Cost, ReservationUtilization.
|
|
597
|
+
"""
|
|
598
|
+
return pulumi.get(self, "time_grain")
|
|
599
|
+
|
|
600
|
+
@property
|
|
601
|
+
@pulumi.getter(name="timePeriod")
|
|
602
|
+
def time_period(self) -> pulumi.Output['outputs.BudgetTimePeriodResponse']:
|
|
603
|
+
"""
|
|
604
|
+
The time period that defines the active period of the budget. The budget will evaluate data on or after the startDate and will expire on the endDate.
|
|
605
|
+
|
|
606
|
+
Supported for CategoryType(s): Cost, ReservationUtilization.
|
|
607
|
+
|
|
608
|
+
Required for CategoryType(s): Cost, ReservationUtilization.
|
|
609
|
+
"""
|
|
610
|
+
return pulumi.get(self, "time_period")
|
|
611
|
+
|
|
612
|
+
@property
|
|
613
|
+
@pulumi.getter
|
|
614
|
+
def type(self) -> pulumi.Output[str]:
|
|
615
|
+
"""
|
|
616
|
+
Resource type.
|
|
617
|
+
"""
|
|
618
|
+
return pulumi.get(self, "type")
|
|
619
|
+
|