pulumi-azure-native 2.68.0__py3-none-any.whl → 2.68.0a1729267188__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 +0 -50
- pulumi_azure_native/awsconnector/_inputs.py +96 -132
- pulumi_azure_native/awsconnector/outputs.py +66 -120
- pulumi_azure_native/awsconnector/v20241201/_inputs.py +96 -132
- pulumi_azure_native/awsconnector/v20241201/outputs.py +66 -120
- pulumi_azure_native/cache/__init__.py +0 -3
- 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/costmanagement/__init__.py +0 -3
- 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/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.0.dist-info → pulumi_azure_native-2.68.0a1729267188.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.68.0.dist-info → pulumi_azure_native-2.68.0a1729267188.dist-info}/RECORD +128 -183
- pulumi_azure_native/cache/v20241101/__init__.py +0 -25
- pulumi_azure_native/cache/v20241101/_enums.py +0 -111
- pulumi_azure_native/cache/v20241101/_inputs.py +0 -646
- pulumi_azure_native/cache/v20241101/access_policy.py +0 -219
- pulumi_azure_native/cache/v20241101/access_policy_assignment.py +0 -279
- pulumi_azure_native/cache/v20241101/firewall_rule.py +0 -239
- pulumi_azure_native/cache/v20241101/get_access_policy.py +0 -148
- pulumi_azure_native/cache/v20241101/get_access_policy_assignment.py +0 -176
- pulumi_azure_native/cache/v20241101/get_firewall_rule.py +0 -148
- pulumi_azure_native/cache/v20241101/get_linked_server.py +0 -204
- pulumi_azure_native/cache/v20241101/get_patch_schedule.py +0 -149
- pulumi_azure_native/cache/v20241101/get_private_endpoint_connection.py +0 -163
- pulumi_azure_native/cache/v20241101/get_redis.py +0 -493
- pulumi_azure_native/cache/v20241101/linked_server.py +0 -299
- pulumi_azure_native/cache/v20241101/list_redis_keys.py +0 -100
- pulumi_azure_native/cache/v20241101/outputs.py +0 -917
- pulumi_azure_native/cache/v20241101/patch_schedule.py +0 -221
- pulumi_azure_native/cache/v20241101/private_endpoint_connection.py +0 -232
- pulumi_azure_native/cache/v20241101/redis.py +0 -804
- pulumi_azure_native/costmanagement/v20240801/__init__.py +0 -26
- pulumi_azure_native/costmanagement/v20240801/_enums.py +0 -538
- pulumi_azure_native/costmanagement/v20240801/_inputs.py +0 -2660
- pulumi_azure_native/costmanagement/v20240801/budget.py +0 -619
- pulumi_azure_native/costmanagement/v20240801/cost_allocation_rule.py +0 -190
- pulumi_azure_native/costmanagement/v20240801/export.py +0 -415
- pulumi_azure_native/costmanagement/v20240801/get_budget.py +0 -337
- pulumi_azure_native/costmanagement/v20240801/get_cost_allocation_rule.py +0 -129
- pulumi_azure_native/costmanagement/v20240801/get_export.py +0 -261
- pulumi_azure_native/costmanagement/v20240801/get_scheduled_action.py +0 -263
- pulumi_azure_native/costmanagement/v20240801/get_scheduled_action_by_scope.py +0 -269
- pulumi_azure_native/costmanagement/v20240801/get_tag_inheritance_setting.py +0 -144
- pulumi_azure_native/costmanagement/v20240801/get_view.py +0 -333
- pulumi_azure_native/costmanagement/v20240801/get_view_by_scope.py +0 -339
- pulumi_azure_native/costmanagement/v20240801/outputs.py +0 -2593
- pulumi_azure_native/costmanagement/v20240801/scheduled_action.py +0 -425
- pulumi_azure_native/costmanagement/v20240801/scheduled_action_by_scope.py +0 -426
- pulumi_azure_native/costmanagement/v20240801/tag_inheritance_setting.py +0 -222
- pulumi_azure_native/costmanagement/v20240801/view.py +0 -587
- pulumi_azure_native/costmanagement/v20240801/view_by_scope.py +0 -588
- pulumi_azure_native/secretsynccontroller/__init__.py +0 -22
- pulumi_azure_native/secretsynccontroller/_enums.py +0 -38
- pulumi_azure_native/secretsynccontroller/_inputs.py +0 -134
- pulumi_azure_native/secretsynccontroller/azure_key_vault_secret_provider_class.py +0 -389
- pulumi_azure_native/secretsynccontroller/get_azure_key_vault_secret_provider_class.py +0 -243
- pulumi_azure_native/secretsynccontroller/get_secret_sync.py +0 -271
- pulumi_azure_native/secretsynccontroller/outputs.py +0 -367
- pulumi_azure_native/secretsynccontroller/secret_sync.py +0 -429
- pulumi_azure_native/secretsynccontroller/v20240821preview/__init__.py +0 -14
- pulumi_azure_native/secretsynccontroller/v20240821preview/_enums.py +0 -38
- pulumi_azure_native/secretsynccontroller/v20240821preview/_inputs.py +0 -134
- pulumi_azure_native/secretsynccontroller/v20240821preview/azure_key_vault_secret_provider_class.py +0 -387
- pulumi_azure_native/secretsynccontroller/v20240821preview/get_azure_key_vault_secret_provider_class.py +0 -241
- pulumi_azure_native/secretsynccontroller/v20240821preview/get_secret_sync.py +0 -269
- pulumi_azure_native/secretsynccontroller/v20240821preview/outputs.py +0 -367
- pulumi_azure_native/secretsynccontroller/v20240821preview/secret_sync.py +0 -427
- {pulumi_azure_native-2.68.0.dist-info → pulumi_azure_native-2.68.0a1729267188.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.68.0.dist-info → pulumi_azure_native-2.68.0a1729267188.dist-info}/top_level.txt +0 -0
|
@@ -1,587 +0,0 @@
|
|
|
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__ = ['ViewArgs', 'View']
|
|
21
|
-
|
|
22
|
-
@pulumi.input_type
|
|
23
|
-
class ViewArgs:
|
|
24
|
-
def __init__(__self__, *,
|
|
25
|
-
timeframe: pulumi.Input[Union[str, 'ReportTimeframeType']],
|
|
26
|
-
type: pulumi.Input[Union[str, 'ReportType']],
|
|
27
|
-
accumulated: Optional[pulumi.Input[Union[str, 'AccumulatedType']]] = None,
|
|
28
|
-
chart: Optional[pulumi.Input[Union[str, 'ChartType']]] = None,
|
|
29
|
-
data_set: Optional[pulumi.Input['ReportConfigDatasetArgs']] = None,
|
|
30
|
-
date_range: Optional[pulumi.Input[str]] = None,
|
|
31
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
|
32
|
-
e_tag: Optional[pulumi.Input[str]] = None,
|
|
33
|
-
include_monetary_commitment: Optional[pulumi.Input[bool]] = None,
|
|
34
|
-
kpis: Optional[pulumi.Input[Sequence[pulumi.Input['KpiPropertiesArgs']]]] = None,
|
|
35
|
-
metric: Optional[pulumi.Input[Union[str, 'MetricType']]] = None,
|
|
36
|
-
modified_on: Optional[pulumi.Input[str]] = None,
|
|
37
|
-
pivots: Optional[pulumi.Input[Sequence[pulumi.Input['PivotPropertiesArgs']]]] = None,
|
|
38
|
-
scope: Optional[pulumi.Input[str]] = None,
|
|
39
|
-
time_period: Optional[pulumi.Input['ReportConfigTimePeriodArgs']] = None,
|
|
40
|
-
view_name: Optional[pulumi.Input[str]] = None):
|
|
41
|
-
"""
|
|
42
|
-
The set of arguments for constructing a View resource.
|
|
43
|
-
:param pulumi.Input[Union[str, 'ReportTimeframeType']] timeframe: The time frame for pulling data for the report. If custom, then a specific time period must be provided.
|
|
44
|
-
:param pulumi.Input[Union[str, 'ReportType']] type: The type of the report. Usage represents actual usage, forecast represents forecasted data and UsageAndForecast represents both usage and forecasted data. Actual usage and forecasted data can be differentiated based on dates.
|
|
45
|
-
:param pulumi.Input[Union[str, 'AccumulatedType']] accumulated: Show costs accumulated over time.
|
|
46
|
-
:param pulumi.Input[Union[str, 'ChartType']] chart: Chart type of the main view in Cost Analysis. Required.
|
|
47
|
-
:param pulumi.Input['ReportConfigDatasetArgs'] data_set: Has definition for data in this report config.
|
|
48
|
-
:param pulumi.Input[str] date_range: Date range of the current view.
|
|
49
|
-
:param pulumi.Input[str] display_name: User input name of the view. Required.
|
|
50
|
-
: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.
|
|
51
|
-
:param pulumi.Input[bool] include_monetary_commitment: If true, report includes monetary commitment.
|
|
52
|
-
:param pulumi.Input[Sequence[pulumi.Input['KpiPropertiesArgs']]] kpis: List of KPIs to show in Cost Analysis UI.
|
|
53
|
-
:param pulumi.Input[Union[str, 'MetricType']] metric: Metric to use when displaying costs.
|
|
54
|
-
:param pulumi.Input[str] modified_on: Date when the user last modified this view.
|
|
55
|
-
:param pulumi.Input[Sequence[pulumi.Input['PivotPropertiesArgs']]] pivots: Configuration of 3 sub-views in the Cost Analysis UI.
|
|
56
|
-
:param pulumi.Input[str] scope: Cost Management scope to save the view on. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.
|
|
57
|
-
:param pulumi.Input['ReportConfigTimePeriodArgs'] time_period: Has time period for pulling data for the report.
|
|
58
|
-
:param pulumi.Input[str] view_name: View name
|
|
59
|
-
"""
|
|
60
|
-
pulumi.set(__self__, "timeframe", timeframe)
|
|
61
|
-
pulumi.set(__self__, "type", type)
|
|
62
|
-
if accumulated is not None:
|
|
63
|
-
pulumi.set(__self__, "accumulated", accumulated)
|
|
64
|
-
if chart is not None:
|
|
65
|
-
pulumi.set(__self__, "chart", chart)
|
|
66
|
-
if data_set is not None:
|
|
67
|
-
pulumi.set(__self__, "data_set", data_set)
|
|
68
|
-
if date_range is not None:
|
|
69
|
-
pulumi.set(__self__, "date_range", date_range)
|
|
70
|
-
if display_name is not None:
|
|
71
|
-
pulumi.set(__self__, "display_name", display_name)
|
|
72
|
-
if e_tag is not None:
|
|
73
|
-
pulumi.set(__self__, "e_tag", e_tag)
|
|
74
|
-
if include_monetary_commitment is not None:
|
|
75
|
-
pulumi.set(__self__, "include_monetary_commitment", include_monetary_commitment)
|
|
76
|
-
if kpis is not None:
|
|
77
|
-
pulumi.set(__self__, "kpis", kpis)
|
|
78
|
-
if metric is not None:
|
|
79
|
-
pulumi.set(__self__, "metric", metric)
|
|
80
|
-
if modified_on is not None:
|
|
81
|
-
pulumi.set(__self__, "modified_on", modified_on)
|
|
82
|
-
if pivots is not None:
|
|
83
|
-
pulumi.set(__self__, "pivots", pivots)
|
|
84
|
-
if scope is not None:
|
|
85
|
-
pulumi.set(__self__, "scope", scope)
|
|
86
|
-
if time_period is not None:
|
|
87
|
-
pulumi.set(__self__, "time_period", time_period)
|
|
88
|
-
if view_name is not None:
|
|
89
|
-
pulumi.set(__self__, "view_name", view_name)
|
|
90
|
-
|
|
91
|
-
@property
|
|
92
|
-
@pulumi.getter
|
|
93
|
-
def timeframe(self) -> pulumi.Input[Union[str, 'ReportTimeframeType']]:
|
|
94
|
-
"""
|
|
95
|
-
The time frame for pulling data for the report. If custom, then a specific time period must be provided.
|
|
96
|
-
"""
|
|
97
|
-
return pulumi.get(self, "timeframe")
|
|
98
|
-
|
|
99
|
-
@timeframe.setter
|
|
100
|
-
def timeframe(self, value: pulumi.Input[Union[str, 'ReportTimeframeType']]):
|
|
101
|
-
pulumi.set(self, "timeframe", value)
|
|
102
|
-
|
|
103
|
-
@property
|
|
104
|
-
@pulumi.getter
|
|
105
|
-
def type(self) -> pulumi.Input[Union[str, 'ReportType']]:
|
|
106
|
-
"""
|
|
107
|
-
The type of the report. Usage represents actual usage, forecast represents forecasted data and UsageAndForecast represents both usage and forecasted data. Actual usage and forecasted data can be differentiated based on dates.
|
|
108
|
-
"""
|
|
109
|
-
return pulumi.get(self, "type")
|
|
110
|
-
|
|
111
|
-
@type.setter
|
|
112
|
-
def type(self, value: pulumi.Input[Union[str, 'ReportType']]):
|
|
113
|
-
pulumi.set(self, "type", value)
|
|
114
|
-
|
|
115
|
-
@property
|
|
116
|
-
@pulumi.getter
|
|
117
|
-
def accumulated(self) -> Optional[pulumi.Input[Union[str, 'AccumulatedType']]]:
|
|
118
|
-
"""
|
|
119
|
-
Show costs accumulated over time.
|
|
120
|
-
"""
|
|
121
|
-
return pulumi.get(self, "accumulated")
|
|
122
|
-
|
|
123
|
-
@accumulated.setter
|
|
124
|
-
def accumulated(self, value: Optional[pulumi.Input[Union[str, 'AccumulatedType']]]):
|
|
125
|
-
pulumi.set(self, "accumulated", value)
|
|
126
|
-
|
|
127
|
-
@property
|
|
128
|
-
@pulumi.getter
|
|
129
|
-
def chart(self) -> Optional[pulumi.Input[Union[str, 'ChartType']]]:
|
|
130
|
-
"""
|
|
131
|
-
Chart type of the main view in Cost Analysis. Required.
|
|
132
|
-
"""
|
|
133
|
-
return pulumi.get(self, "chart")
|
|
134
|
-
|
|
135
|
-
@chart.setter
|
|
136
|
-
def chart(self, value: Optional[pulumi.Input[Union[str, 'ChartType']]]):
|
|
137
|
-
pulumi.set(self, "chart", value)
|
|
138
|
-
|
|
139
|
-
@property
|
|
140
|
-
@pulumi.getter(name="dataSet")
|
|
141
|
-
def data_set(self) -> Optional[pulumi.Input['ReportConfigDatasetArgs']]:
|
|
142
|
-
"""
|
|
143
|
-
Has definition for data in this report config.
|
|
144
|
-
"""
|
|
145
|
-
return pulumi.get(self, "data_set")
|
|
146
|
-
|
|
147
|
-
@data_set.setter
|
|
148
|
-
def data_set(self, value: Optional[pulumi.Input['ReportConfigDatasetArgs']]):
|
|
149
|
-
pulumi.set(self, "data_set", value)
|
|
150
|
-
|
|
151
|
-
@property
|
|
152
|
-
@pulumi.getter(name="dateRange")
|
|
153
|
-
def date_range(self) -> Optional[pulumi.Input[str]]:
|
|
154
|
-
"""
|
|
155
|
-
Date range of the current view.
|
|
156
|
-
"""
|
|
157
|
-
return pulumi.get(self, "date_range")
|
|
158
|
-
|
|
159
|
-
@date_range.setter
|
|
160
|
-
def date_range(self, value: Optional[pulumi.Input[str]]):
|
|
161
|
-
pulumi.set(self, "date_range", value)
|
|
162
|
-
|
|
163
|
-
@property
|
|
164
|
-
@pulumi.getter(name="displayName")
|
|
165
|
-
def display_name(self) -> Optional[pulumi.Input[str]]:
|
|
166
|
-
"""
|
|
167
|
-
User input name of the view. Required.
|
|
168
|
-
"""
|
|
169
|
-
return pulumi.get(self, "display_name")
|
|
170
|
-
|
|
171
|
-
@display_name.setter
|
|
172
|
-
def display_name(self, value: Optional[pulumi.Input[str]]):
|
|
173
|
-
pulumi.set(self, "display_name", value)
|
|
174
|
-
|
|
175
|
-
@property
|
|
176
|
-
@pulumi.getter(name="eTag")
|
|
177
|
-
def e_tag(self) -> Optional[pulumi.Input[str]]:
|
|
178
|
-
"""
|
|
179
|
-
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.
|
|
180
|
-
"""
|
|
181
|
-
return pulumi.get(self, "e_tag")
|
|
182
|
-
|
|
183
|
-
@e_tag.setter
|
|
184
|
-
def e_tag(self, value: Optional[pulumi.Input[str]]):
|
|
185
|
-
pulumi.set(self, "e_tag", value)
|
|
186
|
-
|
|
187
|
-
@property
|
|
188
|
-
@pulumi.getter(name="includeMonetaryCommitment")
|
|
189
|
-
def include_monetary_commitment(self) -> Optional[pulumi.Input[bool]]:
|
|
190
|
-
"""
|
|
191
|
-
If true, report includes monetary commitment.
|
|
192
|
-
"""
|
|
193
|
-
return pulumi.get(self, "include_monetary_commitment")
|
|
194
|
-
|
|
195
|
-
@include_monetary_commitment.setter
|
|
196
|
-
def include_monetary_commitment(self, value: Optional[pulumi.Input[bool]]):
|
|
197
|
-
pulumi.set(self, "include_monetary_commitment", value)
|
|
198
|
-
|
|
199
|
-
@property
|
|
200
|
-
@pulumi.getter
|
|
201
|
-
def kpis(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KpiPropertiesArgs']]]]:
|
|
202
|
-
"""
|
|
203
|
-
List of KPIs to show in Cost Analysis UI.
|
|
204
|
-
"""
|
|
205
|
-
return pulumi.get(self, "kpis")
|
|
206
|
-
|
|
207
|
-
@kpis.setter
|
|
208
|
-
def kpis(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KpiPropertiesArgs']]]]):
|
|
209
|
-
pulumi.set(self, "kpis", value)
|
|
210
|
-
|
|
211
|
-
@property
|
|
212
|
-
@pulumi.getter
|
|
213
|
-
def metric(self) -> Optional[pulumi.Input[Union[str, 'MetricType']]]:
|
|
214
|
-
"""
|
|
215
|
-
Metric to use when displaying costs.
|
|
216
|
-
"""
|
|
217
|
-
return pulumi.get(self, "metric")
|
|
218
|
-
|
|
219
|
-
@metric.setter
|
|
220
|
-
def metric(self, value: Optional[pulumi.Input[Union[str, 'MetricType']]]):
|
|
221
|
-
pulumi.set(self, "metric", value)
|
|
222
|
-
|
|
223
|
-
@property
|
|
224
|
-
@pulumi.getter(name="modifiedOn")
|
|
225
|
-
def modified_on(self) -> Optional[pulumi.Input[str]]:
|
|
226
|
-
"""
|
|
227
|
-
Date when the user last modified this view.
|
|
228
|
-
"""
|
|
229
|
-
return pulumi.get(self, "modified_on")
|
|
230
|
-
|
|
231
|
-
@modified_on.setter
|
|
232
|
-
def modified_on(self, value: Optional[pulumi.Input[str]]):
|
|
233
|
-
pulumi.set(self, "modified_on", value)
|
|
234
|
-
|
|
235
|
-
@property
|
|
236
|
-
@pulumi.getter
|
|
237
|
-
def pivots(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PivotPropertiesArgs']]]]:
|
|
238
|
-
"""
|
|
239
|
-
Configuration of 3 sub-views in the Cost Analysis UI.
|
|
240
|
-
"""
|
|
241
|
-
return pulumi.get(self, "pivots")
|
|
242
|
-
|
|
243
|
-
@pivots.setter
|
|
244
|
-
def pivots(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PivotPropertiesArgs']]]]):
|
|
245
|
-
pulumi.set(self, "pivots", value)
|
|
246
|
-
|
|
247
|
-
@property
|
|
248
|
-
@pulumi.getter
|
|
249
|
-
def scope(self) -> Optional[pulumi.Input[str]]:
|
|
250
|
-
"""
|
|
251
|
-
Cost Management scope to save the view on. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.
|
|
252
|
-
"""
|
|
253
|
-
return pulumi.get(self, "scope")
|
|
254
|
-
|
|
255
|
-
@scope.setter
|
|
256
|
-
def scope(self, value: Optional[pulumi.Input[str]]):
|
|
257
|
-
pulumi.set(self, "scope", value)
|
|
258
|
-
|
|
259
|
-
@property
|
|
260
|
-
@pulumi.getter(name="timePeriod")
|
|
261
|
-
def time_period(self) -> Optional[pulumi.Input['ReportConfigTimePeriodArgs']]:
|
|
262
|
-
"""
|
|
263
|
-
Has time period for pulling data for the report.
|
|
264
|
-
"""
|
|
265
|
-
return pulumi.get(self, "time_period")
|
|
266
|
-
|
|
267
|
-
@time_period.setter
|
|
268
|
-
def time_period(self, value: Optional[pulumi.Input['ReportConfigTimePeriodArgs']]):
|
|
269
|
-
pulumi.set(self, "time_period", value)
|
|
270
|
-
|
|
271
|
-
@property
|
|
272
|
-
@pulumi.getter(name="viewName")
|
|
273
|
-
def view_name(self) -> Optional[pulumi.Input[str]]:
|
|
274
|
-
"""
|
|
275
|
-
View name
|
|
276
|
-
"""
|
|
277
|
-
return pulumi.get(self, "view_name")
|
|
278
|
-
|
|
279
|
-
@view_name.setter
|
|
280
|
-
def view_name(self, value: Optional[pulumi.Input[str]]):
|
|
281
|
-
pulumi.set(self, "view_name", value)
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
class View(pulumi.CustomResource):
|
|
285
|
-
@overload
|
|
286
|
-
def __init__(__self__,
|
|
287
|
-
resource_name: str,
|
|
288
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
289
|
-
accumulated: Optional[pulumi.Input[Union[str, 'AccumulatedType']]] = None,
|
|
290
|
-
chart: Optional[pulumi.Input[Union[str, 'ChartType']]] = None,
|
|
291
|
-
data_set: Optional[pulumi.Input[Union['ReportConfigDatasetArgs', 'ReportConfigDatasetArgsDict']]] = None,
|
|
292
|
-
date_range: Optional[pulumi.Input[str]] = None,
|
|
293
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
|
294
|
-
e_tag: Optional[pulumi.Input[str]] = None,
|
|
295
|
-
include_monetary_commitment: Optional[pulumi.Input[bool]] = None,
|
|
296
|
-
kpis: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KpiPropertiesArgs', 'KpiPropertiesArgsDict']]]]] = None,
|
|
297
|
-
metric: Optional[pulumi.Input[Union[str, 'MetricType']]] = None,
|
|
298
|
-
modified_on: Optional[pulumi.Input[str]] = None,
|
|
299
|
-
pivots: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PivotPropertiesArgs', 'PivotPropertiesArgsDict']]]]] = None,
|
|
300
|
-
scope: Optional[pulumi.Input[str]] = None,
|
|
301
|
-
time_period: Optional[pulumi.Input[Union['ReportConfigTimePeriodArgs', 'ReportConfigTimePeriodArgsDict']]] = None,
|
|
302
|
-
timeframe: Optional[pulumi.Input[Union[str, 'ReportTimeframeType']]] = None,
|
|
303
|
-
type: Optional[pulumi.Input[Union[str, 'ReportType']]] = None,
|
|
304
|
-
view_name: Optional[pulumi.Input[str]] = None,
|
|
305
|
-
__props__=None):
|
|
306
|
-
"""
|
|
307
|
-
States and configurations of Cost Analysis.
|
|
308
|
-
|
|
309
|
-
:param str resource_name: The name of the resource.
|
|
310
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
311
|
-
:param pulumi.Input[Union[str, 'AccumulatedType']] accumulated: Show costs accumulated over time.
|
|
312
|
-
:param pulumi.Input[Union[str, 'ChartType']] chart: Chart type of the main view in Cost Analysis. Required.
|
|
313
|
-
:param pulumi.Input[Union['ReportConfigDatasetArgs', 'ReportConfigDatasetArgsDict']] data_set: Has definition for data in this report config.
|
|
314
|
-
:param pulumi.Input[str] date_range: Date range of the current view.
|
|
315
|
-
:param pulumi.Input[str] display_name: User input name of the view. Required.
|
|
316
|
-
: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.
|
|
317
|
-
:param pulumi.Input[bool] include_monetary_commitment: If true, report includes monetary commitment.
|
|
318
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['KpiPropertiesArgs', 'KpiPropertiesArgsDict']]]] kpis: List of KPIs to show in Cost Analysis UI.
|
|
319
|
-
:param pulumi.Input[Union[str, 'MetricType']] metric: Metric to use when displaying costs.
|
|
320
|
-
:param pulumi.Input[str] modified_on: Date when the user last modified this view.
|
|
321
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['PivotPropertiesArgs', 'PivotPropertiesArgsDict']]]] pivots: Configuration of 3 sub-views in the Cost Analysis UI.
|
|
322
|
-
:param pulumi.Input[str] scope: Cost Management scope to save the view on. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.
|
|
323
|
-
:param pulumi.Input[Union['ReportConfigTimePeriodArgs', 'ReportConfigTimePeriodArgsDict']] time_period: Has time period for pulling data for the report.
|
|
324
|
-
:param pulumi.Input[Union[str, 'ReportTimeframeType']] timeframe: The time frame for pulling data for the report. If custom, then a specific time period must be provided.
|
|
325
|
-
:param pulumi.Input[Union[str, 'ReportType']] type: The type of the report. Usage represents actual usage, forecast represents forecasted data and UsageAndForecast represents both usage and forecasted data. Actual usage and forecasted data can be differentiated based on dates.
|
|
326
|
-
:param pulumi.Input[str] view_name: View name
|
|
327
|
-
"""
|
|
328
|
-
...
|
|
329
|
-
@overload
|
|
330
|
-
def __init__(__self__,
|
|
331
|
-
resource_name: str,
|
|
332
|
-
args: ViewArgs,
|
|
333
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
|
334
|
-
"""
|
|
335
|
-
States and configurations of Cost Analysis.
|
|
336
|
-
|
|
337
|
-
:param str resource_name: The name of the resource.
|
|
338
|
-
:param ViewArgs args: The arguments to use to populate this resource's properties.
|
|
339
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
340
|
-
"""
|
|
341
|
-
...
|
|
342
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
343
|
-
resource_args, opts = _utilities.get_resource_args_opts(ViewArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
344
|
-
if resource_args is not None:
|
|
345
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
346
|
-
else:
|
|
347
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
|
348
|
-
|
|
349
|
-
def _internal_init(__self__,
|
|
350
|
-
resource_name: str,
|
|
351
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
352
|
-
accumulated: Optional[pulumi.Input[Union[str, 'AccumulatedType']]] = None,
|
|
353
|
-
chart: Optional[pulumi.Input[Union[str, 'ChartType']]] = None,
|
|
354
|
-
data_set: Optional[pulumi.Input[Union['ReportConfigDatasetArgs', 'ReportConfigDatasetArgsDict']]] = None,
|
|
355
|
-
date_range: Optional[pulumi.Input[str]] = None,
|
|
356
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
|
357
|
-
e_tag: Optional[pulumi.Input[str]] = None,
|
|
358
|
-
include_monetary_commitment: Optional[pulumi.Input[bool]] = None,
|
|
359
|
-
kpis: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KpiPropertiesArgs', 'KpiPropertiesArgsDict']]]]] = None,
|
|
360
|
-
metric: Optional[pulumi.Input[Union[str, 'MetricType']]] = None,
|
|
361
|
-
modified_on: Optional[pulumi.Input[str]] = None,
|
|
362
|
-
pivots: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PivotPropertiesArgs', 'PivotPropertiesArgsDict']]]]] = None,
|
|
363
|
-
scope: Optional[pulumi.Input[str]] = None,
|
|
364
|
-
time_period: Optional[pulumi.Input[Union['ReportConfigTimePeriodArgs', 'ReportConfigTimePeriodArgsDict']]] = None,
|
|
365
|
-
timeframe: Optional[pulumi.Input[Union[str, 'ReportTimeframeType']]] = None,
|
|
366
|
-
type: Optional[pulumi.Input[Union[str, 'ReportType']]] = None,
|
|
367
|
-
view_name: Optional[pulumi.Input[str]] = None,
|
|
368
|
-
__props__=None):
|
|
369
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
370
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
|
371
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
372
|
-
if opts.id is None:
|
|
373
|
-
if __props__ is not None:
|
|
374
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
375
|
-
__props__ = ViewArgs.__new__(ViewArgs)
|
|
376
|
-
|
|
377
|
-
__props__.__dict__["accumulated"] = accumulated
|
|
378
|
-
__props__.__dict__["chart"] = chart
|
|
379
|
-
__props__.__dict__["data_set"] = data_set
|
|
380
|
-
__props__.__dict__["date_range"] = date_range
|
|
381
|
-
__props__.__dict__["display_name"] = display_name
|
|
382
|
-
__props__.__dict__["e_tag"] = e_tag
|
|
383
|
-
__props__.__dict__["include_monetary_commitment"] = include_monetary_commitment
|
|
384
|
-
__props__.__dict__["kpis"] = kpis
|
|
385
|
-
__props__.__dict__["metric"] = metric
|
|
386
|
-
__props__.__dict__["modified_on"] = modified_on
|
|
387
|
-
__props__.__dict__["pivots"] = pivots
|
|
388
|
-
__props__.__dict__["scope"] = scope
|
|
389
|
-
__props__.__dict__["time_period"] = time_period
|
|
390
|
-
if timeframe is None and not opts.urn:
|
|
391
|
-
raise TypeError("Missing required property 'timeframe'")
|
|
392
|
-
__props__.__dict__["timeframe"] = timeframe
|
|
393
|
-
if type is None and not opts.urn:
|
|
394
|
-
raise TypeError("Missing required property 'type'")
|
|
395
|
-
__props__.__dict__["type"] = type
|
|
396
|
-
__props__.__dict__["view_name"] = view_name
|
|
397
|
-
__props__.__dict__["created_on"] = None
|
|
398
|
-
__props__.__dict__["currency"] = None
|
|
399
|
-
__props__.__dict__["name"] = None
|
|
400
|
-
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:costmanagement:View"), pulumi.Alias(type_="azure-native:costmanagement/v20190401preview:View"), pulumi.Alias(type_="azure-native:costmanagement/v20191101:View"), pulumi.Alias(type_="azure-native:costmanagement/v20200601:View"), pulumi.Alias(type_="azure-native:costmanagement/v20211001:View"), pulumi.Alias(type_="azure-native:costmanagement/v20220801preview:View"), pulumi.Alias(type_="azure-native:costmanagement/v20221001:View"), pulumi.Alias(type_="azure-native:costmanagement/v20221001preview:View"), pulumi.Alias(type_="azure-native:costmanagement/v20221005preview:View"), pulumi.Alias(type_="azure-native:costmanagement/v20230301:View"), pulumi.Alias(type_="azure-native:costmanagement/v20230401preview:View"), pulumi.Alias(type_="azure-native:costmanagement/v20230701preview:View"), pulumi.Alias(type_="azure-native:costmanagement/v20230801:View"), pulumi.Alias(type_="azure-native:costmanagement/v20230901:View"), pulumi.Alias(type_="azure-native:costmanagement/v20231101:View")])
|
|
401
|
-
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
402
|
-
super(View, __self__).__init__(
|
|
403
|
-
'azure-native:costmanagement/v20240801:View',
|
|
404
|
-
resource_name,
|
|
405
|
-
__props__,
|
|
406
|
-
opts)
|
|
407
|
-
|
|
408
|
-
@staticmethod
|
|
409
|
-
def get(resource_name: str,
|
|
410
|
-
id: pulumi.Input[str],
|
|
411
|
-
opts: Optional[pulumi.ResourceOptions] = None) -> 'View':
|
|
412
|
-
"""
|
|
413
|
-
Get an existing View resource's state with the given name, id, and optional extra
|
|
414
|
-
properties used to qualify the lookup.
|
|
415
|
-
|
|
416
|
-
:param str resource_name: The unique name of the resulting resource.
|
|
417
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
418
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
419
|
-
"""
|
|
420
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
421
|
-
|
|
422
|
-
__props__ = ViewArgs.__new__(ViewArgs)
|
|
423
|
-
|
|
424
|
-
__props__.__dict__["accumulated"] = None
|
|
425
|
-
__props__.__dict__["chart"] = None
|
|
426
|
-
__props__.__dict__["created_on"] = None
|
|
427
|
-
__props__.__dict__["currency"] = None
|
|
428
|
-
__props__.__dict__["data_set"] = None
|
|
429
|
-
__props__.__dict__["date_range"] = None
|
|
430
|
-
__props__.__dict__["display_name"] = None
|
|
431
|
-
__props__.__dict__["e_tag"] = None
|
|
432
|
-
__props__.__dict__["include_monetary_commitment"] = None
|
|
433
|
-
__props__.__dict__["kpis"] = None
|
|
434
|
-
__props__.__dict__["metric"] = None
|
|
435
|
-
__props__.__dict__["modified_on"] = None
|
|
436
|
-
__props__.__dict__["name"] = None
|
|
437
|
-
__props__.__dict__["pivots"] = None
|
|
438
|
-
__props__.__dict__["scope"] = None
|
|
439
|
-
__props__.__dict__["time_period"] = None
|
|
440
|
-
__props__.__dict__["timeframe"] = None
|
|
441
|
-
__props__.__dict__["type"] = None
|
|
442
|
-
return View(resource_name, opts=opts, __props__=__props__)
|
|
443
|
-
|
|
444
|
-
@property
|
|
445
|
-
@pulumi.getter
|
|
446
|
-
def accumulated(self) -> pulumi.Output[Optional[str]]:
|
|
447
|
-
"""
|
|
448
|
-
Show costs accumulated over time.
|
|
449
|
-
"""
|
|
450
|
-
return pulumi.get(self, "accumulated")
|
|
451
|
-
|
|
452
|
-
@property
|
|
453
|
-
@pulumi.getter
|
|
454
|
-
def chart(self) -> pulumi.Output[Optional[str]]:
|
|
455
|
-
"""
|
|
456
|
-
Chart type of the main view in Cost Analysis. Required.
|
|
457
|
-
"""
|
|
458
|
-
return pulumi.get(self, "chart")
|
|
459
|
-
|
|
460
|
-
@property
|
|
461
|
-
@pulumi.getter(name="createdOn")
|
|
462
|
-
def created_on(self) -> pulumi.Output[str]:
|
|
463
|
-
"""
|
|
464
|
-
Date the user created this view.
|
|
465
|
-
"""
|
|
466
|
-
return pulumi.get(self, "created_on")
|
|
467
|
-
|
|
468
|
-
@property
|
|
469
|
-
@pulumi.getter
|
|
470
|
-
def currency(self) -> pulumi.Output[str]:
|
|
471
|
-
"""
|
|
472
|
-
Currency of the current view.
|
|
473
|
-
"""
|
|
474
|
-
return pulumi.get(self, "currency")
|
|
475
|
-
|
|
476
|
-
@property
|
|
477
|
-
@pulumi.getter(name="dataSet")
|
|
478
|
-
def data_set(self) -> pulumi.Output[Optional['outputs.ReportConfigDatasetResponse']]:
|
|
479
|
-
"""
|
|
480
|
-
Has definition for data in this report config.
|
|
481
|
-
"""
|
|
482
|
-
return pulumi.get(self, "data_set")
|
|
483
|
-
|
|
484
|
-
@property
|
|
485
|
-
@pulumi.getter(name="dateRange")
|
|
486
|
-
def date_range(self) -> pulumi.Output[Optional[str]]:
|
|
487
|
-
"""
|
|
488
|
-
Date range of the current view.
|
|
489
|
-
"""
|
|
490
|
-
return pulumi.get(self, "date_range")
|
|
491
|
-
|
|
492
|
-
@property
|
|
493
|
-
@pulumi.getter(name="displayName")
|
|
494
|
-
def display_name(self) -> pulumi.Output[Optional[str]]:
|
|
495
|
-
"""
|
|
496
|
-
User input name of the view. Required.
|
|
497
|
-
"""
|
|
498
|
-
return pulumi.get(self, "display_name")
|
|
499
|
-
|
|
500
|
-
@property
|
|
501
|
-
@pulumi.getter(name="eTag")
|
|
502
|
-
def e_tag(self) -> pulumi.Output[Optional[str]]:
|
|
503
|
-
"""
|
|
504
|
-
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.
|
|
505
|
-
"""
|
|
506
|
-
return pulumi.get(self, "e_tag")
|
|
507
|
-
|
|
508
|
-
@property
|
|
509
|
-
@pulumi.getter(name="includeMonetaryCommitment")
|
|
510
|
-
def include_monetary_commitment(self) -> pulumi.Output[Optional[bool]]:
|
|
511
|
-
"""
|
|
512
|
-
If true, report includes monetary commitment.
|
|
513
|
-
"""
|
|
514
|
-
return pulumi.get(self, "include_monetary_commitment")
|
|
515
|
-
|
|
516
|
-
@property
|
|
517
|
-
@pulumi.getter
|
|
518
|
-
def kpis(self) -> pulumi.Output[Optional[Sequence['outputs.KpiPropertiesResponse']]]:
|
|
519
|
-
"""
|
|
520
|
-
List of KPIs to show in Cost Analysis UI.
|
|
521
|
-
"""
|
|
522
|
-
return pulumi.get(self, "kpis")
|
|
523
|
-
|
|
524
|
-
@property
|
|
525
|
-
@pulumi.getter
|
|
526
|
-
def metric(self) -> pulumi.Output[Optional[str]]:
|
|
527
|
-
"""
|
|
528
|
-
Metric to use when displaying costs.
|
|
529
|
-
"""
|
|
530
|
-
return pulumi.get(self, "metric")
|
|
531
|
-
|
|
532
|
-
@property
|
|
533
|
-
@pulumi.getter(name="modifiedOn")
|
|
534
|
-
def modified_on(self) -> pulumi.Output[Optional[str]]:
|
|
535
|
-
"""
|
|
536
|
-
Date when the user last modified this view.
|
|
537
|
-
"""
|
|
538
|
-
return pulumi.get(self, "modified_on")
|
|
539
|
-
|
|
540
|
-
@property
|
|
541
|
-
@pulumi.getter
|
|
542
|
-
def name(self) -> pulumi.Output[str]:
|
|
543
|
-
"""
|
|
544
|
-
Resource name.
|
|
545
|
-
"""
|
|
546
|
-
return pulumi.get(self, "name")
|
|
547
|
-
|
|
548
|
-
@property
|
|
549
|
-
@pulumi.getter
|
|
550
|
-
def pivots(self) -> pulumi.Output[Optional[Sequence['outputs.PivotPropertiesResponse']]]:
|
|
551
|
-
"""
|
|
552
|
-
Configuration of 3 sub-views in the Cost Analysis UI.
|
|
553
|
-
"""
|
|
554
|
-
return pulumi.get(self, "pivots")
|
|
555
|
-
|
|
556
|
-
@property
|
|
557
|
-
@pulumi.getter
|
|
558
|
-
def scope(self) -> pulumi.Output[Optional[str]]:
|
|
559
|
-
"""
|
|
560
|
-
Cost Management scope to save the view on. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.
|
|
561
|
-
"""
|
|
562
|
-
return pulumi.get(self, "scope")
|
|
563
|
-
|
|
564
|
-
@property
|
|
565
|
-
@pulumi.getter(name="timePeriod")
|
|
566
|
-
def time_period(self) -> pulumi.Output[Optional['outputs.ReportConfigTimePeriodResponse']]:
|
|
567
|
-
"""
|
|
568
|
-
Has time period for pulling data for the report.
|
|
569
|
-
"""
|
|
570
|
-
return pulumi.get(self, "time_period")
|
|
571
|
-
|
|
572
|
-
@property
|
|
573
|
-
@pulumi.getter
|
|
574
|
-
def timeframe(self) -> pulumi.Output[str]:
|
|
575
|
-
"""
|
|
576
|
-
The time frame for pulling data for the report. If custom, then a specific time period must be provided.
|
|
577
|
-
"""
|
|
578
|
-
return pulumi.get(self, "timeframe")
|
|
579
|
-
|
|
580
|
-
@property
|
|
581
|
-
@pulumi.getter
|
|
582
|
-
def type(self) -> pulumi.Output[str]:
|
|
583
|
-
"""
|
|
584
|
-
Resource type.
|
|
585
|
-
"""
|
|
586
|
-
return pulumi.get(self, "type")
|
|
587
|
-
|