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,896 @@
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
+
17
+ __all__ = ['IotHubArgs', 'IotHub']
18
+
19
+ @pulumi.input_type
20
+ class IotHubArgs:
21
+ def __init__(__self__, *,
22
+ product_plan: pulumi.Input[str],
23
+ device_auto_provisioning: Optional[pulumi.Input[bool]] = None,
24
+ disable_events: Optional[pulumi.Input[bool]] = None,
25
+ enabled: Optional[pulumi.Input[bool]] = None,
26
+ events_topic_prefix: Optional[pulumi.Input[str]] = None,
27
+ hub_ca: Optional[pulumi.Input[str]] = None,
28
+ hub_ca_challenge: Optional[pulumi.Input[str]] = None,
29
+ name: Optional[pulumi.Input[str]] = None,
30
+ project_id: Optional[pulumi.Input[str]] = None,
31
+ region: Optional[pulumi.Input[str]] = None):
32
+ """
33
+ The set of arguments for constructing a IotHub resource.
34
+ :param pulumi.Input[str] product_plan: Product plan to create the hub, see documentation for available product plans (e.g. `plan_shared`)
35
+
36
+ > **Important:** Updates to `product_plan` will recreate the IoT Hub Instance.
37
+ :param pulumi.Input[bool] device_auto_provisioning: Wether to enable the device auto provisioning or not
38
+ :param pulumi.Input[bool] disable_events: Whether to enable the hub events or not
39
+ :param pulumi.Input[bool] enabled: Wether the IoT Hub instance should be enabled or not.
40
+
41
+ > **Important:** Updates to `enabled` will disconnect eventually connected devices.
42
+ :param pulumi.Input[str] events_topic_prefix: Topic prefix for the hub events
43
+ :param pulumi.Input[str] hub_ca: Custom user provided certificate authority
44
+ :param pulumi.Input[str] hub_ca_challenge: Challenge certificate for the user provided hub CA
45
+ :param pulumi.Input[str] name: The name of the IoT Hub instance you want to create (e.g. `my-hub`).
46
+ :param pulumi.Input[str] project_id: `project_id`) The ID of the project the IoT Hub Instance is associated with.
47
+ :param pulumi.Input[str] region: `region`) The region in which the Database Instance should be created.
48
+ """
49
+ pulumi.set(__self__, "product_plan", product_plan)
50
+ if device_auto_provisioning is not None:
51
+ pulumi.set(__self__, "device_auto_provisioning", device_auto_provisioning)
52
+ if disable_events is not None:
53
+ pulumi.set(__self__, "disable_events", disable_events)
54
+ if enabled is not None:
55
+ pulumi.set(__self__, "enabled", enabled)
56
+ if events_topic_prefix is not None:
57
+ pulumi.set(__self__, "events_topic_prefix", events_topic_prefix)
58
+ if hub_ca is not None:
59
+ pulumi.set(__self__, "hub_ca", hub_ca)
60
+ if hub_ca_challenge is not None:
61
+ pulumi.set(__self__, "hub_ca_challenge", hub_ca_challenge)
62
+ if name is not None:
63
+ pulumi.set(__self__, "name", name)
64
+ if project_id is not None:
65
+ pulumi.set(__self__, "project_id", project_id)
66
+ if region is not None:
67
+ pulumi.set(__self__, "region", region)
68
+
69
+ @property
70
+ @pulumi.getter(name="productPlan")
71
+ def product_plan(self) -> pulumi.Input[str]:
72
+ """
73
+ Product plan to create the hub, see documentation for available product plans (e.g. `plan_shared`)
74
+
75
+ > **Important:** Updates to `product_plan` will recreate the IoT Hub Instance.
76
+ """
77
+ return pulumi.get(self, "product_plan")
78
+
79
+ @product_plan.setter
80
+ def product_plan(self, value: pulumi.Input[str]):
81
+ pulumi.set(self, "product_plan", value)
82
+
83
+ @property
84
+ @pulumi.getter(name="deviceAutoProvisioning")
85
+ def device_auto_provisioning(self) -> Optional[pulumi.Input[bool]]:
86
+ """
87
+ Wether to enable the device auto provisioning or not
88
+ """
89
+ return pulumi.get(self, "device_auto_provisioning")
90
+
91
+ @device_auto_provisioning.setter
92
+ def device_auto_provisioning(self, value: Optional[pulumi.Input[bool]]):
93
+ pulumi.set(self, "device_auto_provisioning", value)
94
+
95
+ @property
96
+ @pulumi.getter(name="disableEvents")
97
+ def disable_events(self) -> Optional[pulumi.Input[bool]]:
98
+ """
99
+ Whether to enable the hub events or not
100
+ """
101
+ return pulumi.get(self, "disable_events")
102
+
103
+ @disable_events.setter
104
+ def disable_events(self, value: Optional[pulumi.Input[bool]]):
105
+ pulumi.set(self, "disable_events", value)
106
+
107
+ @property
108
+ @pulumi.getter
109
+ def enabled(self) -> Optional[pulumi.Input[bool]]:
110
+ """
111
+ Wether the IoT Hub instance should be enabled or not.
112
+
113
+ > **Important:** Updates to `enabled` will disconnect eventually connected devices.
114
+ """
115
+ return pulumi.get(self, "enabled")
116
+
117
+ @enabled.setter
118
+ def enabled(self, value: Optional[pulumi.Input[bool]]):
119
+ pulumi.set(self, "enabled", value)
120
+
121
+ @property
122
+ @pulumi.getter(name="eventsTopicPrefix")
123
+ def events_topic_prefix(self) -> Optional[pulumi.Input[str]]:
124
+ """
125
+ Topic prefix for the hub events
126
+ """
127
+ return pulumi.get(self, "events_topic_prefix")
128
+
129
+ @events_topic_prefix.setter
130
+ def events_topic_prefix(self, value: Optional[pulumi.Input[str]]):
131
+ pulumi.set(self, "events_topic_prefix", value)
132
+
133
+ @property
134
+ @pulumi.getter(name="hubCa")
135
+ def hub_ca(self) -> Optional[pulumi.Input[str]]:
136
+ """
137
+ Custom user provided certificate authority
138
+ """
139
+ return pulumi.get(self, "hub_ca")
140
+
141
+ @hub_ca.setter
142
+ def hub_ca(self, value: Optional[pulumi.Input[str]]):
143
+ pulumi.set(self, "hub_ca", value)
144
+
145
+ @property
146
+ @pulumi.getter(name="hubCaChallenge")
147
+ def hub_ca_challenge(self) -> Optional[pulumi.Input[str]]:
148
+ """
149
+ Challenge certificate for the user provided hub CA
150
+ """
151
+ return pulumi.get(self, "hub_ca_challenge")
152
+
153
+ @hub_ca_challenge.setter
154
+ def hub_ca_challenge(self, value: Optional[pulumi.Input[str]]):
155
+ pulumi.set(self, "hub_ca_challenge", value)
156
+
157
+ @property
158
+ @pulumi.getter
159
+ def name(self) -> Optional[pulumi.Input[str]]:
160
+ """
161
+ The name of the IoT Hub instance you want to create (e.g. `my-hub`).
162
+ """
163
+ return pulumi.get(self, "name")
164
+
165
+ @name.setter
166
+ def name(self, value: Optional[pulumi.Input[str]]):
167
+ pulumi.set(self, "name", value)
168
+
169
+ @property
170
+ @pulumi.getter(name="projectId")
171
+ def project_id(self) -> Optional[pulumi.Input[str]]:
172
+ """
173
+ `project_id`) The ID of the project the IoT Hub Instance is associated with.
174
+ """
175
+ return pulumi.get(self, "project_id")
176
+
177
+ @project_id.setter
178
+ def project_id(self, value: Optional[pulumi.Input[str]]):
179
+ pulumi.set(self, "project_id", value)
180
+
181
+ @property
182
+ @pulumi.getter
183
+ def region(self) -> Optional[pulumi.Input[str]]:
184
+ """
185
+ `region`) The region in which the Database Instance should be created.
186
+ """
187
+ return pulumi.get(self, "region")
188
+
189
+ @region.setter
190
+ def region(self, value: Optional[pulumi.Input[str]]):
191
+ pulumi.set(self, "region", value)
192
+
193
+
194
+ @pulumi.input_type
195
+ class _IotHubState:
196
+ def __init__(__self__, *,
197
+ connected_device_count: Optional[pulumi.Input[int]] = None,
198
+ created_at: Optional[pulumi.Input[str]] = None,
199
+ device_auto_provisioning: Optional[pulumi.Input[bool]] = None,
200
+ device_count: Optional[pulumi.Input[int]] = None,
201
+ disable_events: Optional[pulumi.Input[bool]] = None,
202
+ enabled: Optional[pulumi.Input[bool]] = None,
203
+ endpoint: Optional[pulumi.Input[str]] = None,
204
+ events_topic_prefix: Optional[pulumi.Input[str]] = None,
205
+ hub_ca: Optional[pulumi.Input[str]] = None,
206
+ hub_ca_challenge: Optional[pulumi.Input[str]] = None,
207
+ mqtt_ca: Optional[pulumi.Input[str]] = None,
208
+ mqtt_ca_url: Optional[pulumi.Input[str]] = None,
209
+ name: Optional[pulumi.Input[str]] = None,
210
+ organization_id: Optional[pulumi.Input[str]] = None,
211
+ product_plan: Optional[pulumi.Input[str]] = None,
212
+ project_id: Optional[pulumi.Input[str]] = None,
213
+ region: Optional[pulumi.Input[str]] = None,
214
+ status: Optional[pulumi.Input[str]] = None,
215
+ updated_at: Optional[pulumi.Input[str]] = None):
216
+ """
217
+ Input properties used for looking up and filtering IotHub resources.
218
+ :param pulumi.Input[int] connected_device_count: The current number of connected devices in the Hub.
219
+ :param pulumi.Input[str] created_at: The date and time the Hub was created.
220
+ :param pulumi.Input[bool] device_auto_provisioning: Wether to enable the device auto provisioning or not
221
+ :param pulumi.Input[int] device_count: The number of registered devices in the Hub.
222
+ :param pulumi.Input[bool] disable_events: Whether to enable the hub events or not
223
+ :param pulumi.Input[bool] enabled: Wether the IoT Hub instance should be enabled or not.
224
+
225
+ > **Important:** Updates to `enabled` will disconnect eventually connected devices.
226
+ :param pulumi.Input[str] endpoint: The MQTT network endpoint to connect MQTT devices to.
227
+ :param pulumi.Input[str] events_topic_prefix: Topic prefix for the hub events
228
+ :param pulumi.Input[str] hub_ca: Custom user provided certificate authority
229
+ :param pulumi.Input[str] hub_ca_challenge: Challenge certificate for the user provided hub CA
230
+ :param pulumi.Input[str] mqtt_ca: The MQTT certificat content
231
+ :param pulumi.Input[str] mqtt_ca_url: The MQTT ca url
232
+ :param pulumi.Input[str] name: The name of the IoT Hub instance you want to create (e.g. `my-hub`).
233
+ :param pulumi.Input[str] organization_id: The organization_id you want to attach the resource to
234
+ :param pulumi.Input[str] product_plan: Product plan to create the hub, see documentation for available product plans (e.g. `plan_shared`)
235
+
236
+ > **Important:** Updates to `product_plan` will recreate the IoT Hub Instance.
237
+ :param pulumi.Input[str] project_id: `project_id`) The ID of the project the IoT Hub Instance is associated with.
238
+ :param pulumi.Input[str] region: `region`) The region in which the Database Instance should be created.
239
+ :param pulumi.Input[str] status: The current status of the Hub.
240
+ :param pulumi.Input[str] updated_at: The date and time the Hub resource was updated.
241
+ """
242
+ if connected_device_count is not None:
243
+ pulumi.set(__self__, "connected_device_count", connected_device_count)
244
+ if created_at is not None:
245
+ pulumi.set(__self__, "created_at", created_at)
246
+ if device_auto_provisioning is not None:
247
+ pulumi.set(__self__, "device_auto_provisioning", device_auto_provisioning)
248
+ if device_count is not None:
249
+ pulumi.set(__self__, "device_count", device_count)
250
+ if disable_events is not None:
251
+ pulumi.set(__self__, "disable_events", disable_events)
252
+ if enabled is not None:
253
+ pulumi.set(__self__, "enabled", enabled)
254
+ if endpoint is not None:
255
+ pulumi.set(__self__, "endpoint", endpoint)
256
+ if events_topic_prefix is not None:
257
+ pulumi.set(__self__, "events_topic_prefix", events_topic_prefix)
258
+ if hub_ca is not None:
259
+ pulumi.set(__self__, "hub_ca", hub_ca)
260
+ if hub_ca_challenge is not None:
261
+ pulumi.set(__self__, "hub_ca_challenge", hub_ca_challenge)
262
+ if mqtt_ca is not None:
263
+ pulumi.set(__self__, "mqtt_ca", mqtt_ca)
264
+ if mqtt_ca_url is not None:
265
+ pulumi.set(__self__, "mqtt_ca_url", mqtt_ca_url)
266
+ if name is not None:
267
+ pulumi.set(__self__, "name", name)
268
+ if organization_id is not None:
269
+ pulumi.set(__self__, "organization_id", organization_id)
270
+ if product_plan is not None:
271
+ pulumi.set(__self__, "product_plan", product_plan)
272
+ if project_id is not None:
273
+ pulumi.set(__self__, "project_id", project_id)
274
+ if region is not None:
275
+ pulumi.set(__self__, "region", region)
276
+ if status is not None:
277
+ pulumi.set(__self__, "status", status)
278
+ if updated_at is not None:
279
+ pulumi.set(__self__, "updated_at", updated_at)
280
+
281
+ @property
282
+ @pulumi.getter(name="connectedDeviceCount")
283
+ def connected_device_count(self) -> Optional[pulumi.Input[int]]:
284
+ """
285
+ The current number of connected devices in the Hub.
286
+ """
287
+ return pulumi.get(self, "connected_device_count")
288
+
289
+ @connected_device_count.setter
290
+ def connected_device_count(self, value: Optional[pulumi.Input[int]]):
291
+ pulumi.set(self, "connected_device_count", value)
292
+
293
+ @property
294
+ @pulumi.getter(name="createdAt")
295
+ def created_at(self) -> Optional[pulumi.Input[str]]:
296
+ """
297
+ The date and time the Hub was created.
298
+ """
299
+ return pulumi.get(self, "created_at")
300
+
301
+ @created_at.setter
302
+ def created_at(self, value: Optional[pulumi.Input[str]]):
303
+ pulumi.set(self, "created_at", value)
304
+
305
+ @property
306
+ @pulumi.getter(name="deviceAutoProvisioning")
307
+ def device_auto_provisioning(self) -> Optional[pulumi.Input[bool]]:
308
+ """
309
+ Wether to enable the device auto provisioning or not
310
+ """
311
+ return pulumi.get(self, "device_auto_provisioning")
312
+
313
+ @device_auto_provisioning.setter
314
+ def device_auto_provisioning(self, value: Optional[pulumi.Input[bool]]):
315
+ pulumi.set(self, "device_auto_provisioning", value)
316
+
317
+ @property
318
+ @pulumi.getter(name="deviceCount")
319
+ def device_count(self) -> Optional[pulumi.Input[int]]:
320
+ """
321
+ The number of registered devices in the Hub.
322
+ """
323
+ return pulumi.get(self, "device_count")
324
+
325
+ @device_count.setter
326
+ def device_count(self, value: Optional[pulumi.Input[int]]):
327
+ pulumi.set(self, "device_count", value)
328
+
329
+ @property
330
+ @pulumi.getter(name="disableEvents")
331
+ def disable_events(self) -> Optional[pulumi.Input[bool]]:
332
+ """
333
+ Whether to enable the hub events or not
334
+ """
335
+ return pulumi.get(self, "disable_events")
336
+
337
+ @disable_events.setter
338
+ def disable_events(self, value: Optional[pulumi.Input[bool]]):
339
+ pulumi.set(self, "disable_events", value)
340
+
341
+ @property
342
+ @pulumi.getter
343
+ def enabled(self) -> Optional[pulumi.Input[bool]]:
344
+ """
345
+ Wether the IoT Hub instance should be enabled or not.
346
+
347
+ > **Important:** Updates to `enabled` will disconnect eventually connected devices.
348
+ """
349
+ return pulumi.get(self, "enabled")
350
+
351
+ @enabled.setter
352
+ def enabled(self, value: Optional[pulumi.Input[bool]]):
353
+ pulumi.set(self, "enabled", value)
354
+
355
+ @property
356
+ @pulumi.getter
357
+ def endpoint(self) -> Optional[pulumi.Input[str]]:
358
+ """
359
+ The MQTT network endpoint to connect MQTT devices to.
360
+ """
361
+ return pulumi.get(self, "endpoint")
362
+
363
+ @endpoint.setter
364
+ def endpoint(self, value: Optional[pulumi.Input[str]]):
365
+ pulumi.set(self, "endpoint", value)
366
+
367
+ @property
368
+ @pulumi.getter(name="eventsTopicPrefix")
369
+ def events_topic_prefix(self) -> Optional[pulumi.Input[str]]:
370
+ """
371
+ Topic prefix for the hub events
372
+ """
373
+ return pulumi.get(self, "events_topic_prefix")
374
+
375
+ @events_topic_prefix.setter
376
+ def events_topic_prefix(self, value: Optional[pulumi.Input[str]]):
377
+ pulumi.set(self, "events_topic_prefix", value)
378
+
379
+ @property
380
+ @pulumi.getter(name="hubCa")
381
+ def hub_ca(self) -> Optional[pulumi.Input[str]]:
382
+ """
383
+ Custom user provided certificate authority
384
+ """
385
+ return pulumi.get(self, "hub_ca")
386
+
387
+ @hub_ca.setter
388
+ def hub_ca(self, value: Optional[pulumi.Input[str]]):
389
+ pulumi.set(self, "hub_ca", value)
390
+
391
+ @property
392
+ @pulumi.getter(name="hubCaChallenge")
393
+ def hub_ca_challenge(self) -> Optional[pulumi.Input[str]]:
394
+ """
395
+ Challenge certificate for the user provided hub CA
396
+ """
397
+ return pulumi.get(self, "hub_ca_challenge")
398
+
399
+ @hub_ca_challenge.setter
400
+ def hub_ca_challenge(self, value: Optional[pulumi.Input[str]]):
401
+ pulumi.set(self, "hub_ca_challenge", value)
402
+
403
+ @property
404
+ @pulumi.getter(name="mqttCa")
405
+ def mqtt_ca(self) -> Optional[pulumi.Input[str]]:
406
+ """
407
+ The MQTT certificat content
408
+ """
409
+ return pulumi.get(self, "mqtt_ca")
410
+
411
+ @mqtt_ca.setter
412
+ def mqtt_ca(self, value: Optional[pulumi.Input[str]]):
413
+ pulumi.set(self, "mqtt_ca", value)
414
+
415
+ @property
416
+ @pulumi.getter(name="mqttCaUrl")
417
+ def mqtt_ca_url(self) -> Optional[pulumi.Input[str]]:
418
+ """
419
+ The MQTT ca url
420
+ """
421
+ return pulumi.get(self, "mqtt_ca_url")
422
+
423
+ @mqtt_ca_url.setter
424
+ def mqtt_ca_url(self, value: Optional[pulumi.Input[str]]):
425
+ pulumi.set(self, "mqtt_ca_url", value)
426
+
427
+ @property
428
+ @pulumi.getter
429
+ def name(self) -> Optional[pulumi.Input[str]]:
430
+ """
431
+ The name of the IoT Hub instance you want to create (e.g. `my-hub`).
432
+ """
433
+ return pulumi.get(self, "name")
434
+
435
+ @name.setter
436
+ def name(self, value: Optional[pulumi.Input[str]]):
437
+ pulumi.set(self, "name", value)
438
+
439
+ @property
440
+ @pulumi.getter(name="organizationId")
441
+ def organization_id(self) -> Optional[pulumi.Input[str]]:
442
+ """
443
+ The organization_id you want to attach the resource to
444
+ """
445
+ return pulumi.get(self, "organization_id")
446
+
447
+ @organization_id.setter
448
+ def organization_id(self, value: Optional[pulumi.Input[str]]):
449
+ pulumi.set(self, "organization_id", value)
450
+
451
+ @property
452
+ @pulumi.getter(name="productPlan")
453
+ def product_plan(self) -> Optional[pulumi.Input[str]]:
454
+ """
455
+ Product plan to create the hub, see documentation for available product plans (e.g. `plan_shared`)
456
+
457
+ > **Important:** Updates to `product_plan` will recreate the IoT Hub Instance.
458
+ """
459
+ return pulumi.get(self, "product_plan")
460
+
461
+ @product_plan.setter
462
+ def product_plan(self, value: Optional[pulumi.Input[str]]):
463
+ pulumi.set(self, "product_plan", value)
464
+
465
+ @property
466
+ @pulumi.getter(name="projectId")
467
+ def project_id(self) -> Optional[pulumi.Input[str]]:
468
+ """
469
+ `project_id`) The ID of the project the IoT Hub Instance is associated with.
470
+ """
471
+ return pulumi.get(self, "project_id")
472
+
473
+ @project_id.setter
474
+ def project_id(self, value: Optional[pulumi.Input[str]]):
475
+ pulumi.set(self, "project_id", value)
476
+
477
+ @property
478
+ @pulumi.getter
479
+ def region(self) -> Optional[pulumi.Input[str]]:
480
+ """
481
+ `region`) The region in which the Database Instance should be created.
482
+ """
483
+ return pulumi.get(self, "region")
484
+
485
+ @region.setter
486
+ def region(self, value: Optional[pulumi.Input[str]]):
487
+ pulumi.set(self, "region", value)
488
+
489
+ @property
490
+ @pulumi.getter
491
+ def status(self) -> Optional[pulumi.Input[str]]:
492
+ """
493
+ The current status of the Hub.
494
+ """
495
+ return pulumi.get(self, "status")
496
+
497
+ @status.setter
498
+ def status(self, value: Optional[pulumi.Input[str]]):
499
+ pulumi.set(self, "status", value)
500
+
501
+ @property
502
+ @pulumi.getter(name="updatedAt")
503
+ def updated_at(self) -> Optional[pulumi.Input[str]]:
504
+ """
505
+ The date and time the Hub resource was updated.
506
+ """
507
+ return pulumi.get(self, "updated_at")
508
+
509
+ @updated_at.setter
510
+ def updated_at(self, value: Optional[pulumi.Input[str]]):
511
+ pulumi.set(self, "updated_at", value)
512
+
513
+
514
+ class IotHub(pulumi.CustomResource):
515
+ @overload
516
+ def __init__(__self__,
517
+ resource_name: str,
518
+ opts: Optional[pulumi.ResourceOptions] = None,
519
+ device_auto_provisioning: Optional[pulumi.Input[bool]] = None,
520
+ disable_events: Optional[pulumi.Input[bool]] = None,
521
+ enabled: Optional[pulumi.Input[bool]] = None,
522
+ events_topic_prefix: Optional[pulumi.Input[str]] = None,
523
+ hub_ca: Optional[pulumi.Input[str]] = None,
524
+ hub_ca_challenge: Optional[pulumi.Input[str]] = None,
525
+ name: Optional[pulumi.Input[str]] = None,
526
+ product_plan: Optional[pulumi.Input[str]] = None,
527
+ project_id: Optional[pulumi.Input[str]] = None,
528
+ region: Optional[pulumi.Input[str]] = None,
529
+ __props__=None):
530
+ """
531
+ ## Example Usage
532
+
533
+ ### Basic
534
+
535
+ ```python
536
+ import pulumi
537
+ import pulumiverse_scaleway as scaleway
538
+
539
+ main = scaleway.IotHub("main",
540
+ name="test-iot",
541
+ product_plan="plan_shared")
542
+ ```
543
+
544
+ ## Import
545
+
546
+ IoT Hubs can be imported using the `{region}/{id}`, e.g.
547
+
548
+ bash
549
+
550
+ ```sh
551
+ $ pulumi import scaleway:index/iotHub:IotHub hub01 fr-par/11111111-1111-1111-1111-111111111111
552
+ ```
553
+
554
+ :param str resource_name: The name of the resource.
555
+ :param pulumi.ResourceOptions opts: Options for the resource.
556
+ :param pulumi.Input[bool] device_auto_provisioning: Wether to enable the device auto provisioning or not
557
+ :param pulumi.Input[bool] disable_events: Whether to enable the hub events or not
558
+ :param pulumi.Input[bool] enabled: Wether the IoT Hub instance should be enabled or not.
559
+
560
+ > **Important:** Updates to `enabled` will disconnect eventually connected devices.
561
+ :param pulumi.Input[str] events_topic_prefix: Topic prefix for the hub events
562
+ :param pulumi.Input[str] hub_ca: Custom user provided certificate authority
563
+ :param pulumi.Input[str] hub_ca_challenge: Challenge certificate for the user provided hub CA
564
+ :param pulumi.Input[str] name: The name of the IoT Hub instance you want to create (e.g. `my-hub`).
565
+ :param pulumi.Input[str] product_plan: Product plan to create the hub, see documentation for available product plans (e.g. `plan_shared`)
566
+
567
+ > **Important:** Updates to `product_plan` will recreate the IoT Hub Instance.
568
+ :param pulumi.Input[str] project_id: `project_id`) The ID of the project the IoT Hub Instance is associated with.
569
+ :param pulumi.Input[str] region: `region`) The region in which the Database Instance should be created.
570
+ """
571
+ ...
572
+ @overload
573
+ def __init__(__self__,
574
+ resource_name: str,
575
+ args: IotHubArgs,
576
+ opts: Optional[pulumi.ResourceOptions] = None):
577
+ """
578
+ ## Example Usage
579
+
580
+ ### Basic
581
+
582
+ ```python
583
+ import pulumi
584
+ import pulumiverse_scaleway as scaleway
585
+
586
+ main = scaleway.IotHub("main",
587
+ name="test-iot",
588
+ product_plan="plan_shared")
589
+ ```
590
+
591
+ ## Import
592
+
593
+ IoT Hubs can be imported using the `{region}/{id}`, e.g.
594
+
595
+ bash
596
+
597
+ ```sh
598
+ $ pulumi import scaleway:index/iotHub:IotHub hub01 fr-par/11111111-1111-1111-1111-111111111111
599
+ ```
600
+
601
+ :param str resource_name: The name of the resource.
602
+ :param IotHubArgs args: The arguments to use to populate this resource's properties.
603
+ :param pulumi.ResourceOptions opts: Options for the resource.
604
+ """
605
+ ...
606
+ def __init__(__self__, resource_name: str, *args, **kwargs):
607
+ resource_args, opts = _utilities.get_resource_args_opts(IotHubArgs, pulumi.ResourceOptions, *args, **kwargs)
608
+ if resource_args is not None:
609
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
610
+ else:
611
+ __self__._internal_init(resource_name, *args, **kwargs)
612
+
613
+ def _internal_init(__self__,
614
+ resource_name: str,
615
+ opts: Optional[pulumi.ResourceOptions] = None,
616
+ device_auto_provisioning: Optional[pulumi.Input[bool]] = None,
617
+ disable_events: Optional[pulumi.Input[bool]] = None,
618
+ enabled: Optional[pulumi.Input[bool]] = None,
619
+ events_topic_prefix: Optional[pulumi.Input[str]] = None,
620
+ hub_ca: Optional[pulumi.Input[str]] = None,
621
+ hub_ca_challenge: Optional[pulumi.Input[str]] = None,
622
+ name: Optional[pulumi.Input[str]] = None,
623
+ product_plan: Optional[pulumi.Input[str]] = None,
624
+ project_id: Optional[pulumi.Input[str]] = None,
625
+ region: Optional[pulumi.Input[str]] = None,
626
+ __props__=None):
627
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
628
+ if not isinstance(opts, pulumi.ResourceOptions):
629
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
630
+ if opts.id is None:
631
+ if __props__ is not None:
632
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
633
+ __props__ = IotHubArgs.__new__(IotHubArgs)
634
+
635
+ __props__.__dict__["device_auto_provisioning"] = device_auto_provisioning
636
+ __props__.__dict__["disable_events"] = disable_events
637
+ __props__.__dict__["enabled"] = enabled
638
+ __props__.__dict__["events_topic_prefix"] = events_topic_prefix
639
+ __props__.__dict__["hub_ca"] = hub_ca
640
+ __props__.__dict__["hub_ca_challenge"] = hub_ca_challenge
641
+ __props__.__dict__["name"] = name
642
+ if product_plan is None and not opts.urn:
643
+ raise TypeError("Missing required property 'product_plan'")
644
+ __props__.__dict__["product_plan"] = product_plan
645
+ __props__.__dict__["project_id"] = project_id
646
+ __props__.__dict__["region"] = region
647
+ __props__.__dict__["connected_device_count"] = None
648
+ __props__.__dict__["created_at"] = None
649
+ __props__.__dict__["device_count"] = None
650
+ __props__.__dict__["endpoint"] = None
651
+ __props__.__dict__["mqtt_ca"] = None
652
+ __props__.__dict__["mqtt_ca_url"] = None
653
+ __props__.__dict__["organization_id"] = None
654
+ __props__.__dict__["status"] = None
655
+ __props__.__dict__["updated_at"] = None
656
+ super(IotHub, __self__).__init__(
657
+ 'scaleway:index/iotHub:IotHub',
658
+ resource_name,
659
+ __props__,
660
+ opts)
661
+
662
+ @staticmethod
663
+ def get(resource_name: str,
664
+ id: pulumi.Input[str],
665
+ opts: Optional[pulumi.ResourceOptions] = None,
666
+ connected_device_count: Optional[pulumi.Input[int]] = None,
667
+ created_at: Optional[pulumi.Input[str]] = None,
668
+ device_auto_provisioning: Optional[pulumi.Input[bool]] = None,
669
+ device_count: Optional[pulumi.Input[int]] = None,
670
+ disable_events: Optional[pulumi.Input[bool]] = None,
671
+ enabled: Optional[pulumi.Input[bool]] = None,
672
+ endpoint: Optional[pulumi.Input[str]] = None,
673
+ events_topic_prefix: Optional[pulumi.Input[str]] = None,
674
+ hub_ca: Optional[pulumi.Input[str]] = None,
675
+ hub_ca_challenge: Optional[pulumi.Input[str]] = None,
676
+ mqtt_ca: Optional[pulumi.Input[str]] = None,
677
+ mqtt_ca_url: Optional[pulumi.Input[str]] = None,
678
+ name: Optional[pulumi.Input[str]] = None,
679
+ organization_id: Optional[pulumi.Input[str]] = None,
680
+ product_plan: Optional[pulumi.Input[str]] = None,
681
+ project_id: Optional[pulumi.Input[str]] = None,
682
+ region: Optional[pulumi.Input[str]] = None,
683
+ status: Optional[pulumi.Input[str]] = None,
684
+ updated_at: Optional[pulumi.Input[str]] = None) -> 'IotHub':
685
+ """
686
+ Get an existing IotHub resource's state with the given name, id, and optional extra
687
+ properties used to qualify the lookup.
688
+
689
+ :param str resource_name: The unique name of the resulting resource.
690
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
691
+ :param pulumi.ResourceOptions opts: Options for the resource.
692
+ :param pulumi.Input[int] connected_device_count: The current number of connected devices in the Hub.
693
+ :param pulumi.Input[str] created_at: The date and time the Hub was created.
694
+ :param pulumi.Input[bool] device_auto_provisioning: Wether to enable the device auto provisioning or not
695
+ :param pulumi.Input[int] device_count: The number of registered devices in the Hub.
696
+ :param pulumi.Input[bool] disable_events: Whether to enable the hub events or not
697
+ :param pulumi.Input[bool] enabled: Wether the IoT Hub instance should be enabled or not.
698
+
699
+ > **Important:** Updates to `enabled` will disconnect eventually connected devices.
700
+ :param pulumi.Input[str] endpoint: The MQTT network endpoint to connect MQTT devices to.
701
+ :param pulumi.Input[str] events_topic_prefix: Topic prefix for the hub events
702
+ :param pulumi.Input[str] hub_ca: Custom user provided certificate authority
703
+ :param pulumi.Input[str] hub_ca_challenge: Challenge certificate for the user provided hub CA
704
+ :param pulumi.Input[str] mqtt_ca: The MQTT certificat content
705
+ :param pulumi.Input[str] mqtt_ca_url: The MQTT ca url
706
+ :param pulumi.Input[str] name: The name of the IoT Hub instance you want to create (e.g. `my-hub`).
707
+ :param pulumi.Input[str] organization_id: The organization_id you want to attach the resource to
708
+ :param pulumi.Input[str] product_plan: Product plan to create the hub, see documentation for available product plans (e.g. `plan_shared`)
709
+
710
+ > **Important:** Updates to `product_plan` will recreate the IoT Hub Instance.
711
+ :param pulumi.Input[str] project_id: `project_id`) The ID of the project the IoT Hub Instance is associated with.
712
+ :param pulumi.Input[str] region: `region`) The region in which the Database Instance should be created.
713
+ :param pulumi.Input[str] status: The current status of the Hub.
714
+ :param pulumi.Input[str] updated_at: The date and time the Hub resource was updated.
715
+ """
716
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
717
+
718
+ __props__ = _IotHubState.__new__(_IotHubState)
719
+
720
+ __props__.__dict__["connected_device_count"] = connected_device_count
721
+ __props__.__dict__["created_at"] = created_at
722
+ __props__.__dict__["device_auto_provisioning"] = device_auto_provisioning
723
+ __props__.__dict__["device_count"] = device_count
724
+ __props__.__dict__["disable_events"] = disable_events
725
+ __props__.__dict__["enabled"] = enabled
726
+ __props__.__dict__["endpoint"] = endpoint
727
+ __props__.__dict__["events_topic_prefix"] = events_topic_prefix
728
+ __props__.__dict__["hub_ca"] = hub_ca
729
+ __props__.__dict__["hub_ca_challenge"] = hub_ca_challenge
730
+ __props__.__dict__["mqtt_ca"] = mqtt_ca
731
+ __props__.__dict__["mqtt_ca_url"] = mqtt_ca_url
732
+ __props__.__dict__["name"] = name
733
+ __props__.__dict__["organization_id"] = organization_id
734
+ __props__.__dict__["product_plan"] = product_plan
735
+ __props__.__dict__["project_id"] = project_id
736
+ __props__.__dict__["region"] = region
737
+ __props__.__dict__["status"] = status
738
+ __props__.__dict__["updated_at"] = updated_at
739
+ return IotHub(resource_name, opts=opts, __props__=__props__)
740
+
741
+ @property
742
+ @pulumi.getter(name="connectedDeviceCount")
743
+ def connected_device_count(self) -> pulumi.Output[int]:
744
+ """
745
+ The current number of connected devices in the Hub.
746
+ """
747
+ return pulumi.get(self, "connected_device_count")
748
+
749
+ @property
750
+ @pulumi.getter(name="createdAt")
751
+ def created_at(self) -> pulumi.Output[str]:
752
+ """
753
+ The date and time the Hub was created.
754
+ """
755
+ return pulumi.get(self, "created_at")
756
+
757
+ @property
758
+ @pulumi.getter(name="deviceAutoProvisioning")
759
+ def device_auto_provisioning(self) -> pulumi.Output[Optional[bool]]:
760
+ """
761
+ Wether to enable the device auto provisioning or not
762
+ """
763
+ return pulumi.get(self, "device_auto_provisioning")
764
+
765
+ @property
766
+ @pulumi.getter(name="deviceCount")
767
+ def device_count(self) -> pulumi.Output[int]:
768
+ """
769
+ The number of registered devices in the Hub.
770
+ """
771
+ return pulumi.get(self, "device_count")
772
+
773
+ @property
774
+ @pulumi.getter(name="disableEvents")
775
+ def disable_events(self) -> pulumi.Output[Optional[bool]]:
776
+ """
777
+ Whether to enable the hub events or not
778
+ """
779
+ return pulumi.get(self, "disable_events")
780
+
781
+ @property
782
+ @pulumi.getter
783
+ def enabled(self) -> pulumi.Output[Optional[bool]]:
784
+ """
785
+ Wether the IoT Hub instance should be enabled or not.
786
+
787
+ > **Important:** Updates to `enabled` will disconnect eventually connected devices.
788
+ """
789
+ return pulumi.get(self, "enabled")
790
+
791
+ @property
792
+ @pulumi.getter
793
+ def endpoint(self) -> pulumi.Output[str]:
794
+ """
795
+ The MQTT network endpoint to connect MQTT devices to.
796
+ """
797
+ return pulumi.get(self, "endpoint")
798
+
799
+ @property
800
+ @pulumi.getter(name="eventsTopicPrefix")
801
+ def events_topic_prefix(self) -> pulumi.Output[Optional[str]]:
802
+ """
803
+ Topic prefix for the hub events
804
+ """
805
+ return pulumi.get(self, "events_topic_prefix")
806
+
807
+ @property
808
+ @pulumi.getter(name="hubCa")
809
+ def hub_ca(self) -> pulumi.Output[Optional[str]]:
810
+ """
811
+ Custom user provided certificate authority
812
+ """
813
+ return pulumi.get(self, "hub_ca")
814
+
815
+ @property
816
+ @pulumi.getter(name="hubCaChallenge")
817
+ def hub_ca_challenge(self) -> pulumi.Output[Optional[str]]:
818
+ """
819
+ Challenge certificate for the user provided hub CA
820
+ """
821
+ return pulumi.get(self, "hub_ca_challenge")
822
+
823
+ @property
824
+ @pulumi.getter(name="mqttCa")
825
+ def mqtt_ca(self) -> pulumi.Output[str]:
826
+ """
827
+ The MQTT certificat content
828
+ """
829
+ return pulumi.get(self, "mqtt_ca")
830
+
831
+ @property
832
+ @pulumi.getter(name="mqttCaUrl")
833
+ def mqtt_ca_url(self) -> pulumi.Output[str]:
834
+ """
835
+ The MQTT ca url
836
+ """
837
+ return pulumi.get(self, "mqtt_ca_url")
838
+
839
+ @property
840
+ @pulumi.getter
841
+ def name(self) -> pulumi.Output[str]:
842
+ """
843
+ The name of the IoT Hub instance you want to create (e.g. `my-hub`).
844
+ """
845
+ return pulumi.get(self, "name")
846
+
847
+ @property
848
+ @pulumi.getter(name="organizationId")
849
+ def organization_id(self) -> pulumi.Output[str]:
850
+ """
851
+ The organization_id you want to attach the resource to
852
+ """
853
+ return pulumi.get(self, "organization_id")
854
+
855
+ @property
856
+ @pulumi.getter(name="productPlan")
857
+ def product_plan(self) -> pulumi.Output[str]:
858
+ """
859
+ Product plan to create the hub, see documentation for available product plans (e.g. `plan_shared`)
860
+
861
+ > **Important:** Updates to `product_plan` will recreate the IoT Hub Instance.
862
+ """
863
+ return pulumi.get(self, "product_plan")
864
+
865
+ @property
866
+ @pulumi.getter(name="projectId")
867
+ def project_id(self) -> pulumi.Output[str]:
868
+ """
869
+ `project_id`) The ID of the project the IoT Hub Instance is associated with.
870
+ """
871
+ return pulumi.get(self, "project_id")
872
+
873
+ @property
874
+ @pulumi.getter
875
+ def region(self) -> pulumi.Output[str]:
876
+ """
877
+ `region`) The region in which the Database Instance should be created.
878
+ """
879
+ return pulumi.get(self, "region")
880
+
881
+ @property
882
+ @pulumi.getter
883
+ def status(self) -> pulumi.Output[str]:
884
+ """
885
+ The current status of the Hub.
886
+ """
887
+ return pulumi.get(self, "status")
888
+
889
+ @property
890
+ @pulumi.getter(name="updatedAt")
891
+ def updated_at(self) -> pulumi.Output[str]:
892
+ """
893
+ The date and time the Hub resource was updated.
894
+ """
895
+ return pulumi.get(self, "updated_at")
896
+