pulumiverse-scaleway 1.23.0a1736837529__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 pulumiverse-scaleway might be problematic. Click here for more details.

Files changed (205) hide show
  1. pulumiverse_scaleway/__init__.py +1065 -0
  2. pulumiverse_scaleway/_inputs.py +8688 -0
  3. pulumiverse_scaleway/_utilities.py +327 -0
  4. pulumiverse_scaleway/account_project.py +316 -0
  5. pulumiverse_scaleway/account_ssh_key.py +454 -0
  6. pulumiverse_scaleway/apple_silicon_server.py +564 -0
  7. pulumiverse_scaleway/baremetal_server.py +1579 -0
  8. pulumiverse_scaleway/block_snapshot.py +401 -0
  9. pulumiverse_scaleway/block_volume.py +527 -0
  10. pulumiverse_scaleway/cockpit.py +314 -0
  11. pulumiverse_scaleway/cockpit_alert_manager.py +401 -0
  12. pulumiverse_scaleway/cockpit_grafana_user.py +362 -0
  13. pulumiverse_scaleway/cockpit_source.py +567 -0
  14. pulumiverse_scaleway/cockpit_token.py +479 -0
  15. pulumiverse_scaleway/config/__init__.py +8 -0
  16. pulumiverse_scaleway/config/__init__.pyi +56 -0
  17. pulumiverse_scaleway/config/vars.py +78 -0
  18. pulumiverse_scaleway/container.py +1373 -0
  19. pulumiverse_scaleway/container_cron.py +458 -0
  20. pulumiverse_scaleway/container_domain.py +406 -0
  21. pulumiverse_scaleway/container_namespace.py +636 -0
  22. pulumiverse_scaleway/container_token.py +452 -0
  23. pulumiverse_scaleway/container_trigger.py +480 -0
  24. pulumiverse_scaleway/database.py +407 -0
  25. pulumiverse_scaleway/database_acl.py +332 -0
  26. pulumiverse_scaleway/database_backup.py +574 -0
  27. pulumiverse_scaleway/database_instance.py +1641 -0
  28. pulumiverse_scaleway/database_privilege.py +422 -0
  29. pulumiverse_scaleway/database_read_replica.py +528 -0
  30. pulumiverse_scaleway/database_user.py +446 -0
  31. pulumiverse_scaleway/domain_record.py +1116 -0
  32. pulumiverse_scaleway/domain_zone.py +430 -0
  33. pulumiverse_scaleway/flexible_ip.py +702 -0
  34. pulumiverse_scaleway/flexible_ip_mac_address.py +510 -0
  35. pulumiverse_scaleway/function.py +1103 -0
  36. pulumiverse_scaleway/function_cron.py +462 -0
  37. pulumiverse_scaleway/function_domain.py +370 -0
  38. pulumiverse_scaleway/function_namespace.py +580 -0
  39. pulumiverse_scaleway/function_token.py +460 -0
  40. pulumiverse_scaleway/function_trigger.py +480 -0
  41. pulumiverse_scaleway/get_account_project.py +170 -0
  42. pulumiverse_scaleway/get_account_ssh_key.py +205 -0
  43. pulumiverse_scaleway/get_availability_zones.py +139 -0
  44. pulumiverse_scaleway/get_baremetal_offer.py +245 -0
  45. pulumiverse_scaleway/get_baremetal_option.py +168 -0
  46. pulumiverse_scaleway/get_baremetal_os.py +174 -0
  47. pulumiverse_scaleway/get_baremetal_server.py +422 -0
  48. pulumiverse_scaleway/get_billing_consumptions.py +134 -0
  49. pulumiverse_scaleway/get_billing_invoices.py +154 -0
  50. pulumiverse_scaleway/get_block_snapshot.py +174 -0
  51. pulumiverse_scaleway/get_block_volume.py +188 -0
  52. pulumiverse_scaleway/get_cockpit.py +204 -0
  53. pulumiverse_scaleway/get_cockpit_plan.py +125 -0
  54. pulumiverse_scaleway/get_cockpit_source.py +262 -0
  55. pulumiverse_scaleway/get_config.py +180 -0
  56. pulumiverse_scaleway/get_container.py +522 -0
  57. pulumiverse_scaleway/get_container_namespace.py +283 -0
  58. pulumiverse_scaleway/get_database.py +187 -0
  59. pulumiverse_scaleway/get_database_acl.py +143 -0
  60. pulumiverse_scaleway/get_database_backup.py +253 -0
  61. pulumiverse_scaleway/get_database_instance.py +404 -0
  62. pulumiverse_scaleway/get_database_privilege.py +181 -0
  63. pulumiverse_scaleway/get_domain_record.py +340 -0
  64. pulumiverse_scaleway/get_domain_zone.py +201 -0
  65. pulumiverse_scaleway/get_flexible_ip.py +247 -0
  66. pulumiverse_scaleway/get_flexible_ips.py +240 -0
  67. pulumiverse_scaleway/get_function.py +365 -0
  68. pulumiverse_scaleway/get_function_namespace.py +238 -0
  69. pulumiverse_scaleway/get_iam_api_key.py +210 -0
  70. pulumiverse_scaleway/get_iam_application.py +210 -0
  71. pulumiverse_scaleway/get_iam_group.py +236 -0
  72. pulumiverse_scaleway/get_iam_ssh_key.py +212 -0
  73. pulumiverse_scaleway/get_iam_user.py +177 -0
  74. pulumiverse_scaleway/get_instance_image.py +305 -0
  75. pulumiverse_scaleway/get_instance_ip.py +204 -0
  76. pulumiverse_scaleway/get_instance_placement_group.py +212 -0
  77. pulumiverse_scaleway/get_instance_private_nic.py +226 -0
  78. pulumiverse_scaleway/get_instance_security_group.py +268 -0
  79. pulumiverse_scaleway/get_instance_server.py +502 -0
  80. pulumiverse_scaleway/get_instance_servers.py +187 -0
  81. pulumiverse_scaleway/get_instance_snapshot.py +248 -0
  82. pulumiverse_scaleway/get_instance_volume.py +215 -0
  83. pulumiverse_scaleway/get_iot_device.py +257 -0
  84. pulumiverse_scaleway/get_iot_hub.py +322 -0
  85. pulumiverse_scaleway/get_ipam_ip.py +419 -0
  86. pulumiverse_scaleway/get_ipam_ips.py +358 -0
  87. pulumiverse_scaleway/get_k8s_version.py +196 -0
  88. pulumiverse_scaleway/get_kubernetes_cluster.py +417 -0
  89. pulumiverse_scaleway/get_kubernetes_node_pool.py +436 -0
  90. pulumiverse_scaleway/get_lb_acls.py +198 -0
  91. pulumiverse_scaleway/get_lb_backend.py +486 -0
  92. pulumiverse_scaleway/get_lb_backends.py +196 -0
  93. pulumiverse_scaleway/get_lb_frontend.py +274 -0
  94. pulumiverse_scaleway/get_lb_frontends.py +196 -0
  95. pulumiverse_scaleway/get_lb_ips.py +198 -0
  96. pulumiverse_scaleway/get_lb_route.py +217 -0
  97. pulumiverse_scaleway/get_lb_routes.py +179 -0
  98. pulumiverse_scaleway/get_lbs.py +187 -0
  99. pulumiverse_scaleway/get_loadbalancer.py +339 -0
  100. pulumiverse_scaleway/get_loadbalancer_certificate.py +230 -0
  101. pulumiverse_scaleway/get_loadbalancer_ip.py +228 -0
  102. pulumiverse_scaleway/get_marketplace_image.py +147 -0
  103. pulumiverse_scaleway/get_mnq_sns.py +150 -0
  104. pulumiverse_scaleway/get_mnq_sqs.py +150 -0
  105. pulumiverse_scaleway/get_mongo_db_instance.py +324 -0
  106. pulumiverse_scaleway/get_object_bucket.py +290 -0
  107. pulumiverse_scaleway/get_object_bucket_policy.py +163 -0
  108. pulumiverse_scaleway/get_redis_cluster.py +347 -0
  109. pulumiverse_scaleway/get_registry_image.py +239 -0
  110. pulumiverse_scaleway/get_registry_image_tag.py +229 -0
  111. pulumiverse_scaleway/get_registry_namespace.py +199 -0
  112. pulumiverse_scaleway/get_secret.py +338 -0
  113. pulumiverse_scaleway/get_secret_version.py +340 -0
  114. pulumiverse_scaleway/get_tem_domain.py +378 -0
  115. pulumiverse_scaleway/get_vpc.py +246 -0
  116. pulumiverse_scaleway/get_vpc_gateway_network.py +287 -0
  117. pulumiverse_scaleway/get_vpc_private_network.py +282 -0
  118. pulumiverse_scaleway/get_vpc_public_gateway.py +304 -0
  119. pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +305 -0
  120. pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +382 -0
  121. pulumiverse_scaleway/get_vpc_public_gateway_ip.py +199 -0
  122. pulumiverse_scaleway/get_vpc_public_pat_rule.py +313 -0
  123. pulumiverse_scaleway/get_vpc_routes.py +208 -0
  124. pulumiverse_scaleway/get_vpcs.py +174 -0
  125. pulumiverse_scaleway/get_web_host_offer.py +192 -0
  126. pulumiverse_scaleway/get_webhosting.py +332 -0
  127. pulumiverse_scaleway/iam_api_key.py +620 -0
  128. pulumiverse_scaleway/iam_application.py +417 -0
  129. pulumiverse_scaleway/iam_group.py +566 -0
  130. pulumiverse_scaleway/iam_group_membership.py +323 -0
  131. pulumiverse_scaleway/iam_policy.py +773 -0
  132. pulumiverse_scaleway/iam_ssh_key.py +455 -0
  133. pulumiverse_scaleway/iam_user.py +513 -0
  134. pulumiverse_scaleway/inference_deployment.py +822 -0
  135. pulumiverse_scaleway/instance_image.py +750 -0
  136. pulumiverse_scaleway/instance_ip.py +483 -0
  137. pulumiverse_scaleway/instance_ip_reverse_dns.py +308 -0
  138. pulumiverse_scaleway/instance_placement_group.py +479 -0
  139. pulumiverse_scaleway/instance_private_nic.py +555 -0
  140. pulumiverse_scaleway/instance_security_group.py +720 -0
  141. pulumiverse_scaleway/instance_security_group_rules.py +439 -0
  142. pulumiverse_scaleway/instance_server.py +2006 -0
  143. pulumiverse_scaleway/instance_snapshot.py +669 -0
  144. pulumiverse_scaleway/instance_user_data.py +435 -0
  145. pulumiverse_scaleway/instance_volume.py +535 -0
  146. pulumiverse_scaleway/iot_device.py +750 -0
  147. pulumiverse_scaleway/iot_hub.py +896 -0
  148. pulumiverse_scaleway/iot_network.py +472 -0
  149. pulumiverse_scaleway/iot_route.py +660 -0
  150. pulumiverse_scaleway/ipam_ip.py +757 -0
  151. pulumiverse_scaleway/ipam_ip_reverse_dns.py +318 -0
  152. pulumiverse_scaleway/job_definition.py +692 -0
  153. pulumiverse_scaleway/kubernetes_cluster.py +1538 -0
  154. pulumiverse_scaleway/kubernetes_node_pool.py +1255 -0
  155. pulumiverse_scaleway/loadbalancer.py +1061 -0
  156. pulumiverse_scaleway/loadbalancer_acl.py +520 -0
  157. pulumiverse_scaleway/loadbalancer_backend.py +1588 -0
  158. pulumiverse_scaleway/loadbalancer_certificate.py +460 -0
  159. pulumiverse_scaleway/loadbalancer_frontend.py +829 -0
  160. pulumiverse_scaleway/loadbalancer_ip.py +514 -0
  161. pulumiverse_scaleway/loadbalancer_route.py +523 -0
  162. pulumiverse_scaleway/mnq_nats_account.py +334 -0
  163. pulumiverse_scaleway/mnq_nats_credentials.py +330 -0
  164. pulumiverse_scaleway/mnq_sns.py +306 -0
  165. pulumiverse_scaleway/mnq_sns_credentials.py +413 -0
  166. pulumiverse_scaleway/mnq_sns_topic.py +659 -0
  167. pulumiverse_scaleway/mnq_sns_topic_subscription.py +699 -0
  168. pulumiverse_scaleway/mnq_sqs.py +304 -0
  169. pulumiverse_scaleway/mnq_sqs_credentials.py +413 -0
  170. pulumiverse_scaleway/mnq_sqs_queue.py +800 -0
  171. pulumiverse_scaleway/mongo_db_instance.py +907 -0
  172. pulumiverse_scaleway/mongo_db_snapshot.py +521 -0
  173. pulumiverse_scaleway/object_bucket.py +874 -0
  174. pulumiverse_scaleway/object_bucket_acl.py +596 -0
  175. pulumiverse_scaleway/object_bucket_lock_configuration.py +395 -0
  176. pulumiverse_scaleway/object_bucket_policy.py +673 -0
  177. pulumiverse_scaleway/object_bucket_website_configuration.py +534 -0
  178. pulumiverse_scaleway/object_item.py +776 -0
  179. pulumiverse_scaleway/outputs.py +11808 -0
  180. pulumiverse_scaleway/provider.py +327 -0
  181. pulumiverse_scaleway/pulumi-plugin.json +6 -0
  182. pulumiverse_scaleway/py.typed +0 -0
  183. pulumiverse_scaleway/redis_cluster.py +1201 -0
  184. pulumiverse_scaleway/registry_namespace.py +458 -0
  185. pulumiverse_scaleway/sdb_database.py +432 -0
  186. pulumiverse_scaleway/secret.py +663 -0
  187. pulumiverse_scaleway/secret_version.py +487 -0
  188. pulumiverse_scaleway/tem_domain.py +1030 -0
  189. pulumiverse_scaleway/tem_domain_validation.py +303 -0
  190. pulumiverse_scaleway/tem_webhook.py +640 -0
  191. pulumiverse_scaleway/vpc.py +536 -0
  192. pulumiverse_scaleway/vpc_gateway_network.py +866 -0
  193. pulumiverse_scaleway/vpc_private_network.py +734 -0
  194. pulumiverse_scaleway/vpc_public_gateway.py +789 -0
  195. pulumiverse_scaleway/vpc_public_gateway_dhcp.py +933 -0
  196. pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +514 -0
  197. pulumiverse_scaleway/vpc_public_gateway_ip.py +457 -0
  198. pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +306 -0
  199. pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +591 -0
  200. pulumiverse_scaleway/vpc_route.py +577 -0
  201. pulumiverse_scaleway/webhosting.py +805 -0
  202. pulumiverse_scaleway-1.23.0a1736837529.dist-info/METADATA +77 -0
  203. pulumiverse_scaleway-1.23.0a1736837529.dist-info/RECORD +205 -0
  204. pulumiverse_scaleway-1.23.0a1736837529.dist-info/WHEEL +5 -0
  205. pulumiverse_scaleway-1.23.0a1736837529.dist-info/top_level.txt +1 -0
@@ -0,0 +1,907 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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 ._inputs import *
18
+
19
+ __all__ = ['MongoDbInstanceArgs', 'MongoDbInstance']
20
+
21
+ @pulumi.input_type
22
+ class MongoDbInstanceArgs:
23
+ def __init__(__self__, *,
24
+ node_number: pulumi.Input[int],
25
+ node_type: pulumi.Input[str],
26
+ name: Optional[pulumi.Input[str]] = None,
27
+ password: Optional[pulumi.Input[str]] = None,
28
+ project_id: Optional[pulumi.Input[str]] = None,
29
+ public_network: Optional[pulumi.Input['MongoDbInstancePublicNetworkArgs']] = None,
30
+ region: Optional[pulumi.Input[str]] = None,
31
+ settings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
32
+ snapshot_id: Optional[pulumi.Input[str]] = None,
33
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
34
+ user_name: Optional[pulumi.Input[str]] = None,
35
+ version: Optional[pulumi.Input[str]] = None,
36
+ volume_size_in_gb: Optional[pulumi.Input[int]] = None,
37
+ volume_type: Optional[pulumi.Input[str]] = None):
38
+ """
39
+ The set of arguments for constructing a MongoDbInstance resource.
40
+ :param pulumi.Input[int] node_number: Number of nodes in the instance
41
+ :param pulumi.Input[str] node_type: The type of MongoDB® intance to create.
42
+ :param pulumi.Input[str] name: Name of the MongoDB® instance.
43
+ :param pulumi.Input[str] password: Password of the user.
44
+ :param pulumi.Input[str] project_id: The project_id you want to attach the resource to
45
+ :param pulumi.Input['MongoDbInstancePublicNetworkArgs'] public_network: Public network specs details.
46
+ :param pulumi.Input[str] region: The region you want to attach the resource to
47
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings to define for the instance.
48
+ :param pulumi.Input[str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
49
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: List of tags attached to the MongoDB® instance.
50
+ :param pulumi.Input[str] user_name: Name of the user created when the intance is created.
51
+ :param pulumi.Input[str] version: MongoDB® version of the instance.
52
+ :param pulumi.Input[int] volume_size_in_gb: Volume size in GB.
53
+ :param pulumi.Input[str] volume_type: Volume type of the instance.
54
+ """
55
+ pulumi.set(__self__, "node_number", node_number)
56
+ pulumi.set(__self__, "node_type", node_type)
57
+ if name is not None:
58
+ pulumi.set(__self__, "name", name)
59
+ if password is not None:
60
+ pulumi.set(__self__, "password", password)
61
+ if project_id is not None:
62
+ pulumi.set(__self__, "project_id", project_id)
63
+ if public_network is not None:
64
+ pulumi.set(__self__, "public_network", public_network)
65
+ if region is not None:
66
+ pulumi.set(__self__, "region", region)
67
+ if settings is not None:
68
+ pulumi.set(__self__, "settings", settings)
69
+ if snapshot_id is not None:
70
+ pulumi.set(__self__, "snapshot_id", snapshot_id)
71
+ if tags is not None:
72
+ pulumi.set(__self__, "tags", tags)
73
+ if user_name is not None:
74
+ pulumi.set(__self__, "user_name", user_name)
75
+ if version is not None:
76
+ pulumi.set(__self__, "version", version)
77
+ if volume_size_in_gb is not None:
78
+ pulumi.set(__self__, "volume_size_in_gb", volume_size_in_gb)
79
+ if volume_type is not None:
80
+ pulumi.set(__self__, "volume_type", volume_type)
81
+
82
+ @property
83
+ @pulumi.getter(name="nodeNumber")
84
+ def node_number(self) -> pulumi.Input[int]:
85
+ """
86
+ Number of nodes in the instance
87
+ """
88
+ return pulumi.get(self, "node_number")
89
+
90
+ @node_number.setter
91
+ def node_number(self, value: pulumi.Input[int]):
92
+ pulumi.set(self, "node_number", value)
93
+
94
+ @property
95
+ @pulumi.getter(name="nodeType")
96
+ def node_type(self) -> pulumi.Input[str]:
97
+ """
98
+ The type of MongoDB® intance to create.
99
+ """
100
+ return pulumi.get(self, "node_type")
101
+
102
+ @node_type.setter
103
+ def node_type(self, value: pulumi.Input[str]):
104
+ pulumi.set(self, "node_type", value)
105
+
106
+ @property
107
+ @pulumi.getter
108
+ def name(self) -> Optional[pulumi.Input[str]]:
109
+ """
110
+ Name of the MongoDB® instance.
111
+ """
112
+ return pulumi.get(self, "name")
113
+
114
+ @name.setter
115
+ def name(self, value: Optional[pulumi.Input[str]]):
116
+ pulumi.set(self, "name", value)
117
+
118
+ @property
119
+ @pulumi.getter
120
+ def password(self) -> Optional[pulumi.Input[str]]:
121
+ """
122
+ Password of the user.
123
+ """
124
+ return pulumi.get(self, "password")
125
+
126
+ @password.setter
127
+ def password(self, value: Optional[pulumi.Input[str]]):
128
+ pulumi.set(self, "password", value)
129
+
130
+ @property
131
+ @pulumi.getter(name="projectId")
132
+ def project_id(self) -> Optional[pulumi.Input[str]]:
133
+ """
134
+ The project_id you want to attach the resource to
135
+ """
136
+ return pulumi.get(self, "project_id")
137
+
138
+ @project_id.setter
139
+ def project_id(self, value: Optional[pulumi.Input[str]]):
140
+ pulumi.set(self, "project_id", value)
141
+
142
+ @property
143
+ @pulumi.getter(name="publicNetwork")
144
+ def public_network(self) -> Optional[pulumi.Input['MongoDbInstancePublicNetworkArgs']]:
145
+ """
146
+ Public network specs details.
147
+ """
148
+ return pulumi.get(self, "public_network")
149
+
150
+ @public_network.setter
151
+ def public_network(self, value: Optional[pulumi.Input['MongoDbInstancePublicNetworkArgs']]):
152
+ pulumi.set(self, "public_network", value)
153
+
154
+ @property
155
+ @pulumi.getter
156
+ def region(self) -> Optional[pulumi.Input[str]]:
157
+ """
158
+ The region you want to attach the resource to
159
+ """
160
+ return pulumi.get(self, "region")
161
+
162
+ @region.setter
163
+ def region(self, value: Optional[pulumi.Input[str]]):
164
+ pulumi.set(self, "region", value)
165
+
166
+ @property
167
+ @pulumi.getter
168
+ def settings(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
169
+ """
170
+ Map of settings to define for the instance.
171
+ """
172
+ return pulumi.get(self, "settings")
173
+
174
+ @settings.setter
175
+ def settings(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
176
+ pulumi.set(self, "settings", value)
177
+
178
+ @property
179
+ @pulumi.getter(name="snapshotId")
180
+ def snapshot_id(self) -> Optional[pulumi.Input[str]]:
181
+ """
182
+ Snapshot ID to restore the MongoDB® instance from.
183
+ """
184
+ return pulumi.get(self, "snapshot_id")
185
+
186
+ @snapshot_id.setter
187
+ def snapshot_id(self, value: Optional[pulumi.Input[str]]):
188
+ pulumi.set(self, "snapshot_id", value)
189
+
190
+ @property
191
+ @pulumi.getter
192
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
193
+ """
194
+ List of tags attached to the MongoDB® instance.
195
+ """
196
+ return pulumi.get(self, "tags")
197
+
198
+ @tags.setter
199
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
200
+ pulumi.set(self, "tags", value)
201
+
202
+ @property
203
+ @pulumi.getter(name="userName")
204
+ def user_name(self) -> Optional[pulumi.Input[str]]:
205
+ """
206
+ Name of the user created when the intance is created.
207
+ """
208
+ return pulumi.get(self, "user_name")
209
+
210
+ @user_name.setter
211
+ def user_name(self, value: Optional[pulumi.Input[str]]):
212
+ pulumi.set(self, "user_name", value)
213
+
214
+ @property
215
+ @pulumi.getter
216
+ def version(self) -> Optional[pulumi.Input[str]]:
217
+ """
218
+ MongoDB® version of the instance.
219
+ """
220
+ return pulumi.get(self, "version")
221
+
222
+ @version.setter
223
+ def version(self, value: Optional[pulumi.Input[str]]):
224
+ pulumi.set(self, "version", value)
225
+
226
+ @property
227
+ @pulumi.getter(name="volumeSizeInGb")
228
+ def volume_size_in_gb(self) -> Optional[pulumi.Input[int]]:
229
+ """
230
+ Volume size in GB.
231
+ """
232
+ return pulumi.get(self, "volume_size_in_gb")
233
+
234
+ @volume_size_in_gb.setter
235
+ def volume_size_in_gb(self, value: Optional[pulumi.Input[int]]):
236
+ pulumi.set(self, "volume_size_in_gb", value)
237
+
238
+ @property
239
+ @pulumi.getter(name="volumeType")
240
+ def volume_type(self) -> Optional[pulumi.Input[str]]:
241
+ """
242
+ Volume type of the instance.
243
+ """
244
+ return pulumi.get(self, "volume_type")
245
+
246
+ @volume_type.setter
247
+ def volume_type(self, value: Optional[pulumi.Input[str]]):
248
+ pulumi.set(self, "volume_type", value)
249
+
250
+
251
+ @pulumi.input_type
252
+ class _MongoDbInstanceState:
253
+ def __init__(__self__, *,
254
+ created_at: Optional[pulumi.Input[str]] = None,
255
+ name: Optional[pulumi.Input[str]] = None,
256
+ node_number: Optional[pulumi.Input[int]] = None,
257
+ node_type: Optional[pulumi.Input[str]] = None,
258
+ password: Optional[pulumi.Input[str]] = None,
259
+ project_id: Optional[pulumi.Input[str]] = None,
260
+ public_network: Optional[pulumi.Input['MongoDbInstancePublicNetworkArgs']] = None,
261
+ region: Optional[pulumi.Input[str]] = None,
262
+ settings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
263
+ snapshot_id: Optional[pulumi.Input[str]] = None,
264
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
265
+ updated_at: Optional[pulumi.Input[str]] = None,
266
+ user_name: Optional[pulumi.Input[str]] = None,
267
+ version: Optional[pulumi.Input[str]] = None,
268
+ volume_size_in_gb: Optional[pulumi.Input[int]] = None,
269
+ volume_type: Optional[pulumi.Input[str]] = None):
270
+ """
271
+ Input properties used for looking up and filtering MongoDbInstance resources.
272
+ :param pulumi.Input[str] created_at: The date and time of the creation of the MongoDB® instance.
273
+ :param pulumi.Input[str] name: Name of the MongoDB® instance.
274
+ :param pulumi.Input[int] node_number: Number of nodes in the instance
275
+ :param pulumi.Input[str] node_type: The type of MongoDB® intance to create.
276
+ :param pulumi.Input[str] password: Password of the user.
277
+ :param pulumi.Input[str] project_id: The project_id you want to attach the resource to
278
+ :param pulumi.Input['MongoDbInstancePublicNetworkArgs'] public_network: Public network specs details.
279
+ :param pulumi.Input[str] region: The region you want to attach the resource to
280
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings to define for the instance.
281
+ :param pulumi.Input[str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
282
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: List of tags attached to the MongoDB® instance.
283
+ :param pulumi.Input[str] updated_at: The date and time of the last update of the MongoDB® instance.
284
+ :param pulumi.Input[str] user_name: Name of the user created when the intance is created.
285
+ :param pulumi.Input[str] version: MongoDB® version of the instance.
286
+ :param pulumi.Input[int] volume_size_in_gb: Volume size in GB.
287
+ :param pulumi.Input[str] volume_type: Volume type of the instance.
288
+ """
289
+ if created_at is not None:
290
+ pulumi.set(__self__, "created_at", created_at)
291
+ if name is not None:
292
+ pulumi.set(__self__, "name", name)
293
+ if node_number is not None:
294
+ pulumi.set(__self__, "node_number", node_number)
295
+ if node_type is not None:
296
+ pulumi.set(__self__, "node_type", node_type)
297
+ if password is not None:
298
+ pulumi.set(__self__, "password", password)
299
+ if project_id is not None:
300
+ pulumi.set(__self__, "project_id", project_id)
301
+ if public_network is not None:
302
+ pulumi.set(__self__, "public_network", public_network)
303
+ if region is not None:
304
+ pulumi.set(__self__, "region", region)
305
+ if settings is not None:
306
+ pulumi.set(__self__, "settings", settings)
307
+ if snapshot_id is not None:
308
+ pulumi.set(__self__, "snapshot_id", snapshot_id)
309
+ if tags is not None:
310
+ pulumi.set(__self__, "tags", tags)
311
+ if updated_at is not None:
312
+ pulumi.set(__self__, "updated_at", updated_at)
313
+ if user_name is not None:
314
+ pulumi.set(__self__, "user_name", user_name)
315
+ if version is not None:
316
+ pulumi.set(__self__, "version", version)
317
+ if volume_size_in_gb is not None:
318
+ pulumi.set(__self__, "volume_size_in_gb", volume_size_in_gb)
319
+ if volume_type is not None:
320
+ pulumi.set(__self__, "volume_type", volume_type)
321
+
322
+ @property
323
+ @pulumi.getter(name="createdAt")
324
+ def created_at(self) -> Optional[pulumi.Input[str]]:
325
+ """
326
+ The date and time of the creation of the MongoDB® instance.
327
+ """
328
+ return pulumi.get(self, "created_at")
329
+
330
+ @created_at.setter
331
+ def created_at(self, value: Optional[pulumi.Input[str]]):
332
+ pulumi.set(self, "created_at", value)
333
+
334
+ @property
335
+ @pulumi.getter
336
+ def name(self) -> Optional[pulumi.Input[str]]:
337
+ """
338
+ Name of the MongoDB® instance.
339
+ """
340
+ return pulumi.get(self, "name")
341
+
342
+ @name.setter
343
+ def name(self, value: Optional[pulumi.Input[str]]):
344
+ pulumi.set(self, "name", value)
345
+
346
+ @property
347
+ @pulumi.getter(name="nodeNumber")
348
+ def node_number(self) -> Optional[pulumi.Input[int]]:
349
+ """
350
+ Number of nodes in the instance
351
+ """
352
+ return pulumi.get(self, "node_number")
353
+
354
+ @node_number.setter
355
+ def node_number(self, value: Optional[pulumi.Input[int]]):
356
+ pulumi.set(self, "node_number", value)
357
+
358
+ @property
359
+ @pulumi.getter(name="nodeType")
360
+ def node_type(self) -> Optional[pulumi.Input[str]]:
361
+ """
362
+ The type of MongoDB® intance to create.
363
+ """
364
+ return pulumi.get(self, "node_type")
365
+
366
+ @node_type.setter
367
+ def node_type(self, value: Optional[pulumi.Input[str]]):
368
+ pulumi.set(self, "node_type", value)
369
+
370
+ @property
371
+ @pulumi.getter
372
+ def password(self) -> Optional[pulumi.Input[str]]:
373
+ """
374
+ Password of the user.
375
+ """
376
+ return pulumi.get(self, "password")
377
+
378
+ @password.setter
379
+ def password(self, value: Optional[pulumi.Input[str]]):
380
+ pulumi.set(self, "password", value)
381
+
382
+ @property
383
+ @pulumi.getter(name="projectId")
384
+ def project_id(self) -> Optional[pulumi.Input[str]]:
385
+ """
386
+ The project_id you want to attach the resource to
387
+ """
388
+ return pulumi.get(self, "project_id")
389
+
390
+ @project_id.setter
391
+ def project_id(self, value: Optional[pulumi.Input[str]]):
392
+ pulumi.set(self, "project_id", value)
393
+
394
+ @property
395
+ @pulumi.getter(name="publicNetwork")
396
+ def public_network(self) -> Optional[pulumi.Input['MongoDbInstancePublicNetworkArgs']]:
397
+ """
398
+ Public network specs details.
399
+ """
400
+ return pulumi.get(self, "public_network")
401
+
402
+ @public_network.setter
403
+ def public_network(self, value: Optional[pulumi.Input['MongoDbInstancePublicNetworkArgs']]):
404
+ pulumi.set(self, "public_network", value)
405
+
406
+ @property
407
+ @pulumi.getter
408
+ def region(self) -> Optional[pulumi.Input[str]]:
409
+ """
410
+ The region you want to attach the resource to
411
+ """
412
+ return pulumi.get(self, "region")
413
+
414
+ @region.setter
415
+ def region(self, value: Optional[pulumi.Input[str]]):
416
+ pulumi.set(self, "region", value)
417
+
418
+ @property
419
+ @pulumi.getter
420
+ def settings(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
421
+ """
422
+ Map of settings to define for the instance.
423
+ """
424
+ return pulumi.get(self, "settings")
425
+
426
+ @settings.setter
427
+ def settings(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
428
+ pulumi.set(self, "settings", value)
429
+
430
+ @property
431
+ @pulumi.getter(name="snapshotId")
432
+ def snapshot_id(self) -> Optional[pulumi.Input[str]]:
433
+ """
434
+ Snapshot ID to restore the MongoDB® instance from.
435
+ """
436
+ return pulumi.get(self, "snapshot_id")
437
+
438
+ @snapshot_id.setter
439
+ def snapshot_id(self, value: Optional[pulumi.Input[str]]):
440
+ pulumi.set(self, "snapshot_id", value)
441
+
442
+ @property
443
+ @pulumi.getter
444
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
445
+ """
446
+ List of tags attached to the MongoDB® instance.
447
+ """
448
+ return pulumi.get(self, "tags")
449
+
450
+ @tags.setter
451
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
452
+ pulumi.set(self, "tags", value)
453
+
454
+ @property
455
+ @pulumi.getter(name="updatedAt")
456
+ def updated_at(self) -> Optional[pulumi.Input[str]]:
457
+ """
458
+ The date and time of the last update of the MongoDB® instance.
459
+ """
460
+ return pulumi.get(self, "updated_at")
461
+
462
+ @updated_at.setter
463
+ def updated_at(self, value: Optional[pulumi.Input[str]]):
464
+ pulumi.set(self, "updated_at", value)
465
+
466
+ @property
467
+ @pulumi.getter(name="userName")
468
+ def user_name(self) -> Optional[pulumi.Input[str]]:
469
+ """
470
+ Name of the user created when the intance is created.
471
+ """
472
+ return pulumi.get(self, "user_name")
473
+
474
+ @user_name.setter
475
+ def user_name(self, value: Optional[pulumi.Input[str]]):
476
+ pulumi.set(self, "user_name", value)
477
+
478
+ @property
479
+ @pulumi.getter
480
+ def version(self) -> Optional[pulumi.Input[str]]:
481
+ """
482
+ MongoDB® version of the instance.
483
+ """
484
+ return pulumi.get(self, "version")
485
+
486
+ @version.setter
487
+ def version(self, value: Optional[pulumi.Input[str]]):
488
+ pulumi.set(self, "version", value)
489
+
490
+ @property
491
+ @pulumi.getter(name="volumeSizeInGb")
492
+ def volume_size_in_gb(self) -> Optional[pulumi.Input[int]]:
493
+ """
494
+ Volume size in GB.
495
+ """
496
+ return pulumi.get(self, "volume_size_in_gb")
497
+
498
+ @volume_size_in_gb.setter
499
+ def volume_size_in_gb(self, value: Optional[pulumi.Input[int]]):
500
+ pulumi.set(self, "volume_size_in_gb", value)
501
+
502
+ @property
503
+ @pulumi.getter(name="volumeType")
504
+ def volume_type(self) -> Optional[pulumi.Input[str]]:
505
+ """
506
+ Volume type of the instance.
507
+ """
508
+ return pulumi.get(self, "volume_type")
509
+
510
+ @volume_type.setter
511
+ def volume_type(self, value: Optional[pulumi.Input[str]]):
512
+ pulumi.set(self, "volume_type", value)
513
+
514
+
515
+ class MongoDbInstance(pulumi.CustomResource):
516
+ @overload
517
+ def __init__(__self__,
518
+ resource_name: str,
519
+ opts: Optional[pulumi.ResourceOptions] = None,
520
+ name: Optional[pulumi.Input[str]] = None,
521
+ node_number: Optional[pulumi.Input[int]] = None,
522
+ node_type: Optional[pulumi.Input[str]] = None,
523
+ password: Optional[pulumi.Input[str]] = None,
524
+ project_id: Optional[pulumi.Input[str]] = None,
525
+ public_network: Optional[pulumi.Input[Union['MongoDbInstancePublicNetworkArgs', 'MongoDbInstancePublicNetworkArgsDict']]] = None,
526
+ region: Optional[pulumi.Input[str]] = None,
527
+ settings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
528
+ snapshot_id: Optional[pulumi.Input[str]] = None,
529
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
530
+ user_name: Optional[pulumi.Input[str]] = None,
531
+ version: Optional[pulumi.Input[str]] = None,
532
+ volume_size_in_gb: Optional[pulumi.Input[int]] = None,
533
+ volume_type: Optional[pulumi.Input[str]] = None,
534
+ __props__=None):
535
+ """
536
+ Creates and manages Scaleway MongoDB® instance.
537
+ For more information refer to [the API documentation](https://www.scaleway.com/en/docs/managed-databases/mongodb/).
538
+
539
+ ## Example Usage
540
+
541
+ ### Basic
542
+
543
+ ```python
544
+ import pulumi
545
+ import pulumiverse_scaleway as scaleway
546
+
547
+ main = scaleway.MongoDbInstance("main",
548
+ name="test-mongodb-basic1",
549
+ version="7.0.12",
550
+ node_type="MGDB-PLAY2-NANO",
551
+ node_number=1,
552
+ user_name="my_initial_user",
553
+ password="thiZ_is_v&ry_s3cret",
554
+ volume_size_in_gb=5)
555
+ ```
556
+
557
+ ### Restore From Snapshot
558
+
559
+ ```python
560
+ import pulumi
561
+ import pulumiverse_scaleway as scaleway
562
+
563
+ restored_instance = scaleway.MongoDbInstance("restored_instance",
564
+ snapshot_id=pn["idscalewayMongodbSnapshot"]["mainSnapshot"]["id"],
565
+ name="restored-mongodb-from-snapshot",
566
+ node_type="MGDB-PLAY2-NANO",
567
+ node_number=1)
568
+ ```
569
+
570
+ ## Import
571
+
572
+ MongoDB® instance can be imported using the `id`, e.g.
573
+
574
+ bash
575
+
576
+ ```sh
577
+ $ pulumi import scaleway:index/mongoDbInstance:MongoDbInstance main fr-par-1/11111111-1111-1111-1111-111111111111
578
+ ```
579
+
580
+ :param str resource_name: The name of the resource.
581
+ :param pulumi.ResourceOptions opts: Options for the resource.
582
+ :param pulumi.Input[str] name: Name of the MongoDB® instance.
583
+ :param pulumi.Input[int] node_number: Number of nodes in the instance
584
+ :param pulumi.Input[str] node_type: The type of MongoDB® intance to create.
585
+ :param pulumi.Input[str] password: Password of the user.
586
+ :param pulumi.Input[str] project_id: The project_id you want to attach the resource to
587
+ :param pulumi.Input[Union['MongoDbInstancePublicNetworkArgs', 'MongoDbInstancePublicNetworkArgsDict']] public_network: Public network specs details.
588
+ :param pulumi.Input[str] region: The region you want to attach the resource to
589
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings to define for the instance.
590
+ :param pulumi.Input[str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
591
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: List of tags attached to the MongoDB® instance.
592
+ :param pulumi.Input[str] user_name: Name of the user created when the intance is created.
593
+ :param pulumi.Input[str] version: MongoDB® version of the instance.
594
+ :param pulumi.Input[int] volume_size_in_gb: Volume size in GB.
595
+ :param pulumi.Input[str] volume_type: Volume type of the instance.
596
+ """
597
+ ...
598
+ @overload
599
+ def __init__(__self__,
600
+ resource_name: str,
601
+ args: MongoDbInstanceArgs,
602
+ opts: Optional[pulumi.ResourceOptions] = None):
603
+ """
604
+ Creates and manages Scaleway MongoDB® instance.
605
+ For more information refer to [the API documentation](https://www.scaleway.com/en/docs/managed-databases/mongodb/).
606
+
607
+ ## Example Usage
608
+
609
+ ### Basic
610
+
611
+ ```python
612
+ import pulumi
613
+ import pulumiverse_scaleway as scaleway
614
+
615
+ main = scaleway.MongoDbInstance("main",
616
+ name="test-mongodb-basic1",
617
+ version="7.0.12",
618
+ node_type="MGDB-PLAY2-NANO",
619
+ node_number=1,
620
+ user_name="my_initial_user",
621
+ password="thiZ_is_v&ry_s3cret",
622
+ volume_size_in_gb=5)
623
+ ```
624
+
625
+ ### Restore From Snapshot
626
+
627
+ ```python
628
+ import pulumi
629
+ import pulumiverse_scaleway as scaleway
630
+
631
+ restored_instance = scaleway.MongoDbInstance("restored_instance",
632
+ snapshot_id=pn["idscalewayMongodbSnapshot"]["mainSnapshot"]["id"],
633
+ name="restored-mongodb-from-snapshot",
634
+ node_type="MGDB-PLAY2-NANO",
635
+ node_number=1)
636
+ ```
637
+
638
+ ## Import
639
+
640
+ MongoDB® instance can be imported using the `id`, e.g.
641
+
642
+ bash
643
+
644
+ ```sh
645
+ $ pulumi import scaleway:index/mongoDbInstance:MongoDbInstance main fr-par-1/11111111-1111-1111-1111-111111111111
646
+ ```
647
+
648
+ :param str resource_name: The name of the resource.
649
+ :param MongoDbInstanceArgs args: The arguments to use to populate this resource's properties.
650
+ :param pulumi.ResourceOptions opts: Options for the resource.
651
+ """
652
+ ...
653
+ def __init__(__self__, resource_name: str, *args, **kwargs):
654
+ resource_args, opts = _utilities.get_resource_args_opts(MongoDbInstanceArgs, pulumi.ResourceOptions, *args, **kwargs)
655
+ if resource_args is not None:
656
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
657
+ else:
658
+ __self__._internal_init(resource_name, *args, **kwargs)
659
+
660
+ def _internal_init(__self__,
661
+ resource_name: str,
662
+ opts: Optional[pulumi.ResourceOptions] = None,
663
+ name: Optional[pulumi.Input[str]] = None,
664
+ node_number: Optional[pulumi.Input[int]] = None,
665
+ node_type: Optional[pulumi.Input[str]] = None,
666
+ password: Optional[pulumi.Input[str]] = None,
667
+ project_id: Optional[pulumi.Input[str]] = None,
668
+ public_network: Optional[pulumi.Input[Union['MongoDbInstancePublicNetworkArgs', 'MongoDbInstancePublicNetworkArgsDict']]] = None,
669
+ region: Optional[pulumi.Input[str]] = None,
670
+ settings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
671
+ snapshot_id: Optional[pulumi.Input[str]] = None,
672
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
673
+ user_name: Optional[pulumi.Input[str]] = None,
674
+ version: Optional[pulumi.Input[str]] = None,
675
+ volume_size_in_gb: Optional[pulumi.Input[int]] = None,
676
+ volume_type: Optional[pulumi.Input[str]] = None,
677
+ __props__=None):
678
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
679
+ if not isinstance(opts, pulumi.ResourceOptions):
680
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
681
+ if opts.id is None:
682
+ if __props__ is not None:
683
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
684
+ __props__ = MongoDbInstanceArgs.__new__(MongoDbInstanceArgs)
685
+
686
+ __props__.__dict__["name"] = name
687
+ if node_number is None and not opts.urn:
688
+ raise TypeError("Missing required property 'node_number'")
689
+ __props__.__dict__["node_number"] = node_number
690
+ if node_type is None and not opts.urn:
691
+ raise TypeError("Missing required property 'node_type'")
692
+ __props__.__dict__["node_type"] = node_type
693
+ __props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
694
+ __props__.__dict__["project_id"] = project_id
695
+ __props__.__dict__["public_network"] = public_network
696
+ __props__.__dict__["region"] = region
697
+ __props__.__dict__["settings"] = settings
698
+ __props__.__dict__["snapshot_id"] = snapshot_id
699
+ __props__.__dict__["tags"] = tags
700
+ __props__.__dict__["user_name"] = user_name
701
+ __props__.__dict__["version"] = version
702
+ __props__.__dict__["volume_size_in_gb"] = volume_size_in_gb
703
+ __props__.__dict__["volume_type"] = volume_type
704
+ __props__.__dict__["created_at"] = None
705
+ __props__.__dict__["updated_at"] = None
706
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
707
+ opts = pulumi.ResourceOptions.merge(opts, secret_opts)
708
+ super(MongoDbInstance, __self__).__init__(
709
+ 'scaleway:index/mongoDbInstance:MongoDbInstance',
710
+ resource_name,
711
+ __props__,
712
+ opts)
713
+
714
+ @staticmethod
715
+ def get(resource_name: str,
716
+ id: pulumi.Input[str],
717
+ opts: Optional[pulumi.ResourceOptions] = None,
718
+ created_at: Optional[pulumi.Input[str]] = None,
719
+ name: Optional[pulumi.Input[str]] = None,
720
+ node_number: Optional[pulumi.Input[int]] = None,
721
+ node_type: Optional[pulumi.Input[str]] = None,
722
+ password: Optional[pulumi.Input[str]] = None,
723
+ project_id: Optional[pulumi.Input[str]] = None,
724
+ public_network: Optional[pulumi.Input[Union['MongoDbInstancePublicNetworkArgs', 'MongoDbInstancePublicNetworkArgsDict']]] = None,
725
+ region: Optional[pulumi.Input[str]] = None,
726
+ settings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
727
+ snapshot_id: Optional[pulumi.Input[str]] = None,
728
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
729
+ updated_at: Optional[pulumi.Input[str]] = None,
730
+ user_name: Optional[pulumi.Input[str]] = None,
731
+ version: Optional[pulumi.Input[str]] = None,
732
+ volume_size_in_gb: Optional[pulumi.Input[int]] = None,
733
+ volume_type: Optional[pulumi.Input[str]] = None) -> 'MongoDbInstance':
734
+ """
735
+ Get an existing MongoDbInstance resource's state with the given name, id, and optional extra
736
+ properties used to qualify the lookup.
737
+
738
+ :param str resource_name: The unique name of the resulting resource.
739
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
740
+ :param pulumi.ResourceOptions opts: Options for the resource.
741
+ :param pulumi.Input[str] created_at: The date and time of the creation of the MongoDB® instance.
742
+ :param pulumi.Input[str] name: Name of the MongoDB® instance.
743
+ :param pulumi.Input[int] node_number: Number of nodes in the instance
744
+ :param pulumi.Input[str] node_type: The type of MongoDB® intance to create.
745
+ :param pulumi.Input[str] password: Password of the user.
746
+ :param pulumi.Input[str] project_id: The project_id you want to attach the resource to
747
+ :param pulumi.Input[Union['MongoDbInstancePublicNetworkArgs', 'MongoDbInstancePublicNetworkArgsDict']] public_network: Public network specs details.
748
+ :param pulumi.Input[str] region: The region you want to attach the resource to
749
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings to define for the instance.
750
+ :param pulumi.Input[str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
751
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: List of tags attached to the MongoDB® instance.
752
+ :param pulumi.Input[str] updated_at: The date and time of the last update of the MongoDB® instance.
753
+ :param pulumi.Input[str] user_name: Name of the user created when the intance is created.
754
+ :param pulumi.Input[str] version: MongoDB® version of the instance.
755
+ :param pulumi.Input[int] volume_size_in_gb: Volume size in GB.
756
+ :param pulumi.Input[str] volume_type: Volume type of the instance.
757
+ """
758
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
759
+
760
+ __props__ = _MongoDbInstanceState.__new__(_MongoDbInstanceState)
761
+
762
+ __props__.__dict__["created_at"] = created_at
763
+ __props__.__dict__["name"] = name
764
+ __props__.__dict__["node_number"] = node_number
765
+ __props__.__dict__["node_type"] = node_type
766
+ __props__.__dict__["password"] = password
767
+ __props__.__dict__["project_id"] = project_id
768
+ __props__.__dict__["public_network"] = public_network
769
+ __props__.__dict__["region"] = region
770
+ __props__.__dict__["settings"] = settings
771
+ __props__.__dict__["snapshot_id"] = snapshot_id
772
+ __props__.__dict__["tags"] = tags
773
+ __props__.__dict__["updated_at"] = updated_at
774
+ __props__.__dict__["user_name"] = user_name
775
+ __props__.__dict__["version"] = version
776
+ __props__.__dict__["volume_size_in_gb"] = volume_size_in_gb
777
+ __props__.__dict__["volume_type"] = volume_type
778
+ return MongoDbInstance(resource_name, opts=opts, __props__=__props__)
779
+
780
+ @property
781
+ @pulumi.getter(name="createdAt")
782
+ def created_at(self) -> pulumi.Output[str]:
783
+ """
784
+ The date and time of the creation of the MongoDB® instance.
785
+ """
786
+ return pulumi.get(self, "created_at")
787
+
788
+ @property
789
+ @pulumi.getter
790
+ def name(self) -> pulumi.Output[str]:
791
+ """
792
+ Name of the MongoDB® instance.
793
+ """
794
+ return pulumi.get(self, "name")
795
+
796
+ @property
797
+ @pulumi.getter(name="nodeNumber")
798
+ def node_number(self) -> pulumi.Output[int]:
799
+ """
800
+ Number of nodes in the instance
801
+ """
802
+ return pulumi.get(self, "node_number")
803
+
804
+ @property
805
+ @pulumi.getter(name="nodeType")
806
+ def node_type(self) -> pulumi.Output[str]:
807
+ """
808
+ The type of MongoDB® intance to create.
809
+ """
810
+ return pulumi.get(self, "node_type")
811
+
812
+ @property
813
+ @pulumi.getter
814
+ def password(self) -> pulumi.Output[Optional[str]]:
815
+ """
816
+ Password of the user.
817
+ """
818
+ return pulumi.get(self, "password")
819
+
820
+ @property
821
+ @pulumi.getter(name="projectId")
822
+ def project_id(self) -> pulumi.Output[str]:
823
+ """
824
+ The project_id you want to attach the resource to
825
+ """
826
+ return pulumi.get(self, "project_id")
827
+
828
+ @property
829
+ @pulumi.getter(name="publicNetwork")
830
+ def public_network(self) -> pulumi.Output['outputs.MongoDbInstancePublicNetwork']:
831
+ """
832
+ Public network specs details.
833
+ """
834
+ return pulumi.get(self, "public_network")
835
+
836
+ @property
837
+ @pulumi.getter
838
+ def region(self) -> pulumi.Output[str]:
839
+ """
840
+ The region you want to attach the resource to
841
+ """
842
+ return pulumi.get(self, "region")
843
+
844
+ @property
845
+ @pulumi.getter
846
+ def settings(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
847
+ """
848
+ Map of settings to define for the instance.
849
+ """
850
+ return pulumi.get(self, "settings")
851
+
852
+ @property
853
+ @pulumi.getter(name="snapshotId")
854
+ def snapshot_id(self) -> pulumi.Output[Optional[str]]:
855
+ """
856
+ Snapshot ID to restore the MongoDB® instance from.
857
+ """
858
+ return pulumi.get(self, "snapshot_id")
859
+
860
+ @property
861
+ @pulumi.getter
862
+ def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
863
+ """
864
+ List of tags attached to the MongoDB® instance.
865
+ """
866
+ return pulumi.get(self, "tags")
867
+
868
+ @property
869
+ @pulumi.getter(name="updatedAt")
870
+ def updated_at(self) -> pulumi.Output[str]:
871
+ """
872
+ The date and time of the last update of the MongoDB® instance.
873
+ """
874
+ return pulumi.get(self, "updated_at")
875
+
876
+ @property
877
+ @pulumi.getter(name="userName")
878
+ def user_name(self) -> pulumi.Output[Optional[str]]:
879
+ """
880
+ Name of the user created when the intance is created.
881
+ """
882
+ return pulumi.get(self, "user_name")
883
+
884
+ @property
885
+ @pulumi.getter
886
+ def version(self) -> pulumi.Output[str]:
887
+ """
888
+ MongoDB® version of the instance.
889
+ """
890
+ return pulumi.get(self, "version")
891
+
892
+ @property
893
+ @pulumi.getter(name="volumeSizeInGb")
894
+ def volume_size_in_gb(self) -> pulumi.Output[int]:
895
+ """
896
+ Volume size in GB.
897
+ """
898
+ return pulumi.get(self, "volume_size_in_gb")
899
+
900
+ @property
901
+ @pulumi.getter(name="volumeType")
902
+ def volume_type(self) -> pulumi.Output[Optional[str]]:
903
+ """
904
+ Volume type of the instance.
905
+ """
906
+ return pulumi.get(self, "volume_type")
907
+