pulumi-azure-native 2.79.0__py3-none-any.whl → 2.79.0a1734639794__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 -46
- 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 +0 -3
- pulumi_azure_native/compute/cloud_service.py +1 -5
- pulumi_azure_native/compute/get_cloud_service.py +0 -4
- pulumi_azure_native/compute/v20220904/cloud_service.py +1 -1
- pulumi_azure_native/datadog/__init__.py +0 -7
- 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 +0 -4
- 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 +1 -5
- pulumi_azure_native/datadog/outputs.py +0 -120
- 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/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 +0 -3
- 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/servicenetworking/__init__.py +0 -3
- 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 +0 -4
- pulumi_azure_native/servicenetworking/get_traffic_controller_interface.py +2 -2
- pulumi_azure_native/servicenetworking/security_policies_interface.py +1 -5
- 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/workloads/v20240901/_inputs.py +10 -10
- pulumi_azure_native/workloads/v20240901/outputs.py +8 -8
- {pulumi_azure_native-2.79.0.dist-info → pulumi_azure_native-2.79.0a1734639794.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.79.0.dist-info → pulumi_azure_native-2.79.0a1734639794.dist-info}/RECORD +82 -135
- pulumi_azure_native/compute/v20241104/__init__.py +0 -12
- pulumi_azure_native/compute/v20241104/_enums.py +0 -31
- pulumi_azure_native/compute/v20241104/_inputs.py +0 -1324
- pulumi_azure_native/compute/v20241104/cloud_service.py +0 -287
- pulumi_azure_native/compute/v20241104/get_cloud_service.py +0 -185
- pulumi_azure_native/compute/v20241104/outputs.py +0 -1082
- pulumi_azure_native/datadog/get_billing_info.py +0 -103
- pulumi_azure_native/datadog/v20230707/__init__.py +0 -19
- pulumi_azure_native/datadog/v20230707/_enums.py +0 -58
- pulumi_azure_native/datadog/v20230707/_inputs.py +0 -911
- pulumi_azure_native/datadog/v20230707/get_monitor.py +0 -182
- pulumi_azure_native/datadog/v20230707/get_monitor_default_key.py +0 -123
- pulumi_azure_native/datadog/v20230707/get_monitored_subscription.py +0 -135
- pulumi_azure_native/datadog/v20230707/list_monitor_api_keys.py +0 -101
- pulumi_azure_native/datadog/v20230707/list_monitor_hosts.py +0 -101
- pulumi_azure_native/datadog/v20230707/list_monitor_linked_resources.py +0 -101
- pulumi_azure_native/datadog/v20230707/list_monitor_monitored_resources.py +0 -101
- pulumi_azure_native/datadog/v20230707/monitor.py +0 -282
- pulumi_azure_native/datadog/v20230707/monitored_subscription.py +0 -211
- pulumi_azure_native/datadog/v20230707/outputs.py +0 -1125
- pulumi_azure_native/datadog/v20231020/__init__.py +0 -20
- pulumi_azure_native/datadog/v20231020/_enums.py +0 -58
- pulumi_azure_native/datadog/v20231020/_inputs.py +0 -911
- pulumi_azure_native/datadog/v20231020/get_billing_info.py +0 -101
- pulumi_azure_native/datadog/v20231020/get_monitor.py +0 -182
- pulumi_azure_native/datadog/v20231020/get_monitor_default_key.py +0 -123
- pulumi_azure_native/datadog/v20231020/get_monitored_subscription.py +0 -135
- pulumi_azure_native/datadog/v20231020/list_monitor_api_keys.py +0 -101
- pulumi_azure_native/datadog/v20231020/list_monitor_hosts.py +0 -101
- pulumi_azure_native/datadog/v20231020/list_monitor_linked_resources.py +0 -101
- pulumi_azure_native/datadog/v20231020/list_monitor_monitored_resources.py +0 -101
- pulumi_azure_native/datadog/v20231020/monitor.py +0 -282
- pulumi_azure_native/datadog/v20231020/monitored_subscription.py +0 -211
- pulumi_azure_native/datadog/v20231020/outputs.py +0 -1257
- pulumi_azure_native/quota/v20241218preview/__init__.py +0 -13
- pulumi_azure_native/quota/v20241218preview/_inputs.py +0 -55
- pulumi_azure_native/quota/v20241218preview/get_group_quota.py +0 -140
- pulumi_azure_native/quota/v20241218preview/get_group_quota_subscription.py +0 -140
- pulumi_azure_native/quota/v20241218preview/group_quota.py +0 -191
- pulumi_azure_native/quota/v20241218preview/group_quota_subscription.py +0 -177
- pulumi_azure_native/quota/v20241218preview/outputs.py +0 -230
- pulumi_azure_native/servicenetworking/v20250101/__init__.py +0 -18
- pulumi_azure_native/servicenetworking/v20250101/_enums.py +0 -19
- pulumi_azure_native/servicenetworking/v20250101/_inputs.py +0 -171
- pulumi_azure_native/servicenetworking/v20250101/associations_interface.py +0 -319
- pulumi_azure_native/servicenetworking/v20250101/frontends_interface.py +0 -268
- pulumi_azure_native/servicenetworking/v20250101/get_associations_interface.py +0 -205
- pulumi_azure_native/servicenetworking/v20250101/get_frontends_interface.py +0 -191
- pulumi_azure_native/servicenetworking/v20250101/get_security_policies_interface.py +0 -205
- pulumi_azure_native/servicenetworking/v20250101/get_traffic_controller_interface.py +0 -241
- pulumi_azure_native/servicenetworking/v20250101/outputs.py +0 -265
- pulumi_azure_native/servicenetworking/v20250101/security_policies_interface.py +0 -298
- pulumi_azure_native/servicenetworking/v20250101/traffic_controller_interface.py +0 -307
- {pulumi_azure_native-2.79.0.dist-info → pulumi_azure_native-2.79.0a1734639794.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.79.0.dist-info → pulumi_azure_native-2.79.0a1734639794.dist-info}/top_level.txt +0 -0
|
@@ -1,101 +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
|
-
|
|
18
|
-
__all__ = [
|
|
19
|
-
'ListMonitorLinkedResourcesResult',
|
|
20
|
-
'AwaitableListMonitorLinkedResourcesResult',
|
|
21
|
-
'list_monitor_linked_resources',
|
|
22
|
-
'list_monitor_linked_resources_output',
|
|
23
|
-
]
|
|
24
|
-
|
|
25
|
-
@pulumi.output_type
|
|
26
|
-
class ListMonitorLinkedResourcesResult:
|
|
27
|
-
"""
|
|
28
|
-
Response of a list operation.
|
|
29
|
-
"""
|
|
30
|
-
def __init__(__self__, next_link=None, value=None):
|
|
31
|
-
if next_link and not isinstance(next_link, str):
|
|
32
|
-
raise TypeError("Expected argument 'next_link' to be a str")
|
|
33
|
-
pulumi.set(__self__, "next_link", next_link)
|
|
34
|
-
if value and not isinstance(value, list):
|
|
35
|
-
raise TypeError("Expected argument 'value' to be a list")
|
|
36
|
-
pulumi.set(__self__, "value", value)
|
|
37
|
-
|
|
38
|
-
@property
|
|
39
|
-
@pulumi.getter(name="nextLink")
|
|
40
|
-
def next_link(self) -> Optional[str]:
|
|
41
|
-
"""
|
|
42
|
-
Link to the next set of results, if any.
|
|
43
|
-
"""
|
|
44
|
-
return pulumi.get(self, "next_link")
|
|
45
|
-
|
|
46
|
-
@property
|
|
47
|
-
@pulumi.getter
|
|
48
|
-
def value(self) -> Optional[Sequence['outputs.LinkedResourceResponse']]:
|
|
49
|
-
"""
|
|
50
|
-
Results of a list operation.
|
|
51
|
-
"""
|
|
52
|
-
return pulumi.get(self, "value")
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
class AwaitableListMonitorLinkedResourcesResult(ListMonitorLinkedResourcesResult):
|
|
56
|
-
# pylint: disable=using-constant-test
|
|
57
|
-
def __await__(self):
|
|
58
|
-
if False:
|
|
59
|
-
yield self
|
|
60
|
-
return ListMonitorLinkedResourcesResult(
|
|
61
|
-
next_link=self.next_link,
|
|
62
|
-
value=self.value)
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
def list_monitor_linked_resources(monitor_name: Optional[str] = None,
|
|
66
|
-
resource_group_name: Optional[str] = None,
|
|
67
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListMonitorLinkedResourcesResult:
|
|
68
|
-
"""
|
|
69
|
-
Response of a list operation.
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
:param str monitor_name: Monitor resource name
|
|
73
|
-
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
74
|
-
"""
|
|
75
|
-
__args__ = dict()
|
|
76
|
-
__args__['monitorName'] = monitor_name
|
|
77
|
-
__args__['resourceGroupName'] = resource_group_name
|
|
78
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
79
|
-
__ret__ = pulumi.runtime.invoke('azure-native:datadog/v20230707:listMonitorLinkedResources', __args__, opts=opts, typ=ListMonitorLinkedResourcesResult).value
|
|
80
|
-
|
|
81
|
-
return AwaitableListMonitorLinkedResourcesResult(
|
|
82
|
-
next_link=pulumi.get(__ret__, 'next_link'),
|
|
83
|
-
value=pulumi.get(__ret__, 'value'))
|
|
84
|
-
def list_monitor_linked_resources_output(monitor_name: Optional[pulumi.Input[str]] = None,
|
|
85
|
-
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
86
|
-
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[ListMonitorLinkedResourcesResult]:
|
|
87
|
-
"""
|
|
88
|
-
Response of a list operation.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
:param str monitor_name: Monitor resource name
|
|
92
|
-
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
93
|
-
"""
|
|
94
|
-
__args__ = dict()
|
|
95
|
-
__args__['monitorName'] = monitor_name
|
|
96
|
-
__args__['resourceGroupName'] = resource_group_name
|
|
97
|
-
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
98
|
-
__ret__ = pulumi.runtime.invoke_output('azure-native:datadog/v20230707:listMonitorLinkedResources', __args__, opts=opts, typ=ListMonitorLinkedResourcesResult)
|
|
99
|
-
return __ret__.apply(lambda __response__: ListMonitorLinkedResourcesResult(
|
|
100
|
-
next_link=pulumi.get(__response__, 'next_link'),
|
|
101
|
-
value=pulumi.get(__response__, 'value')))
|
|
@@ -1,101 +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
|
-
|
|
18
|
-
__all__ = [
|
|
19
|
-
'ListMonitorMonitoredResourcesResult',
|
|
20
|
-
'AwaitableListMonitorMonitoredResourcesResult',
|
|
21
|
-
'list_monitor_monitored_resources',
|
|
22
|
-
'list_monitor_monitored_resources_output',
|
|
23
|
-
]
|
|
24
|
-
|
|
25
|
-
@pulumi.output_type
|
|
26
|
-
class ListMonitorMonitoredResourcesResult:
|
|
27
|
-
"""
|
|
28
|
-
Response of a list operation.
|
|
29
|
-
"""
|
|
30
|
-
def __init__(__self__, next_link=None, value=None):
|
|
31
|
-
if next_link and not isinstance(next_link, str):
|
|
32
|
-
raise TypeError("Expected argument 'next_link' to be a str")
|
|
33
|
-
pulumi.set(__self__, "next_link", next_link)
|
|
34
|
-
if value and not isinstance(value, list):
|
|
35
|
-
raise TypeError("Expected argument 'value' to be a list")
|
|
36
|
-
pulumi.set(__self__, "value", value)
|
|
37
|
-
|
|
38
|
-
@property
|
|
39
|
-
@pulumi.getter(name="nextLink")
|
|
40
|
-
def next_link(self) -> Optional[str]:
|
|
41
|
-
"""
|
|
42
|
-
Link to the next set of results, if any.
|
|
43
|
-
"""
|
|
44
|
-
return pulumi.get(self, "next_link")
|
|
45
|
-
|
|
46
|
-
@property
|
|
47
|
-
@pulumi.getter
|
|
48
|
-
def value(self) -> Optional[Sequence['outputs.MonitoredResourceResponse']]:
|
|
49
|
-
"""
|
|
50
|
-
Results of a list operation.
|
|
51
|
-
"""
|
|
52
|
-
return pulumi.get(self, "value")
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
class AwaitableListMonitorMonitoredResourcesResult(ListMonitorMonitoredResourcesResult):
|
|
56
|
-
# pylint: disable=using-constant-test
|
|
57
|
-
def __await__(self):
|
|
58
|
-
if False:
|
|
59
|
-
yield self
|
|
60
|
-
return ListMonitorMonitoredResourcesResult(
|
|
61
|
-
next_link=self.next_link,
|
|
62
|
-
value=self.value)
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
def list_monitor_monitored_resources(monitor_name: Optional[str] = None,
|
|
66
|
-
resource_group_name: Optional[str] = None,
|
|
67
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListMonitorMonitoredResourcesResult:
|
|
68
|
-
"""
|
|
69
|
-
Response of a list operation.
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
:param str monitor_name: Monitor resource name
|
|
73
|
-
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
74
|
-
"""
|
|
75
|
-
__args__ = dict()
|
|
76
|
-
__args__['monitorName'] = monitor_name
|
|
77
|
-
__args__['resourceGroupName'] = resource_group_name
|
|
78
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
79
|
-
__ret__ = pulumi.runtime.invoke('azure-native:datadog/v20230707:listMonitorMonitoredResources', __args__, opts=opts, typ=ListMonitorMonitoredResourcesResult).value
|
|
80
|
-
|
|
81
|
-
return AwaitableListMonitorMonitoredResourcesResult(
|
|
82
|
-
next_link=pulumi.get(__ret__, 'next_link'),
|
|
83
|
-
value=pulumi.get(__ret__, 'value'))
|
|
84
|
-
def list_monitor_monitored_resources_output(monitor_name: Optional[pulumi.Input[str]] = None,
|
|
85
|
-
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
86
|
-
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[ListMonitorMonitoredResourcesResult]:
|
|
87
|
-
"""
|
|
88
|
-
Response of a list operation.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
:param str monitor_name: Monitor resource name
|
|
92
|
-
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
93
|
-
"""
|
|
94
|
-
__args__ = dict()
|
|
95
|
-
__args__['monitorName'] = monitor_name
|
|
96
|
-
__args__['resourceGroupName'] = resource_group_name
|
|
97
|
-
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
98
|
-
__ret__ = pulumi.runtime.invoke_output('azure-native:datadog/v20230707:listMonitorMonitoredResources', __args__, opts=opts, typ=ListMonitorMonitoredResourcesResult)
|
|
99
|
-
return __ret__.apply(lambda __response__: ListMonitorMonitoredResourcesResult(
|
|
100
|
-
next_link=pulumi.get(__response__, 'next_link'),
|
|
101
|
-
value=pulumi.get(__response__, 'value')))
|
|
@@ -1,282 +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__ = ['MonitorArgs', 'Monitor']
|
|
21
|
-
|
|
22
|
-
@pulumi.input_type
|
|
23
|
-
class MonitorArgs:
|
|
24
|
-
def __init__(__self__, *,
|
|
25
|
-
resource_group_name: pulumi.Input[str],
|
|
26
|
-
identity: Optional[pulumi.Input['IdentityPropertiesArgs']] = None,
|
|
27
|
-
location: Optional[pulumi.Input[str]] = None,
|
|
28
|
-
monitor_name: Optional[pulumi.Input[str]] = None,
|
|
29
|
-
properties: Optional[pulumi.Input['MonitorPropertiesArgs']] = None,
|
|
30
|
-
sku: Optional[pulumi.Input['ResourceSkuArgs']] = None,
|
|
31
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
32
|
-
"""
|
|
33
|
-
The set of arguments for constructing a Monitor resource.
|
|
34
|
-
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
35
|
-
:param pulumi.Input[str] monitor_name: Monitor resource name
|
|
36
|
-
:param pulumi.Input['MonitorPropertiesArgs'] properties: Properties specific to the monitor resource.
|
|
37
|
-
"""
|
|
38
|
-
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
39
|
-
if identity is not None:
|
|
40
|
-
pulumi.set(__self__, "identity", identity)
|
|
41
|
-
if location is not None:
|
|
42
|
-
pulumi.set(__self__, "location", location)
|
|
43
|
-
if monitor_name is not None:
|
|
44
|
-
pulumi.set(__self__, "monitor_name", monitor_name)
|
|
45
|
-
if properties is not None:
|
|
46
|
-
pulumi.set(__self__, "properties", properties)
|
|
47
|
-
if sku is not None:
|
|
48
|
-
pulumi.set(__self__, "sku", sku)
|
|
49
|
-
if tags is not None:
|
|
50
|
-
pulumi.set(__self__, "tags", tags)
|
|
51
|
-
|
|
52
|
-
@property
|
|
53
|
-
@pulumi.getter(name="resourceGroupName")
|
|
54
|
-
def resource_group_name(self) -> pulumi.Input[str]:
|
|
55
|
-
"""
|
|
56
|
-
The name of the resource group. The name is case insensitive.
|
|
57
|
-
"""
|
|
58
|
-
return pulumi.get(self, "resource_group_name")
|
|
59
|
-
|
|
60
|
-
@resource_group_name.setter
|
|
61
|
-
def resource_group_name(self, value: pulumi.Input[str]):
|
|
62
|
-
pulumi.set(self, "resource_group_name", value)
|
|
63
|
-
|
|
64
|
-
@property
|
|
65
|
-
@pulumi.getter
|
|
66
|
-
def identity(self) -> Optional[pulumi.Input['IdentityPropertiesArgs']]:
|
|
67
|
-
return pulumi.get(self, "identity")
|
|
68
|
-
|
|
69
|
-
@identity.setter
|
|
70
|
-
def identity(self, value: Optional[pulumi.Input['IdentityPropertiesArgs']]):
|
|
71
|
-
pulumi.set(self, "identity", value)
|
|
72
|
-
|
|
73
|
-
@property
|
|
74
|
-
@pulumi.getter
|
|
75
|
-
def location(self) -> Optional[pulumi.Input[str]]:
|
|
76
|
-
return pulumi.get(self, "location")
|
|
77
|
-
|
|
78
|
-
@location.setter
|
|
79
|
-
def location(self, value: Optional[pulumi.Input[str]]):
|
|
80
|
-
pulumi.set(self, "location", value)
|
|
81
|
-
|
|
82
|
-
@property
|
|
83
|
-
@pulumi.getter(name="monitorName")
|
|
84
|
-
def monitor_name(self) -> Optional[pulumi.Input[str]]:
|
|
85
|
-
"""
|
|
86
|
-
Monitor resource name
|
|
87
|
-
"""
|
|
88
|
-
return pulumi.get(self, "monitor_name")
|
|
89
|
-
|
|
90
|
-
@monitor_name.setter
|
|
91
|
-
def monitor_name(self, value: Optional[pulumi.Input[str]]):
|
|
92
|
-
pulumi.set(self, "monitor_name", value)
|
|
93
|
-
|
|
94
|
-
@property
|
|
95
|
-
@pulumi.getter
|
|
96
|
-
def properties(self) -> Optional[pulumi.Input['MonitorPropertiesArgs']]:
|
|
97
|
-
"""
|
|
98
|
-
Properties specific to the monitor resource.
|
|
99
|
-
"""
|
|
100
|
-
return pulumi.get(self, "properties")
|
|
101
|
-
|
|
102
|
-
@properties.setter
|
|
103
|
-
def properties(self, value: Optional[pulumi.Input['MonitorPropertiesArgs']]):
|
|
104
|
-
pulumi.set(self, "properties", value)
|
|
105
|
-
|
|
106
|
-
@property
|
|
107
|
-
@pulumi.getter
|
|
108
|
-
def sku(self) -> Optional[pulumi.Input['ResourceSkuArgs']]:
|
|
109
|
-
return pulumi.get(self, "sku")
|
|
110
|
-
|
|
111
|
-
@sku.setter
|
|
112
|
-
def sku(self, value: Optional[pulumi.Input['ResourceSkuArgs']]):
|
|
113
|
-
pulumi.set(self, "sku", value)
|
|
114
|
-
|
|
115
|
-
@property
|
|
116
|
-
@pulumi.getter
|
|
117
|
-
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
118
|
-
return pulumi.get(self, "tags")
|
|
119
|
-
|
|
120
|
-
@tags.setter
|
|
121
|
-
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
122
|
-
pulumi.set(self, "tags", value)
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
class Monitor(pulumi.CustomResource):
|
|
126
|
-
@overload
|
|
127
|
-
def __init__(__self__,
|
|
128
|
-
resource_name: str,
|
|
129
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
130
|
-
identity: Optional[pulumi.Input[Union['IdentityPropertiesArgs', 'IdentityPropertiesArgsDict']]] = None,
|
|
131
|
-
location: Optional[pulumi.Input[str]] = None,
|
|
132
|
-
monitor_name: Optional[pulumi.Input[str]] = None,
|
|
133
|
-
properties: Optional[pulumi.Input[Union['MonitorPropertiesArgs', 'MonitorPropertiesArgsDict']]] = None,
|
|
134
|
-
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
135
|
-
sku: Optional[pulumi.Input[Union['ResourceSkuArgs', 'ResourceSkuArgsDict']]] = None,
|
|
136
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
137
|
-
__props__=None):
|
|
138
|
-
"""
|
|
139
|
-
Create a Monitor resource with the given unique name, props, and options.
|
|
140
|
-
:param str resource_name: The name of the resource.
|
|
141
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
142
|
-
:param pulumi.Input[str] monitor_name: Monitor resource name
|
|
143
|
-
:param pulumi.Input[Union['MonitorPropertiesArgs', 'MonitorPropertiesArgsDict']] properties: Properties specific to the monitor resource.
|
|
144
|
-
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
145
|
-
"""
|
|
146
|
-
...
|
|
147
|
-
@overload
|
|
148
|
-
def __init__(__self__,
|
|
149
|
-
resource_name: str,
|
|
150
|
-
args: MonitorArgs,
|
|
151
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
|
152
|
-
"""
|
|
153
|
-
Create a Monitor resource with the given unique name, props, and options.
|
|
154
|
-
:param str resource_name: The name of the resource.
|
|
155
|
-
:param MonitorArgs args: The arguments to use to populate this resource's properties.
|
|
156
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
157
|
-
"""
|
|
158
|
-
...
|
|
159
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
160
|
-
resource_args, opts = _utilities.get_resource_args_opts(MonitorArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
161
|
-
if resource_args is not None:
|
|
162
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
163
|
-
else:
|
|
164
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
|
165
|
-
|
|
166
|
-
def _internal_init(__self__,
|
|
167
|
-
resource_name: str,
|
|
168
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
169
|
-
identity: Optional[pulumi.Input[Union['IdentityPropertiesArgs', 'IdentityPropertiesArgsDict']]] = None,
|
|
170
|
-
location: Optional[pulumi.Input[str]] = None,
|
|
171
|
-
monitor_name: Optional[pulumi.Input[str]] = None,
|
|
172
|
-
properties: Optional[pulumi.Input[Union['MonitorPropertiesArgs', 'MonitorPropertiesArgsDict']]] = None,
|
|
173
|
-
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
174
|
-
sku: Optional[pulumi.Input[Union['ResourceSkuArgs', 'ResourceSkuArgsDict']]] = None,
|
|
175
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
176
|
-
__props__=None):
|
|
177
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
178
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
|
179
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
180
|
-
if opts.id is None:
|
|
181
|
-
if __props__ is not None:
|
|
182
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
183
|
-
__props__ = MonitorArgs.__new__(MonitorArgs)
|
|
184
|
-
|
|
185
|
-
__props__.__dict__["identity"] = identity
|
|
186
|
-
__props__.__dict__["location"] = location
|
|
187
|
-
__props__.__dict__["monitor_name"] = monitor_name
|
|
188
|
-
__props__.__dict__["properties"] = properties
|
|
189
|
-
if resource_group_name is None and not opts.urn:
|
|
190
|
-
raise TypeError("Missing required property 'resource_group_name'")
|
|
191
|
-
__props__.__dict__["resource_group_name"] = resource_group_name
|
|
192
|
-
__props__.__dict__["sku"] = sku
|
|
193
|
-
__props__.__dict__["tags"] = tags
|
|
194
|
-
__props__.__dict__["name"] = None
|
|
195
|
-
__props__.__dict__["system_data"] = None
|
|
196
|
-
__props__.__dict__["type"] = None
|
|
197
|
-
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:datadog:Monitor"), pulumi.Alias(type_="azure-native:datadog/v20200201preview:Monitor"), pulumi.Alias(type_="azure-native:datadog/v20210301:Monitor"), pulumi.Alias(type_="azure-native:datadog/v20220601:Monitor"), pulumi.Alias(type_="azure-native:datadog/v20220801:Monitor"), pulumi.Alias(type_="azure-native:datadog/v20230101:Monitor"), pulumi.Alias(type_="azure-native:datadog/v20231020:Monitor")])
|
|
198
|
-
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
199
|
-
super(Monitor, __self__).__init__(
|
|
200
|
-
'azure-native:datadog/v20230707:Monitor',
|
|
201
|
-
resource_name,
|
|
202
|
-
__props__,
|
|
203
|
-
opts)
|
|
204
|
-
|
|
205
|
-
@staticmethod
|
|
206
|
-
def get(resource_name: str,
|
|
207
|
-
id: pulumi.Input[str],
|
|
208
|
-
opts: Optional[pulumi.ResourceOptions] = None) -> 'Monitor':
|
|
209
|
-
"""
|
|
210
|
-
Get an existing Monitor resource's state with the given name, id, and optional extra
|
|
211
|
-
properties used to qualify the lookup.
|
|
212
|
-
|
|
213
|
-
:param str resource_name: The unique name of the resulting resource.
|
|
214
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
215
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
216
|
-
"""
|
|
217
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
218
|
-
|
|
219
|
-
__props__ = MonitorArgs.__new__(MonitorArgs)
|
|
220
|
-
|
|
221
|
-
__props__.__dict__["identity"] = None
|
|
222
|
-
__props__.__dict__["location"] = None
|
|
223
|
-
__props__.__dict__["name"] = None
|
|
224
|
-
__props__.__dict__["properties"] = None
|
|
225
|
-
__props__.__dict__["sku"] = None
|
|
226
|
-
__props__.__dict__["system_data"] = None
|
|
227
|
-
__props__.__dict__["tags"] = None
|
|
228
|
-
__props__.__dict__["type"] = None
|
|
229
|
-
return Monitor(resource_name, opts=opts, __props__=__props__)
|
|
230
|
-
|
|
231
|
-
@property
|
|
232
|
-
@pulumi.getter
|
|
233
|
-
def identity(self) -> pulumi.Output[Optional['outputs.IdentityPropertiesResponse']]:
|
|
234
|
-
return pulumi.get(self, "identity")
|
|
235
|
-
|
|
236
|
-
@property
|
|
237
|
-
@pulumi.getter
|
|
238
|
-
def location(self) -> pulumi.Output[str]:
|
|
239
|
-
return pulumi.get(self, "location")
|
|
240
|
-
|
|
241
|
-
@property
|
|
242
|
-
@pulumi.getter
|
|
243
|
-
def name(self) -> pulumi.Output[str]:
|
|
244
|
-
"""
|
|
245
|
-
Name of the monitor resource.
|
|
246
|
-
"""
|
|
247
|
-
return pulumi.get(self, "name")
|
|
248
|
-
|
|
249
|
-
@property
|
|
250
|
-
@pulumi.getter
|
|
251
|
-
def properties(self) -> pulumi.Output['outputs.MonitorPropertiesResponse']:
|
|
252
|
-
"""
|
|
253
|
-
Properties specific to the monitor resource.
|
|
254
|
-
"""
|
|
255
|
-
return pulumi.get(self, "properties")
|
|
256
|
-
|
|
257
|
-
@property
|
|
258
|
-
@pulumi.getter
|
|
259
|
-
def sku(self) -> pulumi.Output[Optional['outputs.ResourceSkuResponse']]:
|
|
260
|
-
return pulumi.get(self, "sku")
|
|
261
|
-
|
|
262
|
-
@property
|
|
263
|
-
@pulumi.getter(name="systemData")
|
|
264
|
-
def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
|
|
265
|
-
"""
|
|
266
|
-
Metadata pertaining to creation and last modification of the resource.
|
|
267
|
-
"""
|
|
268
|
-
return pulumi.get(self, "system_data")
|
|
269
|
-
|
|
270
|
-
@property
|
|
271
|
-
@pulumi.getter
|
|
272
|
-
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
273
|
-
return pulumi.get(self, "tags")
|
|
274
|
-
|
|
275
|
-
@property
|
|
276
|
-
@pulumi.getter
|
|
277
|
-
def type(self) -> pulumi.Output[str]:
|
|
278
|
-
"""
|
|
279
|
-
The type of the monitor resource.
|
|
280
|
-
"""
|
|
281
|
-
return pulumi.get(self, "type")
|
|
282
|
-
|