pulumi-azure-native 2.79.0a1734514969__py3-none-any.whl → 2.79.0a1734933929__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 +46 -0
- pulumi_azure_native/azurefleet/_enums.py +2 -2
- pulumi_azure_native/azurefleet/_inputs.py +71 -71
- pulumi_azure_native/azurefleet/outputs.py +42 -42
- pulumi_azure_native/azurefleet/v20231101preview/_enums.py +2 -2
- pulumi_azure_native/azurefleet/v20231101preview/_inputs.py +71 -71
- pulumi_azure_native/azurefleet/v20231101preview/outputs.py +42 -42
- pulumi_azure_native/azurefleet/v20240501preview/_enums.py +2 -2
- pulumi_azure_native/azurefleet/v20240501preview/_inputs.py +71 -71
- pulumi_azure_native/azurefleet/v20240501preview/outputs.py +42 -42
- pulumi_azure_native/azurefleet/v20241101/_enums.py +2 -2
- pulumi_azure_native/azurefleet/v20241101/_inputs.py +71 -71
- pulumi_azure_native/azurefleet/v20241101/outputs.py +42 -42
- pulumi_azure_native/azurestackhci/v20240201preview/_inputs.py +3 -3
- pulumi_azure_native/azurestackhci/v20240201preview/outputs.py +2 -2
- pulumi_azure_native/azurestackhci/v20240501preview/_inputs.py +3 -3
- pulumi_azure_native/azurestackhci/v20240501preview/outputs.py +2 -2
- pulumi_azure_native/azurestackhci/v20240801preview/_inputs.py +3 -3
- pulumi_azure_native/azurestackhci/v20240801preview/outputs.py +2 -2
- pulumi_azure_native/compute/__init__.py +3 -0
- pulumi_azure_native/compute/cloud_service.py +5 -1
- pulumi_azure_native/compute/get_cloud_service.py +4 -0
- pulumi_azure_native/compute/v20220904/cloud_service.py +1 -1
- pulumi_azure_native/compute/v20241104/__init__.py +12 -0
- pulumi_azure_native/compute/v20241104/_enums.py +31 -0
- pulumi_azure_native/compute/v20241104/_inputs.py +1324 -0
- pulumi_azure_native/compute/v20241104/cloud_service.py +287 -0
- pulumi_azure_native/compute/v20241104/get_cloud_service.py +185 -0
- pulumi_azure_native/compute/v20241104/outputs.py +1082 -0
- pulumi_azure_native/datadog/__init__.py +7 -0
- pulumi_azure_native/datadog/get_billing_info.py +103 -0
- pulumi_azure_native/datadog/get_monitor.py +2 -2
- pulumi_azure_native/datadog/get_monitor_default_key.py +2 -2
- pulumi_azure_native/datadog/get_monitored_subscription.py +4 -0
- pulumi_azure_native/datadog/list_monitor_api_keys.py +2 -2
- pulumi_azure_native/datadog/list_monitor_hosts.py +2 -2
- pulumi_azure_native/datadog/list_monitor_linked_resources.py +2 -2
- pulumi_azure_native/datadog/list_monitor_monitored_resources.py +2 -2
- pulumi_azure_native/datadog/monitor.py +3 -3
- pulumi_azure_native/datadog/monitored_subscription.py +5 -1
- pulumi_azure_native/datadog/outputs.py +120 -0
- pulumi_azure_native/datadog/v20220601/monitor.py +1 -1
- pulumi_azure_native/datadog/v20220801/monitor.py +1 -1
- pulumi_azure_native/datadog/v20230101/_inputs.py +3 -3
- pulumi_azure_native/datadog/v20230101/monitor.py +1 -1
- pulumi_azure_native/datadog/v20230101/monitored_subscription.py +1 -1
- pulumi_azure_native/datadog/v20230101/outputs.py +2 -2
- pulumi_azure_native/datadog/v20230707/__init__.py +19 -0
- pulumi_azure_native/datadog/v20230707/_enums.py +58 -0
- pulumi_azure_native/datadog/v20230707/_inputs.py +911 -0
- pulumi_azure_native/datadog/v20230707/get_monitor.py +182 -0
- pulumi_azure_native/datadog/v20230707/get_monitor_default_key.py +123 -0
- pulumi_azure_native/datadog/v20230707/get_monitored_subscription.py +135 -0
- pulumi_azure_native/datadog/v20230707/list_monitor_api_keys.py +101 -0
- pulumi_azure_native/datadog/v20230707/list_monitor_hosts.py +101 -0
- pulumi_azure_native/datadog/v20230707/list_monitor_linked_resources.py +101 -0
- pulumi_azure_native/datadog/v20230707/list_monitor_monitored_resources.py +101 -0
- pulumi_azure_native/datadog/v20230707/monitor.py +282 -0
- pulumi_azure_native/datadog/v20230707/monitored_subscription.py +211 -0
- pulumi_azure_native/datadog/v20230707/outputs.py +1125 -0
- pulumi_azure_native/datadog/v20231020/__init__.py +20 -0
- pulumi_azure_native/datadog/v20231020/_enums.py +58 -0
- pulumi_azure_native/datadog/v20231020/_inputs.py +911 -0
- pulumi_azure_native/datadog/v20231020/get_billing_info.py +101 -0
- pulumi_azure_native/datadog/v20231020/get_monitor.py +182 -0
- pulumi_azure_native/datadog/v20231020/get_monitor_default_key.py +123 -0
- pulumi_azure_native/datadog/v20231020/get_monitored_subscription.py +135 -0
- pulumi_azure_native/datadog/v20231020/list_monitor_api_keys.py +101 -0
- pulumi_azure_native/datadog/v20231020/list_monitor_hosts.py +101 -0
- pulumi_azure_native/datadog/v20231020/list_monitor_linked_resources.py +101 -0
- pulumi_azure_native/datadog/v20231020/list_monitor_monitored_resources.py +101 -0
- pulumi_azure_native/datadog/v20231020/monitor.py +282 -0
- pulumi_azure_native/datadog/v20231020/monitored_subscription.py +211 -0
- pulumi_azure_native/datadog/v20231020/outputs.py +1257 -0
- pulumi_azure_native/datafactory/_inputs.py +6 -6
- pulumi_azure_native/datafactory/outputs.py +4 -4
- pulumi_azure_native/datafactory/v20180601/_inputs.py +6 -6
- pulumi_azure_native/datafactory/v20180601/outputs.py +4 -4
- pulumi_azure_native/pulumi-plugin.json +1 -1
- pulumi_azure_native/quota/__init__.py +3 -0
- pulumi_azure_native/quota/get_group_quota.py +2 -2
- pulumi_azure_native/quota/get_group_quota_subscription.py +2 -2
- pulumi_azure_native/quota/group_quota.py +3 -3
- pulumi_azure_native/quota/group_quota_subscription.py +3 -3
- pulumi_azure_native/quota/v20230601preview/group_quota.py +1 -1
- pulumi_azure_native/quota/v20230601preview/group_quota_subscription.py +1 -1
- pulumi_azure_native/quota/v20241015preview/group_quota.py +1 -1
- pulumi_azure_native/quota/v20241015preview/group_quota_subscription.py +1 -1
- pulumi_azure_native/quota/v20241218preview/__init__.py +13 -0
- pulumi_azure_native/quota/v20241218preview/_inputs.py +55 -0
- pulumi_azure_native/quota/v20241218preview/get_group_quota.py +140 -0
- pulumi_azure_native/quota/v20241218preview/get_group_quota_subscription.py +140 -0
- pulumi_azure_native/quota/v20241218preview/group_quota.py +191 -0
- pulumi_azure_native/quota/v20241218preview/group_quota_subscription.py +177 -0
- pulumi_azure_native/quota/v20241218preview/outputs.py +230 -0
- pulumi_azure_native/servicenetworking/__init__.py +3 -0
- pulumi_azure_native/servicenetworking/associations_interface.py +3 -3
- pulumi_azure_native/servicenetworking/frontends_interface.py +3 -3
- pulumi_azure_native/servicenetworking/get_associations_interface.py +2 -2
- pulumi_azure_native/servicenetworking/get_frontends_interface.py +2 -2
- pulumi_azure_native/servicenetworking/get_security_policies_interface.py +4 -0
- pulumi_azure_native/servicenetworking/get_traffic_controller_interface.py +2 -2
- pulumi_azure_native/servicenetworking/security_policies_interface.py +5 -1
- pulumi_azure_native/servicenetworking/traffic_controller_interface.py +3 -3
- pulumi_azure_native/servicenetworking/v20221001preview/associations_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20221001preview/frontends_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20221001preview/traffic_controller_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20230501preview/associations_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20230501preview/frontends_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20230501preview/traffic_controller_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20231101/associations_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20231101/frontends_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20231101/traffic_controller_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20240501preview/associations_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20240501preview/frontends_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20240501preview/security_policies_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20240501preview/traffic_controller_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20250101/__init__.py +18 -0
- pulumi_azure_native/servicenetworking/v20250101/_enums.py +19 -0
- pulumi_azure_native/servicenetworking/v20250101/_inputs.py +171 -0
- pulumi_azure_native/servicenetworking/v20250101/associations_interface.py +319 -0
- pulumi_azure_native/servicenetworking/v20250101/frontends_interface.py +268 -0
- pulumi_azure_native/servicenetworking/v20250101/get_associations_interface.py +205 -0
- pulumi_azure_native/servicenetworking/v20250101/get_frontends_interface.py +191 -0
- pulumi_azure_native/servicenetworking/v20250101/get_security_policies_interface.py +205 -0
- pulumi_azure_native/servicenetworking/v20250101/get_traffic_controller_interface.py +241 -0
- pulumi_azure_native/servicenetworking/v20250101/outputs.py +265 -0
- pulumi_azure_native/servicenetworking/v20250101/security_policies_interface.py +298 -0
- pulumi_azure_native/servicenetworking/v20250101/traffic_controller_interface.py +307 -0
- pulumi_azure_native/workloads/v20240901/_inputs.py +10 -10
- pulumi_azure_native/workloads/v20240901/outputs.py +8 -8
- {pulumi_azure_native-2.79.0a1734514969.dist-info → pulumi_azure_native-2.79.0a1734933929.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.79.0a1734514969.dist-info → pulumi_azure_native-2.79.0a1734933929.dist-info}/RECORD +135 -82
- {pulumi_azure_native-2.79.0a1734514969.dist-info → pulumi_azure_native-2.79.0a1734933929.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.79.0a1734514969.dist-info → pulumi_azure_native-2.79.0a1734933929.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,911 @@
|
|
|
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 ._enums import *
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'DatadogOrganizationPropertiesArgs',
|
|
20
|
+
'DatadogOrganizationPropertiesArgsDict',
|
|
21
|
+
'FilteringTagArgs',
|
|
22
|
+
'FilteringTagArgsDict',
|
|
23
|
+
'IdentityPropertiesArgs',
|
|
24
|
+
'IdentityPropertiesArgsDict',
|
|
25
|
+
'LogRulesArgs',
|
|
26
|
+
'LogRulesArgsDict',
|
|
27
|
+
'MetricRulesArgs',
|
|
28
|
+
'MetricRulesArgsDict',
|
|
29
|
+
'MonitorPropertiesArgs',
|
|
30
|
+
'MonitorPropertiesArgsDict',
|
|
31
|
+
'MonitoredSubscriptionArgs',
|
|
32
|
+
'MonitoredSubscriptionArgsDict',
|
|
33
|
+
'MonitoringTagRulesPropertiesArgs',
|
|
34
|
+
'MonitoringTagRulesPropertiesArgsDict',
|
|
35
|
+
'ResourceSkuArgs',
|
|
36
|
+
'ResourceSkuArgsDict',
|
|
37
|
+
'SubscriptionListArgs',
|
|
38
|
+
'SubscriptionListArgsDict',
|
|
39
|
+
'UserInfoArgs',
|
|
40
|
+
'UserInfoArgsDict',
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
MYPY = False
|
|
44
|
+
|
|
45
|
+
if not MYPY:
|
|
46
|
+
class DatadogOrganizationPropertiesArgsDict(TypedDict):
|
|
47
|
+
"""
|
|
48
|
+
Specify the Datadog organization name. In the case of linking to existing organizations, Id, ApiKey, and Applicationkey is required as well.
|
|
49
|
+
"""
|
|
50
|
+
api_key: NotRequired[pulumi.Input[str]]
|
|
51
|
+
"""
|
|
52
|
+
Api key associated to the Datadog organization.
|
|
53
|
+
"""
|
|
54
|
+
application_key: NotRequired[pulumi.Input[str]]
|
|
55
|
+
"""
|
|
56
|
+
Application key associated to the Datadog organization.
|
|
57
|
+
"""
|
|
58
|
+
cspm: NotRequired[pulumi.Input[bool]]
|
|
59
|
+
"""
|
|
60
|
+
The configuration which describes the state of cloud security posture management. This collects configuration information for all resources in a subscription and track conformance to industry benchmarks.
|
|
61
|
+
"""
|
|
62
|
+
enterprise_app_id: NotRequired[pulumi.Input[str]]
|
|
63
|
+
"""
|
|
64
|
+
The Id of the Enterprise App used for Single sign on.
|
|
65
|
+
"""
|
|
66
|
+
id: NotRequired[pulumi.Input[str]]
|
|
67
|
+
"""
|
|
68
|
+
Id of the Datadog organization.
|
|
69
|
+
"""
|
|
70
|
+
linking_auth_code: NotRequired[pulumi.Input[str]]
|
|
71
|
+
"""
|
|
72
|
+
The auth code used to linking to an existing Datadog organization.
|
|
73
|
+
"""
|
|
74
|
+
linking_client_id: NotRequired[pulumi.Input[str]]
|
|
75
|
+
"""
|
|
76
|
+
The client_id from an existing in exchange for an auth token to link organization.
|
|
77
|
+
"""
|
|
78
|
+
name: NotRequired[pulumi.Input[str]]
|
|
79
|
+
"""
|
|
80
|
+
Name of the Datadog organization.
|
|
81
|
+
"""
|
|
82
|
+
redirect_uri: NotRequired[pulumi.Input[str]]
|
|
83
|
+
"""
|
|
84
|
+
The redirect URI for linking.
|
|
85
|
+
"""
|
|
86
|
+
elif False:
|
|
87
|
+
DatadogOrganizationPropertiesArgsDict: TypeAlias = Mapping[str, Any]
|
|
88
|
+
|
|
89
|
+
@pulumi.input_type
|
|
90
|
+
class DatadogOrganizationPropertiesArgs:
|
|
91
|
+
def __init__(__self__, *,
|
|
92
|
+
api_key: Optional[pulumi.Input[str]] = None,
|
|
93
|
+
application_key: Optional[pulumi.Input[str]] = None,
|
|
94
|
+
cspm: Optional[pulumi.Input[bool]] = None,
|
|
95
|
+
enterprise_app_id: Optional[pulumi.Input[str]] = None,
|
|
96
|
+
id: Optional[pulumi.Input[str]] = None,
|
|
97
|
+
linking_auth_code: Optional[pulumi.Input[str]] = None,
|
|
98
|
+
linking_client_id: Optional[pulumi.Input[str]] = None,
|
|
99
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
100
|
+
redirect_uri: Optional[pulumi.Input[str]] = None):
|
|
101
|
+
"""
|
|
102
|
+
Specify the Datadog organization name. In the case of linking to existing organizations, Id, ApiKey, and Applicationkey is required as well.
|
|
103
|
+
:param pulumi.Input[str] api_key: Api key associated to the Datadog organization.
|
|
104
|
+
:param pulumi.Input[str] application_key: Application key associated to the Datadog organization.
|
|
105
|
+
:param pulumi.Input[bool] cspm: The configuration which describes the state of cloud security posture management. This collects configuration information for all resources in a subscription and track conformance to industry benchmarks.
|
|
106
|
+
:param pulumi.Input[str] enterprise_app_id: The Id of the Enterprise App used for Single sign on.
|
|
107
|
+
:param pulumi.Input[str] id: Id of the Datadog organization.
|
|
108
|
+
:param pulumi.Input[str] linking_auth_code: The auth code used to linking to an existing Datadog organization.
|
|
109
|
+
:param pulumi.Input[str] linking_client_id: The client_id from an existing in exchange for an auth token to link organization.
|
|
110
|
+
:param pulumi.Input[str] name: Name of the Datadog organization.
|
|
111
|
+
:param pulumi.Input[str] redirect_uri: The redirect URI for linking.
|
|
112
|
+
"""
|
|
113
|
+
if api_key is not None:
|
|
114
|
+
pulumi.set(__self__, "api_key", api_key)
|
|
115
|
+
if application_key is not None:
|
|
116
|
+
pulumi.set(__self__, "application_key", application_key)
|
|
117
|
+
if cspm is not None:
|
|
118
|
+
pulumi.set(__self__, "cspm", cspm)
|
|
119
|
+
if enterprise_app_id is not None:
|
|
120
|
+
pulumi.set(__self__, "enterprise_app_id", enterprise_app_id)
|
|
121
|
+
if id is not None:
|
|
122
|
+
pulumi.set(__self__, "id", id)
|
|
123
|
+
if linking_auth_code is not None:
|
|
124
|
+
pulumi.set(__self__, "linking_auth_code", linking_auth_code)
|
|
125
|
+
if linking_client_id is not None:
|
|
126
|
+
pulumi.set(__self__, "linking_client_id", linking_client_id)
|
|
127
|
+
if name is not None:
|
|
128
|
+
pulumi.set(__self__, "name", name)
|
|
129
|
+
if redirect_uri is not None:
|
|
130
|
+
pulumi.set(__self__, "redirect_uri", redirect_uri)
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
@pulumi.getter(name="apiKey")
|
|
134
|
+
def api_key(self) -> Optional[pulumi.Input[str]]:
|
|
135
|
+
"""
|
|
136
|
+
Api key associated to the Datadog organization.
|
|
137
|
+
"""
|
|
138
|
+
return pulumi.get(self, "api_key")
|
|
139
|
+
|
|
140
|
+
@api_key.setter
|
|
141
|
+
def api_key(self, value: Optional[pulumi.Input[str]]):
|
|
142
|
+
pulumi.set(self, "api_key", value)
|
|
143
|
+
|
|
144
|
+
@property
|
|
145
|
+
@pulumi.getter(name="applicationKey")
|
|
146
|
+
def application_key(self) -> Optional[pulumi.Input[str]]:
|
|
147
|
+
"""
|
|
148
|
+
Application key associated to the Datadog organization.
|
|
149
|
+
"""
|
|
150
|
+
return pulumi.get(self, "application_key")
|
|
151
|
+
|
|
152
|
+
@application_key.setter
|
|
153
|
+
def application_key(self, value: Optional[pulumi.Input[str]]):
|
|
154
|
+
pulumi.set(self, "application_key", value)
|
|
155
|
+
|
|
156
|
+
@property
|
|
157
|
+
@pulumi.getter
|
|
158
|
+
def cspm(self) -> Optional[pulumi.Input[bool]]:
|
|
159
|
+
"""
|
|
160
|
+
The configuration which describes the state of cloud security posture management. This collects configuration information for all resources in a subscription and track conformance to industry benchmarks.
|
|
161
|
+
"""
|
|
162
|
+
return pulumi.get(self, "cspm")
|
|
163
|
+
|
|
164
|
+
@cspm.setter
|
|
165
|
+
def cspm(self, value: Optional[pulumi.Input[bool]]):
|
|
166
|
+
pulumi.set(self, "cspm", value)
|
|
167
|
+
|
|
168
|
+
@property
|
|
169
|
+
@pulumi.getter(name="enterpriseAppId")
|
|
170
|
+
def enterprise_app_id(self) -> Optional[pulumi.Input[str]]:
|
|
171
|
+
"""
|
|
172
|
+
The Id of the Enterprise App used for Single sign on.
|
|
173
|
+
"""
|
|
174
|
+
return pulumi.get(self, "enterprise_app_id")
|
|
175
|
+
|
|
176
|
+
@enterprise_app_id.setter
|
|
177
|
+
def enterprise_app_id(self, value: Optional[pulumi.Input[str]]):
|
|
178
|
+
pulumi.set(self, "enterprise_app_id", value)
|
|
179
|
+
|
|
180
|
+
@property
|
|
181
|
+
@pulumi.getter
|
|
182
|
+
def id(self) -> Optional[pulumi.Input[str]]:
|
|
183
|
+
"""
|
|
184
|
+
Id of the Datadog organization.
|
|
185
|
+
"""
|
|
186
|
+
return pulumi.get(self, "id")
|
|
187
|
+
|
|
188
|
+
@id.setter
|
|
189
|
+
def id(self, value: Optional[pulumi.Input[str]]):
|
|
190
|
+
pulumi.set(self, "id", value)
|
|
191
|
+
|
|
192
|
+
@property
|
|
193
|
+
@pulumi.getter(name="linkingAuthCode")
|
|
194
|
+
def linking_auth_code(self) -> Optional[pulumi.Input[str]]:
|
|
195
|
+
"""
|
|
196
|
+
The auth code used to linking to an existing Datadog organization.
|
|
197
|
+
"""
|
|
198
|
+
return pulumi.get(self, "linking_auth_code")
|
|
199
|
+
|
|
200
|
+
@linking_auth_code.setter
|
|
201
|
+
def linking_auth_code(self, value: Optional[pulumi.Input[str]]):
|
|
202
|
+
pulumi.set(self, "linking_auth_code", value)
|
|
203
|
+
|
|
204
|
+
@property
|
|
205
|
+
@pulumi.getter(name="linkingClientId")
|
|
206
|
+
def linking_client_id(self) -> Optional[pulumi.Input[str]]:
|
|
207
|
+
"""
|
|
208
|
+
The client_id from an existing in exchange for an auth token to link organization.
|
|
209
|
+
"""
|
|
210
|
+
return pulumi.get(self, "linking_client_id")
|
|
211
|
+
|
|
212
|
+
@linking_client_id.setter
|
|
213
|
+
def linking_client_id(self, value: Optional[pulumi.Input[str]]):
|
|
214
|
+
pulumi.set(self, "linking_client_id", value)
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
@pulumi.getter
|
|
218
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
219
|
+
"""
|
|
220
|
+
Name of the Datadog organization.
|
|
221
|
+
"""
|
|
222
|
+
return pulumi.get(self, "name")
|
|
223
|
+
|
|
224
|
+
@name.setter
|
|
225
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
226
|
+
pulumi.set(self, "name", value)
|
|
227
|
+
|
|
228
|
+
@property
|
|
229
|
+
@pulumi.getter(name="redirectUri")
|
|
230
|
+
def redirect_uri(self) -> Optional[pulumi.Input[str]]:
|
|
231
|
+
"""
|
|
232
|
+
The redirect URI for linking.
|
|
233
|
+
"""
|
|
234
|
+
return pulumi.get(self, "redirect_uri")
|
|
235
|
+
|
|
236
|
+
@redirect_uri.setter
|
|
237
|
+
def redirect_uri(self, value: Optional[pulumi.Input[str]]):
|
|
238
|
+
pulumi.set(self, "redirect_uri", value)
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
if not MYPY:
|
|
242
|
+
class FilteringTagArgsDict(TypedDict):
|
|
243
|
+
"""
|
|
244
|
+
The definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them from being monitored.
|
|
245
|
+
"""
|
|
246
|
+
action: NotRequired[pulumi.Input[Union[str, 'TagAction']]]
|
|
247
|
+
"""
|
|
248
|
+
Valid actions for a filtering tag. Exclusion takes priority over inclusion.
|
|
249
|
+
"""
|
|
250
|
+
name: NotRequired[pulumi.Input[str]]
|
|
251
|
+
"""
|
|
252
|
+
The name (also known as the key) of the tag.
|
|
253
|
+
"""
|
|
254
|
+
value: NotRequired[pulumi.Input[str]]
|
|
255
|
+
"""
|
|
256
|
+
The value of the tag.
|
|
257
|
+
"""
|
|
258
|
+
elif False:
|
|
259
|
+
FilteringTagArgsDict: TypeAlias = Mapping[str, Any]
|
|
260
|
+
|
|
261
|
+
@pulumi.input_type
|
|
262
|
+
class FilteringTagArgs:
|
|
263
|
+
def __init__(__self__, *,
|
|
264
|
+
action: Optional[pulumi.Input[Union[str, 'TagAction']]] = None,
|
|
265
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
266
|
+
value: Optional[pulumi.Input[str]] = None):
|
|
267
|
+
"""
|
|
268
|
+
The definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them from being monitored.
|
|
269
|
+
:param pulumi.Input[Union[str, 'TagAction']] action: Valid actions for a filtering tag. Exclusion takes priority over inclusion.
|
|
270
|
+
:param pulumi.Input[str] name: The name (also known as the key) of the tag.
|
|
271
|
+
:param pulumi.Input[str] value: The value of the tag.
|
|
272
|
+
"""
|
|
273
|
+
if action is not None:
|
|
274
|
+
pulumi.set(__self__, "action", action)
|
|
275
|
+
if name is not None:
|
|
276
|
+
pulumi.set(__self__, "name", name)
|
|
277
|
+
if value is not None:
|
|
278
|
+
pulumi.set(__self__, "value", value)
|
|
279
|
+
|
|
280
|
+
@property
|
|
281
|
+
@pulumi.getter
|
|
282
|
+
def action(self) -> Optional[pulumi.Input[Union[str, 'TagAction']]]:
|
|
283
|
+
"""
|
|
284
|
+
Valid actions for a filtering tag. Exclusion takes priority over inclusion.
|
|
285
|
+
"""
|
|
286
|
+
return pulumi.get(self, "action")
|
|
287
|
+
|
|
288
|
+
@action.setter
|
|
289
|
+
def action(self, value: Optional[pulumi.Input[Union[str, 'TagAction']]]):
|
|
290
|
+
pulumi.set(self, "action", value)
|
|
291
|
+
|
|
292
|
+
@property
|
|
293
|
+
@pulumi.getter
|
|
294
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
295
|
+
"""
|
|
296
|
+
The name (also known as the key) of the tag.
|
|
297
|
+
"""
|
|
298
|
+
return pulumi.get(self, "name")
|
|
299
|
+
|
|
300
|
+
@name.setter
|
|
301
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
302
|
+
pulumi.set(self, "name", value)
|
|
303
|
+
|
|
304
|
+
@property
|
|
305
|
+
@pulumi.getter
|
|
306
|
+
def value(self) -> Optional[pulumi.Input[str]]:
|
|
307
|
+
"""
|
|
308
|
+
The value of the tag.
|
|
309
|
+
"""
|
|
310
|
+
return pulumi.get(self, "value")
|
|
311
|
+
|
|
312
|
+
@value.setter
|
|
313
|
+
def value(self, value: Optional[pulumi.Input[str]]):
|
|
314
|
+
pulumi.set(self, "value", value)
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
if not MYPY:
|
|
318
|
+
class IdentityPropertiesArgsDict(TypedDict):
|
|
319
|
+
type: NotRequired[pulumi.Input[Union[str, 'ManagedIdentityTypes']]]
|
|
320
|
+
"""
|
|
321
|
+
Specifies the identity type of the Datadog Monitor. At this time the only allowed value is 'SystemAssigned'.
|
|
322
|
+
"""
|
|
323
|
+
elif False:
|
|
324
|
+
IdentityPropertiesArgsDict: TypeAlias = Mapping[str, Any]
|
|
325
|
+
|
|
326
|
+
@pulumi.input_type
|
|
327
|
+
class IdentityPropertiesArgs:
|
|
328
|
+
def __init__(__self__, *,
|
|
329
|
+
type: Optional[pulumi.Input[Union[str, 'ManagedIdentityTypes']]] = None):
|
|
330
|
+
"""
|
|
331
|
+
:param pulumi.Input[Union[str, 'ManagedIdentityTypes']] type: Specifies the identity type of the Datadog Monitor. At this time the only allowed value is 'SystemAssigned'.
|
|
332
|
+
"""
|
|
333
|
+
if type is not None:
|
|
334
|
+
pulumi.set(__self__, "type", type)
|
|
335
|
+
|
|
336
|
+
@property
|
|
337
|
+
@pulumi.getter
|
|
338
|
+
def type(self) -> Optional[pulumi.Input[Union[str, 'ManagedIdentityTypes']]]:
|
|
339
|
+
"""
|
|
340
|
+
Specifies the identity type of the Datadog Monitor. At this time the only allowed value is 'SystemAssigned'.
|
|
341
|
+
"""
|
|
342
|
+
return pulumi.get(self, "type")
|
|
343
|
+
|
|
344
|
+
@type.setter
|
|
345
|
+
def type(self, value: Optional[pulumi.Input[Union[str, 'ManagedIdentityTypes']]]):
|
|
346
|
+
pulumi.set(self, "type", value)
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
if not MYPY:
|
|
350
|
+
class LogRulesArgsDict(TypedDict):
|
|
351
|
+
"""
|
|
352
|
+
Set of rules for sending logs for the Monitor resource.
|
|
353
|
+
"""
|
|
354
|
+
filtering_tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilteringTagArgsDict']]]]
|
|
355
|
+
"""
|
|
356
|
+
List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
|
|
357
|
+
"""
|
|
358
|
+
send_aad_logs: NotRequired[pulumi.Input[bool]]
|
|
359
|
+
"""
|
|
360
|
+
Flag specifying if AAD logs should be sent for the Monitor resource.
|
|
361
|
+
"""
|
|
362
|
+
send_resource_logs: NotRequired[pulumi.Input[bool]]
|
|
363
|
+
"""
|
|
364
|
+
Flag specifying if Azure resource logs should be sent for the Monitor resource.
|
|
365
|
+
"""
|
|
366
|
+
send_subscription_logs: NotRequired[pulumi.Input[bool]]
|
|
367
|
+
"""
|
|
368
|
+
Flag specifying if Azure subscription logs should be sent for the Monitor resource.
|
|
369
|
+
"""
|
|
370
|
+
elif False:
|
|
371
|
+
LogRulesArgsDict: TypeAlias = Mapping[str, Any]
|
|
372
|
+
|
|
373
|
+
@pulumi.input_type
|
|
374
|
+
class LogRulesArgs:
|
|
375
|
+
def __init__(__self__, *,
|
|
376
|
+
filtering_tags: Optional[pulumi.Input[Sequence[pulumi.Input['FilteringTagArgs']]]] = None,
|
|
377
|
+
send_aad_logs: Optional[pulumi.Input[bool]] = None,
|
|
378
|
+
send_resource_logs: Optional[pulumi.Input[bool]] = None,
|
|
379
|
+
send_subscription_logs: Optional[pulumi.Input[bool]] = None):
|
|
380
|
+
"""
|
|
381
|
+
Set of rules for sending logs for the Monitor resource.
|
|
382
|
+
:param pulumi.Input[Sequence[pulumi.Input['FilteringTagArgs']]] filtering_tags: List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
|
|
383
|
+
:param pulumi.Input[bool] send_aad_logs: Flag specifying if AAD logs should be sent for the Monitor resource.
|
|
384
|
+
:param pulumi.Input[bool] send_resource_logs: Flag specifying if Azure resource logs should be sent for the Monitor resource.
|
|
385
|
+
:param pulumi.Input[bool] send_subscription_logs: Flag specifying if Azure subscription logs should be sent for the Monitor resource.
|
|
386
|
+
"""
|
|
387
|
+
if filtering_tags is not None:
|
|
388
|
+
pulumi.set(__self__, "filtering_tags", filtering_tags)
|
|
389
|
+
if send_aad_logs is not None:
|
|
390
|
+
pulumi.set(__self__, "send_aad_logs", send_aad_logs)
|
|
391
|
+
if send_resource_logs is not None:
|
|
392
|
+
pulumi.set(__self__, "send_resource_logs", send_resource_logs)
|
|
393
|
+
if send_subscription_logs is not None:
|
|
394
|
+
pulumi.set(__self__, "send_subscription_logs", send_subscription_logs)
|
|
395
|
+
|
|
396
|
+
@property
|
|
397
|
+
@pulumi.getter(name="filteringTags")
|
|
398
|
+
def filtering_tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FilteringTagArgs']]]]:
|
|
399
|
+
"""
|
|
400
|
+
List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
|
|
401
|
+
"""
|
|
402
|
+
return pulumi.get(self, "filtering_tags")
|
|
403
|
+
|
|
404
|
+
@filtering_tags.setter
|
|
405
|
+
def filtering_tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FilteringTagArgs']]]]):
|
|
406
|
+
pulumi.set(self, "filtering_tags", value)
|
|
407
|
+
|
|
408
|
+
@property
|
|
409
|
+
@pulumi.getter(name="sendAadLogs")
|
|
410
|
+
def send_aad_logs(self) -> Optional[pulumi.Input[bool]]:
|
|
411
|
+
"""
|
|
412
|
+
Flag specifying if AAD logs should be sent for the Monitor resource.
|
|
413
|
+
"""
|
|
414
|
+
return pulumi.get(self, "send_aad_logs")
|
|
415
|
+
|
|
416
|
+
@send_aad_logs.setter
|
|
417
|
+
def send_aad_logs(self, value: Optional[pulumi.Input[bool]]):
|
|
418
|
+
pulumi.set(self, "send_aad_logs", value)
|
|
419
|
+
|
|
420
|
+
@property
|
|
421
|
+
@pulumi.getter(name="sendResourceLogs")
|
|
422
|
+
def send_resource_logs(self) -> Optional[pulumi.Input[bool]]:
|
|
423
|
+
"""
|
|
424
|
+
Flag specifying if Azure resource logs should be sent for the Monitor resource.
|
|
425
|
+
"""
|
|
426
|
+
return pulumi.get(self, "send_resource_logs")
|
|
427
|
+
|
|
428
|
+
@send_resource_logs.setter
|
|
429
|
+
def send_resource_logs(self, value: Optional[pulumi.Input[bool]]):
|
|
430
|
+
pulumi.set(self, "send_resource_logs", value)
|
|
431
|
+
|
|
432
|
+
@property
|
|
433
|
+
@pulumi.getter(name="sendSubscriptionLogs")
|
|
434
|
+
def send_subscription_logs(self) -> Optional[pulumi.Input[bool]]:
|
|
435
|
+
"""
|
|
436
|
+
Flag specifying if Azure subscription logs should be sent for the Monitor resource.
|
|
437
|
+
"""
|
|
438
|
+
return pulumi.get(self, "send_subscription_logs")
|
|
439
|
+
|
|
440
|
+
@send_subscription_logs.setter
|
|
441
|
+
def send_subscription_logs(self, value: Optional[pulumi.Input[bool]]):
|
|
442
|
+
pulumi.set(self, "send_subscription_logs", value)
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
if not MYPY:
|
|
446
|
+
class MetricRulesArgsDict(TypedDict):
|
|
447
|
+
"""
|
|
448
|
+
Set of rules for sending metrics for the Monitor resource.
|
|
449
|
+
"""
|
|
450
|
+
filtering_tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilteringTagArgsDict']]]]
|
|
451
|
+
"""
|
|
452
|
+
List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
|
|
453
|
+
"""
|
|
454
|
+
elif False:
|
|
455
|
+
MetricRulesArgsDict: TypeAlias = Mapping[str, Any]
|
|
456
|
+
|
|
457
|
+
@pulumi.input_type
|
|
458
|
+
class MetricRulesArgs:
|
|
459
|
+
def __init__(__self__, *,
|
|
460
|
+
filtering_tags: Optional[pulumi.Input[Sequence[pulumi.Input['FilteringTagArgs']]]] = None):
|
|
461
|
+
"""
|
|
462
|
+
Set of rules for sending metrics for the Monitor resource.
|
|
463
|
+
:param pulumi.Input[Sequence[pulumi.Input['FilteringTagArgs']]] filtering_tags: List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
|
|
464
|
+
"""
|
|
465
|
+
if filtering_tags is not None:
|
|
466
|
+
pulumi.set(__self__, "filtering_tags", filtering_tags)
|
|
467
|
+
|
|
468
|
+
@property
|
|
469
|
+
@pulumi.getter(name="filteringTags")
|
|
470
|
+
def filtering_tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FilteringTagArgs']]]]:
|
|
471
|
+
"""
|
|
472
|
+
List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
|
|
473
|
+
"""
|
|
474
|
+
return pulumi.get(self, "filtering_tags")
|
|
475
|
+
|
|
476
|
+
@filtering_tags.setter
|
|
477
|
+
def filtering_tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FilteringTagArgs']]]]):
|
|
478
|
+
pulumi.set(self, "filtering_tags", value)
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
if not MYPY:
|
|
482
|
+
class MonitorPropertiesArgsDict(TypedDict):
|
|
483
|
+
"""
|
|
484
|
+
Properties specific to the monitor resource.
|
|
485
|
+
"""
|
|
486
|
+
datadog_organization_properties: NotRequired[pulumi.Input['DatadogOrganizationPropertiesArgsDict']]
|
|
487
|
+
"""
|
|
488
|
+
Specify the Datadog organization name. In the case of linking to existing organizations, Id, ApiKey, and Applicationkey is required as well.
|
|
489
|
+
"""
|
|
490
|
+
monitoring_status: NotRequired[pulumi.Input[Union[str, 'MonitoringStatus']]]
|
|
491
|
+
"""
|
|
492
|
+
Flag specifying if the resource monitoring is enabled or disabled.
|
|
493
|
+
"""
|
|
494
|
+
user_info: NotRequired[pulumi.Input['UserInfoArgsDict']]
|
|
495
|
+
"""
|
|
496
|
+
Includes name, email and optionally, phone number. User Information can't be null.
|
|
497
|
+
"""
|
|
498
|
+
elif False:
|
|
499
|
+
MonitorPropertiesArgsDict: TypeAlias = Mapping[str, Any]
|
|
500
|
+
|
|
501
|
+
@pulumi.input_type
|
|
502
|
+
class MonitorPropertiesArgs:
|
|
503
|
+
def __init__(__self__, *,
|
|
504
|
+
datadog_organization_properties: Optional[pulumi.Input['DatadogOrganizationPropertiesArgs']] = None,
|
|
505
|
+
monitoring_status: Optional[pulumi.Input[Union[str, 'MonitoringStatus']]] = None,
|
|
506
|
+
user_info: Optional[pulumi.Input['UserInfoArgs']] = None):
|
|
507
|
+
"""
|
|
508
|
+
Properties specific to the monitor resource.
|
|
509
|
+
:param pulumi.Input['DatadogOrganizationPropertiesArgs'] datadog_organization_properties: Specify the Datadog organization name. In the case of linking to existing organizations, Id, ApiKey, and Applicationkey is required as well.
|
|
510
|
+
:param pulumi.Input[Union[str, 'MonitoringStatus']] monitoring_status: Flag specifying if the resource monitoring is enabled or disabled.
|
|
511
|
+
:param pulumi.Input['UserInfoArgs'] user_info: Includes name, email and optionally, phone number. User Information can't be null.
|
|
512
|
+
"""
|
|
513
|
+
if datadog_organization_properties is not None:
|
|
514
|
+
pulumi.set(__self__, "datadog_organization_properties", datadog_organization_properties)
|
|
515
|
+
if monitoring_status is not None:
|
|
516
|
+
pulumi.set(__self__, "monitoring_status", monitoring_status)
|
|
517
|
+
if user_info is not None:
|
|
518
|
+
pulumi.set(__self__, "user_info", user_info)
|
|
519
|
+
|
|
520
|
+
@property
|
|
521
|
+
@pulumi.getter(name="datadogOrganizationProperties")
|
|
522
|
+
def datadog_organization_properties(self) -> Optional[pulumi.Input['DatadogOrganizationPropertiesArgs']]:
|
|
523
|
+
"""
|
|
524
|
+
Specify the Datadog organization name. In the case of linking to existing organizations, Id, ApiKey, and Applicationkey is required as well.
|
|
525
|
+
"""
|
|
526
|
+
return pulumi.get(self, "datadog_organization_properties")
|
|
527
|
+
|
|
528
|
+
@datadog_organization_properties.setter
|
|
529
|
+
def datadog_organization_properties(self, value: Optional[pulumi.Input['DatadogOrganizationPropertiesArgs']]):
|
|
530
|
+
pulumi.set(self, "datadog_organization_properties", value)
|
|
531
|
+
|
|
532
|
+
@property
|
|
533
|
+
@pulumi.getter(name="monitoringStatus")
|
|
534
|
+
def monitoring_status(self) -> Optional[pulumi.Input[Union[str, 'MonitoringStatus']]]:
|
|
535
|
+
"""
|
|
536
|
+
Flag specifying if the resource monitoring is enabled or disabled.
|
|
537
|
+
"""
|
|
538
|
+
return pulumi.get(self, "monitoring_status")
|
|
539
|
+
|
|
540
|
+
@monitoring_status.setter
|
|
541
|
+
def monitoring_status(self, value: Optional[pulumi.Input[Union[str, 'MonitoringStatus']]]):
|
|
542
|
+
pulumi.set(self, "monitoring_status", value)
|
|
543
|
+
|
|
544
|
+
@property
|
|
545
|
+
@pulumi.getter(name="userInfo")
|
|
546
|
+
def user_info(self) -> Optional[pulumi.Input['UserInfoArgs']]:
|
|
547
|
+
"""
|
|
548
|
+
Includes name, email and optionally, phone number. User Information can't be null.
|
|
549
|
+
"""
|
|
550
|
+
return pulumi.get(self, "user_info")
|
|
551
|
+
|
|
552
|
+
@user_info.setter
|
|
553
|
+
def user_info(self, value: Optional[pulumi.Input['UserInfoArgs']]):
|
|
554
|
+
pulumi.set(self, "user_info", value)
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
if not MYPY:
|
|
558
|
+
class MonitoredSubscriptionArgsDict(TypedDict):
|
|
559
|
+
"""
|
|
560
|
+
The list of subscriptions and it's monitoring status by current Datadog monitor.
|
|
561
|
+
"""
|
|
562
|
+
error: NotRequired[pulumi.Input[str]]
|
|
563
|
+
"""
|
|
564
|
+
The reason of not monitoring the subscription.
|
|
565
|
+
"""
|
|
566
|
+
status: NotRequired[pulumi.Input[Union[str, 'Status']]]
|
|
567
|
+
"""
|
|
568
|
+
The state of monitoring.
|
|
569
|
+
"""
|
|
570
|
+
subscription_id: NotRequired[pulumi.Input[str]]
|
|
571
|
+
"""
|
|
572
|
+
The subscriptionId to be monitored.
|
|
573
|
+
"""
|
|
574
|
+
tag_rules: NotRequired[pulumi.Input['MonitoringTagRulesPropertiesArgsDict']]
|
|
575
|
+
"""
|
|
576
|
+
Definition of the properties for a TagRules resource.
|
|
577
|
+
"""
|
|
578
|
+
elif False:
|
|
579
|
+
MonitoredSubscriptionArgsDict: TypeAlias = Mapping[str, Any]
|
|
580
|
+
|
|
581
|
+
@pulumi.input_type
|
|
582
|
+
class MonitoredSubscriptionArgs:
|
|
583
|
+
def __init__(__self__, *,
|
|
584
|
+
error: Optional[pulumi.Input[str]] = None,
|
|
585
|
+
status: Optional[pulumi.Input[Union[str, 'Status']]] = None,
|
|
586
|
+
subscription_id: Optional[pulumi.Input[str]] = None,
|
|
587
|
+
tag_rules: Optional[pulumi.Input['MonitoringTagRulesPropertiesArgs']] = None):
|
|
588
|
+
"""
|
|
589
|
+
The list of subscriptions and it's monitoring status by current Datadog monitor.
|
|
590
|
+
:param pulumi.Input[str] error: The reason of not monitoring the subscription.
|
|
591
|
+
:param pulumi.Input[Union[str, 'Status']] status: The state of monitoring.
|
|
592
|
+
:param pulumi.Input[str] subscription_id: The subscriptionId to be monitored.
|
|
593
|
+
:param pulumi.Input['MonitoringTagRulesPropertiesArgs'] tag_rules: Definition of the properties for a TagRules resource.
|
|
594
|
+
"""
|
|
595
|
+
if error is not None:
|
|
596
|
+
pulumi.set(__self__, "error", error)
|
|
597
|
+
if status is not None:
|
|
598
|
+
pulumi.set(__self__, "status", status)
|
|
599
|
+
if subscription_id is not None:
|
|
600
|
+
pulumi.set(__self__, "subscription_id", subscription_id)
|
|
601
|
+
if tag_rules is not None:
|
|
602
|
+
pulumi.set(__self__, "tag_rules", tag_rules)
|
|
603
|
+
|
|
604
|
+
@property
|
|
605
|
+
@pulumi.getter
|
|
606
|
+
def error(self) -> Optional[pulumi.Input[str]]:
|
|
607
|
+
"""
|
|
608
|
+
The reason of not monitoring the subscription.
|
|
609
|
+
"""
|
|
610
|
+
return pulumi.get(self, "error")
|
|
611
|
+
|
|
612
|
+
@error.setter
|
|
613
|
+
def error(self, value: Optional[pulumi.Input[str]]):
|
|
614
|
+
pulumi.set(self, "error", value)
|
|
615
|
+
|
|
616
|
+
@property
|
|
617
|
+
@pulumi.getter
|
|
618
|
+
def status(self) -> Optional[pulumi.Input[Union[str, 'Status']]]:
|
|
619
|
+
"""
|
|
620
|
+
The state of monitoring.
|
|
621
|
+
"""
|
|
622
|
+
return pulumi.get(self, "status")
|
|
623
|
+
|
|
624
|
+
@status.setter
|
|
625
|
+
def status(self, value: Optional[pulumi.Input[Union[str, 'Status']]]):
|
|
626
|
+
pulumi.set(self, "status", value)
|
|
627
|
+
|
|
628
|
+
@property
|
|
629
|
+
@pulumi.getter(name="subscriptionId")
|
|
630
|
+
def subscription_id(self) -> Optional[pulumi.Input[str]]:
|
|
631
|
+
"""
|
|
632
|
+
The subscriptionId to be monitored.
|
|
633
|
+
"""
|
|
634
|
+
return pulumi.get(self, "subscription_id")
|
|
635
|
+
|
|
636
|
+
@subscription_id.setter
|
|
637
|
+
def subscription_id(self, value: Optional[pulumi.Input[str]]):
|
|
638
|
+
pulumi.set(self, "subscription_id", value)
|
|
639
|
+
|
|
640
|
+
@property
|
|
641
|
+
@pulumi.getter(name="tagRules")
|
|
642
|
+
def tag_rules(self) -> Optional[pulumi.Input['MonitoringTagRulesPropertiesArgs']]:
|
|
643
|
+
"""
|
|
644
|
+
Definition of the properties for a TagRules resource.
|
|
645
|
+
"""
|
|
646
|
+
return pulumi.get(self, "tag_rules")
|
|
647
|
+
|
|
648
|
+
@tag_rules.setter
|
|
649
|
+
def tag_rules(self, value: Optional[pulumi.Input['MonitoringTagRulesPropertiesArgs']]):
|
|
650
|
+
pulumi.set(self, "tag_rules", value)
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
if not MYPY:
|
|
654
|
+
class MonitoringTagRulesPropertiesArgsDict(TypedDict):
|
|
655
|
+
"""
|
|
656
|
+
Definition of the properties for a TagRules resource.
|
|
657
|
+
"""
|
|
658
|
+
automuting: NotRequired[pulumi.Input[bool]]
|
|
659
|
+
"""
|
|
660
|
+
Configuration to enable/disable auto-muting flag
|
|
661
|
+
"""
|
|
662
|
+
custom_metrics: NotRequired[pulumi.Input[bool]]
|
|
663
|
+
"""
|
|
664
|
+
Configuration to enable/disable custom metrics. If enabled, custom metrics from app insights will be sent.
|
|
665
|
+
"""
|
|
666
|
+
log_rules: NotRequired[pulumi.Input['LogRulesArgsDict']]
|
|
667
|
+
"""
|
|
668
|
+
Set of rules for sending logs for the Monitor resource.
|
|
669
|
+
"""
|
|
670
|
+
metric_rules: NotRequired[pulumi.Input['MetricRulesArgsDict']]
|
|
671
|
+
"""
|
|
672
|
+
Set of rules for sending metrics for the Monitor resource.
|
|
673
|
+
"""
|
|
674
|
+
elif False:
|
|
675
|
+
MonitoringTagRulesPropertiesArgsDict: TypeAlias = Mapping[str, Any]
|
|
676
|
+
|
|
677
|
+
@pulumi.input_type
|
|
678
|
+
class MonitoringTagRulesPropertiesArgs:
|
|
679
|
+
def __init__(__self__, *,
|
|
680
|
+
automuting: Optional[pulumi.Input[bool]] = None,
|
|
681
|
+
custom_metrics: Optional[pulumi.Input[bool]] = None,
|
|
682
|
+
log_rules: Optional[pulumi.Input['LogRulesArgs']] = None,
|
|
683
|
+
metric_rules: Optional[pulumi.Input['MetricRulesArgs']] = None):
|
|
684
|
+
"""
|
|
685
|
+
Definition of the properties for a TagRules resource.
|
|
686
|
+
:param pulumi.Input[bool] automuting: Configuration to enable/disable auto-muting flag
|
|
687
|
+
:param pulumi.Input[bool] custom_metrics: Configuration to enable/disable custom metrics. If enabled, custom metrics from app insights will be sent.
|
|
688
|
+
:param pulumi.Input['LogRulesArgs'] log_rules: Set of rules for sending logs for the Monitor resource.
|
|
689
|
+
:param pulumi.Input['MetricRulesArgs'] metric_rules: Set of rules for sending metrics for the Monitor resource.
|
|
690
|
+
"""
|
|
691
|
+
if automuting is not None:
|
|
692
|
+
pulumi.set(__self__, "automuting", automuting)
|
|
693
|
+
if custom_metrics is not None:
|
|
694
|
+
pulumi.set(__self__, "custom_metrics", custom_metrics)
|
|
695
|
+
if log_rules is not None:
|
|
696
|
+
pulumi.set(__self__, "log_rules", log_rules)
|
|
697
|
+
if metric_rules is not None:
|
|
698
|
+
pulumi.set(__self__, "metric_rules", metric_rules)
|
|
699
|
+
|
|
700
|
+
@property
|
|
701
|
+
@pulumi.getter
|
|
702
|
+
def automuting(self) -> Optional[pulumi.Input[bool]]:
|
|
703
|
+
"""
|
|
704
|
+
Configuration to enable/disable auto-muting flag
|
|
705
|
+
"""
|
|
706
|
+
return pulumi.get(self, "automuting")
|
|
707
|
+
|
|
708
|
+
@automuting.setter
|
|
709
|
+
def automuting(self, value: Optional[pulumi.Input[bool]]):
|
|
710
|
+
pulumi.set(self, "automuting", value)
|
|
711
|
+
|
|
712
|
+
@property
|
|
713
|
+
@pulumi.getter(name="customMetrics")
|
|
714
|
+
def custom_metrics(self) -> Optional[pulumi.Input[bool]]:
|
|
715
|
+
"""
|
|
716
|
+
Configuration to enable/disable custom metrics. If enabled, custom metrics from app insights will be sent.
|
|
717
|
+
"""
|
|
718
|
+
return pulumi.get(self, "custom_metrics")
|
|
719
|
+
|
|
720
|
+
@custom_metrics.setter
|
|
721
|
+
def custom_metrics(self, value: Optional[pulumi.Input[bool]]):
|
|
722
|
+
pulumi.set(self, "custom_metrics", value)
|
|
723
|
+
|
|
724
|
+
@property
|
|
725
|
+
@pulumi.getter(name="logRules")
|
|
726
|
+
def log_rules(self) -> Optional[pulumi.Input['LogRulesArgs']]:
|
|
727
|
+
"""
|
|
728
|
+
Set of rules for sending logs for the Monitor resource.
|
|
729
|
+
"""
|
|
730
|
+
return pulumi.get(self, "log_rules")
|
|
731
|
+
|
|
732
|
+
@log_rules.setter
|
|
733
|
+
def log_rules(self, value: Optional[pulumi.Input['LogRulesArgs']]):
|
|
734
|
+
pulumi.set(self, "log_rules", value)
|
|
735
|
+
|
|
736
|
+
@property
|
|
737
|
+
@pulumi.getter(name="metricRules")
|
|
738
|
+
def metric_rules(self) -> Optional[pulumi.Input['MetricRulesArgs']]:
|
|
739
|
+
"""
|
|
740
|
+
Set of rules for sending metrics for the Monitor resource.
|
|
741
|
+
"""
|
|
742
|
+
return pulumi.get(self, "metric_rules")
|
|
743
|
+
|
|
744
|
+
@metric_rules.setter
|
|
745
|
+
def metric_rules(self, value: Optional[pulumi.Input['MetricRulesArgs']]):
|
|
746
|
+
pulumi.set(self, "metric_rules", value)
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
if not MYPY:
|
|
750
|
+
class ResourceSkuArgsDict(TypedDict):
|
|
751
|
+
name: pulumi.Input[str]
|
|
752
|
+
"""
|
|
753
|
+
Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'Linked'.
|
|
754
|
+
"""
|
|
755
|
+
elif False:
|
|
756
|
+
ResourceSkuArgsDict: TypeAlias = Mapping[str, Any]
|
|
757
|
+
|
|
758
|
+
@pulumi.input_type
|
|
759
|
+
class ResourceSkuArgs:
|
|
760
|
+
def __init__(__self__, *,
|
|
761
|
+
name: pulumi.Input[str]):
|
|
762
|
+
"""
|
|
763
|
+
:param pulumi.Input[str] name: Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'Linked'.
|
|
764
|
+
"""
|
|
765
|
+
pulumi.set(__self__, "name", name)
|
|
766
|
+
|
|
767
|
+
@property
|
|
768
|
+
@pulumi.getter
|
|
769
|
+
def name(self) -> pulumi.Input[str]:
|
|
770
|
+
"""
|
|
771
|
+
Name of the SKU in {PlanId} format. For Terraform, the only allowed value is 'Linked'.
|
|
772
|
+
"""
|
|
773
|
+
return pulumi.get(self, "name")
|
|
774
|
+
|
|
775
|
+
@name.setter
|
|
776
|
+
def name(self, value: pulumi.Input[str]):
|
|
777
|
+
pulumi.set(self, "name", value)
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
if not MYPY:
|
|
781
|
+
class SubscriptionListArgsDict(TypedDict):
|
|
782
|
+
"""
|
|
783
|
+
The request to update subscriptions needed to be monitored by the Datadog monitor resource.
|
|
784
|
+
"""
|
|
785
|
+
monitored_subscription_list: NotRequired[pulumi.Input[Sequence[pulumi.Input['MonitoredSubscriptionArgsDict']]]]
|
|
786
|
+
"""
|
|
787
|
+
List of subscriptions and the state of the monitoring.
|
|
788
|
+
"""
|
|
789
|
+
operation: NotRequired[pulumi.Input[Union[str, 'Operation']]]
|
|
790
|
+
"""
|
|
791
|
+
The operation for the patch on the resource.
|
|
792
|
+
"""
|
|
793
|
+
elif False:
|
|
794
|
+
SubscriptionListArgsDict: TypeAlias = Mapping[str, Any]
|
|
795
|
+
|
|
796
|
+
@pulumi.input_type
|
|
797
|
+
class SubscriptionListArgs:
|
|
798
|
+
def __init__(__self__, *,
|
|
799
|
+
monitored_subscription_list: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredSubscriptionArgs']]]] = None,
|
|
800
|
+
operation: Optional[pulumi.Input[Union[str, 'Operation']]] = None):
|
|
801
|
+
"""
|
|
802
|
+
The request to update subscriptions needed to be monitored by the Datadog monitor resource.
|
|
803
|
+
:param pulumi.Input[Sequence[pulumi.Input['MonitoredSubscriptionArgs']]] monitored_subscription_list: List of subscriptions and the state of the monitoring.
|
|
804
|
+
:param pulumi.Input[Union[str, 'Operation']] operation: The operation for the patch on the resource.
|
|
805
|
+
"""
|
|
806
|
+
if monitored_subscription_list is not None:
|
|
807
|
+
pulumi.set(__self__, "monitored_subscription_list", monitored_subscription_list)
|
|
808
|
+
if operation is not None:
|
|
809
|
+
pulumi.set(__self__, "operation", operation)
|
|
810
|
+
|
|
811
|
+
@property
|
|
812
|
+
@pulumi.getter(name="monitoredSubscriptionList")
|
|
813
|
+
def monitored_subscription_list(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredSubscriptionArgs']]]]:
|
|
814
|
+
"""
|
|
815
|
+
List of subscriptions and the state of the monitoring.
|
|
816
|
+
"""
|
|
817
|
+
return pulumi.get(self, "monitored_subscription_list")
|
|
818
|
+
|
|
819
|
+
@monitored_subscription_list.setter
|
|
820
|
+
def monitored_subscription_list(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredSubscriptionArgs']]]]):
|
|
821
|
+
pulumi.set(self, "monitored_subscription_list", value)
|
|
822
|
+
|
|
823
|
+
@property
|
|
824
|
+
@pulumi.getter
|
|
825
|
+
def operation(self) -> Optional[pulumi.Input[Union[str, 'Operation']]]:
|
|
826
|
+
"""
|
|
827
|
+
The operation for the patch on the resource.
|
|
828
|
+
"""
|
|
829
|
+
return pulumi.get(self, "operation")
|
|
830
|
+
|
|
831
|
+
@operation.setter
|
|
832
|
+
def operation(self, value: Optional[pulumi.Input[Union[str, 'Operation']]]):
|
|
833
|
+
pulumi.set(self, "operation", value)
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
if not MYPY:
|
|
837
|
+
class UserInfoArgsDict(TypedDict):
|
|
838
|
+
"""
|
|
839
|
+
Includes name, email and optionally, phone number. User Information can't be null.
|
|
840
|
+
"""
|
|
841
|
+
email_address: NotRequired[pulumi.Input[str]]
|
|
842
|
+
"""
|
|
843
|
+
Email of the user used by Datadog for contacting them if needed
|
|
844
|
+
"""
|
|
845
|
+
name: NotRequired[pulumi.Input[str]]
|
|
846
|
+
"""
|
|
847
|
+
Name of the user
|
|
848
|
+
"""
|
|
849
|
+
phone_number: NotRequired[pulumi.Input[str]]
|
|
850
|
+
"""
|
|
851
|
+
Phone number of the user used by Datadog for contacting them if needed
|
|
852
|
+
"""
|
|
853
|
+
elif False:
|
|
854
|
+
UserInfoArgsDict: TypeAlias = Mapping[str, Any]
|
|
855
|
+
|
|
856
|
+
@pulumi.input_type
|
|
857
|
+
class UserInfoArgs:
|
|
858
|
+
def __init__(__self__, *,
|
|
859
|
+
email_address: Optional[pulumi.Input[str]] = None,
|
|
860
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
861
|
+
phone_number: Optional[pulumi.Input[str]] = None):
|
|
862
|
+
"""
|
|
863
|
+
Includes name, email and optionally, phone number. User Information can't be null.
|
|
864
|
+
:param pulumi.Input[str] email_address: Email of the user used by Datadog for contacting them if needed
|
|
865
|
+
:param pulumi.Input[str] name: Name of the user
|
|
866
|
+
:param pulumi.Input[str] phone_number: Phone number of the user used by Datadog for contacting them if needed
|
|
867
|
+
"""
|
|
868
|
+
if email_address is not None:
|
|
869
|
+
pulumi.set(__self__, "email_address", email_address)
|
|
870
|
+
if name is not None:
|
|
871
|
+
pulumi.set(__self__, "name", name)
|
|
872
|
+
if phone_number is not None:
|
|
873
|
+
pulumi.set(__self__, "phone_number", phone_number)
|
|
874
|
+
|
|
875
|
+
@property
|
|
876
|
+
@pulumi.getter(name="emailAddress")
|
|
877
|
+
def email_address(self) -> Optional[pulumi.Input[str]]:
|
|
878
|
+
"""
|
|
879
|
+
Email of the user used by Datadog for contacting them if needed
|
|
880
|
+
"""
|
|
881
|
+
return pulumi.get(self, "email_address")
|
|
882
|
+
|
|
883
|
+
@email_address.setter
|
|
884
|
+
def email_address(self, value: Optional[pulumi.Input[str]]):
|
|
885
|
+
pulumi.set(self, "email_address", value)
|
|
886
|
+
|
|
887
|
+
@property
|
|
888
|
+
@pulumi.getter
|
|
889
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
890
|
+
"""
|
|
891
|
+
Name of the user
|
|
892
|
+
"""
|
|
893
|
+
return pulumi.get(self, "name")
|
|
894
|
+
|
|
895
|
+
@name.setter
|
|
896
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
897
|
+
pulumi.set(self, "name", value)
|
|
898
|
+
|
|
899
|
+
@property
|
|
900
|
+
@pulumi.getter(name="phoneNumber")
|
|
901
|
+
def phone_number(self) -> Optional[pulumi.Input[str]]:
|
|
902
|
+
"""
|
|
903
|
+
Phone number of the user used by Datadog for contacting them if needed
|
|
904
|
+
"""
|
|
905
|
+
return pulumi.get(self, "phone_number")
|
|
906
|
+
|
|
907
|
+
@phone_number.setter
|
|
908
|
+
def phone_number(self, value: Optional[pulumi.Input[str]]):
|
|
909
|
+
pulumi.set(self, "phone_number", value)
|
|
910
|
+
|
|
911
|
+
|