pulumi-azure-native 2.55.0__py3-none-any.whl → 2.55.0a1723186763__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 -10
- pulumi_azure_native/documentdb/__init__.py +0 -3
- pulumi_azure_native/documentdb/firewall_rule.py +1 -5
- pulumi_azure_native/documentdb/get_firewall_rule.py +0 -4
- pulumi_azure_native/documentdb/get_mongo_cluster.py +2 -2
- pulumi_azure_native/documentdb/get_private_endpoint_connection.py +2 -2
- pulumi_azure_native/documentdb/list_mongo_cluster_connection_strings.py +2 -2
- pulumi_azure_native/documentdb/mongo_cluster.py +3 -3
- pulumi_azure_native/documentdb/mongo_cluster_firewall_rule.py +1 -1
- pulumi_azure_native/documentdb/private_endpoint_connection.py +2 -2
- pulumi_azure_native/documentdb/v20230315preview/mongo_cluster.py +1 -1
- pulumi_azure_native/documentdb/v20230315preview/mongo_cluster_firewall_rule.py +1 -1
- pulumi_azure_native/documentdb/v20230915preview/mongo_cluster.py +1 -1
- pulumi_azure_native/documentdb/v20230915preview/mongo_cluster_firewall_rule.py +1 -1
- pulumi_azure_native/documentdb/v20231115preview/mongo_cluster.py +1 -1
- pulumi_azure_native/documentdb/v20231115preview/mongo_cluster_firewall_rule.py +1 -1
- pulumi_azure_native/documentdb/v20240215preview/mongo_cluster.py +1 -1
- pulumi_azure_native/documentdb/v20240215preview/mongo_cluster_firewall_rule.py +1 -1
- pulumi_azure_native/documentdb/v20240301preview/firewall_rule.py +1 -1
- pulumi_azure_native/documentdb/v20240301preview/mongo_cluster.py +1 -1
- pulumi_azure_native/documentdb/v20240301preview/private_endpoint_connection.py +0 -2
- pulumi_azure_native/machinelearningservices/v20240401preview/outputs.py +11 -55
- pulumi_azure_native/machinelearningservices/v20240701preview/_inputs.py +10 -10
- pulumi_azure_native/machinelearningservices/v20240701preview/outputs.py +18 -60
- pulumi_azure_native/monitor/_enums.py +2 -6
- pulumi_azure_native/monitor/_inputs.py +56 -56
- pulumi_azure_native/monitor/get_pipeline_group.py +1 -1
- pulumi_azure_native/monitor/outputs.py +34 -34
- pulumi_azure_native/monitor/pipeline_group.py +8 -8
- pulumi_azure_native/monitor/v20231001preview/_enums.py +2 -6
- pulumi_azure_native/monitor/v20231001preview/_inputs.py +56 -56
- pulumi_azure_native/monitor/v20231001preview/get_pipeline_group.py +1 -1
- pulumi_azure_native/monitor/v20231001preview/outputs.py +34 -34
- pulumi_azure_native/monitor/v20231001preview/pipeline_group.py +8 -8
- pulumi_azure_native/pulumi-plugin.json +1 -1
- {pulumi_azure_native-2.55.0.dist-info → pulumi_azure_native-2.55.0a1723186763.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.55.0.dist-info → pulumi_azure_native-2.55.0a1723186763.dist-info}/RECORD +39 -50
- pulumi_azure_native/documentdb/v20240601preview/__init__.py +0 -17
- pulumi_azure_native/documentdb/v20240601preview/_enums.py +0 -78
- pulumi_azure_native/documentdb/v20240601preview/_inputs.py +0 -332
- pulumi_azure_native/documentdb/v20240601preview/firewall_rule.py +0 -260
- pulumi_azure_native/documentdb/v20240601preview/get_firewall_rule.py +0 -167
- pulumi_azure_native/documentdb/v20240601preview/get_mongo_cluster.py +0 -305
- pulumi_azure_native/documentdb/v20240601preview/get_private_endpoint_connection.py +0 -180
- pulumi_azure_native/documentdb/v20240601preview/list_mongo_cluster_connection_strings.py +0 -84
- pulumi_azure_native/documentdb/v20240601preview/mongo_cluster.py +0 -524
- pulumi_azure_native/documentdb/v20240601preview/outputs.py +0 -537
- pulumi_azure_native/documentdb/v20240601preview/private_endpoint_connection.py +0 -252
- {pulumi_azure_native-2.55.0.dist-info → pulumi_azure_native-2.55.0a1723186763.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.55.0.dist-info → pulumi_azure_native-2.55.0a1723186763.dist-info}/top_level.txt +0 -0
|
@@ -1,537 +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
|
-
|
|
19
|
-
__all__ = [
|
|
20
|
-
'ConnectionStringResponse',
|
|
21
|
-
'NodeGroupSpecResponse',
|
|
22
|
-
'PrivateEndpointConnectionResponse',
|
|
23
|
-
'PrivateEndpointResponse',
|
|
24
|
-
'PrivateLinkServiceConnectionStateResponse',
|
|
25
|
-
'ReplicationPropertiesResponse',
|
|
26
|
-
'SystemDataResponse',
|
|
27
|
-
]
|
|
28
|
-
|
|
29
|
-
@pulumi.output_type
|
|
30
|
-
class ConnectionStringResponse(dict):
|
|
31
|
-
"""
|
|
32
|
-
Connection string for the mongo cluster
|
|
33
|
-
"""
|
|
34
|
-
def __init__(__self__, *,
|
|
35
|
-
connection_string: str,
|
|
36
|
-
description: str):
|
|
37
|
-
"""
|
|
38
|
-
Connection string for the mongo cluster
|
|
39
|
-
:param str connection_string: Value of the connection string
|
|
40
|
-
:param str description: Description of the connection string
|
|
41
|
-
"""
|
|
42
|
-
pulumi.set(__self__, "connection_string", connection_string)
|
|
43
|
-
pulumi.set(__self__, "description", description)
|
|
44
|
-
|
|
45
|
-
@property
|
|
46
|
-
@pulumi.getter(name="connectionString")
|
|
47
|
-
def connection_string(self) -> str:
|
|
48
|
-
"""
|
|
49
|
-
Value of the connection string
|
|
50
|
-
"""
|
|
51
|
-
return pulumi.get(self, "connection_string")
|
|
52
|
-
|
|
53
|
-
@property
|
|
54
|
-
@pulumi.getter
|
|
55
|
-
def description(self) -> str:
|
|
56
|
-
"""
|
|
57
|
-
Description of the connection string
|
|
58
|
-
"""
|
|
59
|
-
return pulumi.get(self, "description")
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
@pulumi.output_type
|
|
63
|
-
class NodeGroupSpecResponse(dict):
|
|
64
|
-
"""
|
|
65
|
-
Specification for a node group.
|
|
66
|
-
"""
|
|
67
|
-
@staticmethod
|
|
68
|
-
def __key_warning(key: str):
|
|
69
|
-
suggest = None
|
|
70
|
-
if key == "diskSizeGB":
|
|
71
|
-
suggest = "disk_size_gb"
|
|
72
|
-
elif key == "enableHa":
|
|
73
|
-
suggest = "enable_ha"
|
|
74
|
-
elif key == "nodeCount":
|
|
75
|
-
suggest = "node_count"
|
|
76
|
-
|
|
77
|
-
if suggest:
|
|
78
|
-
pulumi.log.warn(f"Key '{key}' not found in NodeGroupSpecResponse. Access the value via the '{suggest}' property getter instead.")
|
|
79
|
-
|
|
80
|
-
def __getitem__(self, key: str) -> Any:
|
|
81
|
-
NodeGroupSpecResponse.__key_warning(key)
|
|
82
|
-
return super().__getitem__(key)
|
|
83
|
-
|
|
84
|
-
def get(self, key: str, default = None) -> Any:
|
|
85
|
-
NodeGroupSpecResponse.__key_warning(key)
|
|
86
|
-
return super().get(key, default)
|
|
87
|
-
|
|
88
|
-
def __init__(__self__, *,
|
|
89
|
-
disk_size_gb: Optional[float] = None,
|
|
90
|
-
enable_ha: Optional[bool] = None,
|
|
91
|
-
kind: Optional[str] = None,
|
|
92
|
-
node_count: Optional[int] = None,
|
|
93
|
-
sku: Optional[str] = None):
|
|
94
|
-
"""
|
|
95
|
-
Specification for a node group.
|
|
96
|
-
:param float disk_size_gb: The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024.
|
|
97
|
-
:param bool enable_ha: Whether high availability is enabled on the node group.
|
|
98
|
-
:param str kind: The node type deployed in the node group.
|
|
99
|
-
:param int node_count: The number of nodes in the node group.
|
|
100
|
-
:param str sku: The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'.
|
|
101
|
-
"""
|
|
102
|
-
if disk_size_gb is not None:
|
|
103
|
-
pulumi.set(__self__, "disk_size_gb", disk_size_gb)
|
|
104
|
-
if enable_ha is not None:
|
|
105
|
-
pulumi.set(__self__, "enable_ha", enable_ha)
|
|
106
|
-
if kind is not None:
|
|
107
|
-
pulumi.set(__self__, "kind", kind)
|
|
108
|
-
if node_count is not None:
|
|
109
|
-
pulumi.set(__self__, "node_count", node_count)
|
|
110
|
-
if sku is not None:
|
|
111
|
-
pulumi.set(__self__, "sku", sku)
|
|
112
|
-
|
|
113
|
-
@property
|
|
114
|
-
@pulumi.getter(name="diskSizeGB")
|
|
115
|
-
def disk_size_gb(self) -> Optional[float]:
|
|
116
|
-
"""
|
|
117
|
-
The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024.
|
|
118
|
-
"""
|
|
119
|
-
return pulumi.get(self, "disk_size_gb")
|
|
120
|
-
|
|
121
|
-
@property
|
|
122
|
-
@pulumi.getter(name="enableHa")
|
|
123
|
-
def enable_ha(self) -> Optional[bool]:
|
|
124
|
-
"""
|
|
125
|
-
Whether high availability is enabled on the node group.
|
|
126
|
-
"""
|
|
127
|
-
return pulumi.get(self, "enable_ha")
|
|
128
|
-
|
|
129
|
-
@property
|
|
130
|
-
@pulumi.getter
|
|
131
|
-
def kind(self) -> Optional[str]:
|
|
132
|
-
"""
|
|
133
|
-
The node type deployed in the node group.
|
|
134
|
-
"""
|
|
135
|
-
return pulumi.get(self, "kind")
|
|
136
|
-
|
|
137
|
-
@property
|
|
138
|
-
@pulumi.getter(name="nodeCount")
|
|
139
|
-
def node_count(self) -> Optional[int]:
|
|
140
|
-
"""
|
|
141
|
-
The number of nodes in the node group.
|
|
142
|
-
"""
|
|
143
|
-
return pulumi.get(self, "node_count")
|
|
144
|
-
|
|
145
|
-
@property
|
|
146
|
-
@pulumi.getter
|
|
147
|
-
def sku(self) -> Optional[str]:
|
|
148
|
-
"""
|
|
149
|
-
The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'.
|
|
150
|
-
"""
|
|
151
|
-
return pulumi.get(self, "sku")
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
@pulumi.output_type
|
|
155
|
-
class PrivateEndpointConnectionResponse(dict):
|
|
156
|
-
"""
|
|
157
|
-
The private endpoint connection resource.
|
|
158
|
-
"""
|
|
159
|
-
@staticmethod
|
|
160
|
-
def __key_warning(key: str):
|
|
161
|
-
suggest = None
|
|
162
|
-
if key == "groupIds":
|
|
163
|
-
suggest = "group_ids"
|
|
164
|
-
elif key == "privateLinkServiceConnectionState":
|
|
165
|
-
suggest = "private_link_service_connection_state"
|
|
166
|
-
elif key == "provisioningState":
|
|
167
|
-
suggest = "provisioning_state"
|
|
168
|
-
elif key == "systemData":
|
|
169
|
-
suggest = "system_data"
|
|
170
|
-
elif key == "privateEndpoint":
|
|
171
|
-
suggest = "private_endpoint"
|
|
172
|
-
|
|
173
|
-
if suggest:
|
|
174
|
-
pulumi.log.warn(f"Key '{key}' not found in PrivateEndpointConnectionResponse. Access the value via the '{suggest}' property getter instead.")
|
|
175
|
-
|
|
176
|
-
def __getitem__(self, key: str) -> Any:
|
|
177
|
-
PrivateEndpointConnectionResponse.__key_warning(key)
|
|
178
|
-
return super().__getitem__(key)
|
|
179
|
-
|
|
180
|
-
def get(self, key: str, default = None) -> Any:
|
|
181
|
-
PrivateEndpointConnectionResponse.__key_warning(key)
|
|
182
|
-
return super().get(key, default)
|
|
183
|
-
|
|
184
|
-
def __init__(__self__, *,
|
|
185
|
-
group_ids: Sequence[str],
|
|
186
|
-
id: str,
|
|
187
|
-
name: str,
|
|
188
|
-
private_link_service_connection_state: 'outputs.PrivateLinkServiceConnectionStateResponse',
|
|
189
|
-
provisioning_state: str,
|
|
190
|
-
system_data: 'outputs.SystemDataResponse',
|
|
191
|
-
type: str,
|
|
192
|
-
private_endpoint: Optional['outputs.PrivateEndpointResponse'] = None):
|
|
193
|
-
"""
|
|
194
|
-
The private endpoint connection resource.
|
|
195
|
-
:param Sequence[str] group_ids: The group ids for the private endpoint resource.
|
|
196
|
-
:param str id: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
197
|
-
:param str name: The name of the resource
|
|
198
|
-
:param 'PrivateLinkServiceConnectionStateResponse' private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider.
|
|
199
|
-
:param str provisioning_state: The provisioning state of the private endpoint connection resource.
|
|
200
|
-
:param 'SystemDataResponse' system_data: Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
201
|
-
:param str type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
202
|
-
:param 'PrivateEndpointResponse' private_endpoint: The private endpoint resource.
|
|
203
|
-
"""
|
|
204
|
-
pulumi.set(__self__, "group_ids", group_ids)
|
|
205
|
-
pulumi.set(__self__, "id", id)
|
|
206
|
-
pulumi.set(__self__, "name", name)
|
|
207
|
-
pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state)
|
|
208
|
-
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
209
|
-
pulumi.set(__self__, "system_data", system_data)
|
|
210
|
-
pulumi.set(__self__, "type", type)
|
|
211
|
-
if private_endpoint is not None:
|
|
212
|
-
pulumi.set(__self__, "private_endpoint", private_endpoint)
|
|
213
|
-
|
|
214
|
-
@property
|
|
215
|
-
@pulumi.getter(name="groupIds")
|
|
216
|
-
def group_ids(self) -> Sequence[str]:
|
|
217
|
-
"""
|
|
218
|
-
The group ids for the private endpoint resource.
|
|
219
|
-
"""
|
|
220
|
-
return pulumi.get(self, "group_ids")
|
|
221
|
-
|
|
222
|
-
@property
|
|
223
|
-
@pulumi.getter
|
|
224
|
-
def id(self) -> str:
|
|
225
|
-
"""
|
|
226
|
-
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
227
|
-
"""
|
|
228
|
-
return pulumi.get(self, "id")
|
|
229
|
-
|
|
230
|
-
@property
|
|
231
|
-
@pulumi.getter
|
|
232
|
-
def name(self) -> str:
|
|
233
|
-
"""
|
|
234
|
-
The name of the resource
|
|
235
|
-
"""
|
|
236
|
-
return pulumi.get(self, "name")
|
|
237
|
-
|
|
238
|
-
@property
|
|
239
|
-
@pulumi.getter(name="privateLinkServiceConnectionState")
|
|
240
|
-
def private_link_service_connection_state(self) -> 'outputs.PrivateLinkServiceConnectionStateResponse':
|
|
241
|
-
"""
|
|
242
|
-
A collection of information about the state of the connection between service consumer and provider.
|
|
243
|
-
"""
|
|
244
|
-
return pulumi.get(self, "private_link_service_connection_state")
|
|
245
|
-
|
|
246
|
-
@property
|
|
247
|
-
@pulumi.getter(name="provisioningState")
|
|
248
|
-
def provisioning_state(self) -> str:
|
|
249
|
-
"""
|
|
250
|
-
The provisioning state of the private endpoint connection resource.
|
|
251
|
-
"""
|
|
252
|
-
return pulumi.get(self, "provisioning_state")
|
|
253
|
-
|
|
254
|
-
@property
|
|
255
|
-
@pulumi.getter(name="systemData")
|
|
256
|
-
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
257
|
-
"""
|
|
258
|
-
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
259
|
-
"""
|
|
260
|
-
return pulumi.get(self, "system_data")
|
|
261
|
-
|
|
262
|
-
@property
|
|
263
|
-
@pulumi.getter
|
|
264
|
-
def type(self) -> str:
|
|
265
|
-
"""
|
|
266
|
-
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
267
|
-
"""
|
|
268
|
-
return pulumi.get(self, "type")
|
|
269
|
-
|
|
270
|
-
@property
|
|
271
|
-
@pulumi.getter(name="privateEndpoint")
|
|
272
|
-
def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']:
|
|
273
|
-
"""
|
|
274
|
-
The private endpoint resource.
|
|
275
|
-
"""
|
|
276
|
-
return pulumi.get(self, "private_endpoint")
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
@pulumi.output_type
|
|
280
|
-
class PrivateEndpointResponse(dict):
|
|
281
|
-
"""
|
|
282
|
-
The private endpoint resource.
|
|
283
|
-
"""
|
|
284
|
-
def __init__(__self__, *,
|
|
285
|
-
id: str):
|
|
286
|
-
"""
|
|
287
|
-
The private endpoint resource.
|
|
288
|
-
:param str id: The ARM identifier for private endpoint.
|
|
289
|
-
"""
|
|
290
|
-
pulumi.set(__self__, "id", id)
|
|
291
|
-
|
|
292
|
-
@property
|
|
293
|
-
@pulumi.getter
|
|
294
|
-
def id(self) -> str:
|
|
295
|
-
"""
|
|
296
|
-
The ARM identifier for private endpoint.
|
|
297
|
-
"""
|
|
298
|
-
return pulumi.get(self, "id")
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
@pulumi.output_type
|
|
302
|
-
class PrivateLinkServiceConnectionStateResponse(dict):
|
|
303
|
-
"""
|
|
304
|
-
A collection of information about the state of the connection between service consumer and provider.
|
|
305
|
-
"""
|
|
306
|
-
@staticmethod
|
|
307
|
-
def __key_warning(key: str):
|
|
308
|
-
suggest = None
|
|
309
|
-
if key == "actionsRequired":
|
|
310
|
-
suggest = "actions_required"
|
|
311
|
-
|
|
312
|
-
if suggest:
|
|
313
|
-
pulumi.log.warn(f"Key '{key}' not found in PrivateLinkServiceConnectionStateResponse. Access the value via the '{suggest}' property getter instead.")
|
|
314
|
-
|
|
315
|
-
def __getitem__(self, key: str) -> Any:
|
|
316
|
-
PrivateLinkServiceConnectionStateResponse.__key_warning(key)
|
|
317
|
-
return super().__getitem__(key)
|
|
318
|
-
|
|
319
|
-
def get(self, key: str, default = None) -> Any:
|
|
320
|
-
PrivateLinkServiceConnectionStateResponse.__key_warning(key)
|
|
321
|
-
return super().get(key, default)
|
|
322
|
-
|
|
323
|
-
def __init__(__self__, *,
|
|
324
|
-
actions_required: Optional[str] = None,
|
|
325
|
-
description: Optional[str] = None,
|
|
326
|
-
status: Optional[str] = None):
|
|
327
|
-
"""
|
|
328
|
-
A collection of information about the state of the connection between service consumer and provider.
|
|
329
|
-
:param str actions_required: A message indicating if changes on the service provider require any updates on the consumer.
|
|
330
|
-
:param str description: The reason for approval/rejection of the connection.
|
|
331
|
-
:param str status: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
|
|
332
|
-
"""
|
|
333
|
-
if actions_required is not None:
|
|
334
|
-
pulumi.set(__self__, "actions_required", actions_required)
|
|
335
|
-
if description is not None:
|
|
336
|
-
pulumi.set(__self__, "description", description)
|
|
337
|
-
if status is not None:
|
|
338
|
-
pulumi.set(__self__, "status", status)
|
|
339
|
-
|
|
340
|
-
@property
|
|
341
|
-
@pulumi.getter(name="actionsRequired")
|
|
342
|
-
def actions_required(self) -> Optional[str]:
|
|
343
|
-
"""
|
|
344
|
-
A message indicating if changes on the service provider require any updates on the consumer.
|
|
345
|
-
"""
|
|
346
|
-
return pulumi.get(self, "actions_required")
|
|
347
|
-
|
|
348
|
-
@property
|
|
349
|
-
@pulumi.getter
|
|
350
|
-
def description(self) -> Optional[str]:
|
|
351
|
-
"""
|
|
352
|
-
The reason for approval/rejection of the connection.
|
|
353
|
-
"""
|
|
354
|
-
return pulumi.get(self, "description")
|
|
355
|
-
|
|
356
|
-
@property
|
|
357
|
-
@pulumi.getter
|
|
358
|
-
def status(self) -> Optional[str]:
|
|
359
|
-
"""
|
|
360
|
-
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
|
|
361
|
-
"""
|
|
362
|
-
return pulumi.get(self, "status")
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
@pulumi.output_type
|
|
366
|
-
class ReplicationPropertiesResponse(dict):
|
|
367
|
-
"""
|
|
368
|
-
Replica properties of the mongo cluster.
|
|
369
|
-
"""
|
|
370
|
-
@staticmethod
|
|
371
|
-
def __key_warning(key: str):
|
|
372
|
-
suggest = None
|
|
373
|
-
if key == "replicationState":
|
|
374
|
-
suggest = "replication_state"
|
|
375
|
-
elif key == "sourceResourceId":
|
|
376
|
-
suggest = "source_resource_id"
|
|
377
|
-
|
|
378
|
-
if suggest:
|
|
379
|
-
pulumi.log.warn(f"Key '{key}' not found in ReplicationPropertiesResponse. Access the value via the '{suggest}' property getter instead.")
|
|
380
|
-
|
|
381
|
-
def __getitem__(self, key: str) -> Any:
|
|
382
|
-
ReplicationPropertiesResponse.__key_warning(key)
|
|
383
|
-
return super().__getitem__(key)
|
|
384
|
-
|
|
385
|
-
def get(self, key: str, default = None) -> Any:
|
|
386
|
-
ReplicationPropertiesResponse.__key_warning(key)
|
|
387
|
-
return super().get(key, default)
|
|
388
|
-
|
|
389
|
-
def __init__(__self__, *,
|
|
390
|
-
replication_state: str,
|
|
391
|
-
role: str,
|
|
392
|
-
source_resource_id: str):
|
|
393
|
-
"""
|
|
394
|
-
Replica properties of the mongo cluster.
|
|
395
|
-
:param str replication_state: The replication link state of the replica cluster.
|
|
396
|
-
:param str role: The replication role of the cluster
|
|
397
|
-
:param str source_resource_id: The resource id the source cluster for the replica cluster.
|
|
398
|
-
"""
|
|
399
|
-
pulumi.set(__self__, "replication_state", replication_state)
|
|
400
|
-
pulumi.set(__self__, "role", role)
|
|
401
|
-
pulumi.set(__self__, "source_resource_id", source_resource_id)
|
|
402
|
-
|
|
403
|
-
@property
|
|
404
|
-
@pulumi.getter(name="replicationState")
|
|
405
|
-
def replication_state(self) -> str:
|
|
406
|
-
"""
|
|
407
|
-
The replication link state of the replica cluster.
|
|
408
|
-
"""
|
|
409
|
-
return pulumi.get(self, "replication_state")
|
|
410
|
-
|
|
411
|
-
@property
|
|
412
|
-
@pulumi.getter
|
|
413
|
-
def role(self) -> str:
|
|
414
|
-
"""
|
|
415
|
-
The replication role of the cluster
|
|
416
|
-
"""
|
|
417
|
-
return pulumi.get(self, "role")
|
|
418
|
-
|
|
419
|
-
@property
|
|
420
|
-
@pulumi.getter(name="sourceResourceId")
|
|
421
|
-
def source_resource_id(self) -> str:
|
|
422
|
-
"""
|
|
423
|
-
The resource id the source cluster for the replica cluster.
|
|
424
|
-
"""
|
|
425
|
-
return pulumi.get(self, "source_resource_id")
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
@pulumi.output_type
|
|
429
|
-
class SystemDataResponse(dict):
|
|
430
|
-
"""
|
|
431
|
-
Metadata pertaining to creation and last modification of the resource.
|
|
432
|
-
"""
|
|
433
|
-
@staticmethod
|
|
434
|
-
def __key_warning(key: str):
|
|
435
|
-
suggest = None
|
|
436
|
-
if key == "createdAt":
|
|
437
|
-
suggest = "created_at"
|
|
438
|
-
elif key == "createdBy":
|
|
439
|
-
suggest = "created_by"
|
|
440
|
-
elif key == "createdByType":
|
|
441
|
-
suggest = "created_by_type"
|
|
442
|
-
elif key == "lastModifiedAt":
|
|
443
|
-
suggest = "last_modified_at"
|
|
444
|
-
elif key == "lastModifiedBy":
|
|
445
|
-
suggest = "last_modified_by"
|
|
446
|
-
elif key == "lastModifiedByType":
|
|
447
|
-
suggest = "last_modified_by_type"
|
|
448
|
-
|
|
449
|
-
if suggest:
|
|
450
|
-
pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.")
|
|
451
|
-
|
|
452
|
-
def __getitem__(self, key: str) -> Any:
|
|
453
|
-
SystemDataResponse.__key_warning(key)
|
|
454
|
-
return super().__getitem__(key)
|
|
455
|
-
|
|
456
|
-
def get(self, key: str, default = None) -> Any:
|
|
457
|
-
SystemDataResponse.__key_warning(key)
|
|
458
|
-
return super().get(key, default)
|
|
459
|
-
|
|
460
|
-
def __init__(__self__, *,
|
|
461
|
-
created_at: Optional[str] = None,
|
|
462
|
-
created_by: Optional[str] = None,
|
|
463
|
-
created_by_type: Optional[str] = None,
|
|
464
|
-
last_modified_at: Optional[str] = None,
|
|
465
|
-
last_modified_by: Optional[str] = None,
|
|
466
|
-
last_modified_by_type: Optional[str] = None):
|
|
467
|
-
"""
|
|
468
|
-
Metadata pertaining to creation and last modification of the resource.
|
|
469
|
-
:param str created_at: The timestamp of resource creation (UTC).
|
|
470
|
-
:param str created_by: The identity that created the resource.
|
|
471
|
-
:param str created_by_type: The type of identity that created the resource.
|
|
472
|
-
:param str last_modified_at: The timestamp of resource last modification (UTC)
|
|
473
|
-
:param str last_modified_by: The identity that last modified the resource.
|
|
474
|
-
:param str last_modified_by_type: The type of identity that last modified the resource.
|
|
475
|
-
"""
|
|
476
|
-
if created_at is not None:
|
|
477
|
-
pulumi.set(__self__, "created_at", created_at)
|
|
478
|
-
if created_by is not None:
|
|
479
|
-
pulumi.set(__self__, "created_by", created_by)
|
|
480
|
-
if created_by_type is not None:
|
|
481
|
-
pulumi.set(__self__, "created_by_type", created_by_type)
|
|
482
|
-
if last_modified_at is not None:
|
|
483
|
-
pulumi.set(__self__, "last_modified_at", last_modified_at)
|
|
484
|
-
if last_modified_by is not None:
|
|
485
|
-
pulumi.set(__self__, "last_modified_by", last_modified_by)
|
|
486
|
-
if last_modified_by_type is not None:
|
|
487
|
-
pulumi.set(__self__, "last_modified_by_type", last_modified_by_type)
|
|
488
|
-
|
|
489
|
-
@property
|
|
490
|
-
@pulumi.getter(name="createdAt")
|
|
491
|
-
def created_at(self) -> Optional[str]:
|
|
492
|
-
"""
|
|
493
|
-
The timestamp of resource creation (UTC).
|
|
494
|
-
"""
|
|
495
|
-
return pulumi.get(self, "created_at")
|
|
496
|
-
|
|
497
|
-
@property
|
|
498
|
-
@pulumi.getter(name="createdBy")
|
|
499
|
-
def created_by(self) -> Optional[str]:
|
|
500
|
-
"""
|
|
501
|
-
The identity that created the resource.
|
|
502
|
-
"""
|
|
503
|
-
return pulumi.get(self, "created_by")
|
|
504
|
-
|
|
505
|
-
@property
|
|
506
|
-
@pulumi.getter(name="createdByType")
|
|
507
|
-
def created_by_type(self) -> Optional[str]:
|
|
508
|
-
"""
|
|
509
|
-
The type of identity that created the resource.
|
|
510
|
-
"""
|
|
511
|
-
return pulumi.get(self, "created_by_type")
|
|
512
|
-
|
|
513
|
-
@property
|
|
514
|
-
@pulumi.getter(name="lastModifiedAt")
|
|
515
|
-
def last_modified_at(self) -> Optional[str]:
|
|
516
|
-
"""
|
|
517
|
-
The timestamp of resource last modification (UTC)
|
|
518
|
-
"""
|
|
519
|
-
return pulumi.get(self, "last_modified_at")
|
|
520
|
-
|
|
521
|
-
@property
|
|
522
|
-
@pulumi.getter(name="lastModifiedBy")
|
|
523
|
-
def last_modified_by(self) -> Optional[str]:
|
|
524
|
-
"""
|
|
525
|
-
The identity that last modified the resource.
|
|
526
|
-
"""
|
|
527
|
-
return pulumi.get(self, "last_modified_by")
|
|
528
|
-
|
|
529
|
-
@property
|
|
530
|
-
@pulumi.getter(name="lastModifiedByType")
|
|
531
|
-
def last_modified_by_type(self) -> Optional[str]:
|
|
532
|
-
"""
|
|
533
|
-
The type of identity that last modified the resource.
|
|
534
|
-
"""
|
|
535
|
-
return pulumi.get(self, "last_modified_by_type")
|
|
536
|
-
|
|
537
|
-
|