pulumi-azure-native 2.68.0a1729519840__py3-none-any.whl → 2.68.0a1729615467__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-azure-native might be problematic. Click here for more details.
- pulumi_azure_native/__init__.py +29 -0
- pulumi_azure_native/awsconnector/_inputs.py +132 -96
- pulumi_azure_native/awsconnector/outputs.py +120 -66
- pulumi_azure_native/awsconnector/v20241201/_inputs.py +132 -96
- pulumi_azure_native/awsconnector/v20241201/outputs.py +120 -66
- pulumi_azure_native/cache/__init__.py +3 -0
- pulumi_azure_native/cache/access_policy.py +3 -3
- pulumi_azure_native/cache/access_policy_assignment.py +3 -3
- pulumi_azure_native/cache/firewall_rule.py +3 -3
- pulumi_azure_native/cache/get_access_policy.py +2 -2
- pulumi_azure_native/cache/get_access_policy_assignment.py +2 -2
- pulumi_azure_native/cache/get_firewall_rule.py +2 -2
- pulumi_azure_native/cache/get_linked_server.py +2 -2
- pulumi_azure_native/cache/get_patch_schedule.py +2 -2
- pulumi_azure_native/cache/get_private_endpoint_connection.py +2 -2
- pulumi_azure_native/cache/get_redis.py +2 -2
- pulumi_azure_native/cache/linked_server.py +3 -3
- pulumi_azure_native/cache/list_redis_keys.py +2 -2
- pulumi_azure_native/cache/patch_schedule.py +3 -3
- pulumi_azure_native/cache/private_endpoint_connection.py +3 -3
- pulumi_azure_native/cache/redis.py +3 -3
- pulumi_azure_native/cache/v20200601/redis.py +1 -1
- pulumi_azure_native/cache/v20230401/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20230401/linked_server.py +1 -1
- pulumi_azure_native/cache/v20230401/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20230401/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20230401/redis.py +1 -1
- pulumi_azure_native/cache/v20230501preview/access_policy.py +1 -1
- pulumi_azure_native/cache/v20230501preview/access_policy_assignment.py +1 -1
- pulumi_azure_native/cache/v20230501preview/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20230501preview/linked_server.py +1 -1
- pulumi_azure_native/cache/v20230501preview/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20230501preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20230501preview/redis.py +1 -1
- pulumi_azure_native/cache/v20230801/access_policy.py +1 -1
- pulumi_azure_native/cache/v20230801/access_policy_assignment.py +1 -1
- pulumi_azure_native/cache/v20230801/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20230801/linked_server.py +1 -1
- pulumi_azure_native/cache/v20230801/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20230801/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20230801/redis.py +1 -1
- pulumi_azure_native/cache/v20240301/access_policy.py +1 -1
- pulumi_azure_native/cache/v20240301/access_policy_assignment.py +1 -1
- pulumi_azure_native/cache/v20240301/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20240301/linked_server.py +1 -1
- pulumi_azure_native/cache/v20240301/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20240301/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20240301/redis.py +1 -1
- pulumi_azure_native/cache/v20240401preview/access_policy.py +1 -1
- pulumi_azure_native/cache/v20240401preview/access_policy_assignment.py +1 -1
- pulumi_azure_native/cache/v20240401preview/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20240401preview/linked_server.py +1 -1
- pulumi_azure_native/cache/v20240401preview/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20240401preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20240401preview/redis.py +1 -1
- pulumi_azure_native/cache/v20241101/__init__.py +25 -0
- pulumi_azure_native/cache/v20241101/_enums.py +111 -0
- pulumi_azure_native/cache/v20241101/_inputs.py +646 -0
- pulumi_azure_native/cache/v20241101/access_policy.py +219 -0
- pulumi_azure_native/cache/v20241101/access_policy_assignment.py +279 -0
- pulumi_azure_native/cache/v20241101/firewall_rule.py +239 -0
- pulumi_azure_native/cache/v20241101/get_access_policy.py +148 -0
- pulumi_azure_native/cache/v20241101/get_access_policy_assignment.py +176 -0
- pulumi_azure_native/cache/v20241101/get_firewall_rule.py +148 -0
- pulumi_azure_native/cache/v20241101/get_linked_server.py +204 -0
- pulumi_azure_native/cache/v20241101/get_patch_schedule.py +149 -0
- pulumi_azure_native/cache/v20241101/get_private_endpoint_connection.py +163 -0
- pulumi_azure_native/cache/v20241101/get_redis.py +493 -0
- pulumi_azure_native/cache/v20241101/linked_server.py +299 -0
- pulumi_azure_native/cache/v20241101/list_redis_keys.py +100 -0
- pulumi_azure_native/cache/v20241101/outputs.py +917 -0
- pulumi_azure_native/cache/v20241101/patch_schedule.py +221 -0
- pulumi_azure_native/cache/v20241101/private_endpoint_connection.py +232 -0
- pulumi_azure_native/cache/v20241101/redis.py +804 -0
- pulumi_azure_native/costmanagement/__init__.py +3 -0
- pulumi_azure_native/costmanagement/budget.py +3 -3
- pulumi_azure_native/costmanagement/cost_allocation_rule.py +3 -3
- pulumi_azure_native/costmanagement/export.py +3 -3
- pulumi_azure_native/costmanagement/get_budget.py +2 -2
- pulumi_azure_native/costmanagement/get_cost_allocation_rule.py +2 -2
- pulumi_azure_native/costmanagement/get_export.py +2 -2
- pulumi_azure_native/costmanagement/get_scheduled_action.py +2 -2
- pulumi_azure_native/costmanagement/get_scheduled_action_by_scope.py +2 -2
- pulumi_azure_native/costmanagement/get_view.py +2 -2
- pulumi_azure_native/costmanagement/get_view_by_scope.py +2 -2
- pulumi_azure_native/costmanagement/scheduled_action.py +3 -3
- pulumi_azure_native/costmanagement/scheduled_action_by_scope.py +3 -3
- pulumi_azure_native/costmanagement/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20190401preview/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20191001/export.py +1 -1
- pulumi_azure_native/costmanagement/v20191101/view.py +1 -1
- pulumi_azure_native/costmanagement/v20191101/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20200301preview/cost_allocation_rule.py +1 -1
- pulumi_azure_native/costmanagement/v20200601/view.py +1 -1
- pulumi_azure_native/costmanagement/v20200601/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20221001/view.py +1 -1
- pulumi_azure_native/costmanagement/v20221001/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20221005preview/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20221005preview/view.py +1 -1
- pulumi_azure_native/costmanagement/v20221005preview/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/cost_allocation_rule.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/cost_allocation_rule.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/cost_allocation_rule.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/export.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/view.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20240801/__init__.py +26 -0
- pulumi_azure_native/costmanagement/v20240801/_enums.py +538 -0
- pulumi_azure_native/costmanagement/v20240801/_inputs.py +2660 -0
- pulumi_azure_native/costmanagement/v20240801/budget.py +619 -0
- pulumi_azure_native/costmanagement/v20240801/cost_allocation_rule.py +190 -0
- pulumi_azure_native/costmanagement/v20240801/export.py +415 -0
- pulumi_azure_native/costmanagement/v20240801/get_budget.py +337 -0
- pulumi_azure_native/costmanagement/v20240801/get_cost_allocation_rule.py +129 -0
- pulumi_azure_native/costmanagement/v20240801/get_export.py +261 -0
- pulumi_azure_native/costmanagement/v20240801/get_scheduled_action.py +263 -0
- pulumi_azure_native/costmanagement/v20240801/get_scheduled_action_by_scope.py +269 -0
- pulumi_azure_native/costmanagement/v20240801/get_tag_inheritance_setting.py +144 -0
- pulumi_azure_native/costmanagement/v20240801/get_view.py +333 -0
- pulumi_azure_native/costmanagement/v20240801/get_view_by_scope.py +339 -0
- pulumi_azure_native/costmanagement/v20240801/outputs.py +2593 -0
- pulumi_azure_native/costmanagement/v20240801/scheduled_action.py +425 -0
- pulumi_azure_native/costmanagement/v20240801/scheduled_action_by_scope.py +426 -0
- pulumi_azure_native/costmanagement/v20240801/tag_inheritance_setting.py +222 -0
- pulumi_azure_native/costmanagement/v20240801/view.py +587 -0
- pulumi_azure_native/costmanagement/v20240801/view_by_scope.py +588 -0
- pulumi_azure_native/costmanagement/view.py +3 -3
- pulumi_azure_native/costmanagement/view_by_scope.py +3 -3
- pulumi_azure_native/pulumi-plugin.json +1 -1
- {pulumi_azure_native-2.68.0a1729519840.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.68.0a1729519840.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/RECORD +167 -128
- {pulumi_azure_native-2.68.0a1729519840.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.68.0a1729519840.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,261 @@
|
|
|
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
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetExportResult',
|
|
20
|
+
'AwaitableGetExportResult',
|
|
21
|
+
'get_export',
|
|
22
|
+
'get_export_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetExportResult:
|
|
27
|
+
"""
|
|
28
|
+
An export resource.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, definition=None, delivery_info=None, e_tag=None, format=None, id=None, identity=None, location=None, name=None, next_run_time_estimate=None, partition_data=None, run_history=None, schedule=None, type=None):
|
|
31
|
+
if definition and not isinstance(definition, dict):
|
|
32
|
+
raise TypeError("Expected argument 'definition' to be a dict")
|
|
33
|
+
pulumi.set(__self__, "definition", definition)
|
|
34
|
+
if delivery_info and not isinstance(delivery_info, dict):
|
|
35
|
+
raise TypeError("Expected argument 'delivery_info' to be a dict")
|
|
36
|
+
pulumi.set(__self__, "delivery_info", delivery_info)
|
|
37
|
+
if e_tag and not isinstance(e_tag, str):
|
|
38
|
+
raise TypeError("Expected argument 'e_tag' to be a str")
|
|
39
|
+
pulumi.set(__self__, "e_tag", e_tag)
|
|
40
|
+
if format and not isinstance(format, str):
|
|
41
|
+
raise TypeError("Expected argument 'format' to be a str")
|
|
42
|
+
pulumi.set(__self__, "format", format)
|
|
43
|
+
if id and not isinstance(id, str):
|
|
44
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
45
|
+
pulumi.set(__self__, "id", id)
|
|
46
|
+
if identity and not isinstance(identity, dict):
|
|
47
|
+
raise TypeError("Expected argument 'identity' to be a dict")
|
|
48
|
+
pulumi.set(__self__, "identity", identity)
|
|
49
|
+
if location and not isinstance(location, str):
|
|
50
|
+
raise TypeError("Expected argument 'location' to be a str")
|
|
51
|
+
pulumi.set(__self__, "location", location)
|
|
52
|
+
if name and not isinstance(name, str):
|
|
53
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
54
|
+
pulumi.set(__self__, "name", name)
|
|
55
|
+
if next_run_time_estimate and not isinstance(next_run_time_estimate, str):
|
|
56
|
+
raise TypeError("Expected argument 'next_run_time_estimate' to be a str")
|
|
57
|
+
pulumi.set(__self__, "next_run_time_estimate", next_run_time_estimate)
|
|
58
|
+
if partition_data and not isinstance(partition_data, bool):
|
|
59
|
+
raise TypeError("Expected argument 'partition_data' to be a bool")
|
|
60
|
+
pulumi.set(__self__, "partition_data", partition_data)
|
|
61
|
+
if run_history and not isinstance(run_history, dict):
|
|
62
|
+
raise TypeError("Expected argument 'run_history' to be a dict")
|
|
63
|
+
pulumi.set(__self__, "run_history", run_history)
|
|
64
|
+
if schedule and not isinstance(schedule, dict):
|
|
65
|
+
raise TypeError("Expected argument 'schedule' to be a dict")
|
|
66
|
+
pulumi.set(__self__, "schedule", schedule)
|
|
67
|
+
if type and not isinstance(type, str):
|
|
68
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
69
|
+
pulumi.set(__self__, "type", type)
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
@pulumi.getter
|
|
73
|
+
def definition(self) -> 'outputs.ExportDefinitionResponse':
|
|
74
|
+
"""
|
|
75
|
+
Has the definition for the export.
|
|
76
|
+
"""
|
|
77
|
+
return pulumi.get(self, "definition")
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
@pulumi.getter(name="deliveryInfo")
|
|
81
|
+
def delivery_info(self) -> 'outputs.ExportDeliveryInfoResponse':
|
|
82
|
+
"""
|
|
83
|
+
Has delivery information for the export.
|
|
84
|
+
"""
|
|
85
|
+
return pulumi.get(self, "delivery_info")
|
|
86
|
+
|
|
87
|
+
@property
|
|
88
|
+
@pulumi.getter(name="eTag")
|
|
89
|
+
def e_tag(self) -> Optional[str]:
|
|
90
|
+
"""
|
|
91
|
+
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.
|
|
92
|
+
"""
|
|
93
|
+
return pulumi.get(self, "e_tag")
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
@pulumi.getter
|
|
97
|
+
def format(self) -> Optional[str]:
|
|
98
|
+
"""
|
|
99
|
+
The format of the export being delivered. Currently only 'Csv' is supported.
|
|
100
|
+
"""
|
|
101
|
+
return pulumi.get(self, "format")
|
|
102
|
+
|
|
103
|
+
@property
|
|
104
|
+
@pulumi.getter
|
|
105
|
+
def id(self) -> str:
|
|
106
|
+
"""
|
|
107
|
+
Resource Id.
|
|
108
|
+
"""
|
|
109
|
+
return pulumi.get(self, "id")
|
|
110
|
+
|
|
111
|
+
@property
|
|
112
|
+
@pulumi.getter
|
|
113
|
+
def identity(self) -> Optional['outputs.SystemAssignedServiceIdentityResponse']:
|
|
114
|
+
"""
|
|
115
|
+
The managed identity associated with Export
|
|
116
|
+
"""
|
|
117
|
+
return pulumi.get(self, "identity")
|
|
118
|
+
|
|
119
|
+
@property
|
|
120
|
+
@pulumi.getter
|
|
121
|
+
def location(self) -> Optional[str]:
|
|
122
|
+
"""
|
|
123
|
+
The location of the Export's managed identity. Only required when utilizing managed identity.
|
|
124
|
+
"""
|
|
125
|
+
return pulumi.get(self, "location")
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
@pulumi.getter
|
|
129
|
+
def name(self) -> str:
|
|
130
|
+
"""
|
|
131
|
+
Resource name.
|
|
132
|
+
"""
|
|
133
|
+
return pulumi.get(self, "name")
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
@pulumi.getter(name="nextRunTimeEstimate")
|
|
137
|
+
def next_run_time_estimate(self) -> str:
|
|
138
|
+
"""
|
|
139
|
+
If the export has an active schedule, provides an estimate of the next run time.
|
|
140
|
+
"""
|
|
141
|
+
return pulumi.get(self, "next_run_time_estimate")
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
@pulumi.getter(name="partitionData")
|
|
145
|
+
def partition_data(self) -> Optional[bool]:
|
|
146
|
+
"""
|
|
147
|
+
If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file. Note: this option is currently available only for Microsoft Customer Agreement commerce scopes.
|
|
148
|
+
"""
|
|
149
|
+
return pulumi.get(self, "partition_data")
|
|
150
|
+
|
|
151
|
+
@property
|
|
152
|
+
@pulumi.getter(name="runHistory")
|
|
153
|
+
def run_history(self) -> Optional['outputs.ExportExecutionListResultResponse']:
|
|
154
|
+
"""
|
|
155
|
+
If requested, has the most recent run history for the export.
|
|
156
|
+
"""
|
|
157
|
+
return pulumi.get(self, "run_history")
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
@pulumi.getter
|
|
161
|
+
def schedule(self) -> Optional['outputs.ExportScheduleResponse']:
|
|
162
|
+
"""
|
|
163
|
+
Has schedule information for the export.
|
|
164
|
+
"""
|
|
165
|
+
return pulumi.get(self, "schedule")
|
|
166
|
+
|
|
167
|
+
@property
|
|
168
|
+
@pulumi.getter
|
|
169
|
+
def type(self) -> str:
|
|
170
|
+
"""
|
|
171
|
+
Resource type.
|
|
172
|
+
"""
|
|
173
|
+
return pulumi.get(self, "type")
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
class AwaitableGetExportResult(GetExportResult):
|
|
177
|
+
# pylint: disable=using-constant-test
|
|
178
|
+
def __await__(self):
|
|
179
|
+
if False:
|
|
180
|
+
yield self
|
|
181
|
+
return GetExportResult(
|
|
182
|
+
definition=self.definition,
|
|
183
|
+
delivery_info=self.delivery_info,
|
|
184
|
+
e_tag=self.e_tag,
|
|
185
|
+
format=self.format,
|
|
186
|
+
id=self.id,
|
|
187
|
+
identity=self.identity,
|
|
188
|
+
location=self.location,
|
|
189
|
+
name=self.name,
|
|
190
|
+
next_run_time_estimate=self.next_run_time_estimate,
|
|
191
|
+
partition_data=self.partition_data,
|
|
192
|
+
run_history=self.run_history,
|
|
193
|
+
schedule=self.schedule,
|
|
194
|
+
type=self.type)
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
def get_export(expand: Optional[str] = None,
|
|
198
|
+
export_name: Optional[str] = None,
|
|
199
|
+
scope: Optional[str] = None,
|
|
200
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExportResult:
|
|
201
|
+
"""
|
|
202
|
+
The operation to get the export for the defined scope by export name.
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
:param str expand: May be used to expand the properties within an export. Currently only 'runHistory' is supported and will return information for the last 10 runs of the export.
|
|
206
|
+
:param str export_name: Export Name.
|
|
207
|
+
:param str scope: The scope associated with export operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId} for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.
|
|
208
|
+
"""
|
|
209
|
+
__args__ = dict()
|
|
210
|
+
__args__['expand'] = expand
|
|
211
|
+
__args__['exportName'] = export_name
|
|
212
|
+
__args__['scope'] = scope
|
|
213
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
214
|
+
__ret__ = pulumi.runtime.invoke('azure-native:costmanagement/v20240801:getExport', __args__, opts=opts, typ=GetExportResult).value
|
|
215
|
+
|
|
216
|
+
return AwaitableGetExportResult(
|
|
217
|
+
definition=pulumi.get(__ret__, 'definition'),
|
|
218
|
+
delivery_info=pulumi.get(__ret__, 'delivery_info'),
|
|
219
|
+
e_tag=pulumi.get(__ret__, 'e_tag'),
|
|
220
|
+
format=pulumi.get(__ret__, 'format'),
|
|
221
|
+
id=pulumi.get(__ret__, 'id'),
|
|
222
|
+
identity=pulumi.get(__ret__, 'identity'),
|
|
223
|
+
location=pulumi.get(__ret__, 'location'),
|
|
224
|
+
name=pulumi.get(__ret__, 'name'),
|
|
225
|
+
next_run_time_estimate=pulumi.get(__ret__, 'next_run_time_estimate'),
|
|
226
|
+
partition_data=pulumi.get(__ret__, 'partition_data'),
|
|
227
|
+
run_history=pulumi.get(__ret__, 'run_history'),
|
|
228
|
+
schedule=pulumi.get(__ret__, 'schedule'),
|
|
229
|
+
type=pulumi.get(__ret__, 'type'))
|
|
230
|
+
def get_export_output(expand: Optional[pulumi.Input[Optional[str]]] = None,
|
|
231
|
+
export_name: Optional[pulumi.Input[str]] = None,
|
|
232
|
+
scope: Optional[pulumi.Input[str]] = None,
|
|
233
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExportResult]:
|
|
234
|
+
"""
|
|
235
|
+
The operation to get the export for the defined scope by export name.
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
:param str expand: May be used to expand the properties within an export. Currently only 'runHistory' is supported and will return information for the last 10 runs of the export.
|
|
239
|
+
:param str export_name: Export Name.
|
|
240
|
+
:param str scope: The scope associated with export operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId} for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.
|
|
241
|
+
"""
|
|
242
|
+
__args__ = dict()
|
|
243
|
+
__args__['expand'] = expand
|
|
244
|
+
__args__['exportName'] = export_name
|
|
245
|
+
__args__['scope'] = scope
|
|
246
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
247
|
+
__ret__ = pulumi.runtime.invoke_output('azure-native:costmanagement/v20240801:getExport', __args__, opts=opts, typ=GetExportResult)
|
|
248
|
+
return __ret__.apply(lambda __response__: GetExportResult(
|
|
249
|
+
definition=pulumi.get(__response__, 'definition'),
|
|
250
|
+
delivery_info=pulumi.get(__response__, 'delivery_info'),
|
|
251
|
+
e_tag=pulumi.get(__response__, 'e_tag'),
|
|
252
|
+
format=pulumi.get(__response__, 'format'),
|
|
253
|
+
id=pulumi.get(__response__, 'id'),
|
|
254
|
+
identity=pulumi.get(__response__, 'identity'),
|
|
255
|
+
location=pulumi.get(__response__, 'location'),
|
|
256
|
+
name=pulumi.get(__response__, 'name'),
|
|
257
|
+
next_run_time_estimate=pulumi.get(__response__, 'next_run_time_estimate'),
|
|
258
|
+
partition_data=pulumi.get(__response__, 'partition_data'),
|
|
259
|
+
run_history=pulumi.get(__response__, 'run_history'),
|
|
260
|
+
schedule=pulumi.get(__response__, 'schedule'),
|
|
261
|
+
type=pulumi.get(__response__, 'type')))
|
|
@@ -0,0 +1,263 @@
|
|
|
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
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetScheduledActionResult',
|
|
20
|
+
'AwaitableGetScheduledActionResult',
|
|
21
|
+
'get_scheduled_action',
|
|
22
|
+
'get_scheduled_action_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetScheduledActionResult:
|
|
27
|
+
"""
|
|
28
|
+
Scheduled action definition.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, display_name=None, e_tag=None, file_destination=None, id=None, kind=None, name=None, notification=None, notification_email=None, schedule=None, scope=None, status=None, system_data=None, type=None, view_id=None):
|
|
31
|
+
if display_name and not isinstance(display_name, str):
|
|
32
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
|
33
|
+
pulumi.set(__self__, "display_name", display_name)
|
|
34
|
+
if e_tag and not isinstance(e_tag, str):
|
|
35
|
+
raise TypeError("Expected argument 'e_tag' to be a str")
|
|
36
|
+
pulumi.set(__self__, "e_tag", e_tag)
|
|
37
|
+
if file_destination and not isinstance(file_destination, dict):
|
|
38
|
+
raise TypeError("Expected argument 'file_destination' to be a dict")
|
|
39
|
+
pulumi.set(__self__, "file_destination", file_destination)
|
|
40
|
+
if id and not isinstance(id, str):
|
|
41
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
42
|
+
pulumi.set(__self__, "id", id)
|
|
43
|
+
if kind and not isinstance(kind, str):
|
|
44
|
+
raise TypeError("Expected argument 'kind' to be a str")
|
|
45
|
+
pulumi.set(__self__, "kind", kind)
|
|
46
|
+
if name and not isinstance(name, str):
|
|
47
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
48
|
+
pulumi.set(__self__, "name", name)
|
|
49
|
+
if notification and not isinstance(notification, dict):
|
|
50
|
+
raise TypeError("Expected argument 'notification' to be a dict")
|
|
51
|
+
pulumi.set(__self__, "notification", notification)
|
|
52
|
+
if notification_email and not isinstance(notification_email, str):
|
|
53
|
+
raise TypeError("Expected argument 'notification_email' to be a str")
|
|
54
|
+
pulumi.set(__self__, "notification_email", notification_email)
|
|
55
|
+
if schedule and not isinstance(schedule, dict):
|
|
56
|
+
raise TypeError("Expected argument 'schedule' to be a dict")
|
|
57
|
+
pulumi.set(__self__, "schedule", schedule)
|
|
58
|
+
if scope and not isinstance(scope, str):
|
|
59
|
+
raise TypeError("Expected argument 'scope' to be a str")
|
|
60
|
+
pulumi.set(__self__, "scope", scope)
|
|
61
|
+
if status and not isinstance(status, str):
|
|
62
|
+
raise TypeError("Expected argument 'status' to be a str")
|
|
63
|
+
pulumi.set(__self__, "status", status)
|
|
64
|
+
if system_data and not isinstance(system_data, dict):
|
|
65
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
66
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
67
|
+
if type and not isinstance(type, str):
|
|
68
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
69
|
+
pulumi.set(__self__, "type", type)
|
|
70
|
+
if view_id and not isinstance(view_id, str):
|
|
71
|
+
raise TypeError("Expected argument 'view_id' to be a str")
|
|
72
|
+
pulumi.set(__self__, "view_id", view_id)
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
@pulumi.getter(name="displayName")
|
|
76
|
+
def display_name(self) -> str:
|
|
77
|
+
"""
|
|
78
|
+
Scheduled action name.
|
|
79
|
+
"""
|
|
80
|
+
return pulumi.get(self, "display_name")
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
@pulumi.getter(name="eTag")
|
|
84
|
+
def e_tag(self) -> str:
|
|
85
|
+
"""
|
|
86
|
+
Resource Etag. For update calls, eTag is optional and can be specified to achieve optimistic concurrency. Fetch the resource's eTag by doing a 'GET' call first and then including the latest eTag as part of the request body or 'If-Match' header while performing the update. For create calls, eTag is not required.
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "e_tag")
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
@pulumi.getter(name="fileDestination")
|
|
92
|
+
def file_destination(self) -> Optional['outputs.FileDestinationResponse']:
|
|
93
|
+
"""
|
|
94
|
+
Destination format of the view data. This is optional.
|
|
95
|
+
"""
|
|
96
|
+
return pulumi.get(self, "file_destination")
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
@pulumi.getter
|
|
100
|
+
def id(self) -> str:
|
|
101
|
+
"""
|
|
102
|
+
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
103
|
+
"""
|
|
104
|
+
return pulumi.get(self, "id")
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
@pulumi.getter
|
|
108
|
+
def kind(self) -> Optional[str]:
|
|
109
|
+
"""
|
|
110
|
+
Kind of the scheduled action.
|
|
111
|
+
"""
|
|
112
|
+
return pulumi.get(self, "kind")
|
|
113
|
+
|
|
114
|
+
@property
|
|
115
|
+
@pulumi.getter
|
|
116
|
+
def name(self) -> str:
|
|
117
|
+
"""
|
|
118
|
+
The name of the resource
|
|
119
|
+
"""
|
|
120
|
+
return pulumi.get(self, "name")
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
@pulumi.getter
|
|
124
|
+
def notification(self) -> 'outputs.NotificationPropertiesResponse':
|
|
125
|
+
"""
|
|
126
|
+
Notification properties based on scheduled action kind.
|
|
127
|
+
"""
|
|
128
|
+
return pulumi.get(self, "notification")
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
@pulumi.getter(name="notificationEmail")
|
|
132
|
+
def notification_email(self) -> Optional[str]:
|
|
133
|
+
"""
|
|
134
|
+
Email address of the point of contact that should get the unsubscribe requests and notification emails.
|
|
135
|
+
"""
|
|
136
|
+
return pulumi.get(self, "notification_email")
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
@pulumi.getter
|
|
140
|
+
def schedule(self) -> 'outputs.SchedulePropertiesResponse':
|
|
141
|
+
"""
|
|
142
|
+
Schedule of the scheduled action.
|
|
143
|
+
"""
|
|
144
|
+
return pulumi.get(self, "schedule")
|
|
145
|
+
|
|
146
|
+
@property
|
|
147
|
+
@pulumi.getter
|
|
148
|
+
def scope(self) -> Optional[str]:
|
|
149
|
+
"""
|
|
150
|
+
For private scheduled action(Create or Update), scope will be empty.<br /> For shared scheduled action(Create or Update By Scope), Cost Management scope can be '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.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.
|
|
151
|
+
"""
|
|
152
|
+
return pulumi.get(self, "scope")
|
|
153
|
+
|
|
154
|
+
@property
|
|
155
|
+
@pulumi.getter
|
|
156
|
+
def status(self) -> str:
|
|
157
|
+
"""
|
|
158
|
+
Status of the scheduled action.
|
|
159
|
+
"""
|
|
160
|
+
return pulumi.get(self, "status")
|
|
161
|
+
|
|
162
|
+
@property
|
|
163
|
+
@pulumi.getter(name="systemData")
|
|
164
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
165
|
+
"""
|
|
166
|
+
Kind of the scheduled action.
|
|
167
|
+
"""
|
|
168
|
+
return pulumi.get(self, "system_data")
|
|
169
|
+
|
|
170
|
+
@property
|
|
171
|
+
@pulumi.getter
|
|
172
|
+
def type(self) -> str:
|
|
173
|
+
"""
|
|
174
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
175
|
+
"""
|
|
176
|
+
return pulumi.get(self, "type")
|
|
177
|
+
|
|
178
|
+
@property
|
|
179
|
+
@pulumi.getter(name="viewId")
|
|
180
|
+
def view_id(self) -> str:
|
|
181
|
+
"""
|
|
182
|
+
Cost analysis viewId used for scheduled action. For example, '/providers/Microsoft.CostManagement/views/swaggerExample'
|
|
183
|
+
"""
|
|
184
|
+
return pulumi.get(self, "view_id")
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
class AwaitableGetScheduledActionResult(GetScheduledActionResult):
|
|
188
|
+
# pylint: disable=using-constant-test
|
|
189
|
+
def __await__(self):
|
|
190
|
+
if False:
|
|
191
|
+
yield self
|
|
192
|
+
return GetScheduledActionResult(
|
|
193
|
+
display_name=self.display_name,
|
|
194
|
+
e_tag=self.e_tag,
|
|
195
|
+
file_destination=self.file_destination,
|
|
196
|
+
id=self.id,
|
|
197
|
+
kind=self.kind,
|
|
198
|
+
name=self.name,
|
|
199
|
+
notification=self.notification,
|
|
200
|
+
notification_email=self.notification_email,
|
|
201
|
+
schedule=self.schedule,
|
|
202
|
+
scope=self.scope,
|
|
203
|
+
status=self.status,
|
|
204
|
+
system_data=self.system_data,
|
|
205
|
+
type=self.type,
|
|
206
|
+
view_id=self.view_id)
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
def get_scheduled_action(name: Optional[str] = None,
|
|
210
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScheduledActionResult:
|
|
211
|
+
"""
|
|
212
|
+
Get the private scheduled action by name.
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
:param str name: Scheduled action name.
|
|
216
|
+
"""
|
|
217
|
+
__args__ = dict()
|
|
218
|
+
__args__['name'] = name
|
|
219
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
220
|
+
__ret__ = pulumi.runtime.invoke('azure-native:costmanagement/v20240801:getScheduledAction', __args__, opts=opts, typ=GetScheduledActionResult).value
|
|
221
|
+
|
|
222
|
+
return AwaitableGetScheduledActionResult(
|
|
223
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
|
224
|
+
e_tag=pulumi.get(__ret__, 'e_tag'),
|
|
225
|
+
file_destination=pulumi.get(__ret__, 'file_destination'),
|
|
226
|
+
id=pulumi.get(__ret__, 'id'),
|
|
227
|
+
kind=pulumi.get(__ret__, 'kind'),
|
|
228
|
+
name=pulumi.get(__ret__, 'name'),
|
|
229
|
+
notification=pulumi.get(__ret__, 'notification'),
|
|
230
|
+
notification_email=pulumi.get(__ret__, 'notification_email'),
|
|
231
|
+
schedule=pulumi.get(__ret__, 'schedule'),
|
|
232
|
+
scope=pulumi.get(__ret__, 'scope'),
|
|
233
|
+
status=pulumi.get(__ret__, 'status'),
|
|
234
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
235
|
+
type=pulumi.get(__ret__, 'type'),
|
|
236
|
+
view_id=pulumi.get(__ret__, 'view_id'))
|
|
237
|
+
def get_scheduled_action_output(name: Optional[pulumi.Input[str]] = None,
|
|
238
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScheduledActionResult]:
|
|
239
|
+
"""
|
|
240
|
+
Get the private scheduled action by name.
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
:param str name: Scheduled action name.
|
|
244
|
+
"""
|
|
245
|
+
__args__ = dict()
|
|
246
|
+
__args__['name'] = name
|
|
247
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
248
|
+
__ret__ = pulumi.runtime.invoke_output('azure-native:costmanagement/v20240801:getScheduledAction', __args__, opts=opts, typ=GetScheduledActionResult)
|
|
249
|
+
return __ret__.apply(lambda __response__: GetScheduledActionResult(
|
|
250
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
|
251
|
+
e_tag=pulumi.get(__response__, 'e_tag'),
|
|
252
|
+
file_destination=pulumi.get(__response__, 'file_destination'),
|
|
253
|
+
id=pulumi.get(__response__, 'id'),
|
|
254
|
+
kind=pulumi.get(__response__, 'kind'),
|
|
255
|
+
name=pulumi.get(__response__, 'name'),
|
|
256
|
+
notification=pulumi.get(__response__, 'notification'),
|
|
257
|
+
notification_email=pulumi.get(__response__, 'notification_email'),
|
|
258
|
+
schedule=pulumi.get(__response__, 'schedule'),
|
|
259
|
+
scope=pulumi.get(__response__, 'scope'),
|
|
260
|
+
status=pulumi.get(__response__, 'status'),
|
|
261
|
+
system_data=pulumi.get(__response__, 'system_data'),
|
|
262
|
+
type=pulumi.get(__response__, 'type'),
|
|
263
|
+
view_id=pulumi.get(__response__, 'view_id')))
|