pulumi-azure-native 2.55.0a1723186763__py3-none-any.whl → 2.55.0a1723193023__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.

Files changed (50) hide show
  1. pulumi_azure_native/__init__.py +10 -0
  2. pulumi_azure_native/documentdb/__init__.py +3 -0
  3. pulumi_azure_native/documentdb/firewall_rule.py +5 -1
  4. pulumi_azure_native/documentdb/get_firewall_rule.py +4 -0
  5. pulumi_azure_native/documentdb/get_mongo_cluster.py +2 -2
  6. pulumi_azure_native/documentdb/get_private_endpoint_connection.py +2 -2
  7. pulumi_azure_native/documentdb/list_mongo_cluster_connection_strings.py +2 -2
  8. pulumi_azure_native/documentdb/mongo_cluster.py +3 -3
  9. pulumi_azure_native/documentdb/mongo_cluster_firewall_rule.py +1 -1
  10. pulumi_azure_native/documentdb/private_endpoint_connection.py +2 -2
  11. pulumi_azure_native/documentdb/v20230315preview/mongo_cluster.py +1 -1
  12. pulumi_azure_native/documentdb/v20230315preview/mongo_cluster_firewall_rule.py +1 -1
  13. pulumi_azure_native/documentdb/v20230915preview/mongo_cluster.py +1 -1
  14. pulumi_azure_native/documentdb/v20230915preview/mongo_cluster_firewall_rule.py +1 -1
  15. pulumi_azure_native/documentdb/v20231115preview/mongo_cluster.py +1 -1
  16. pulumi_azure_native/documentdb/v20231115preview/mongo_cluster_firewall_rule.py +1 -1
  17. pulumi_azure_native/documentdb/v20240215preview/mongo_cluster.py +1 -1
  18. pulumi_azure_native/documentdb/v20240215preview/mongo_cluster_firewall_rule.py +1 -1
  19. pulumi_azure_native/documentdb/v20240301preview/firewall_rule.py +1 -1
  20. pulumi_azure_native/documentdb/v20240301preview/mongo_cluster.py +1 -1
  21. pulumi_azure_native/documentdb/v20240301preview/private_endpoint_connection.py +2 -0
  22. pulumi_azure_native/documentdb/v20240601preview/__init__.py +17 -0
  23. pulumi_azure_native/documentdb/v20240601preview/_enums.py +78 -0
  24. pulumi_azure_native/documentdb/v20240601preview/_inputs.py +332 -0
  25. pulumi_azure_native/documentdb/v20240601preview/firewall_rule.py +260 -0
  26. pulumi_azure_native/documentdb/v20240601preview/get_firewall_rule.py +167 -0
  27. pulumi_azure_native/documentdb/v20240601preview/get_mongo_cluster.py +305 -0
  28. pulumi_azure_native/documentdb/v20240601preview/get_private_endpoint_connection.py +180 -0
  29. pulumi_azure_native/documentdb/v20240601preview/list_mongo_cluster_connection_strings.py +84 -0
  30. pulumi_azure_native/documentdb/v20240601preview/mongo_cluster.py +524 -0
  31. pulumi_azure_native/documentdb/v20240601preview/outputs.py +537 -0
  32. pulumi_azure_native/documentdb/v20240601preview/private_endpoint_connection.py +252 -0
  33. pulumi_azure_native/machinelearningservices/v20240401preview/outputs.py +55 -11
  34. pulumi_azure_native/machinelearningservices/v20240701preview/_inputs.py +10 -10
  35. pulumi_azure_native/machinelearningservices/v20240701preview/outputs.py +60 -18
  36. pulumi_azure_native/monitor/_enums.py +6 -2
  37. pulumi_azure_native/monitor/_inputs.py +56 -56
  38. pulumi_azure_native/monitor/get_pipeline_group.py +1 -1
  39. pulumi_azure_native/monitor/outputs.py +34 -34
  40. pulumi_azure_native/monitor/pipeline_group.py +8 -8
  41. pulumi_azure_native/monitor/v20231001preview/_enums.py +6 -2
  42. pulumi_azure_native/monitor/v20231001preview/_inputs.py +56 -56
  43. pulumi_azure_native/monitor/v20231001preview/get_pipeline_group.py +1 -1
  44. pulumi_azure_native/monitor/v20231001preview/outputs.py +34 -34
  45. pulumi_azure_native/monitor/v20231001preview/pipeline_group.py +8 -8
  46. pulumi_azure_native/pulumi-plugin.json +1 -1
  47. {pulumi_azure_native-2.55.0a1723186763.dist-info → pulumi_azure_native-2.55.0a1723193023.dist-info}/METADATA +1 -1
  48. {pulumi_azure_native-2.55.0a1723186763.dist-info → pulumi_azure_native-2.55.0a1723193023.dist-info}/RECORD +50 -39
  49. {pulumi_azure_native-2.55.0a1723186763.dist-info → pulumi_azure_native-2.55.0a1723193023.dist-info}/WHEEL +0 -0
  50. {pulumi_azure_native-2.55.0a1723186763.dist-info → pulumi_azure_native-2.55.0a1723193023.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,167 @@
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
+ 'GetFirewallRuleResult',
20
+ 'AwaitableGetFirewallRuleResult',
21
+ 'get_firewall_rule',
22
+ 'get_firewall_rule_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetFirewallRuleResult:
27
+ """
28
+ Represents a mongo cluster firewall rule.
29
+ """
30
+ def __init__(__self__, end_ip_address=None, id=None, name=None, provisioning_state=None, start_ip_address=None, system_data=None, type=None):
31
+ if end_ip_address and not isinstance(end_ip_address, str):
32
+ raise TypeError("Expected argument 'end_ip_address' to be a str")
33
+ pulumi.set(__self__, "end_ip_address", end_ip_address)
34
+ if id and not isinstance(id, str):
35
+ raise TypeError("Expected argument 'id' to be a str")
36
+ pulumi.set(__self__, "id", id)
37
+ if name and not isinstance(name, str):
38
+ raise TypeError("Expected argument 'name' to be a str")
39
+ pulumi.set(__self__, "name", name)
40
+ if provisioning_state and not isinstance(provisioning_state, str):
41
+ raise TypeError("Expected argument 'provisioning_state' to be a str")
42
+ pulumi.set(__self__, "provisioning_state", provisioning_state)
43
+ if start_ip_address and not isinstance(start_ip_address, str):
44
+ raise TypeError("Expected argument 'start_ip_address' to be a str")
45
+ pulumi.set(__self__, "start_ip_address", start_ip_address)
46
+ if system_data and not isinstance(system_data, dict):
47
+ raise TypeError("Expected argument 'system_data' to be a dict")
48
+ pulumi.set(__self__, "system_data", system_data)
49
+ if type and not isinstance(type, str):
50
+ raise TypeError("Expected argument 'type' to be a str")
51
+ pulumi.set(__self__, "type", type)
52
+
53
+ @property
54
+ @pulumi.getter(name="endIpAddress")
55
+ def end_ip_address(self) -> str:
56
+ """
57
+ The end IP address of the mongo cluster firewall rule. Must be IPv4 format.
58
+ """
59
+ return pulumi.get(self, "end_ip_address")
60
+
61
+ @property
62
+ @pulumi.getter
63
+ def id(self) -> str:
64
+ """
65
+ Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
66
+ """
67
+ return pulumi.get(self, "id")
68
+
69
+ @property
70
+ @pulumi.getter
71
+ def name(self) -> str:
72
+ """
73
+ The name of the resource
74
+ """
75
+ return pulumi.get(self, "name")
76
+
77
+ @property
78
+ @pulumi.getter(name="provisioningState")
79
+ def provisioning_state(self) -> str:
80
+ """
81
+ The provisioning state of the firewall rule.
82
+ """
83
+ return pulumi.get(self, "provisioning_state")
84
+
85
+ @property
86
+ @pulumi.getter(name="startIpAddress")
87
+ def start_ip_address(self) -> str:
88
+ """
89
+ The start IP address of the mongo cluster firewall rule. Must be IPv4 format.
90
+ """
91
+ return pulumi.get(self, "start_ip_address")
92
+
93
+ @property
94
+ @pulumi.getter(name="systemData")
95
+ def system_data(self) -> 'outputs.SystemDataResponse':
96
+ """
97
+ Azure Resource Manager metadata containing createdBy and modifiedBy information.
98
+ """
99
+ return pulumi.get(self, "system_data")
100
+
101
+ @property
102
+ @pulumi.getter
103
+ def type(self) -> str:
104
+ """
105
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
106
+ """
107
+ return pulumi.get(self, "type")
108
+
109
+
110
+ class AwaitableGetFirewallRuleResult(GetFirewallRuleResult):
111
+ # pylint: disable=using-constant-test
112
+ def __await__(self):
113
+ if False:
114
+ yield self
115
+ return GetFirewallRuleResult(
116
+ end_ip_address=self.end_ip_address,
117
+ id=self.id,
118
+ name=self.name,
119
+ provisioning_state=self.provisioning_state,
120
+ start_ip_address=self.start_ip_address,
121
+ system_data=self.system_data,
122
+ type=self.type)
123
+
124
+
125
+ def get_firewall_rule(firewall_rule_name: Optional[str] = None,
126
+ mongo_cluster_name: Optional[str] = None,
127
+ resource_group_name: Optional[str] = None,
128
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFirewallRuleResult:
129
+ """
130
+ Gets information about a mongo cluster firewall rule.
131
+
132
+
133
+ :param str firewall_rule_name: The name of the mongo cluster firewall rule.
134
+ :param str mongo_cluster_name: The name of the mongo cluster.
135
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
136
+ """
137
+ __args__ = dict()
138
+ __args__['firewallRuleName'] = firewall_rule_name
139
+ __args__['mongoClusterName'] = mongo_cluster_name
140
+ __args__['resourceGroupName'] = resource_group_name
141
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
142
+ __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20240601preview:getFirewallRule', __args__, opts=opts, typ=GetFirewallRuleResult).value
143
+
144
+ return AwaitableGetFirewallRuleResult(
145
+ end_ip_address=pulumi.get(__ret__, 'end_ip_address'),
146
+ id=pulumi.get(__ret__, 'id'),
147
+ name=pulumi.get(__ret__, 'name'),
148
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
149
+ start_ip_address=pulumi.get(__ret__, 'start_ip_address'),
150
+ system_data=pulumi.get(__ret__, 'system_data'),
151
+ type=pulumi.get(__ret__, 'type'))
152
+
153
+
154
+ @_utilities.lift_output_func(get_firewall_rule)
155
+ def get_firewall_rule_output(firewall_rule_name: Optional[pulumi.Input[str]] = None,
156
+ mongo_cluster_name: Optional[pulumi.Input[str]] = None,
157
+ resource_group_name: Optional[pulumi.Input[str]] = None,
158
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFirewallRuleResult]:
159
+ """
160
+ Gets information about a mongo cluster firewall rule.
161
+
162
+
163
+ :param str firewall_rule_name: The name of the mongo cluster firewall rule.
164
+ :param str mongo_cluster_name: The name of the mongo cluster.
165
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
166
+ """
167
+ ...
@@ -0,0 +1,305 @@
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
+ 'GetMongoClusterResult',
20
+ 'AwaitableGetMongoClusterResult',
21
+ 'get_mongo_cluster',
22
+ 'get_mongo_cluster_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetMongoClusterResult:
27
+ """
28
+ Represents a mongo cluster resource.
29
+ """
30
+ def __init__(__self__, administrator_login=None, cluster_status=None, connection_string=None, earliest_restore_time=None, id=None, infrastructure_version=None, location=None, name=None, node_group_specs=None, preview_features=None, private_endpoint_connections=None, provisioning_state=None, public_network_access=None, replica=None, server_version=None, system_data=None, tags=None, type=None):
31
+ if administrator_login and not isinstance(administrator_login, str):
32
+ raise TypeError("Expected argument 'administrator_login' to be a str")
33
+ pulumi.set(__self__, "administrator_login", administrator_login)
34
+ if cluster_status and not isinstance(cluster_status, str):
35
+ raise TypeError("Expected argument 'cluster_status' to be a str")
36
+ pulumi.set(__self__, "cluster_status", cluster_status)
37
+ if connection_string and not isinstance(connection_string, str):
38
+ raise TypeError("Expected argument 'connection_string' to be a str")
39
+ pulumi.set(__self__, "connection_string", connection_string)
40
+ if earliest_restore_time and not isinstance(earliest_restore_time, str):
41
+ raise TypeError("Expected argument 'earliest_restore_time' to be a str")
42
+ pulumi.set(__self__, "earliest_restore_time", earliest_restore_time)
43
+ if id and not isinstance(id, str):
44
+ raise TypeError("Expected argument 'id' to be a str")
45
+ pulumi.set(__self__, "id", id)
46
+ if infrastructure_version and not isinstance(infrastructure_version, str):
47
+ raise TypeError("Expected argument 'infrastructure_version' to be a str")
48
+ pulumi.set(__self__, "infrastructure_version", infrastructure_version)
49
+ if location and not isinstance(location, str):
50
+ raise TypeError("Expected argument 'location' to be a str")
51
+ pulumi.set(__self__, "location", location)
52
+ if name and not isinstance(name, str):
53
+ raise TypeError("Expected argument 'name' to be a str")
54
+ pulumi.set(__self__, "name", name)
55
+ if node_group_specs and not isinstance(node_group_specs, list):
56
+ raise TypeError("Expected argument 'node_group_specs' to be a list")
57
+ pulumi.set(__self__, "node_group_specs", node_group_specs)
58
+ if preview_features and not isinstance(preview_features, list):
59
+ raise TypeError("Expected argument 'preview_features' to be a list")
60
+ pulumi.set(__self__, "preview_features", preview_features)
61
+ if private_endpoint_connections and not isinstance(private_endpoint_connections, list):
62
+ raise TypeError("Expected argument 'private_endpoint_connections' to be a list")
63
+ pulumi.set(__self__, "private_endpoint_connections", private_endpoint_connections)
64
+ if provisioning_state and not isinstance(provisioning_state, str):
65
+ raise TypeError("Expected argument 'provisioning_state' to be a str")
66
+ pulumi.set(__self__, "provisioning_state", provisioning_state)
67
+ if public_network_access and not isinstance(public_network_access, str):
68
+ raise TypeError("Expected argument 'public_network_access' to be a str")
69
+ pulumi.set(__self__, "public_network_access", public_network_access)
70
+ if replica and not isinstance(replica, dict):
71
+ raise TypeError("Expected argument 'replica' to be a dict")
72
+ pulumi.set(__self__, "replica", replica)
73
+ if server_version and not isinstance(server_version, str):
74
+ raise TypeError("Expected argument 'server_version' to be a str")
75
+ pulumi.set(__self__, "server_version", server_version)
76
+ if system_data and not isinstance(system_data, dict):
77
+ raise TypeError("Expected argument 'system_data' to be a dict")
78
+ pulumi.set(__self__, "system_data", system_data)
79
+ if tags and not isinstance(tags, dict):
80
+ raise TypeError("Expected argument 'tags' to be a dict")
81
+ pulumi.set(__self__, "tags", tags)
82
+ if type and not isinstance(type, str):
83
+ raise TypeError("Expected argument 'type' to be a str")
84
+ pulumi.set(__self__, "type", type)
85
+
86
+ @property
87
+ @pulumi.getter(name="administratorLogin")
88
+ def administrator_login(self) -> Optional[str]:
89
+ """
90
+ The administrator's login for the mongo cluster.
91
+ """
92
+ return pulumi.get(self, "administrator_login")
93
+
94
+ @property
95
+ @pulumi.getter(name="clusterStatus")
96
+ def cluster_status(self) -> str:
97
+ """
98
+ The status of the mongo cluster.
99
+ """
100
+ return pulumi.get(self, "cluster_status")
101
+
102
+ @property
103
+ @pulumi.getter(name="connectionString")
104
+ def connection_string(self) -> str:
105
+ """
106
+ The default mongo connection string for the cluster.
107
+ """
108
+ return pulumi.get(self, "connection_string")
109
+
110
+ @property
111
+ @pulumi.getter(name="earliestRestoreTime")
112
+ def earliest_restore_time(self) -> str:
113
+ """
114
+ Earliest restore timestamp in UTC ISO8601 format.
115
+ """
116
+ return pulumi.get(self, "earliest_restore_time")
117
+
118
+ @property
119
+ @pulumi.getter
120
+ def id(self) -> str:
121
+ """
122
+ Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
123
+ """
124
+ return pulumi.get(self, "id")
125
+
126
+ @property
127
+ @pulumi.getter(name="infrastructureVersion")
128
+ def infrastructure_version(self) -> str:
129
+ """
130
+ The infrastructure version the cluster is provisioned on.
131
+ """
132
+ return pulumi.get(self, "infrastructure_version")
133
+
134
+ @property
135
+ @pulumi.getter
136
+ def location(self) -> str:
137
+ """
138
+ The geo-location where the resource lives
139
+ """
140
+ return pulumi.get(self, "location")
141
+
142
+ @property
143
+ @pulumi.getter
144
+ def name(self) -> str:
145
+ """
146
+ The name of the resource
147
+ """
148
+ return pulumi.get(self, "name")
149
+
150
+ @property
151
+ @pulumi.getter(name="nodeGroupSpecs")
152
+ def node_group_specs(self) -> Optional[Sequence['outputs.NodeGroupSpecResponse']]:
153
+ """
154
+ The list of node group specs in the cluster.
155
+ """
156
+ return pulumi.get(self, "node_group_specs")
157
+
158
+ @property
159
+ @pulumi.getter(name="previewFeatures")
160
+ def preview_features(self) -> Optional[Sequence[str]]:
161
+ """
162
+ List of private endpoint connections.
163
+ """
164
+ return pulumi.get(self, "preview_features")
165
+
166
+ @property
167
+ @pulumi.getter(name="privateEndpointConnections")
168
+ def private_endpoint_connections(self) -> Sequence['outputs.PrivateEndpointConnectionResponse']:
169
+ """
170
+ List of private endpoint connections.
171
+ """
172
+ return pulumi.get(self, "private_endpoint_connections")
173
+
174
+ @property
175
+ @pulumi.getter(name="provisioningState")
176
+ def provisioning_state(self) -> str:
177
+ """
178
+ The provisioning state of the mongo cluster.
179
+ """
180
+ return pulumi.get(self, "provisioning_state")
181
+
182
+ @property
183
+ @pulumi.getter(name="publicNetworkAccess")
184
+ def public_network_access(self) -> Optional[str]:
185
+ """
186
+ Whether or not public endpoint access is allowed for this mongo cluster.
187
+ """
188
+ return pulumi.get(self, "public_network_access")
189
+
190
+ @property
191
+ @pulumi.getter
192
+ def replica(self) -> 'outputs.ReplicationPropertiesResponse':
193
+ """
194
+ The replication properties for the mongo cluster
195
+ """
196
+ return pulumi.get(self, "replica")
197
+
198
+ @property
199
+ @pulumi.getter(name="serverVersion")
200
+ def server_version(self) -> Optional[str]:
201
+ """
202
+ The Mongo DB server version. Defaults to the latest available version if not specified.
203
+ """
204
+ return pulumi.get(self, "server_version")
205
+
206
+ @property
207
+ @pulumi.getter(name="systemData")
208
+ def system_data(self) -> 'outputs.SystemDataResponse':
209
+ """
210
+ Azure Resource Manager metadata containing createdBy and modifiedBy information.
211
+ """
212
+ return pulumi.get(self, "system_data")
213
+
214
+ @property
215
+ @pulumi.getter
216
+ def tags(self) -> Optional[Mapping[str, str]]:
217
+ """
218
+ Resource tags.
219
+ """
220
+ return pulumi.get(self, "tags")
221
+
222
+ @property
223
+ @pulumi.getter
224
+ def type(self) -> str:
225
+ """
226
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
227
+ """
228
+ return pulumi.get(self, "type")
229
+
230
+
231
+ class AwaitableGetMongoClusterResult(GetMongoClusterResult):
232
+ # pylint: disable=using-constant-test
233
+ def __await__(self):
234
+ if False:
235
+ yield self
236
+ return GetMongoClusterResult(
237
+ administrator_login=self.administrator_login,
238
+ cluster_status=self.cluster_status,
239
+ connection_string=self.connection_string,
240
+ earliest_restore_time=self.earliest_restore_time,
241
+ id=self.id,
242
+ infrastructure_version=self.infrastructure_version,
243
+ location=self.location,
244
+ name=self.name,
245
+ node_group_specs=self.node_group_specs,
246
+ preview_features=self.preview_features,
247
+ private_endpoint_connections=self.private_endpoint_connections,
248
+ provisioning_state=self.provisioning_state,
249
+ public_network_access=self.public_network_access,
250
+ replica=self.replica,
251
+ server_version=self.server_version,
252
+ system_data=self.system_data,
253
+ tags=self.tags,
254
+ type=self.type)
255
+
256
+
257
+ def get_mongo_cluster(mongo_cluster_name: Optional[str] = None,
258
+ resource_group_name: Optional[str] = None,
259
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMongoClusterResult:
260
+ """
261
+ Gets information about a mongo cluster.
262
+
263
+
264
+ :param str mongo_cluster_name: The name of the mongo cluster.
265
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
266
+ """
267
+ __args__ = dict()
268
+ __args__['mongoClusterName'] = mongo_cluster_name
269
+ __args__['resourceGroupName'] = resource_group_name
270
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
271
+ __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20240601preview:getMongoCluster', __args__, opts=opts, typ=GetMongoClusterResult).value
272
+
273
+ return AwaitableGetMongoClusterResult(
274
+ administrator_login=pulumi.get(__ret__, 'administrator_login'),
275
+ cluster_status=pulumi.get(__ret__, 'cluster_status'),
276
+ connection_string=pulumi.get(__ret__, 'connection_string'),
277
+ earliest_restore_time=pulumi.get(__ret__, 'earliest_restore_time'),
278
+ id=pulumi.get(__ret__, 'id'),
279
+ infrastructure_version=pulumi.get(__ret__, 'infrastructure_version'),
280
+ location=pulumi.get(__ret__, 'location'),
281
+ name=pulumi.get(__ret__, 'name'),
282
+ node_group_specs=pulumi.get(__ret__, 'node_group_specs'),
283
+ preview_features=pulumi.get(__ret__, 'preview_features'),
284
+ private_endpoint_connections=pulumi.get(__ret__, 'private_endpoint_connections'),
285
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
286
+ public_network_access=pulumi.get(__ret__, 'public_network_access'),
287
+ replica=pulumi.get(__ret__, 'replica'),
288
+ server_version=pulumi.get(__ret__, 'server_version'),
289
+ system_data=pulumi.get(__ret__, 'system_data'),
290
+ tags=pulumi.get(__ret__, 'tags'),
291
+ type=pulumi.get(__ret__, 'type'))
292
+
293
+
294
+ @_utilities.lift_output_func(get_mongo_cluster)
295
+ def get_mongo_cluster_output(mongo_cluster_name: Optional[pulumi.Input[str]] = None,
296
+ resource_group_name: Optional[pulumi.Input[str]] = None,
297
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMongoClusterResult]:
298
+ """
299
+ Gets information about a mongo cluster.
300
+
301
+
302
+ :param str mongo_cluster_name: The name of the mongo cluster.
303
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
304
+ """
305
+ ...
@@ -0,0 +1,180 @@
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
+ 'GetPrivateEndpointConnectionResult',
20
+ 'AwaitableGetPrivateEndpointConnectionResult',
21
+ 'get_private_endpoint_connection',
22
+ 'get_private_endpoint_connection_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetPrivateEndpointConnectionResult:
27
+ """
28
+ Concrete proxy resource types can be created by aliasing this type using a specific property type.
29
+ """
30
+ def __init__(__self__, group_ids=None, id=None, name=None, private_endpoint=None, private_link_service_connection_state=None, provisioning_state=None, system_data=None, type=None):
31
+ if group_ids and not isinstance(group_ids, list):
32
+ raise TypeError("Expected argument 'group_ids' to be a list")
33
+ pulumi.set(__self__, "group_ids", group_ids)
34
+ if id and not isinstance(id, str):
35
+ raise TypeError("Expected argument 'id' to be a str")
36
+ pulumi.set(__self__, "id", id)
37
+ if name and not isinstance(name, str):
38
+ raise TypeError("Expected argument 'name' to be a str")
39
+ pulumi.set(__self__, "name", name)
40
+ if private_endpoint and not isinstance(private_endpoint, dict):
41
+ raise TypeError("Expected argument 'private_endpoint' to be a dict")
42
+ pulumi.set(__self__, "private_endpoint", private_endpoint)
43
+ if private_link_service_connection_state and not isinstance(private_link_service_connection_state, dict):
44
+ raise TypeError("Expected argument 'private_link_service_connection_state' to be a dict")
45
+ pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state)
46
+ if provisioning_state and not isinstance(provisioning_state, str):
47
+ raise TypeError("Expected argument 'provisioning_state' to be a str")
48
+ pulumi.set(__self__, "provisioning_state", provisioning_state)
49
+ if system_data and not isinstance(system_data, dict):
50
+ raise TypeError("Expected argument 'system_data' to be a dict")
51
+ pulumi.set(__self__, "system_data", system_data)
52
+ if type and not isinstance(type, str):
53
+ raise TypeError("Expected argument 'type' to be a str")
54
+ pulumi.set(__self__, "type", type)
55
+
56
+ @property
57
+ @pulumi.getter(name="groupIds")
58
+ def group_ids(self) -> Sequence[str]:
59
+ """
60
+ The group ids for the private endpoint resource.
61
+ """
62
+ return pulumi.get(self, "group_ids")
63
+
64
+ @property
65
+ @pulumi.getter
66
+ def id(self) -> str:
67
+ """
68
+ Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
69
+ """
70
+ return pulumi.get(self, "id")
71
+
72
+ @property
73
+ @pulumi.getter
74
+ def name(self) -> str:
75
+ """
76
+ The name of the resource
77
+ """
78
+ return pulumi.get(self, "name")
79
+
80
+ @property
81
+ @pulumi.getter(name="privateEndpoint")
82
+ def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']:
83
+ """
84
+ The private endpoint resource.
85
+ """
86
+ return pulumi.get(self, "private_endpoint")
87
+
88
+ @property
89
+ @pulumi.getter(name="privateLinkServiceConnectionState")
90
+ def private_link_service_connection_state(self) -> 'outputs.PrivateLinkServiceConnectionStateResponse':
91
+ """
92
+ A collection of information about the state of the connection between service consumer and provider.
93
+ """
94
+ return pulumi.get(self, "private_link_service_connection_state")
95
+
96
+ @property
97
+ @pulumi.getter(name="provisioningState")
98
+ def provisioning_state(self) -> str:
99
+ """
100
+ The provisioning state of the private endpoint connection resource.
101
+ """
102
+ return pulumi.get(self, "provisioning_state")
103
+
104
+ @property
105
+ @pulumi.getter(name="systemData")
106
+ def system_data(self) -> 'outputs.SystemDataResponse':
107
+ """
108
+ Azure Resource Manager metadata containing createdBy and modifiedBy information.
109
+ """
110
+ return pulumi.get(self, "system_data")
111
+
112
+ @property
113
+ @pulumi.getter
114
+ def type(self) -> str:
115
+ """
116
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
117
+ """
118
+ return pulumi.get(self, "type")
119
+
120
+
121
+ class AwaitableGetPrivateEndpointConnectionResult(GetPrivateEndpointConnectionResult):
122
+ # pylint: disable=using-constant-test
123
+ def __await__(self):
124
+ if False:
125
+ yield self
126
+ return GetPrivateEndpointConnectionResult(
127
+ group_ids=self.group_ids,
128
+ id=self.id,
129
+ name=self.name,
130
+ private_endpoint=self.private_endpoint,
131
+ private_link_service_connection_state=self.private_link_service_connection_state,
132
+ provisioning_state=self.provisioning_state,
133
+ system_data=self.system_data,
134
+ type=self.type)
135
+
136
+
137
+ def get_private_endpoint_connection(mongo_cluster_name: Optional[str] = None,
138
+ private_endpoint_connection_name: Optional[str] = None,
139
+ resource_group_name: Optional[str] = None,
140
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointConnectionResult:
141
+ """
142
+ Get a specific private connection
143
+
144
+
145
+ :param str mongo_cluster_name: The name of the mongo cluster.
146
+ :param str private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource.
147
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
148
+ """
149
+ __args__ = dict()
150
+ __args__['mongoClusterName'] = mongo_cluster_name
151
+ __args__['privateEndpointConnectionName'] = private_endpoint_connection_name
152
+ __args__['resourceGroupName'] = resource_group_name
153
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
154
+ __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20240601preview:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult).value
155
+
156
+ return AwaitableGetPrivateEndpointConnectionResult(
157
+ group_ids=pulumi.get(__ret__, 'group_ids'),
158
+ id=pulumi.get(__ret__, 'id'),
159
+ name=pulumi.get(__ret__, 'name'),
160
+ private_endpoint=pulumi.get(__ret__, 'private_endpoint'),
161
+ private_link_service_connection_state=pulumi.get(__ret__, 'private_link_service_connection_state'),
162
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
163
+ system_data=pulumi.get(__ret__, 'system_data'),
164
+ type=pulumi.get(__ret__, 'type'))
165
+
166
+
167
+ @_utilities.lift_output_func(get_private_endpoint_connection)
168
+ def get_private_endpoint_connection_output(mongo_cluster_name: Optional[pulumi.Input[str]] = None,
169
+ private_endpoint_connection_name: Optional[pulumi.Input[str]] = None,
170
+ resource_group_name: Optional[pulumi.Input[str]] = None,
171
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateEndpointConnectionResult]:
172
+ """
173
+ Get a specific private connection
174
+
175
+
176
+ :param str mongo_cluster_name: The name of the mongo cluster.
177
+ :param str private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource.
178
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
179
+ """
180
+ ...