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,425 +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__ = ['ScheduledActionArgs', 'ScheduledAction']
|
|
21
|
-
|
|
22
|
-
@pulumi.input_type
|
|
23
|
-
class ScheduledActionArgs:
|
|
24
|
-
def __init__(__self__, *,
|
|
25
|
-
display_name: pulumi.Input[str],
|
|
26
|
-
notification: pulumi.Input['NotificationPropertiesArgs'],
|
|
27
|
-
schedule: pulumi.Input['SchedulePropertiesArgs'],
|
|
28
|
-
status: pulumi.Input[Union[str, 'ScheduledActionStatus']],
|
|
29
|
-
view_id: pulumi.Input[str],
|
|
30
|
-
file_destination: Optional[pulumi.Input['FileDestinationArgs']] = None,
|
|
31
|
-
kind: Optional[pulumi.Input[Union[str, 'ScheduledActionKind']]] = None,
|
|
32
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
33
|
-
notification_email: Optional[pulumi.Input[str]] = None,
|
|
34
|
-
scope: Optional[pulumi.Input[str]] = None):
|
|
35
|
-
"""
|
|
36
|
-
The set of arguments for constructing a ScheduledAction resource.
|
|
37
|
-
:param pulumi.Input[str] display_name: Scheduled action name.
|
|
38
|
-
:param pulumi.Input['NotificationPropertiesArgs'] notification: Notification properties based on scheduled action kind.
|
|
39
|
-
:param pulumi.Input['SchedulePropertiesArgs'] schedule: Schedule of the scheduled action.
|
|
40
|
-
:param pulumi.Input[Union[str, 'ScheduledActionStatus']] status: Status of the scheduled action.
|
|
41
|
-
:param pulumi.Input[str] view_id: Cost analysis viewId used for scheduled action. For example, '/providers/Microsoft.CostManagement/views/swaggerExample'
|
|
42
|
-
:param pulumi.Input['FileDestinationArgs'] file_destination: Destination format of the view data. This is optional.
|
|
43
|
-
:param pulumi.Input[Union[str, 'ScheduledActionKind']] kind: Kind of the scheduled action.
|
|
44
|
-
:param pulumi.Input[str] name: Scheduled action name.
|
|
45
|
-
:param pulumi.Input[str] notification_email: Email address of the point of contact that should get the unsubscribe requests and notification emails.
|
|
46
|
-
:param pulumi.Input[str] scope: 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.
|
|
47
|
-
"""
|
|
48
|
-
pulumi.set(__self__, "display_name", display_name)
|
|
49
|
-
pulumi.set(__self__, "notification", notification)
|
|
50
|
-
pulumi.set(__self__, "schedule", schedule)
|
|
51
|
-
pulumi.set(__self__, "status", status)
|
|
52
|
-
pulumi.set(__self__, "view_id", view_id)
|
|
53
|
-
if file_destination is not None:
|
|
54
|
-
pulumi.set(__self__, "file_destination", file_destination)
|
|
55
|
-
if kind is not None:
|
|
56
|
-
pulumi.set(__self__, "kind", kind)
|
|
57
|
-
if name is not None:
|
|
58
|
-
pulumi.set(__self__, "name", name)
|
|
59
|
-
if notification_email is not None:
|
|
60
|
-
pulumi.set(__self__, "notification_email", notification_email)
|
|
61
|
-
if scope is not None:
|
|
62
|
-
pulumi.set(__self__, "scope", scope)
|
|
63
|
-
|
|
64
|
-
@property
|
|
65
|
-
@pulumi.getter(name="displayName")
|
|
66
|
-
def display_name(self) -> pulumi.Input[str]:
|
|
67
|
-
"""
|
|
68
|
-
Scheduled action name.
|
|
69
|
-
"""
|
|
70
|
-
return pulumi.get(self, "display_name")
|
|
71
|
-
|
|
72
|
-
@display_name.setter
|
|
73
|
-
def display_name(self, value: pulumi.Input[str]):
|
|
74
|
-
pulumi.set(self, "display_name", value)
|
|
75
|
-
|
|
76
|
-
@property
|
|
77
|
-
@pulumi.getter
|
|
78
|
-
def notification(self) -> pulumi.Input['NotificationPropertiesArgs']:
|
|
79
|
-
"""
|
|
80
|
-
Notification properties based on scheduled action kind.
|
|
81
|
-
"""
|
|
82
|
-
return pulumi.get(self, "notification")
|
|
83
|
-
|
|
84
|
-
@notification.setter
|
|
85
|
-
def notification(self, value: pulumi.Input['NotificationPropertiesArgs']):
|
|
86
|
-
pulumi.set(self, "notification", value)
|
|
87
|
-
|
|
88
|
-
@property
|
|
89
|
-
@pulumi.getter
|
|
90
|
-
def schedule(self) -> pulumi.Input['SchedulePropertiesArgs']:
|
|
91
|
-
"""
|
|
92
|
-
Schedule of the scheduled action.
|
|
93
|
-
"""
|
|
94
|
-
return pulumi.get(self, "schedule")
|
|
95
|
-
|
|
96
|
-
@schedule.setter
|
|
97
|
-
def schedule(self, value: pulumi.Input['SchedulePropertiesArgs']):
|
|
98
|
-
pulumi.set(self, "schedule", value)
|
|
99
|
-
|
|
100
|
-
@property
|
|
101
|
-
@pulumi.getter
|
|
102
|
-
def status(self) -> pulumi.Input[Union[str, 'ScheduledActionStatus']]:
|
|
103
|
-
"""
|
|
104
|
-
Status of the scheduled action.
|
|
105
|
-
"""
|
|
106
|
-
return pulumi.get(self, "status")
|
|
107
|
-
|
|
108
|
-
@status.setter
|
|
109
|
-
def status(self, value: pulumi.Input[Union[str, 'ScheduledActionStatus']]):
|
|
110
|
-
pulumi.set(self, "status", value)
|
|
111
|
-
|
|
112
|
-
@property
|
|
113
|
-
@pulumi.getter(name="viewId")
|
|
114
|
-
def view_id(self) -> pulumi.Input[str]:
|
|
115
|
-
"""
|
|
116
|
-
Cost analysis viewId used for scheduled action. For example, '/providers/Microsoft.CostManagement/views/swaggerExample'
|
|
117
|
-
"""
|
|
118
|
-
return pulumi.get(self, "view_id")
|
|
119
|
-
|
|
120
|
-
@view_id.setter
|
|
121
|
-
def view_id(self, value: pulumi.Input[str]):
|
|
122
|
-
pulumi.set(self, "view_id", value)
|
|
123
|
-
|
|
124
|
-
@property
|
|
125
|
-
@pulumi.getter(name="fileDestination")
|
|
126
|
-
def file_destination(self) -> Optional[pulumi.Input['FileDestinationArgs']]:
|
|
127
|
-
"""
|
|
128
|
-
Destination format of the view data. This is optional.
|
|
129
|
-
"""
|
|
130
|
-
return pulumi.get(self, "file_destination")
|
|
131
|
-
|
|
132
|
-
@file_destination.setter
|
|
133
|
-
def file_destination(self, value: Optional[pulumi.Input['FileDestinationArgs']]):
|
|
134
|
-
pulumi.set(self, "file_destination", value)
|
|
135
|
-
|
|
136
|
-
@property
|
|
137
|
-
@pulumi.getter
|
|
138
|
-
def kind(self) -> Optional[pulumi.Input[Union[str, 'ScheduledActionKind']]]:
|
|
139
|
-
"""
|
|
140
|
-
Kind of the scheduled action.
|
|
141
|
-
"""
|
|
142
|
-
return pulumi.get(self, "kind")
|
|
143
|
-
|
|
144
|
-
@kind.setter
|
|
145
|
-
def kind(self, value: Optional[pulumi.Input[Union[str, 'ScheduledActionKind']]]):
|
|
146
|
-
pulumi.set(self, "kind", value)
|
|
147
|
-
|
|
148
|
-
@property
|
|
149
|
-
@pulumi.getter
|
|
150
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
151
|
-
"""
|
|
152
|
-
Scheduled action name.
|
|
153
|
-
"""
|
|
154
|
-
return pulumi.get(self, "name")
|
|
155
|
-
|
|
156
|
-
@name.setter
|
|
157
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
158
|
-
pulumi.set(self, "name", value)
|
|
159
|
-
|
|
160
|
-
@property
|
|
161
|
-
@pulumi.getter(name="notificationEmail")
|
|
162
|
-
def notification_email(self) -> Optional[pulumi.Input[str]]:
|
|
163
|
-
"""
|
|
164
|
-
Email address of the point of contact that should get the unsubscribe requests and notification emails.
|
|
165
|
-
"""
|
|
166
|
-
return pulumi.get(self, "notification_email")
|
|
167
|
-
|
|
168
|
-
@notification_email.setter
|
|
169
|
-
def notification_email(self, value: Optional[pulumi.Input[str]]):
|
|
170
|
-
pulumi.set(self, "notification_email", value)
|
|
171
|
-
|
|
172
|
-
@property
|
|
173
|
-
@pulumi.getter
|
|
174
|
-
def scope(self) -> Optional[pulumi.Input[str]]:
|
|
175
|
-
"""
|
|
176
|
-
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.
|
|
177
|
-
"""
|
|
178
|
-
return pulumi.get(self, "scope")
|
|
179
|
-
|
|
180
|
-
@scope.setter
|
|
181
|
-
def scope(self, value: Optional[pulumi.Input[str]]):
|
|
182
|
-
pulumi.set(self, "scope", value)
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
class ScheduledAction(pulumi.CustomResource):
|
|
186
|
-
@overload
|
|
187
|
-
def __init__(__self__,
|
|
188
|
-
resource_name: str,
|
|
189
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
190
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
|
191
|
-
file_destination: Optional[pulumi.Input[Union['FileDestinationArgs', 'FileDestinationArgsDict']]] = None,
|
|
192
|
-
kind: Optional[pulumi.Input[Union[str, 'ScheduledActionKind']]] = None,
|
|
193
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
194
|
-
notification: Optional[pulumi.Input[Union['NotificationPropertiesArgs', 'NotificationPropertiesArgsDict']]] = None,
|
|
195
|
-
notification_email: Optional[pulumi.Input[str]] = None,
|
|
196
|
-
schedule: Optional[pulumi.Input[Union['SchedulePropertiesArgs', 'SchedulePropertiesArgsDict']]] = None,
|
|
197
|
-
scope: Optional[pulumi.Input[str]] = None,
|
|
198
|
-
status: Optional[pulumi.Input[Union[str, 'ScheduledActionStatus']]] = None,
|
|
199
|
-
view_id: Optional[pulumi.Input[str]] = None,
|
|
200
|
-
__props__=None):
|
|
201
|
-
"""
|
|
202
|
-
Scheduled action definition.
|
|
203
|
-
|
|
204
|
-
:param str resource_name: The name of the resource.
|
|
205
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
206
|
-
:param pulumi.Input[str] display_name: Scheduled action name.
|
|
207
|
-
:param pulumi.Input[Union['FileDestinationArgs', 'FileDestinationArgsDict']] file_destination: Destination format of the view data. This is optional.
|
|
208
|
-
:param pulumi.Input[Union[str, 'ScheduledActionKind']] kind: Kind of the scheduled action.
|
|
209
|
-
:param pulumi.Input[str] name: Scheduled action name.
|
|
210
|
-
:param pulumi.Input[Union['NotificationPropertiesArgs', 'NotificationPropertiesArgsDict']] notification: Notification properties based on scheduled action kind.
|
|
211
|
-
:param pulumi.Input[str] notification_email: Email address of the point of contact that should get the unsubscribe requests and notification emails.
|
|
212
|
-
:param pulumi.Input[Union['SchedulePropertiesArgs', 'SchedulePropertiesArgsDict']] schedule: Schedule of the scheduled action.
|
|
213
|
-
:param pulumi.Input[str] scope: 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.
|
|
214
|
-
:param pulumi.Input[Union[str, 'ScheduledActionStatus']] status: Status of the scheduled action.
|
|
215
|
-
:param pulumi.Input[str] view_id: Cost analysis viewId used for scheduled action. For example, '/providers/Microsoft.CostManagement/views/swaggerExample'
|
|
216
|
-
"""
|
|
217
|
-
...
|
|
218
|
-
@overload
|
|
219
|
-
def __init__(__self__,
|
|
220
|
-
resource_name: str,
|
|
221
|
-
args: ScheduledActionArgs,
|
|
222
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
|
223
|
-
"""
|
|
224
|
-
Scheduled action definition.
|
|
225
|
-
|
|
226
|
-
:param str resource_name: The name of the resource.
|
|
227
|
-
:param ScheduledActionArgs args: The arguments to use to populate this resource's properties.
|
|
228
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
229
|
-
"""
|
|
230
|
-
...
|
|
231
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
232
|
-
resource_args, opts = _utilities.get_resource_args_opts(ScheduledActionArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
233
|
-
if resource_args is not None:
|
|
234
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
235
|
-
else:
|
|
236
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
|
237
|
-
|
|
238
|
-
def _internal_init(__self__,
|
|
239
|
-
resource_name: str,
|
|
240
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
241
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
|
242
|
-
file_destination: Optional[pulumi.Input[Union['FileDestinationArgs', 'FileDestinationArgsDict']]] = None,
|
|
243
|
-
kind: Optional[pulumi.Input[Union[str, 'ScheduledActionKind']]] = None,
|
|
244
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
245
|
-
notification: Optional[pulumi.Input[Union['NotificationPropertiesArgs', 'NotificationPropertiesArgsDict']]] = None,
|
|
246
|
-
notification_email: Optional[pulumi.Input[str]] = None,
|
|
247
|
-
schedule: Optional[pulumi.Input[Union['SchedulePropertiesArgs', 'SchedulePropertiesArgsDict']]] = None,
|
|
248
|
-
scope: Optional[pulumi.Input[str]] = None,
|
|
249
|
-
status: Optional[pulumi.Input[Union[str, 'ScheduledActionStatus']]] = None,
|
|
250
|
-
view_id: Optional[pulumi.Input[str]] = None,
|
|
251
|
-
__props__=None):
|
|
252
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
253
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
|
254
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
255
|
-
if opts.id is None:
|
|
256
|
-
if __props__ is not None:
|
|
257
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
258
|
-
__props__ = ScheduledActionArgs.__new__(ScheduledActionArgs)
|
|
259
|
-
|
|
260
|
-
if display_name is None and not opts.urn:
|
|
261
|
-
raise TypeError("Missing required property 'display_name'")
|
|
262
|
-
__props__.__dict__["display_name"] = display_name
|
|
263
|
-
__props__.__dict__["file_destination"] = file_destination
|
|
264
|
-
__props__.__dict__["kind"] = kind
|
|
265
|
-
__props__.__dict__["name"] = name
|
|
266
|
-
if notification is None and not opts.urn:
|
|
267
|
-
raise TypeError("Missing required property 'notification'")
|
|
268
|
-
__props__.__dict__["notification"] = notification
|
|
269
|
-
__props__.__dict__["notification_email"] = notification_email
|
|
270
|
-
if schedule is None and not opts.urn:
|
|
271
|
-
raise TypeError("Missing required property 'schedule'")
|
|
272
|
-
__props__.__dict__["schedule"] = schedule
|
|
273
|
-
__props__.__dict__["scope"] = scope
|
|
274
|
-
if status is None and not opts.urn:
|
|
275
|
-
raise TypeError("Missing required property 'status'")
|
|
276
|
-
__props__.__dict__["status"] = status
|
|
277
|
-
if view_id is None and not opts.urn:
|
|
278
|
-
raise TypeError("Missing required property 'view_id'")
|
|
279
|
-
__props__.__dict__["view_id"] = view_id
|
|
280
|
-
__props__.__dict__["e_tag"] = None
|
|
281
|
-
__props__.__dict__["system_data"] = None
|
|
282
|
-
__props__.__dict__["type"] = None
|
|
283
|
-
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:costmanagement:ScheduledAction"), pulumi.Alias(type_="azure-native:costmanagement/v20220401preview:ScheduledAction"), pulumi.Alias(type_="azure-native:costmanagement/v20220601preview:ScheduledAction"), pulumi.Alias(type_="azure-native:costmanagement/v20221001:ScheduledAction"), pulumi.Alias(type_="azure-native:costmanagement/v20230301:ScheduledAction"), pulumi.Alias(type_="azure-native:costmanagement/v20230401preview:ScheduledAction"), pulumi.Alias(type_="azure-native:costmanagement/v20230701preview:ScheduledAction"), pulumi.Alias(type_="azure-native:costmanagement/v20230801:ScheduledAction"), pulumi.Alias(type_="azure-native:costmanagement/v20230901:ScheduledAction"), pulumi.Alias(type_="azure-native:costmanagement/v20231101:ScheduledAction")])
|
|
284
|
-
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
285
|
-
super(ScheduledAction, __self__).__init__(
|
|
286
|
-
'azure-native:costmanagement/v20240801:ScheduledAction',
|
|
287
|
-
resource_name,
|
|
288
|
-
__props__,
|
|
289
|
-
opts)
|
|
290
|
-
|
|
291
|
-
@staticmethod
|
|
292
|
-
def get(resource_name: str,
|
|
293
|
-
id: pulumi.Input[str],
|
|
294
|
-
opts: Optional[pulumi.ResourceOptions] = None) -> 'ScheduledAction':
|
|
295
|
-
"""
|
|
296
|
-
Get an existing ScheduledAction resource's state with the given name, id, and optional extra
|
|
297
|
-
properties used to qualify the lookup.
|
|
298
|
-
|
|
299
|
-
:param str resource_name: The unique name of the resulting resource.
|
|
300
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
301
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
302
|
-
"""
|
|
303
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
304
|
-
|
|
305
|
-
__props__ = ScheduledActionArgs.__new__(ScheduledActionArgs)
|
|
306
|
-
|
|
307
|
-
__props__.__dict__["display_name"] = None
|
|
308
|
-
__props__.__dict__["e_tag"] = None
|
|
309
|
-
__props__.__dict__["file_destination"] = None
|
|
310
|
-
__props__.__dict__["kind"] = None
|
|
311
|
-
__props__.__dict__["name"] = None
|
|
312
|
-
__props__.__dict__["notification"] = None
|
|
313
|
-
__props__.__dict__["notification_email"] = None
|
|
314
|
-
__props__.__dict__["schedule"] = None
|
|
315
|
-
__props__.__dict__["scope"] = None
|
|
316
|
-
__props__.__dict__["status"] = None
|
|
317
|
-
__props__.__dict__["system_data"] = None
|
|
318
|
-
__props__.__dict__["type"] = None
|
|
319
|
-
__props__.__dict__["view_id"] = None
|
|
320
|
-
return ScheduledAction(resource_name, opts=opts, __props__=__props__)
|
|
321
|
-
|
|
322
|
-
@property
|
|
323
|
-
@pulumi.getter(name="displayName")
|
|
324
|
-
def display_name(self) -> pulumi.Output[str]:
|
|
325
|
-
"""
|
|
326
|
-
Scheduled action name.
|
|
327
|
-
"""
|
|
328
|
-
return pulumi.get(self, "display_name")
|
|
329
|
-
|
|
330
|
-
@property
|
|
331
|
-
@pulumi.getter(name="eTag")
|
|
332
|
-
def e_tag(self) -> pulumi.Output[str]:
|
|
333
|
-
"""
|
|
334
|
-
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.
|
|
335
|
-
"""
|
|
336
|
-
return pulumi.get(self, "e_tag")
|
|
337
|
-
|
|
338
|
-
@property
|
|
339
|
-
@pulumi.getter(name="fileDestination")
|
|
340
|
-
def file_destination(self) -> pulumi.Output[Optional['outputs.FileDestinationResponse']]:
|
|
341
|
-
"""
|
|
342
|
-
Destination format of the view data. This is optional.
|
|
343
|
-
"""
|
|
344
|
-
return pulumi.get(self, "file_destination")
|
|
345
|
-
|
|
346
|
-
@property
|
|
347
|
-
@pulumi.getter
|
|
348
|
-
def kind(self) -> pulumi.Output[Optional[str]]:
|
|
349
|
-
"""
|
|
350
|
-
Kind of the scheduled action.
|
|
351
|
-
"""
|
|
352
|
-
return pulumi.get(self, "kind")
|
|
353
|
-
|
|
354
|
-
@property
|
|
355
|
-
@pulumi.getter
|
|
356
|
-
def name(self) -> pulumi.Output[str]:
|
|
357
|
-
"""
|
|
358
|
-
The name of the resource
|
|
359
|
-
"""
|
|
360
|
-
return pulumi.get(self, "name")
|
|
361
|
-
|
|
362
|
-
@property
|
|
363
|
-
@pulumi.getter
|
|
364
|
-
def notification(self) -> pulumi.Output['outputs.NotificationPropertiesResponse']:
|
|
365
|
-
"""
|
|
366
|
-
Notification properties based on scheduled action kind.
|
|
367
|
-
"""
|
|
368
|
-
return pulumi.get(self, "notification")
|
|
369
|
-
|
|
370
|
-
@property
|
|
371
|
-
@pulumi.getter(name="notificationEmail")
|
|
372
|
-
def notification_email(self) -> pulumi.Output[Optional[str]]:
|
|
373
|
-
"""
|
|
374
|
-
Email address of the point of contact that should get the unsubscribe requests and notification emails.
|
|
375
|
-
"""
|
|
376
|
-
return pulumi.get(self, "notification_email")
|
|
377
|
-
|
|
378
|
-
@property
|
|
379
|
-
@pulumi.getter
|
|
380
|
-
def schedule(self) -> pulumi.Output['outputs.SchedulePropertiesResponse']:
|
|
381
|
-
"""
|
|
382
|
-
Schedule of the scheduled action.
|
|
383
|
-
"""
|
|
384
|
-
return pulumi.get(self, "schedule")
|
|
385
|
-
|
|
386
|
-
@property
|
|
387
|
-
@pulumi.getter
|
|
388
|
-
def scope(self) -> pulumi.Output[Optional[str]]:
|
|
389
|
-
"""
|
|
390
|
-
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.
|
|
391
|
-
"""
|
|
392
|
-
return pulumi.get(self, "scope")
|
|
393
|
-
|
|
394
|
-
@property
|
|
395
|
-
@pulumi.getter
|
|
396
|
-
def status(self) -> pulumi.Output[str]:
|
|
397
|
-
"""
|
|
398
|
-
Status of the scheduled action.
|
|
399
|
-
"""
|
|
400
|
-
return pulumi.get(self, "status")
|
|
401
|
-
|
|
402
|
-
@property
|
|
403
|
-
@pulumi.getter(name="systemData")
|
|
404
|
-
def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
|
|
405
|
-
"""
|
|
406
|
-
Kind of the scheduled action.
|
|
407
|
-
"""
|
|
408
|
-
return pulumi.get(self, "system_data")
|
|
409
|
-
|
|
410
|
-
@property
|
|
411
|
-
@pulumi.getter
|
|
412
|
-
def type(self) -> pulumi.Output[str]:
|
|
413
|
-
"""
|
|
414
|
-
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
415
|
-
"""
|
|
416
|
-
return pulumi.get(self, "type")
|
|
417
|
-
|
|
418
|
-
@property
|
|
419
|
-
@pulumi.getter(name="viewId")
|
|
420
|
-
def view_id(self) -> pulumi.Output[str]:
|
|
421
|
-
"""
|
|
422
|
-
Cost analysis viewId used for scheduled action. For example, '/providers/Microsoft.CostManagement/views/swaggerExample'
|
|
423
|
-
"""
|
|
424
|
-
return pulumi.get(self, "view_id")
|
|
425
|
-
|