pulumi-azure-native 2.68.0a1729544032__py3-none-any.whl → 2.68.0a1729615467__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-azure-native might be problematic. Click here for more details.
- pulumi_azure_native/__init__.py +29 -0
- pulumi_azure_native/awsconnector/_inputs.py +132 -96
- pulumi_azure_native/awsconnector/outputs.py +120 -66
- pulumi_azure_native/awsconnector/v20241201/_inputs.py +132 -96
- pulumi_azure_native/awsconnector/v20241201/outputs.py +120 -66
- pulumi_azure_native/cache/__init__.py +3 -0
- pulumi_azure_native/cache/access_policy.py +3 -3
- pulumi_azure_native/cache/access_policy_assignment.py +3 -3
- pulumi_azure_native/cache/firewall_rule.py +3 -3
- pulumi_azure_native/cache/get_access_policy.py +2 -2
- pulumi_azure_native/cache/get_access_policy_assignment.py +2 -2
- pulumi_azure_native/cache/get_firewall_rule.py +2 -2
- pulumi_azure_native/cache/get_linked_server.py +2 -2
- pulumi_azure_native/cache/get_patch_schedule.py +2 -2
- pulumi_azure_native/cache/get_private_endpoint_connection.py +2 -2
- pulumi_azure_native/cache/get_redis.py +2 -2
- pulumi_azure_native/cache/linked_server.py +3 -3
- pulumi_azure_native/cache/list_redis_keys.py +2 -2
- pulumi_azure_native/cache/patch_schedule.py +3 -3
- pulumi_azure_native/cache/private_endpoint_connection.py +3 -3
- pulumi_azure_native/cache/redis.py +3 -3
- pulumi_azure_native/cache/v20200601/redis.py +1 -1
- pulumi_azure_native/cache/v20230401/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20230401/linked_server.py +1 -1
- pulumi_azure_native/cache/v20230401/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20230401/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20230401/redis.py +1 -1
- pulumi_azure_native/cache/v20230501preview/access_policy.py +1 -1
- pulumi_azure_native/cache/v20230501preview/access_policy_assignment.py +1 -1
- pulumi_azure_native/cache/v20230501preview/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20230501preview/linked_server.py +1 -1
- pulumi_azure_native/cache/v20230501preview/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20230501preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20230501preview/redis.py +1 -1
- pulumi_azure_native/cache/v20230801/access_policy.py +1 -1
- pulumi_azure_native/cache/v20230801/access_policy_assignment.py +1 -1
- pulumi_azure_native/cache/v20230801/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20230801/linked_server.py +1 -1
- pulumi_azure_native/cache/v20230801/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20230801/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20230801/redis.py +1 -1
- pulumi_azure_native/cache/v20240301/access_policy.py +1 -1
- pulumi_azure_native/cache/v20240301/access_policy_assignment.py +1 -1
- pulumi_azure_native/cache/v20240301/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20240301/linked_server.py +1 -1
- pulumi_azure_native/cache/v20240301/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20240301/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20240301/redis.py +1 -1
- pulumi_azure_native/cache/v20240401preview/access_policy.py +1 -1
- pulumi_azure_native/cache/v20240401preview/access_policy_assignment.py +1 -1
- pulumi_azure_native/cache/v20240401preview/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20240401preview/linked_server.py +1 -1
- pulumi_azure_native/cache/v20240401preview/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20240401preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20240401preview/redis.py +1 -1
- pulumi_azure_native/cache/v20241101/__init__.py +25 -0
- pulumi_azure_native/cache/v20241101/_enums.py +111 -0
- pulumi_azure_native/cache/v20241101/_inputs.py +646 -0
- pulumi_azure_native/cache/v20241101/access_policy.py +219 -0
- pulumi_azure_native/cache/v20241101/access_policy_assignment.py +279 -0
- pulumi_azure_native/cache/v20241101/firewall_rule.py +239 -0
- pulumi_azure_native/cache/v20241101/get_access_policy.py +148 -0
- pulumi_azure_native/cache/v20241101/get_access_policy_assignment.py +176 -0
- pulumi_azure_native/cache/v20241101/get_firewall_rule.py +148 -0
- pulumi_azure_native/cache/v20241101/get_linked_server.py +204 -0
- pulumi_azure_native/cache/v20241101/get_patch_schedule.py +149 -0
- pulumi_azure_native/cache/v20241101/get_private_endpoint_connection.py +163 -0
- pulumi_azure_native/cache/v20241101/get_redis.py +493 -0
- pulumi_azure_native/cache/v20241101/linked_server.py +299 -0
- pulumi_azure_native/cache/v20241101/list_redis_keys.py +100 -0
- pulumi_azure_native/cache/v20241101/outputs.py +917 -0
- pulumi_azure_native/cache/v20241101/patch_schedule.py +221 -0
- pulumi_azure_native/cache/v20241101/private_endpoint_connection.py +232 -0
- pulumi_azure_native/cache/v20241101/redis.py +804 -0
- pulumi_azure_native/costmanagement/__init__.py +3 -0
- pulumi_azure_native/costmanagement/budget.py +3 -3
- pulumi_azure_native/costmanagement/cost_allocation_rule.py +3 -3
- pulumi_azure_native/costmanagement/export.py +3 -3
- pulumi_azure_native/costmanagement/get_budget.py +2 -2
- pulumi_azure_native/costmanagement/get_cost_allocation_rule.py +2 -2
- pulumi_azure_native/costmanagement/get_export.py +2 -2
- pulumi_azure_native/costmanagement/get_scheduled_action.py +2 -2
- pulumi_azure_native/costmanagement/get_scheduled_action_by_scope.py +2 -2
- pulumi_azure_native/costmanagement/get_view.py +2 -2
- pulumi_azure_native/costmanagement/get_view_by_scope.py +2 -2
- pulumi_azure_native/costmanagement/scheduled_action.py +3 -3
- pulumi_azure_native/costmanagement/scheduled_action_by_scope.py +3 -3
- pulumi_azure_native/costmanagement/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20190401preview/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20191001/export.py +1 -1
- pulumi_azure_native/costmanagement/v20191101/view.py +1 -1
- pulumi_azure_native/costmanagement/v20191101/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20200301preview/cost_allocation_rule.py +1 -1
- pulumi_azure_native/costmanagement/v20200601/view.py +1 -1
- pulumi_azure_native/costmanagement/v20200601/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20221001/view.py +1 -1
- pulumi_azure_native/costmanagement/v20221001/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20221005preview/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20221005preview/view.py +1 -1
- pulumi_azure_native/costmanagement/v20221005preview/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/cost_allocation_rule.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/cost_allocation_rule.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/cost_allocation_rule.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/export.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/view.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20240801/__init__.py +26 -0
- pulumi_azure_native/costmanagement/v20240801/_enums.py +538 -0
- pulumi_azure_native/costmanagement/v20240801/_inputs.py +2660 -0
- pulumi_azure_native/costmanagement/v20240801/budget.py +619 -0
- pulumi_azure_native/costmanagement/v20240801/cost_allocation_rule.py +190 -0
- pulumi_azure_native/costmanagement/v20240801/export.py +415 -0
- pulumi_azure_native/costmanagement/v20240801/get_budget.py +337 -0
- pulumi_azure_native/costmanagement/v20240801/get_cost_allocation_rule.py +129 -0
- pulumi_azure_native/costmanagement/v20240801/get_export.py +261 -0
- pulumi_azure_native/costmanagement/v20240801/get_scheduled_action.py +263 -0
- pulumi_azure_native/costmanagement/v20240801/get_scheduled_action_by_scope.py +269 -0
- pulumi_azure_native/costmanagement/v20240801/get_tag_inheritance_setting.py +144 -0
- pulumi_azure_native/costmanagement/v20240801/get_view.py +333 -0
- pulumi_azure_native/costmanagement/v20240801/get_view_by_scope.py +339 -0
- pulumi_azure_native/costmanagement/v20240801/outputs.py +2593 -0
- pulumi_azure_native/costmanagement/v20240801/scheduled_action.py +425 -0
- pulumi_azure_native/costmanagement/v20240801/scheduled_action_by_scope.py +426 -0
- pulumi_azure_native/costmanagement/v20240801/tag_inheritance_setting.py +222 -0
- pulumi_azure_native/costmanagement/v20240801/view.py +587 -0
- pulumi_azure_native/costmanagement/v20240801/view_by_scope.py +588 -0
- pulumi_azure_native/costmanagement/view.py +3 -3
- pulumi_azure_native/costmanagement/view_by_scope.py +3 -3
- pulumi_azure_native/pulumi-plugin.json +1 -1
- {pulumi_azure_native-2.68.0a1729544032.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.68.0a1729544032.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/RECORD +167 -128
- {pulumi_azure_native-2.68.0a1729544032.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.68.0a1729544032.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,269 @@
|
|
|
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
|
+
'GetScheduledActionByScopeResult',
|
|
20
|
+
'AwaitableGetScheduledActionByScopeResult',
|
|
21
|
+
'get_scheduled_action_by_scope',
|
|
22
|
+
'get_scheduled_action_by_scope_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetScheduledActionByScopeResult:
|
|
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 AwaitableGetScheduledActionByScopeResult(GetScheduledActionByScopeResult):
|
|
188
|
+
# pylint: disable=using-constant-test
|
|
189
|
+
def __await__(self):
|
|
190
|
+
if False:
|
|
191
|
+
yield self
|
|
192
|
+
return GetScheduledActionByScopeResult(
|
|
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_by_scope(name: Optional[str] = None,
|
|
210
|
+
scope: Optional[str] = None,
|
|
211
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScheduledActionByScopeResult:
|
|
212
|
+
"""
|
|
213
|
+
Get the shared scheduled action from the given scope by name.
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
:param str name: Scheduled action name.
|
|
217
|
+
:param str scope: The scope associated with scheduled action operations. 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.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for External Billing Account scope and 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External Subscription scope. Note: Insight Alerts are only available on subscription scope.
|
|
218
|
+
"""
|
|
219
|
+
__args__ = dict()
|
|
220
|
+
__args__['name'] = name
|
|
221
|
+
__args__['scope'] = scope
|
|
222
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
223
|
+
__ret__ = pulumi.runtime.invoke('azure-native:costmanagement/v20240801:getScheduledActionByScope', __args__, opts=opts, typ=GetScheduledActionByScopeResult).value
|
|
224
|
+
|
|
225
|
+
return AwaitableGetScheduledActionByScopeResult(
|
|
226
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
|
227
|
+
e_tag=pulumi.get(__ret__, 'e_tag'),
|
|
228
|
+
file_destination=pulumi.get(__ret__, 'file_destination'),
|
|
229
|
+
id=pulumi.get(__ret__, 'id'),
|
|
230
|
+
kind=pulumi.get(__ret__, 'kind'),
|
|
231
|
+
name=pulumi.get(__ret__, 'name'),
|
|
232
|
+
notification=pulumi.get(__ret__, 'notification'),
|
|
233
|
+
notification_email=pulumi.get(__ret__, 'notification_email'),
|
|
234
|
+
schedule=pulumi.get(__ret__, 'schedule'),
|
|
235
|
+
scope=pulumi.get(__ret__, 'scope'),
|
|
236
|
+
status=pulumi.get(__ret__, 'status'),
|
|
237
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
238
|
+
type=pulumi.get(__ret__, 'type'),
|
|
239
|
+
view_id=pulumi.get(__ret__, 'view_id'))
|
|
240
|
+
def get_scheduled_action_by_scope_output(name: Optional[pulumi.Input[str]] = None,
|
|
241
|
+
scope: Optional[pulumi.Input[str]] = None,
|
|
242
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScheduledActionByScopeResult]:
|
|
243
|
+
"""
|
|
244
|
+
Get the shared scheduled action from the given scope by name.
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
:param str name: Scheduled action name.
|
|
248
|
+
:param str scope: The scope associated with scheduled action operations. 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.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for External Billing Account scope and 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External Subscription scope. Note: Insight Alerts are only available on subscription scope.
|
|
249
|
+
"""
|
|
250
|
+
__args__ = dict()
|
|
251
|
+
__args__['name'] = name
|
|
252
|
+
__args__['scope'] = scope
|
|
253
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
254
|
+
__ret__ = pulumi.runtime.invoke_output('azure-native:costmanagement/v20240801:getScheduledActionByScope', __args__, opts=opts, typ=GetScheduledActionByScopeResult)
|
|
255
|
+
return __ret__.apply(lambda __response__: GetScheduledActionByScopeResult(
|
|
256
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
|
257
|
+
e_tag=pulumi.get(__response__, 'e_tag'),
|
|
258
|
+
file_destination=pulumi.get(__response__, 'file_destination'),
|
|
259
|
+
id=pulumi.get(__response__, 'id'),
|
|
260
|
+
kind=pulumi.get(__response__, 'kind'),
|
|
261
|
+
name=pulumi.get(__response__, 'name'),
|
|
262
|
+
notification=pulumi.get(__response__, 'notification'),
|
|
263
|
+
notification_email=pulumi.get(__response__, 'notification_email'),
|
|
264
|
+
schedule=pulumi.get(__response__, 'schedule'),
|
|
265
|
+
scope=pulumi.get(__response__, 'scope'),
|
|
266
|
+
status=pulumi.get(__response__, 'status'),
|
|
267
|
+
system_data=pulumi.get(__response__, 'system_data'),
|
|
268
|
+
type=pulumi.get(__response__, 'type'),
|
|
269
|
+
view_id=pulumi.get(__response__, 'view_id')))
|
|
@@ -0,0 +1,144 @@
|
|
|
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
|
+
'GetTagInheritanceSettingResult',
|
|
20
|
+
'AwaitableGetTagInheritanceSettingResult',
|
|
21
|
+
'get_tag_inheritance_setting',
|
|
22
|
+
'get_tag_inheritance_setting_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetTagInheritanceSettingResult:
|
|
27
|
+
"""
|
|
28
|
+
Tag Inheritance Setting definition.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, id=None, kind=None, name=None, properties=None, type=None):
|
|
31
|
+
if id and not isinstance(id, str):
|
|
32
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
33
|
+
pulumi.set(__self__, "id", id)
|
|
34
|
+
if kind and not isinstance(kind, str):
|
|
35
|
+
raise TypeError("Expected argument 'kind' to be a str")
|
|
36
|
+
pulumi.set(__self__, "kind", kind)
|
|
37
|
+
if name and not isinstance(name, str):
|
|
38
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
39
|
+
pulumi.set(__self__, "name", name)
|
|
40
|
+
if properties and not isinstance(properties, dict):
|
|
41
|
+
raise TypeError("Expected argument 'properties' to be a dict")
|
|
42
|
+
pulumi.set(__self__, "properties", properties)
|
|
43
|
+
if type and not isinstance(type, str):
|
|
44
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
45
|
+
pulumi.set(__self__, "type", type)
|
|
46
|
+
|
|
47
|
+
@property
|
|
48
|
+
@pulumi.getter
|
|
49
|
+
def id(self) -> str:
|
|
50
|
+
"""
|
|
51
|
+
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
52
|
+
"""
|
|
53
|
+
return pulumi.get(self, "id")
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
@pulumi.getter
|
|
57
|
+
def kind(self) -> str:
|
|
58
|
+
"""
|
|
59
|
+
Specifies the kind of settings.
|
|
60
|
+
Expected value is 'taginheritance'.
|
|
61
|
+
"""
|
|
62
|
+
return pulumi.get(self, "kind")
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
@pulumi.getter
|
|
66
|
+
def name(self) -> str:
|
|
67
|
+
"""
|
|
68
|
+
The name of the resource
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "name")
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
@pulumi.getter
|
|
74
|
+
def properties(self) -> 'outputs.TagInheritancePropertiesResponse':
|
|
75
|
+
"""
|
|
76
|
+
The properties of the tag inheritance setting.
|
|
77
|
+
"""
|
|
78
|
+
return pulumi.get(self, "properties")
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
@pulumi.getter
|
|
82
|
+
def type(self) -> str:
|
|
83
|
+
"""
|
|
84
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
85
|
+
"""
|
|
86
|
+
return pulumi.get(self, "type")
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
class AwaitableGetTagInheritanceSettingResult(GetTagInheritanceSettingResult):
|
|
90
|
+
# pylint: disable=using-constant-test
|
|
91
|
+
def __await__(self):
|
|
92
|
+
if False:
|
|
93
|
+
yield self
|
|
94
|
+
return GetTagInheritanceSettingResult(
|
|
95
|
+
id=self.id,
|
|
96
|
+
kind=self.kind,
|
|
97
|
+
name=self.name,
|
|
98
|
+
properties=self.properties,
|
|
99
|
+
type=self.type)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
def get_tag_inheritance_setting(scope: Optional[str] = None,
|
|
103
|
+
type: Optional[str] = None,
|
|
104
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTagInheritanceSettingResult:
|
|
105
|
+
"""
|
|
106
|
+
Get the setting from the given scope by name.
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
:param str scope: The scope associated with this setting. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billing profile scope.
|
|
110
|
+
:param str type: Setting type.
|
|
111
|
+
"""
|
|
112
|
+
__args__ = dict()
|
|
113
|
+
__args__['scope'] = scope
|
|
114
|
+
__args__['type'] = type
|
|
115
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
116
|
+
__ret__ = pulumi.runtime.invoke('azure-native:costmanagement/v20240801:getTagInheritanceSetting', __args__, opts=opts, typ=GetTagInheritanceSettingResult).value
|
|
117
|
+
|
|
118
|
+
return AwaitableGetTagInheritanceSettingResult(
|
|
119
|
+
id=pulumi.get(__ret__, 'id'),
|
|
120
|
+
kind=pulumi.get(__ret__, 'kind'),
|
|
121
|
+
name=pulumi.get(__ret__, 'name'),
|
|
122
|
+
properties=pulumi.get(__ret__, 'properties'),
|
|
123
|
+
type=pulumi.get(__ret__, 'type'))
|
|
124
|
+
def get_tag_inheritance_setting_output(scope: Optional[pulumi.Input[str]] = None,
|
|
125
|
+
type: Optional[pulumi.Input[str]] = None,
|
|
126
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTagInheritanceSettingResult]:
|
|
127
|
+
"""
|
|
128
|
+
Get the setting from the given scope by name.
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
:param str scope: The scope associated with this setting. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billing profile scope.
|
|
132
|
+
:param str type: Setting type.
|
|
133
|
+
"""
|
|
134
|
+
__args__ = dict()
|
|
135
|
+
__args__['scope'] = scope
|
|
136
|
+
__args__['type'] = type
|
|
137
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
138
|
+
__ret__ = pulumi.runtime.invoke_output('azure-native:costmanagement/v20240801:getTagInheritanceSetting', __args__, opts=opts, typ=GetTagInheritanceSettingResult)
|
|
139
|
+
return __ret__.apply(lambda __response__: GetTagInheritanceSettingResult(
|
|
140
|
+
id=pulumi.get(__response__, 'id'),
|
|
141
|
+
kind=pulumi.get(__response__, 'kind'),
|
|
142
|
+
name=pulumi.get(__response__, 'name'),
|
|
143
|
+
properties=pulumi.get(__response__, 'properties'),
|
|
144
|
+
type=pulumi.get(__response__, 'type')))
|