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