pulumi-azure-native 2.78.0a1734184513__py3-none-any.whl → 2.79.0__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 -16
- pulumi_azure_native/alertsmanagement/__init__.py +0 -6
- pulumi_azure_native/alertsmanagement/action_rule_by_name.py +1 -1
- pulumi_azure_native/alertsmanagement/alert_processing_rule_by_name.py +1 -5
- pulumi_azure_native/alertsmanagement/get_alert_processing_rule_by_name.py +0 -4
- pulumi_azure_native/alertsmanagement/v20190505preview/action_rule_by_name.py +1 -1
- pulumi_azure_native/alertsmanagement/v20210808/alert_processing_rule_by_name.py +1 -1
- 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/{alertsmanagement/v20230501preview → compute/v20241104}/__init__.py +2 -2
- pulumi_azure_native/compute/v20241104/_enums.py +31 -0
- pulumi_azure_native/compute/v20241104/_inputs.py +1324 -0
- pulumi_azure_native/{alertsmanagement/v20240301preview/alert_processing_rule_by_name.py → compute/v20241104/cloud_service.py} +87 -58
- pulumi_azure_native/{alertsmanagement/v20240301preview/get_alert_processing_rule_by_name.py → compute/v20241104/get_cloud_service.py} +53 -39
- 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/{alertsmanagement/v20230501preview/get_alert_processing_rule_by_name.py → datadog/v20230707/get_monitor.py} +54 -43
- 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/{alertsmanagement/v20240301preview → quota/v20241218preview}/__init__.py +4 -3
- 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/{alertsmanagement/v20230501preview/alert_processing_rule_by_name.py → servicenetworking/v20250101/frontends_interface.py} +83 -73
- 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.78.0a1734184513.dist-info → pulumi_azure_native-2.79.0.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.78.0a1734184513.dist-info → pulumi_azure_native-2.79.0.dist-info}/RECORD +141 -100
- pulumi_azure_native/alertsmanagement/v20230501preview/_enums.py +0 -80
- pulumi_azure_native/alertsmanagement/v20230501preview/_inputs.py +0 -868
- pulumi_azure_native/alertsmanagement/v20230501preview/outputs.py +0 -795
- pulumi_azure_native/alertsmanagement/v20240301preview/_enums.py +0 -88
- pulumi_azure_native/alertsmanagement/v20240301preview/_inputs.py +0 -965
- pulumi_azure_native/alertsmanagement/v20240301preview/outputs.py +0 -877
- {pulumi_azure_native-2.78.0a1734184513.dist-info → pulumi_azure_native-2.79.0.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.78.0a1734184513.dist-info → pulumi_azure_native-2.79.0.dist-info}/top_level.txt +0 -0
|
@@ -16,21 +16,21 @@ from ... import _utilities
|
|
|
16
16
|
from . import outputs
|
|
17
17
|
|
|
18
18
|
__all__ = [
|
|
19
|
-
'
|
|
20
|
-
'
|
|
21
|
-
'
|
|
22
|
-
'
|
|
19
|
+
'GetMonitorResult',
|
|
20
|
+
'AwaitableGetMonitorResult',
|
|
21
|
+
'get_monitor',
|
|
22
|
+
'get_monitor_output',
|
|
23
23
|
]
|
|
24
24
|
|
|
25
25
|
@pulumi.output_type
|
|
26
|
-
class
|
|
27
|
-
|
|
28
|
-
Alert processing rule object containing target scopes, conditions and scheduling logic.
|
|
29
|
-
"""
|
|
30
|
-
def __init__(__self__, id=None, location=None, name=None, properties=None, system_data=None, tags=None, type=None):
|
|
26
|
+
class GetMonitorResult:
|
|
27
|
+
def __init__(__self__, id=None, identity=None, location=None, name=None, properties=None, sku=None, system_data=None, tags=None, type=None):
|
|
31
28
|
if id and not isinstance(id, str):
|
|
32
29
|
raise TypeError("Expected argument 'id' to be a str")
|
|
33
30
|
pulumi.set(__self__, "id", id)
|
|
31
|
+
if identity and not isinstance(identity, dict):
|
|
32
|
+
raise TypeError("Expected argument 'identity' to be a dict")
|
|
33
|
+
pulumi.set(__self__, "identity", identity)
|
|
34
34
|
if location and not isinstance(location, str):
|
|
35
35
|
raise TypeError("Expected argument 'location' to be a str")
|
|
36
36
|
pulumi.set(__self__, "location", location)
|
|
@@ -40,6 +40,9 @@ class GetAlertProcessingRuleByNameResult:
|
|
|
40
40
|
if properties and not isinstance(properties, dict):
|
|
41
41
|
raise TypeError("Expected argument 'properties' to be a dict")
|
|
42
42
|
pulumi.set(__self__, "properties", properties)
|
|
43
|
+
if sku and not isinstance(sku, dict):
|
|
44
|
+
raise TypeError("Expected argument 'sku' to be a dict")
|
|
45
|
+
pulumi.set(__self__, "sku", sku)
|
|
43
46
|
if system_data and not isinstance(system_data, dict):
|
|
44
47
|
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
45
48
|
pulumi.set(__self__, "system_data", system_data)
|
|
@@ -54,118 +57,126 @@ class GetAlertProcessingRuleByNameResult:
|
|
|
54
57
|
@pulumi.getter
|
|
55
58
|
def id(self) -> str:
|
|
56
59
|
"""
|
|
57
|
-
|
|
60
|
+
ARM id of the monitor resource.
|
|
58
61
|
"""
|
|
59
62
|
return pulumi.get(self, "id")
|
|
60
63
|
|
|
64
|
+
@property
|
|
65
|
+
@pulumi.getter
|
|
66
|
+
def identity(self) -> Optional['outputs.IdentityPropertiesResponse']:
|
|
67
|
+
return pulumi.get(self, "identity")
|
|
68
|
+
|
|
61
69
|
@property
|
|
62
70
|
@pulumi.getter
|
|
63
71
|
def location(self) -> str:
|
|
64
|
-
"""
|
|
65
|
-
Resource location
|
|
66
|
-
"""
|
|
67
72
|
return pulumi.get(self, "location")
|
|
68
73
|
|
|
69
74
|
@property
|
|
70
75
|
@pulumi.getter
|
|
71
76
|
def name(self) -> str:
|
|
72
77
|
"""
|
|
73
|
-
|
|
78
|
+
Name of the monitor resource.
|
|
74
79
|
"""
|
|
75
80
|
return pulumi.get(self, "name")
|
|
76
81
|
|
|
77
82
|
@property
|
|
78
83
|
@pulumi.getter
|
|
79
|
-
def properties(self) -> 'outputs.
|
|
84
|
+
def properties(self) -> 'outputs.MonitorPropertiesResponse':
|
|
80
85
|
"""
|
|
81
|
-
|
|
86
|
+
Properties specific to the monitor resource.
|
|
82
87
|
"""
|
|
83
88
|
return pulumi.get(self, "properties")
|
|
84
89
|
|
|
90
|
+
@property
|
|
91
|
+
@pulumi.getter
|
|
92
|
+
def sku(self) -> Optional['outputs.ResourceSkuResponse']:
|
|
93
|
+
return pulumi.get(self, "sku")
|
|
94
|
+
|
|
85
95
|
@property
|
|
86
96
|
@pulumi.getter(name="systemData")
|
|
87
97
|
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
88
98
|
"""
|
|
89
|
-
|
|
99
|
+
Metadata pertaining to creation and last modification of the resource.
|
|
90
100
|
"""
|
|
91
101
|
return pulumi.get(self, "system_data")
|
|
92
102
|
|
|
93
103
|
@property
|
|
94
104
|
@pulumi.getter
|
|
95
105
|
def tags(self) -> Optional[Mapping[str, str]]:
|
|
96
|
-
"""
|
|
97
|
-
Resource tags
|
|
98
|
-
"""
|
|
99
106
|
return pulumi.get(self, "tags")
|
|
100
107
|
|
|
101
108
|
@property
|
|
102
109
|
@pulumi.getter
|
|
103
110
|
def type(self) -> str:
|
|
104
111
|
"""
|
|
105
|
-
|
|
112
|
+
The type of the monitor resource.
|
|
106
113
|
"""
|
|
107
114
|
return pulumi.get(self, "type")
|
|
108
115
|
|
|
109
116
|
|
|
110
|
-
class
|
|
117
|
+
class AwaitableGetMonitorResult(GetMonitorResult):
|
|
111
118
|
# pylint: disable=using-constant-test
|
|
112
119
|
def __await__(self):
|
|
113
120
|
if False:
|
|
114
121
|
yield self
|
|
115
|
-
return
|
|
122
|
+
return GetMonitorResult(
|
|
116
123
|
id=self.id,
|
|
124
|
+
identity=self.identity,
|
|
117
125
|
location=self.location,
|
|
118
126
|
name=self.name,
|
|
119
127
|
properties=self.properties,
|
|
128
|
+
sku=self.sku,
|
|
120
129
|
system_data=self.system_data,
|
|
121
130
|
tags=self.tags,
|
|
122
131
|
type=self.type)
|
|
123
132
|
|
|
124
133
|
|
|
125
|
-
def
|
|
126
|
-
|
|
127
|
-
|
|
134
|
+
def get_monitor(monitor_name: Optional[str] = None,
|
|
135
|
+
resource_group_name: Optional[str] = None,
|
|
136
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitorResult:
|
|
128
137
|
"""
|
|
129
|
-
|
|
130
|
-
|
|
138
|
+
Use this data source to access information about an existing resource.
|
|
131
139
|
|
|
132
|
-
:param str
|
|
133
|
-
:param str resource_group_name:
|
|
140
|
+
:param str monitor_name: Monitor resource name
|
|
141
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
134
142
|
"""
|
|
135
143
|
__args__ = dict()
|
|
136
|
-
__args__['
|
|
144
|
+
__args__['monitorName'] = monitor_name
|
|
137
145
|
__args__['resourceGroupName'] = resource_group_name
|
|
138
146
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
139
|
-
__ret__ = pulumi.runtime.invoke('azure-native:
|
|
147
|
+
__ret__ = pulumi.runtime.invoke('azure-native:datadog/v20230707:getMonitor', __args__, opts=opts, typ=GetMonitorResult).value
|
|
140
148
|
|
|
141
|
-
return
|
|
149
|
+
return AwaitableGetMonitorResult(
|
|
142
150
|
id=pulumi.get(__ret__, 'id'),
|
|
151
|
+
identity=pulumi.get(__ret__, 'identity'),
|
|
143
152
|
location=pulumi.get(__ret__, 'location'),
|
|
144
153
|
name=pulumi.get(__ret__, 'name'),
|
|
145
154
|
properties=pulumi.get(__ret__, 'properties'),
|
|
155
|
+
sku=pulumi.get(__ret__, 'sku'),
|
|
146
156
|
system_data=pulumi.get(__ret__, 'system_data'),
|
|
147
157
|
tags=pulumi.get(__ret__, 'tags'),
|
|
148
158
|
type=pulumi.get(__ret__, 'type'))
|
|
149
|
-
def
|
|
150
|
-
|
|
151
|
-
|
|
159
|
+
def get_monitor_output(monitor_name: Optional[pulumi.Input[str]] = None,
|
|
160
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
161
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMonitorResult]:
|
|
152
162
|
"""
|
|
153
|
-
|
|
154
|
-
|
|
163
|
+
Use this data source to access information about an existing resource.
|
|
155
164
|
|
|
156
|
-
:param str
|
|
157
|
-
:param str resource_group_name:
|
|
165
|
+
:param str monitor_name: Monitor resource name
|
|
166
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
158
167
|
"""
|
|
159
168
|
__args__ = dict()
|
|
160
|
-
__args__['
|
|
169
|
+
__args__['monitorName'] = monitor_name
|
|
161
170
|
__args__['resourceGroupName'] = resource_group_name
|
|
162
171
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
163
|
-
__ret__ = pulumi.runtime.invoke_output('azure-native:
|
|
164
|
-
return __ret__.apply(lambda __response__:
|
|
172
|
+
__ret__ = pulumi.runtime.invoke_output('azure-native:datadog/v20230707:getMonitor', __args__, opts=opts, typ=GetMonitorResult)
|
|
173
|
+
return __ret__.apply(lambda __response__: GetMonitorResult(
|
|
165
174
|
id=pulumi.get(__response__, 'id'),
|
|
175
|
+
identity=pulumi.get(__response__, 'identity'),
|
|
166
176
|
location=pulumi.get(__response__, 'location'),
|
|
167
177
|
name=pulumi.get(__response__, 'name'),
|
|
168
178
|
properties=pulumi.get(__response__, 'properties'),
|
|
179
|
+
sku=pulumi.get(__response__, 'sku'),
|
|
169
180
|
system_data=pulumi.get(__response__, 'system_data'),
|
|
170
181
|
tags=pulumi.get(__response__, 'tags'),
|
|
171
182
|
type=pulumi.get(__response__, 'type')))
|
|
@@ -0,0 +1,123 @@
|
|
|
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
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
'GetMonitorDefaultKeyResult',
|
|
19
|
+
'AwaitableGetMonitorDefaultKeyResult',
|
|
20
|
+
'get_monitor_default_key',
|
|
21
|
+
'get_monitor_default_key_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetMonitorDefaultKeyResult:
|
|
26
|
+
def __init__(__self__, created=None, created_by=None, key=None, name=None):
|
|
27
|
+
if created and not isinstance(created, str):
|
|
28
|
+
raise TypeError("Expected argument 'created' to be a str")
|
|
29
|
+
pulumi.set(__self__, "created", created)
|
|
30
|
+
if created_by and not isinstance(created_by, str):
|
|
31
|
+
raise TypeError("Expected argument 'created_by' to be a str")
|
|
32
|
+
pulumi.set(__self__, "created_by", created_by)
|
|
33
|
+
if key and not isinstance(key, str):
|
|
34
|
+
raise TypeError("Expected argument 'key' to be a str")
|
|
35
|
+
pulumi.set(__self__, "key", key)
|
|
36
|
+
if name and not isinstance(name, str):
|
|
37
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
38
|
+
pulumi.set(__self__, "name", name)
|
|
39
|
+
|
|
40
|
+
@property
|
|
41
|
+
@pulumi.getter
|
|
42
|
+
def created(self) -> Optional[str]:
|
|
43
|
+
"""
|
|
44
|
+
The time of creation of the API key.
|
|
45
|
+
"""
|
|
46
|
+
return pulumi.get(self, "created")
|
|
47
|
+
|
|
48
|
+
@property
|
|
49
|
+
@pulumi.getter(name="createdBy")
|
|
50
|
+
def created_by(self) -> Optional[str]:
|
|
51
|
+
"""
|
|
52
|
+
The user that created the API key.
|
|
53
|
+
"""
|
|
54
|
+
return pulumi.get(self, "created_by")
|
|
55
|
+
|
|
56
|
+
@property
|
|
57
|
+
@pulumi.getter
|
|
58
|
+
def key(self) -> str:
|
|
59
|
+
"""
|
|
60
|
+
The value of the API key.
|
|
61
|
+
"""
|
|
62
|
+
return pulumi.get(self, "key")
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
@pulumi.getter
|
|
66
|
+
def name(self) -> Optional[str]:
|
|
67
|
+
"""
|
|
68
|
+
The name of the API key.
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "name")
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
class AwaitableGetMonitorDefaultKeyResult(GetMonitorDefaultKeyResult):
|
|
74
|
+
# pylint: disable=using-constant-test
|
|
75
|
+
def __await__(self):
|
|
76
|
+
if False:
|
|
77
|
+
yield self
|
|
78
|
+
return GetMonitorDefaultKeyResult(
|
|
79
|
+
created=self.created,
|
|
80
|
+
created_by=self.created_by,
|
|
81
|
+
key=self.key,
|
|
82
|
+
name=self.name)
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
def get_monitor_default_key(monitor_name: Optional[str] = None,
|
|
86
|
+
resource_group_name: Optional[str] = None,
|
|
87
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitorDefaultKeyResult:
|
|
88
|
+
"""
|
|
89
|
+
Use this data source to access information about an existing resource.
|
|
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.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
98
|
+
__ret__ = pulumi.runtime.invoke('azure-native:datadog/v20230707:getMonitorDefaultKey', __args__, opts=opts, typ=GetMonitorDefaultKeyResult).value
|
|
99
|
+
|
|
100
|
+
return AwaitableGetMonitorDefaultKeyResult(
|
|
101
|
+
created=pulumi.get(__ret__, 'created'),
|
|
102
|
+
created_by=pulumi.get(__ret__, 'created_by'),
|
|
103
|
+
key=pulumi.get(__ret__, 'key'),
|
|
104
|
+
name=pulumi.get(__ret__, 'name'))
|
|
105
|
+
def get_monitor_default_key_output(monitor_name: Optional[pulumi.Input[str]] = None,
|
|
106
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
107
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMonitorDefaultKeyResult]:
|
|
108
|
+
"""
|
|
109
|
+
Use this data source to access information about an existing resource.
|
|
110
|
+
|
|
111
|
+
:param str monitor_name: Monitor resource name
|
|
112
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
113
|
+
"""
|
|
114
|
+
__args__ = dict()
|
|
115
|
+
__args__['monitorName'] = monitor_name
|
|
116
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
117
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
118
|
+
__ret__ = pulumi.runtime.invoke_output('azure-native:datadog/v20230707:getMonitorDefaultKey', __args__, opts=opts, typ=GetMonitorDefaultKeyResult)
|
|
119
|
+
return __ret__.apply(lambda __response__: GetMonitorDefaultKeyResult(
|
|
120
|
+
created=pulumi.get(__response__, 'created'),
|
|
121
|
+
created_by=pulumi.get(__response__, 'created_by'),
|
|
122
|
+
key=pulumi.get(__response__, 'key'),
|
|
123
|
+
name=pulumi.get(__response__, 'name')))
|
|
@@ -0,0 +1,135 @@
|
|
|
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
|
+
'GetMonitoredSubscriptionResult',
|
|
20
|
+
'AwaitableGetMonitoredSubscriptionResult',
|
|
21
|
+
'get_monitored_subscription',
|
|
22
|
+
'get_monitored_subscription_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetMonitoredSubscriptionResult:
|
|
27
|
+
"""
|
|
28
|
+
The request to update subscriptions needed to be monitored by the Datadog monitor resource.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, id=None, name=None, properties=None, type=None):
|
|
31
|
+
if id and not isinstance(id, str):
|
|
32
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
33
|
+
pulumi.set(__self__, "id", id)
|
|
34
|
+
if name and not isinstance(name, str):
|
|
35
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
36
|
+
pulumi.set(__self__, "name", name)
|
|
37
|
+
if properties and not isinstance(properties, dict):
|
|
38
|
+
raise TypeError("Expected argument 'properties' to be a dict")
|
|
39
|
+
pulumi.set(__self__, "properties", properties)
|
|
40
|
+
if type and not isinstance(type, str):
|
|
41
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
42
|
+
pulumi.set(__self__, "type", type)
|
|
43
|
+
|
|
44
|
+
@property
|
|
45
|
+
@pulumi.getter
|
|
46
|
+
def id(self) -> str:
|
|
47
|
+
"""
|
|
48
|
+
The id of the monitored subscription resource.
|
|
49
|
+
"""
|
|
50
|
+
return pulumi.get(self, "id")
|
|
51
|
+
|
|
52
|
+
@property
|
|
53
|
+
@pulumi.getter
|
|
54
|
+
def name(self) -> str:
|
|
55
|
+
"""
|
|
56
|
+
Name of the monitored subscription resource.
|
|
57
|
+
"""
|
|
58
|
+
return pulumi.get(self, "name")
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
@pulumi.getter
|
|
62
|
+
def properties(self) -> 'outputs.SubscriptionListResponse':
|
|
63
|
+
"""
|
|
64
|
+
The request to update subscriptions needed to be monitored by the Datadog monitor resource.
|
|
65
|
+
"""
|
|
66
|
+
return pulumi.get(self, "properties")
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
@pulumi.getter
|
|
70
|
+
def type(self) -> str:
|
|
71
|
+
"""
|
|
72
|
+
The type of the monitored subscription resource.
|
|
73
|
+
"""
|
|
74
|
+
return pulumi.get(self, "type")
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
class AwaitableGetMonitoredSubscriptionResult(GetMonitoredSubscriptionResult):
|
|
78
|
+
# pylint: disable=using-constant-test
|
|
79
|
+
def __await__(self):
|
|
80
|
+
if False:
|
|
81
|
+
yield self
|
|
82
|
+
return GetMonitoredSubscriptionResult(
|
|
83
|
+
id=self.id,
|
|
84
|
+
name=self.name,
|
|
85
|
+
properties=self.properties,
|
|
86
|
+
type=self.type)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
def get_monitored_subscription(configuration_name: Optional[str] = None,
|
|
90
|
+
monitor_name: Optional[str] = None,
|
|
91
|
+
resource_group_name: Optional[str] = None,
|
|
92
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitoredSubscriptionResult:
|
|
93
|
+
"""
|
|
94
|
+
The request to update subscriptions needed to be monitored by the Datadog monitor resource.
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
:param str configuration_name: The configuration name. Only 'default' value is supported.
|
|
98
|
+
:param str monitor_name: Monitor resource name
|
|
99
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
100
|
+
"""
|
|
101
|
+
__args__ = dict()
|
|
102
|
+
__args__['configurationName'] = configuration_name
|
|
103
|
+
__args__['monitorName'] = monitor_name
|
|
104
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
105
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
106
|
+
__ret__ = pulumi.runtime.invoke('azure-native:datadog/v20230707:getMonitoredSubscription', __args__, opts=opts, typ=GetMonitoredSubscriptionResult).value
|
|
107
|
+
|
|
108
|
+
return AwaitableGetMonitoredSubscriptionResult(
|
|
109
|
+
id=pulumi.get(__ret__, 'id'),
|
|
110
|
+
name=pulumi.get(__ret__, 'name'),
|
|
111
|
+
properties=pulumi.get(__ret__, 'properties'),
|
|
112
|
+
type=pulumi.get(__ret__, 'type'))
|
|
113
|
+
def get_monitored_subscription_output(configuration_name: Optional[pulumi.Input[str]] = None,
|
|
114
|
+
monitor_name: Optional[pulumi.Input[str]] = None,
|
|
115
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
116
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMonitoredSubscriptionResult]:
|
|
117
|
+
"""
|
|
118
|
+
The request to update subscriptions needed to be monitored by the Datadog monitor resource.
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:param str configuration_name: The configuration name. Only 'default' value is supported.
|
|
122
|
+
:param str monitor_name: Monitor resource name
|
|
123
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
124
|
+
"""
|
|
125
|
+
__args__ = dict()
|
|
126
|
+
__args__['configurationName'] = configuration_name
|
|
127
|
+
__args__['monitorName'] = monitor_name
|
|
128
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
129
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
130
|
+
__ret__ = pulumi.runtime.invoke_output('azure-native:datadog/v20230707:getMonitoredSubscription', __args__, opts=opts, typ=GetMonitoredSubscriptionResult)
|
|
131
|
+
return __ret__.apply(lambda __response__: GetMonitoredSubscriptionResult(
|
|
132
|
+
id=pulumi.get(__response__, 'id'),
|
|
133
|
+
name=pulumi.get(__response__, 'name'),
|
|
134
|
+
properties=pulumi.get(__response__, 'properties'),
|
|
135
|
+
type=pulumi.get(__response__, 'type')))
|
|
@@ -0,0 +1,101 @@
|
|
|
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
|
+
'ListMonitorApiKeysResult',
|
|
20
|
+
'AwaitableListMonitorApiKeysResult',
|
|
21
|
+
'list_monitor_api_keys',
|
|
22
|
+
'list_monitor_api_keys_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class ListMonitorApiKeysResult:
|
|
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.DatadogApiKeyResponse']]:
|
|
49
|
+
"""
|
|
50
|
+
Results of a list operation.
|
|
51
|
+
"""
|
|
52
|
+
return pulumi.get(self, "value")
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
class AwaitableListMonitorApiKeysResult(ListMonitorApiKeysResult):
|
|
56
|
+
# pylint: disable=using-constant-test
|
|
57
|
+
def __await__(self):
|
|
58
|
+
if False:
|
|
59
|
+
yield self
|
|
60
|
+
return ListMonitorApiKeysResult(
|
|
61
|
+
next_link=self.next_link,
|
|
62
|
+
value=self.value)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def list_monitor_api_keys(monitor_name: Optional[str] = None,
|
|
66
|
+
resource_group_name: Optional[str] = None,
|
|
67
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListMonitorApiKeysResult:
|
|
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:listMonitorApiKeys', __args__, opts=opts, typ=ListMonitorApiKeysResult).value
|
|
80
|
+
|
|
81
|
+
return AwaitableListMonitorApiKeysResult(
|
|
82
|
+
next_link=pulumi.get(__ret__, 'next_link'),
|
|
83
|
+
value=pulumi.get(__ret__, 'value'))
|
|
84
|
+
def list_monitor_api_keys_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[ListMonitorApiKeysResult]:
|
|
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:listMonitorApiKeys', __args__, opts=opts, typ=ListMonitorApiKeysResult)
|
|
99
|
+
return __ret__.apply(lambda __response__: ListMonitorApiKeysResult(
|
|
100
|
+
next_link=pulumi.get(__response__, 'next_link'),
|
|
101
|
+
value=pulumi.get(__response__, 'value')))
|
|
@@ -0,0 +1,101 @@
|
|
|
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
|
+
'ListMonitorHostsResult',
|
|
20
|
+
'AwaitableListMonitorHostsResult',
|
|
21
|
+
'list_monitor_hosts',
|
|
22
|
+
'list_monitor_hosts_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class ListMonitorHostsResult:
|
|
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.DatadogHostResponse']]:
|
|
49
|
+
"""
|
|
50
|
+
Results of a list operation.
|
|
51
|
+
"""
|
|
52
|
+
return pulumi.get(self, "value")
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
class AwaitableListMonitorHostsResult(ListMonitorHostsResult):
|
|
56
|
+
# pylint: disable=using-constant-test
|
|
57
|
+
def __await__(self):
|
|
58
|
+
if False:
|
|
59
|
+
yield self
|
|
60
|
+
return ListMonitorHostsResult(
|
|
61
|
+
next_link=self.next_link,
|
|
62
|
+
value=self.value)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def list_monitor_hosts(monitor_name: Optional[str] = None,
|
|
66
|
+
resource_group_name: Optional[str] = None,
|
|
67
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListMonitorHostsResult:
|
|
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:listMonitorHosts', __args__, opts=opts, typ=ListMonitorHostsResult).value
|
|
80
|
+
|
|
81
|
+
return AwaitableListMonitorHostsResult(
|
|
82
|
+
next_link=pulumi.get(__ret__, 'next_link'),
|
|
83
|
+
value=pulumi.get(__ret__, 'value'))
|
|
84
|
+
def list_monitor_hosts_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[ListMonitorHostsResult]:
|
|
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:listMonitorHosts', __args__, opts=opts, typ=ListMonitorHostsResult)
|
|
99
|
+
return __ret__.apply(lambda __response__: ListMonitorHostsResult(
|
|
100
|
+
next_link=pulumi.get(__response__, 'next_link'),
|
|
101
|
+
value=pulumi.get(__response__, 'value')))
|