pulumiverse-scaleway 1.22.0a1736239435__py3-none-any.whl → 1.23.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumiverse-scaleway might be problematic. Click here for more details.

Files changed (145) hide show
  1. pulumiverse_scaleway/__init__.py +10 -0
  2. pulumiverse_scaleway/_inputs.py +326 -12
  3. pulumiverse_scaleway/_utilities.py +8 -4
  4. pulumiverse_scaleway/account_ssh_key.py +2 -2
  5. pulumiverse_scaleway/apple_silicon_server.py +124 -0
  6. pulumiverse_scaleway/baremetal_server.py +67 -7
  7. pulumiverse_scaleway/block_snapshot.py +2 -2
  8. pulumiverse_scaleway/block_volume.py +58 -11
  9. pulumiverse_scaleway/cockpit_grafana_user.py +28 -0
  10. pulumiverse_scaleway/cockpit_source.py +53 -3
  11. pulumiverse_scaleway/container.py +236 -23
  12. pulumiverse_scaleway/container_domain.py +2 -2
  13. pulumiverse_scaleway/database_instance.py +74 -21
  14. pulumiverse_scaleway/get_account_project.py +4 -4
  15. pulumiverse_scaleway/get_account_ssh_key.py +4 -4
  16. pulumiverse_scaleway/get_availability_zones.py +2 -2
  17. pulumiverse_scaleway/get_baremetal_offer.py +2 -2
  18. pulumiverse_scaleway/get_baremetal_option.py +2 -2
  19. pulumiverse_scaleway/get_baremetal_os.py +2 -2
  20. pulumiverse_scaleway/get_baremetal_server.py +2 -2
  21. pulumiverse_scaleway/get_billing_consumptions.py +2 -2
  22. pulumiverse_scaleway/get_billing_invoices.py +2 -2
  23. pulumiverse_scaleway/get_block_snapshot.py +4 -4
  24. pulumiverse_scaleway/get_block_volume.py +16 -5
  25. pulumiverse_scaleway/get_cockpit.py +2 -2
  26. pulumiverse_scaleway/get_cockpit_plan.py +2 -2
  27. pulumiverse_scaleway/get_cockpit_source.py +262 -0
  28. pulumiverse_scaleway/get_config.py +2 -2
  29. pulumiverse_scaleway/get_container.py +32 -6
  30. pulumiverse_scaleway/get_container_namespace.py +2 -2
  31. pulumiverse_scaleway/get_database.py +2 -2
  32. pulumiverse_scaleway/get_database_acl.py +2 -2
  33. pulumiverse_scaleway/get_database_backup.py +2 -2
  34. pulumiverse_scaleway/get_database_instance.py +14 -3
  35. pulumiverse_scaleway/get_database_privilege.py +2 -2
  36. pulumiverse_scaleway/get_domain_record.py +2 -2
  37. pulumiverse_scaleway/get_domain_zone.py +2 -2
  38. pulumiverse_scaleway/get_flexible_ip.py +2 -2
  39. pulumiverse_scaleway/get_flexible_ips.py +2 -2
  40. pulumiverse_scaleway/get_function.py +2 -2
  41. pulumiverse_scaleway/get_function_namespace.py +2 -2
  42. pulumiverse_scaleway/get_iam_api_key.py +2 -2
  43. pulumiverse_scaleway/get_iam_application.py +2 -2
  44. pulumiverse_scaleway/get_iam_group.py +2 -2
  45. pulumiverse_scaleway/get_iam_ssh_key.py +2 -2
  46. pulumiverse_scaleway/get_iam_user.py +2 -2
  47. pulumiverse_scaleway/get_instance_image.py +2 -2
  48. pulumiverse_scaleway/get_instance_ip.py +2 -2
  49. pulumiverse_scaleway/get_instance_placement_group.py +2 -2
  50. pulumiverse_scaleway/get_instance_private_nic.py +2 -2
  51. pulumiverse_scaleway/get_instance_security_group.py +2 -2
  52. pulumiverse_scaleway/get_instance_server.py +3 -17
  53. pulumiverse_scaleway/get_instance_servers.py +2 -2
  54. pulumiverse_scaleway/get_instance_snapshot.py +2 -2
  55. pulumiverse_scaleway/get_instance_volume.py +14 -3
  56. pulumiverse_scaleway/get_iot_device.py +2 -2
  57. pulumiverse_scaleway/get_iot_hub.py +2 -2
  58. pulumiverse_scaleway/get_ipam_ip.py +4 -4
  59. pulumiverse_scaleway/get_ipam_ips.py +4 -4
  60. pulumiverse_scaleway/get_k8s_version.py +2 -2
  61. pulumiverse_scaleway/get_kubernetes_cluster.py +2 -2
  62. pulumiverse_scaleway/get_kubernetes_node_pool.py +2 -2
  63. pulumiverse_scaleway/get_lb_acls.py +4 -4
  64. pulumiverse_scaleway/get_lb_backend.py +4 -4
  65. pulumiverse_scaleway/get_lb_backends.py +4 -4
  66. pulumiverse_scaleway/get_lb_frontend.py +4 -4
  67. pulumiverse_scaleway/get_lb_frontends.py +4 -4
  68. pulumiverse_scaleway/get_lb_ips.py +4 -4
  69. pulumiverse_scaleway/get_lb_route.py +4 -4
  70. pulumiverse_scaleway/get_lb_routes.py +4 -4
  71. pulumiverse_scaleway/get_lbs.py +4 -4
  72. pulumiverse_scaleway/get_loadbalancer.py +4 -4
  73. pulumiverse_scaleway/get_loadbalancer_certificate.py +4 -4
  74. pulumiverse_scaleway/get_loadbalancer_ip.py +4 -4
  75. pulumiverse_scaleway/get_marketplace_image.py +2 -2
  76. pulumiverse_scaleway/get_mnq_sns.py +2 -2
  77. pulumiverse_scaleway/get_mnq_sqs.py +2 -2
  78. pulumiverse_scaleway/get_mongo_db_instance.py +2 -2
  79. pulumiverse_scaleway/get_object_bucket.py +4 -4
  80. pulumiverse_scaleway/get_object_bucket_policy.py +4 -4
  81. pulumiverse_scaleway/get_redis_cluster.py +2 -2
  82. pulumiverse_scaleway/get_registry_image.py +2 -2
  83. pulumiverse_scaleway/get_registry_image_tag.py +2 -2
  84. pulumiverse_scaleway/get_registry_namespace.py +2 -2
  85. pulumiverse_scaleway/get_secret.py +2 -2
  86. pulumiverse_scaleway/get_secret_version.py +2 -2
  87. pulumiverse_scaleway/get_tem_domain.py +2 -2
  88. pulumiverse_scaleway/get_vpc.py +2 -2
  89. pulumiverse_scaleway/get_vpc_gateway_network.py +2 -2
  90. pulumiverse_scaleway/get_vpc_private_network.py +2 -2
  91. pulumiverse_scaleway/get_vpc_public_gateway.py +2 -2
  92. pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +2 -2
  93. pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +2 -2
  94. pulumiverse_scaleway/get_vpc_public_gateway_ip.py +2 -2
  95. pulumiverse_scaleway/get_vpc_public_pat_rule.py +2 -2
  96. pulumiverse_scaleway/get_vpc_routes.py +2 -2
  97. pulumiverse_scaleway/get_vpcs.py +2 -2
  98. pulumiverse_scaleway/get_web_host_offer.py +2 -2
  99. pulumiverse_scaleway/get_webhosting.py +2 -2
  100. pulumiverse_scaleway/iam_policy.py +2 -2
  101. pulumiverse_scaleway/instance_ip.py +7 -21
  102. pulumiverse_scaleway/instance_server.py +13 -78
  103. pulumiverse_scaleway/instance_volume.py +47 -0
  104. pulumiverse_scaleway/iot_route.py +21 -21
  105. pulumiverse_scaleway/ipam_ip.py +2 -2
  106. pulumiverse_scaleway/ipam_ip_reverse_dns.py +2 -2
  107. pulumiverse_scaleway/loadbalancer.py +2 -2
  108. pulumiverse_scaleway/loadbalancer_acl.py +2 -2
  109. pulumiverse_scaleway/loadbalancer_backend.py +2 -2
  110. pulumiverse_scaleway/loadbalancer_frontend.py +2 -2
  111. pulumiverse_scaleway/loadbalancer_ip.py +2 -2
  112. pulumiverse_scaleway/loadbalancer_route.py +2 -2
  113. pulumiverse_scaleway/mnq_nats_account.py +2 -2
  114. pulumiverse_scaleway/mnq_nats_credentials.py +2 -2
  115. pulumiverse_scaleway/mnq_sns.py +2 -2
  116. pulumiverse_scaleway/mnq_sns_credentials.py +2 -2
  117. pulumiverse_scaleway/mnq_sns_topic.py +2 -2
  118. pulumiverse_scaleway/mnq_sns_topic_subscription.py +2 -2
  119. pulumiverse_scaleway/mnq_sqs.py +2 -2
  120. pulumiverse_scaleway/mnq_sqs_credentials.py +2 -2
  121. pulumiverse_scaleway/mnq_sqs_queue.py +2 -2
  122. pulumiverse_scaleway/mongo_db_instance.py +2 -2
  123. pulumiverse_scaleway/mongo_db_snapshot.py +2 -2
  124. pulumiverse_scaleway/object_bucket.py +12 -12
  125. pulumiverse_scaleway/object_bucket_acl.py +2 -2
  126. pulumiverse_scaleway/object_bucket_lock_configuration.py +4 -4
  127. pulumiverse_scaleway/object_bucket_policy.py +6 -6
  128. pulumiverse_scaleway/object_bucket_website_configuration.py +4 -4
  129. pulumiverse_scaleway/object_item.py +60 -11
  130. pulumiverse_scaleway/outputs.py +353 -8
  131. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  132. pulumiverse_scaleway/rdb_snapshot.py +608 -0
  133. pulumiverse_scaleway/redis_cluster.py +49 -14
  134. pulumiverse_scaleway/sdb_database.py +2 -2
  135. pulumiverse_scaleway/secret_version.py +2 -2
  136. pulumiverse_scaleway/vpc.py +2 -2
  137. pulumiverse_scaleway/vpc_gateway_network.py +7 -7
  138. pulumiverse_scaleway/vpc_public_gateway_dhcp.py +14 -0
  139. pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +2 -2
  140. pulumiverse_scaleway/vpc_route.py +2 -2
  141. {pulumiverse_scaleway-1.22.0a1736239435.dist-info → pulumiverse_scaleway-1.23.0.dist-info}/METADATA +3 -3
  142. pulumiverse_scaleway-1.23.0.dist-info/RECORD +206 -0
  143. {pulumiverse_scaleway-1.22.0a1736239435.dist-info → pulumiverse_scaleway-1.23.0.dist-info}/WHEEL +1 -1
  144. pulumiverse_scaleway-1.22.0a1736239435.dist-info/RECORD +0 -204
  145. {pulumiverse_scaleway-1.22.0a1736239435.dist-info → pulumiverse_scaleway-1.23.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,262 @@
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__ = [
18
+ 'GetCockpitSourceResult',
19
+ 'AwaitableGetCockpitSourceResult',
20
+ 'get_cockpit_source',
21
+ 'get_cockpit_source_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetCockpitSourceResult:
26
+ """
27
+ A collection of values returned by getCockpitSource.
28
+ """
29
+ def __init__(__self__, created_at=None, id=None, name=None, origin=None, project_id=None, region=None, retention_days=None, synchronized_with_grafana=None, type=None, updated_at=None, url=None):
30
+ if created_at and not isinstance(created_at, str):
31
+ raise TypeError("Expected argument 'created_at' to be a str")
32
+ pulumi.set(__self__, "created_at", created_at)
33
+ if id and not isinstance(id, str):
34
+ raise TypeError("Expected argument 'id' to be a str")
35
+ pulumi.set(__self__, "id", id)
36
+ if name and not isinstance(name, str):
37
+ raise TypeError("Expected argument 'name' to be a str")
38
+ pulumi.set(__self__, "name", name)
39
+ if origin and not isinstance(origin, str):
40
+ raise TypeError("Expected argument 'origin' to be a str")
41
+ pulumi.set(__self__, "origin", origin)
42
+ if project_id and not isinstance(project_id, str):
43
+ raise TypeError("Expected argument 'project_id' to be a str")
44
+ pulumi.set(__self__, "project_id", project_id)
45
+ if region and not isinstance(region, str):
46
+ raise TypeError("Expected argument 'region' to be a str")
47
+ pulumi.set(__self__, "region", region)
48
+ if retention_days and not isinstance(retention_days, int):
49
+ raise TypeError("Expected argument 'retention_days' to be a int")
50
+ pulumi.set(__self__, "retention_days", retention_days)
51
+ if synchronized_with_grafana and not isinstance(synchronized_with_grafana, bool):
52
+ raise TypeError("Expected argument 'synchronized_with_grafana' to be a bool")
53
+ pulumi.set(__self__, "synchronized_with_grafana", synchronized_with_grafana)
54
+ if type and not isinstance(type, str):
55
+ raise TypeError("Expected argument 'type' to be a str")
56
+ pulumi.set(__self__, "type", type)
57
+ if updated_at and not isinstance(updated_at, str):
58
+ raise TypeError("Expected argument 'updated_at' to be a str")
59
+ pulumi.set(__self__, "updated_at", updated_at)
60
+ if url and not isinstance(url, str):
61
+ raise TypeError("Expected argument 'url' to be a str")
62
+ pulumi.set(__self__, "url", url)
63
+
64
+ @property
65
+ @pulumi.getter(name="createdAt")
66
+ def created_at(self) -> str:
67
+ """
68
+ The date and time the data source was created (in RFC 3339 format).
69
+ """
70
+ return pulumi.get(self, "created_at")
71
+
72
+ @property
73
+ @pulumi.getter
74
+ def id(self) -> str:
75
+ """
76
+ The unique identifier of the data source in the `{region}/{id}` format.
77
+ """
78
+ return pulumi.get(self, "id")
79
+
80
+ @property
81
+ @pulumi.getter
82
+ def name(self) -> str:
83
+ return pulumi.get(self, "name")
84
+
85
+ @property
86
+ @pulumi.getter
87
+ def origin(self) -> str:
88
+ """
89
+ The origin of the data source.
90
+ """
91
+ return pulumi.get(self, "origin")
92
+
93
+ @property
94
+ @pulumi.getter(name="projectId")
95
+ def project_id(self) -> str:
96
+ return pulumi.get(self, "project_id")
97
+
98
+ @property
99
+ @pulumi.getter
100
+ def region(self) -> str:
101
+ return pulumi.get(self, "region")
102
+
103
+ @property
104
+ @pulumi.getter(name="retentionDays")
105
+ def retention_days(self) -> int:
106
+ """
107
+ The number of days the data is retained in the data source.
108
+ """
109
+ return pulumi.get(self, "retention_days")
110
+
111
+ @property
112
+ @pulumi.getter(name="synchronizedWithGrafana")
113
+ def synchronized_with_grafana(self) -> bool:
114
+ """
115
+ Indicates whether the data source is synchronized with Grafana.
116
+ """
117
+ return pulumi.get(self, "synchronized_with_grafana")
118
+
119
+ @property
120
+ @pulumi.getter
121
+ def type(self) -> str:
122
+ return pulumi.get(self, "type")
123
+
124
+ @property
125
+ @pulumi.getter(name="updatedAt")
126
+ def updated_at(self) -> str:
127
+ """
128
+ The date and time the data source was last updated (in RFC 3339 format).
129
+ """
130
+ return pulumi.get(self, "updated_at")
131
+
132
+ @property
133
+ @pulumi.getter
134
+ def url(self) -> str:
135
+ """
136
+ The URL of the Cockpit data source.
137
+ """
138
+ return pulumi.get(self, "url")
139
+
140
+
141
+ class AwaitableGetCockpitSourceResult(GetCockpitSourceResult):
142
+ # pylint: disable=using-constant-test
143
+ def __await__(self):
144
+ if False:
145
+ yield self
146
+ return GetCockpitSourceResult(
147
+ created_at=self.created_at,
148
+ id=self.id,
149
+ name=self.name,
150
+ origin=self.origin,
151
+ project_id=self.project_id,
152
+ region=self.region,
153
+ retention_days=self.retention_days,
154
+ synchronized_with_grafana=self.synchronized_with_grafana,
155
+ type=self.type,
156
+ updated_at=self.updated_at,
157
+ url=self.url)
158
+
159
+
160
+ def get_cockpit_source(id: Optional[str] = None,
161
+ name: Optional[str] = None,
162
+ origin: Optional[str] = None,
163
+ project_id: Optional[str] = None,
164
+ type: Optional[str] = None,
165
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCockpitSourceResult:
166
+ """
167
+ The `CockpitSource` data source allows you to retrieve information about a specific [data source](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#data-sources) in Scaleway's Cockpit.
168
+
169
+ Refer to Cockpit's [product documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/) and [API documentation](https://www.scaleway.com/en/developers/api/cockpit/regional-api) for more information.
170
+
171
+ ## Example Usage
172
+
173
+ ### Retrieve a specific data source by ID
174
+
175
+ The following example retrieves a Cockpit data source by its unique ID.
176
+
177
+ ```python
178
+ import pulumi
179
+ import pulumi_scaleway as scaleway
180
+
181
+ example = scaleway.get_cockpit_source(id="fr-par/11111111-1111-1111-1111-111111111111")
182
+ ```
183
+
184
+
185
+ :param str id: The unique identifier of the Cockpit data source in the `{region}/{id}` format. If specified, other filters are ignored.
186
+ :param str name: The name of the data source.
187
+ :param str origin: The origin of the data source. Possible values are:
188
+ :param str project_id: The ID of the Project the data source is associated with. Defaults to the Project ID specified in the provider configuration.
189
+ :param str type: The [type](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#data-types) of data source. Possible values are: `metrics`, `logs`, or `traces`.
190
+ """
191
+ __args__ = dict()
192
+ __args__['id'] = id
193
+ __args__['name'] = name
194
+ __args__['origin'] = origin
195
+ __args__['projectId'] = project_id
196
+ __args__['type'] = type
197
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
198
+ __ret__ = pulumi.runtime.invoke('scaleway:index/getCockpitSource:getCockpitSource', __args__, opts=opts, typ=GetCockpitSourceResult).value
199
+
200
+ return AwaitableGetCockpitSourceResult(
201
+ created_at=pulumi.get(__ret__, 'created_at'),
202
+ id=pulumi.get(__ret__, 'id'),
203
+ name=pulumi.get(__ret__, 'name'),
204
+ origin=pulumi.get(__ret__, 'origin'),
205
+ project_id=pulumi.get(__ret__, 'project_id'),
206
+ region=pulumi.get(__ret__, 'region'),
207
+ retention_days=pulumi.get(__ret__, 'retention_days'),
208
+ synchronized_with_grafana=pulumi.get(__ret__, 'synchronized_with_grafana'),
209
+ type=pulumi.get(__ret__, 'type'),
210
+ updated_at=pulumi.get(__ret__, 'updated_at'),
211
+ url=pulumi.get(__ret__, 'url'))
212
+ def get_cockpit_source_output(id: Optional[pulumi.Input[Optional[str]]] = None,
213
+ name: Optional[pulumi.Input[Optional[str]]] = None,
214
+ origin: Optional[pulumi.Input[Optional[str]]] = None,
215
+ project_id: Optional[pulumi.Input[Optional[str]]] = None,
216
+ type: Optional[pulumi.Input[Optional[str]]] = None,
217
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCockpitSourceResult]:
218
+ """
219
+ The `CockpitSource` data source allows you to retrieve information about a specific [data source](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#data-sources) in Scaleway's Cockpit.
220
+
221
+ Refer to Cockpit's [product documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/) and [API documentation](https://www.scaleway.com/en/developers/api/cockpit/regional-api) for more information.
222
+
223
+ ## Example Usage
224
+
225
+ ### Retrieve a specific data source by ID
226
+
227
+ The following example retrieves a Cockpit data source by its unique ID.
228
+
229
+ ```python
230
+ import pulumi
231
+ import pulumi_scaleway as scaleway
232
+
233
+ example = scaleway.get_cockpit_source(id="fr-par/11111111-1111-1111-1111-111111111111")
234
+ ```
235
+
236
+
237
+ :param str id: The unique identifier of the Cockpit data source in the `{region}/{id}` format. If specified, other filters are ignored.
238
+ :param str name: The name of the data source.
239
+ :param str origin: The origin of the data source. Possible values are:
240
+ :param str project_id: The ID of the Project the data source is associated with. Defaults to the Project ID specified in the provider configuration.
241
+ :param str type: The [type](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#data-types) of data source. Possible values are: `metrics`, `logs`, or `traces`.
242
+ """
243
+ __args__ = dict()
244
+ __args__['id'] = id
245
+ __args__['name'] = name
246
+ __args__['origin'] = origin
247
+ __args__['projectId'] = project_id
248
+ __args__['type'] = type
249
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
250
+ __ret__ = pulumi.runtime.invoke_output('scaleway:index/getCockpitSource:getCockpitSource', __args__, opts=opts, typ=GetCockpitSourceResult)
251
+ return __ret__.apply(lambda __response__: GetCockpitSourceResult(
252
+ created_at=pulumi.get(__response__, 'created_at'),
253
+ id=pulumi.get(__response__, 'id'),
254
+ name=pulumi.get(__response__, 'name'),
255
+ origin=pulumi.get(__response__, 'origin'),
256
+ project_id=pulumi.get(__response__, 'project_id'),
257
+ region=pulumi.get(__response__, 'region'),
258
+ retention_days=pulumi.get(__response__, 'retention_days'),
259
+ synchronized_with_grafana=pulumi.get(__response__, 'synchronized_with_grafana'),
260
+ type=pulumi.get(__response__, 'type'),
261
+ updated_at=pulumi.get(__response__, 'updated_at'),
262
+ url=pulumi.get(__response__, 'url')))
@@ -159,12 +159,12 @@ def get_config(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfi
159
159
  secret_key_source=pulumi.get(__ret__, 'secret_key_source'),
160
160
  zone=pulumi.get(__ret__, 'zone'),
161
161
  zone_source=pulumi.get(__ret__, 'zone_source'))
162
- def get_config_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigResult]:
162
+ def get_config_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetConfigResult]:
163
163
  """
164
164
  Use this data source to access information about an existing resource.
165
165
  """
166
166
  __args__ = dict()
167
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
167
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
168
168
  __ret__ = pulumi.runtime.invoke_output('scaleway:index/getConfig:getConfig', __args__, opts=opts, typ=GetConfigResult)
169
169
  return __ret__.apply(lambda __response__: GetConfigResult(
170
170
  access_key=pulumi.get(__response__, 'access_key'),
@@ -13,6 +13,7 @@ if sys.version_info >= (3, 11):
13
13
  else:
14
14
  from typing_extensions import NotRequired, TypedDict, TypeAlias
15
15
  from . import _utilities
16
+ from . import outputs
16
17
 
17
18
  __all__ = [
18
19
  'GetContainerResult',
@@ -26,7 +27,7 @@ class GetContainerResult:
26
27
  """
27
28
  A collection of values returned by getContainer.
28
29
  """
29
- def __init__(__self__, container_id=None, cpu_limit=None, cron_status=None, deploy=None, description=None, domain_name=None, environment_variables=None, error_message=None, http_option=None, id=None, max_concurrency=None, max_scale=None, memory_limit=None, min_scale=None, name=None, namespace_id=None, port=None, privacy=None, project_id=None, protocol=None, region=None, registry_image=None, registry_sha256=None, sandbox=None, secret_environment_variables=None, status=None, timeout=None):
30
+ def __init__(__self__, container_id=None, cpu_limit=None, cron_status=None, deploy=None, description=None, domain_name=None, environment_variables=None, error_message=None, health_checks=None, http_option=None, id=None, max_concurrency=None, max_scale=None, memory_limit=None, min_scale=None, name=None, namespace_id=None, port=None, privacy=None, project_id=None, protocol=None, region=None, registry_image=None, registry_sha256=None, sandbox=None, scaling_options=None, secret_environment_variables=None, status=None, timeout=None):
30
31
  if container_id and not isinstance(container_id, str):
31
32
  raise TypeError("Expected argument 'container_id' to be a str")
32
33
  pulumi.set(__self__, "container_id", container_id)
@@ -51,6 +52,9 @@ class GetContainerResult:
51
52
  if error_message and not isinstance(error_message, str):
52
53
  raise TypeError("Expected argument 'error_message' to be a str")
53
54
  pulumi.set(__self__, "error_message", error_message)
55
+ if health_checks and not isinstance(health_checks, list):
56
+ raise TypeError("Expected argument 'health_checks' to be a list")
57
+ pulumi.set(__self__, "health_checks", health_checks)
54
58
  if http_option and not isinstance(http_option, str):
55
59
  raise TypeError("Expected argument 'http_option' to be a str")
56
60
  pulumi.set(__self__, "http_option", http_option)
@@ -99,6 +103,9 @@ class GetContainerResult:
99
103
  if sandbox and not isinstance(sandbox, str):
100
104
  raise TypeError("Expected argument 'sandbox' to be a str")
101
105
  pulumi.set(__self__, "sandbox", sandbox)
106
+ if scaling_options and not isinstance(scaling_options, list):
107
+ raise TypeError("Expected argument 'scaling_options' to be a list")
108
+ pulumi.set(__self__, "scaling_options", scaling_options)
102
109
  if secret_environment_variables and not isinstance(secret_environment_variables, dict):
103
110
  raise TypeError("Expected argument 'secret_environment_variables' to be a dict")
104
111
  pulumi.set(__self__, "secret_environment_variables", secret_environment_variables)
@@ -158,7 +165,7 @@ class GetContainerResult:
158
165
  @pulumi.getter(name="environmentVariables")
159
166
  def environment_variables(self) -> Mapping[str, str]:
160
167
  """
161
- The [environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#environment-variables) variables of the container.
168
+ The [environment](https://www.scaleway.com/en/docs/serverless-containers/concepts/#environment-variables) variables of the container.
162
169
  """
163
170
  return pulumi.get(self, "environment_variables")
164
171
 
@@ -170,6 +177,11 @@ class GetContainerResult:
170
177
  """
171
178
  return pulumi.get(self, "error_message")
172
179
 
180
+ @property
181
+ @pulumi.getter(name="healthChecks")
182
+ def health_checks(self) -> Sequence['outputs.GetContainerHealthCheckResult']:
183
+ return pulumi.get(self, "health_checks")
184
+
173
185
  @property
174
186
  @pulumi.getter(name="httpOption")
175
187
  def http_option(self) -> str:
@@ -286,6 +298,14 @@ class GetContainerResult:
286
298
  """
287
299
  return pulumi.get(self, "sandbox")
288
300
 
301
+ @property
302
+ @pulumi.getter(name="scalingOptions")
303
+ def scaling_options(self) -> Sequence['outputs.GetContainerScalingOptionResult']:
304
+ """
305
+ Configuration block used to decide when to scale up or down. Possible values:
306
+ """
307
+ return pulumi.get(self, "scaling_options")
308
+
289
309
  @property
290
310
  @pulumi.getter(name="secretEnvironmentVariables")
291
311
  def secret_environment_variables(self) -> Mapping[str, str]:
@@ -322,6 +342,7 @@ class AwaitableGetContainerResult(GetContainerResult):
322
342
  domain_name=self.domain_name,
323
343
  environment_variables=self.environment_variables,
324
344
  error_message=self.error_message,
345
+ health_checks=self.health_checks,
325
346
  http_option=self.http_option,
326
347
  id=self.id,
327
348
  max_concurrency=self.max_concurrency,
@@ -338,6 +359,7 @@ class AwaitableGetContainerResult(GetContainerResult):
338
359
  registry_image=self.registry_image,
339
360
  registry_sha256=self.registry_sha256,
340
361
  sandbox=self.sandbox,
362
+ scaling_options=self.scaling_options,
341
363
  secret_environment_variables=self.secret_environment_variables,
342
364
  status=self.status,
343
365
  timeout=self.timeout)
@@ -354,7 +376,7 @@ def get_container(container_id: Optional[str] = None,
354
376
 
355
377
  Refer to the Serverless Containers [product documentation](https://www.scaleway.com/en/docs/serverless/containers/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/) for more information.
356
378
 
357
- For more information on the limitations of Serverless Containers, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/compute/containers/reference-content/containers-limitations/).
379
+ For more information on the limitations of Serverless Containers, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/serverless-containers/reference-content/containers-limitations/).
358
380
 
359
381
  ## Retrieve a Serverless Container
360
382
 
@@ -413,6 +435,7 @@ def get_container(container_id: Optional[str] = None,
413
435
  domain_name=pulumi.get(__ret__, 'domain_name'),
414
436
  environment_variables=pulumi.get(__ret__, 'environment_variables'),
415
437
  error_message=pulumi.get(__ret__, 'error_message'),
438
+ health_checks=pulumi.get(__ret__, 'health_checks'),
416
439
  http_option=pulumi.get(__ret__, 'http_option'),
417
440
  id=pulumi.get(__ret__, 'id'),
418
441
  max_concurrency=pulumi.get(__ret__, 'max_concurrency'),
@@ -429,6 +452,7 @@ def get_container(container_id: Optional[str] = None,
429
452
  registry_image=pulumi.get(__ret__, 'registry_image'),
430
453
  registry_sha256=pulumi.get(__ret__, 'registry_sha256'),
431
454
  sandbox=pulumi.get(__ret__, 'sandbox'),
455
+ scaling_options=pulumi.get(__ret__, 'scaling_options'),
432
456
  secret_environment_variables=pulumi.get(__ret__, 'secret_environment_variables'),
433
457
  status=pulumi.get(__ret__, 'status'),
434
458
  timeout=pulumi.get(__ret__, 'timeout'))
@@ -437,13 +461,13 @@ def get_container_output(container_id: Optional[pulumi.Input[Optional[str]]] = N
437
461
  namespace_id: Optional[pulumi.Input[str]] = None,
438
462
  project_id: Optional[pulumi.Input[Optional[str]]] = None,
439
463
  region: Optional[pulumi.Input[Optional[str]]] = None,
440
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetContainerResult]:
464
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetContainerResult]:
441
465
  """
442
466
  The `Container` data source is used to retrieve information about a Serverless Container.
443
467
 
444
468
  Refer to the Serverless Containers [product documentation](https://www.scaleway.com/en/docs/serverless/containers/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/) for more information.
445
469
 
446
- For more information on the limitations of Serverless Containers, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/compute/containers/reference-content/containers-limitations/).
470
+ For more information on the limitations of Serverless Containers, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/serverless-containers/reference-content/containers-limitations/).
447
471
 
448
472
  ## Retrieve a Serverless Container
449
473
 
@@ -490,7 +514,7 @@ def get_container_output(container_id: Optional[pulumi.Input[Optional[str]]] = N
490
514
  __args__['namespaceId'] = namespace_id
491
515
  __args__['projectId'] = project_id
492
516
  __args__['region'] = region
493
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
517
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
494
518
  __ret__ = pulumi.runtime.invoke_output('scaleway:index/getContainer:getContainer', __args__, opts=opts, typ=GetContainerResult)
495
519
  return __ret__.apply(lambda __response__: GetContainerResult(
496
520
  container_id=pulumi.get(__response__, 'container_id'),
@@ -501,6 +525,7 @@ def get_container_output(container_id: Optional[pulumi.Input[Optional[str]]] = N
501
525
  domain_name=pulumi.get(__response__, 'domain_name'),
502
526
  environment_variables=pulumi.get(__response__, 'environment_variables'),
503
527
  error_message=pulumi.get(__response__, 'error_message'),
528
+ health_checks=pulumi.get(__response__, 'health_checks'),
504
529
  http_option=pulumi.get(__response__, 'http_option'),
505
530
  id=pulumi.get(__response__, 'id'),
506
531
  max_concurrency=pulumi.get(__response__, 'max_concurrency'),
@@ -517,6 +542,7 @@ def get_container_output(container_id: Optional[pulumi.Input[Optional[str]]] = N
517
542
  registry_image=pulumi.get(__response__, 'registry_image'),
518
543
  registry_sha256=pulumi.get(__response__, 'registry_sha256'),
519
544
  sandbox=pulumi.get(__response__, 'sandbox'),
545
+ scaling_options=pulumi.get(__response__, 'scaling_options'),
520
546
  secret_environment_variables=pulumi.get(__response__, 'secret_environment_variables'),
521
547
  status=pulumi.get(__response__, 'status'),
522
548
  timeout=pulumi.get(__response__, 'timeout')))
@@ -231,7 +231,7 @@ def get_container_namespace_output(name: Optional[pulumi.Input[Optional[str]]] =
231
231
  namespace_id: Optional[pulumi.Input[Optional[str]]] = None,
232
232
  project_id: Optional[pulumi.Input[Optional[str]]] = None,
233
233
  region: Optional[pulumi.Input[Optional[str]]] = None,
234
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetContainerNamespaceResult]:
234
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetContainerNamespaceResult]:
235
235
  """
236
236
  The `ContainerNamespace` data source is used to retrieve information about a Serverless Containers namespace.
237
237
 
@@ -265,7 +265,7 @@ def get_container_namespace_output(name: Optional[pulumi.Input[Optional[str]]] =
265
265
  __args__['namespaceId'] = namespace_id
266
266
  __args__['projectId'] = project_id
267
267
  __args__['region'] = region
268
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
268
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
269
269
  __ret__ = pulumi.runtime.invoke_output('scaleway:index/getContainerNamespace:getContainerNamespace', __args__, opts=opts, typ=GetContainerNamespaceResult)
270
270
  return __ret__.apply(lambda __response__: GetContainerNamespaceResult(
271
271
  description=pulumi.get(__response__, 'description'),
@@ -152,7 +152,7 @@ def get_database(instance_id: Optional[str] = None,
152
152
  def get_database_output(instance_id: Optional[pulumi.Input[str]] = None,
153
153
  name: Optional[pulumi.Input[str]] = None,
154
154
  region: Optional[pulumi.Input[Optional[str]]] = None,
155
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseResult]:
155
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseResult]:
156
156
  """
157
157
  Gets information about a database.
158
158
 
@@ -175,7 +175,7 @@ def get_database_output(instance_id: Optional[pulumi.Input[str]] = None,
175
175
  __args__['instanceId'] = instance_id
176
176
  __args__['name'] = name
177
177
  __args__['region'] = region
178
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
178
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
179
179
  __ret__ = pulumi.runtime.invoke_output('scaleway:index/getDatabase:getDatabase', __args__, opts=opts, typ=GetDatabaseResult)
180
180
  return __ret__.apply(lambda __response__: GetDatabaseResult(
181
181
  id=pulumi.get(__response__, 'id'),
@@ -113,7 +113,7 @@ def get_database_acl(instance_id: Optional[str] = None,
113
113
  region=pulumi.get(__ret__, 'region'))
114
114
  def get_database_acl_output(instance_id: Optional[pulumi.Input[str]] = None,
115
115
  region: Optional[pulumi.Input[Optional[str]]] = None,
116
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseAclResult]:
116
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseAclResult]:
117
117
  """
118
118
  Gets information about the Database Instance network Access Control List.
119
119
 
@@ -134,7 +134,7 @@ def get_database_acl_output(instance_id: Optional[pulumi.Input[str]] = None,
134
134
  __args__ = dict()
135
135
  __args__['instanceId'] = instance_id
136
136
  __args__['region'] = region
137
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
137
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
138
138
  __ret__ = pulumi.runtime.invoke_output('scaleway:index/getDatabaseAcl:getDatabaseAcl', __args__, opts=opts, typ=GetDatabaseAclResult)
139
139
  return __ret__.apply(lambda __response__: GetDatabaseAclResult(
140
140
  acl_rules=pulumi.get(__response__, 'acl_rules'),
@@ -205,7 +205,7 @@ def get_database_backup_output(backup_id: Optional[pulumi.Input[Optional[str]]]
205
205
  name: Optional[pulumi.Input[Optional[str]]] = None,
206
206
  project_id: Optional[pulumi.Input[Optional[str]]] = None,
207
207
  region: Optional[pulumi.Input[Optional[str]]] = None,
208
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseBackupResult]:
208
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseBackupResult]:
209
209
  """
210
210
  Gets information about an RDB backup.
211
211
 
@@ -236,7 +236,7 @@ def get_database_backup_output(backup_id: Optional[pulumi.Input[Optional[str]]]
236
236
  __args__['name'] = name
237
237
  __args__['projectId'] = project_id
238
238
  __args__['region'] = region
239
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
239
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
240
240
  __ret__ = pulumi.runtime.invoke_output('scaleway:index/getDatabaseBackup:getDatabaseBackup', __args__, opts=opts, typ=GetDatabaseBackupResult)
241
241
  return __ret__.apply(lambda __response__: GetDatabaseBackupResult(
242
242
  backup_id=pulumi.get(__response__, 'backup_id'),
@@ -27,7 +27,7 @@ class GetDatabaseInstanceResult:
27
27
  """
28
28
  A collection of values returned by getDatabaseInstance.
29
29
  """
30
- def __init__(__self__, backup_same_region=None, backup_schedule_frequency=None, backup_schedule_retention=None, certificate=None, disable_backup=None, encryption_at_rest=None, endpoint_ip=None, endpoint_port=None, engine=None, id=None, init_settings=None, instance_id=None, is_ha_cluster=None, load_balancers=None, logs_policies=None, name=None, node_type=None, organization_id=None, password=None, private_networks=None, project_id=None, read_replicas=None, region=None, settings=None, tags=None, user_name=None, volume_size_in_gb=None, volume_type=None):
30
+ def __init__(__self__, backup_same_region=None, backup_schedule_frequency=None, backup_schedule_retention=None, certificate=None, disable_backup=None, encryption_at_rest=None, endpoint_ip=None, endpoint_port=None, engine=None, id=None, init_settings=None, instance_id=None, is_ha_cluster=None, load_balancers=None, logs_policies=None, name=None, node_type=None, organization_id=None, password=None, private_networks=None, project_id=None, read_replicas=None, region=None, settings=None, snapshot_id=None, tags=None, user_name=None, volume_size_in_gb=None, volume_type=None):
31
31
  if backup_same_region and not isinstance(backup_same_region, bool):
32
32
  raise TypeError("Expected argument 'backup_same_region' to be a bool")
33
33
  pulumi.set(__self__, "backup_same_region", backup_same_region)
@@ -100,6 +100,9 @@ class GetDatabaseInstanceResult:
100
100
  if settings and not isinstance(settings, dict):
101
101
  raise TypeError("Expected argument 'settings' to be a dict")
102
102
  pulumi.set(__self__, "settings", settings)
103
+ if snapshot_id and not isinstance(snapshot_id, str):
104
+ raise TypeError("Expected argument 'snapshot_id' to be a str")
105
+ pulumi.set(__self__, "snapshot_id", snapshot_id)
103
106
  if tags and not isinstance(tags, list):
104
107
  raise TypeError("Expected argument 'tags' to be a list")
105
108
  pulumi.set(__self__, "tags", tags)
@@ -236,6 +239,11 @@ class GetDatabaseInstanceResult:
236
239
  def settings(self) -> Mapping[str, str]:
237
240
  return pulumi.get(self, "settings")
238
241
 
242
+ @property
243
+ @pulumi.getter(name="snapshotId")
244
+ def snapshot_id(self) -> str:
245
+ return pulumi.get(self, "snapshot_id")
246
+
239
247
  @property
240
248
  @pulumi.getter
241
249
  def tags(self) -> Sequence[str]:
@@ -287,6 +295,7 @@ class AwaitableGetDatabaseInstanceResult(GetDatabaseInstanceResult):
287
295
  read_replicas=self.read_replicas,
288
296
  region=self.region,
289
297
  settings=self.settings,
298
+ snapshot_id=self.snapshot_id,
290
299
  tags=self.tags,
291
300
  user_name=self.user_name,
292
301
  volume_size_in_gb=self.volume_size_in_gb,
@@ -344,6 +353,7 @@ def get_database_instance(instance_id: Optional[str] = None,
344
353
  read_replicas=pulumi.get(__ret__, 'read_replicas'),
345
354
  region=pulumi.get(__ret__, 'region'),
346
355
  settings=pulumi.get(__ret__, 'settings'),
356
+ snapshot_id=pulumi.get(__ret__, 'snapshot_id'),
347
357
  tags=pulumi.get(__ret__, 'tags'),
348
358
  user_name=pulumi.get(__ret__, 'user_name'),
349
359
  volume_size_in_gb=pulumi.get(__ret__, 'volume_size_in_gb'),
@@ -352,7 +362,7 @@ def get_database_instance_output(instance_id: Optional[pulumi.Input[Optional[str
352
362
  name: Optional[pulumi.Input[Optional[str]]] = None,
353
363
  project_id: Optional[pulumi.Input[Optional[str]]] = None,
354
364
  region: Optional[pulumi.Input[Optional[str]]] = None,
355
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseInstanceResult]:
365
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseInstanceResult]:
356
366
  """
357
367
  Gets information about an Database Instance.
358
368
 
@@ -371,7 +381,7 @@ def get_database_instance_output(instance_id: Optional[pulumi.Input[Optional[str
371
381
  __args__['name'] = name
372
382
  __args__['projectId'] = project_id
373
383
  __args__['region'] = region
374
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
384
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
375
385
  __ret__ = pulumi.runtime.invoke_output('scaleway:index/getDatabaseInstance:getDatabaseInstance', __args__, opts=opts, typ=GetDatabaseInstanceResult)
376
386
  return __ret__.apply(lambda __response__: GetDatabaseInstanceResult(
377
387
  backup_same_region=pulumi.get(__response__, 'backup_same_region'),
@@ -398,6 +408,7 @@ def get_database_instance_output(instance_id: Optional[pulumi.Input[Optional[str
398
408
  read_replicas=pulumi.get(__response__, 'read_replicas'),
399
409
  region=pulumi.get(__response__, 'region'),
400
410
  settings=pulumi.get(__response__, 'settings'),
411
+ snapshot_id=pulumi.get(__response__, 'snapshot_id'),
401
412
  tags=pulumi.get(__response__, 'tags'),
402
413
  user_name=pulumi.get(__response__, 'user_name'),
403
414
  volume_size_in_gb=pulumi.get(__response__, 'volume_size_in_gb'),
@@ -143,7 +143,7 @@ def get_database_privilege_output(database_name: Optional[pulumi.Input[str]] = N
143
143
  instance_id: Optional[pulumi.Input[str]] = None,
144
144
  region: Optional[pulumi.Input[Optional[str]]] = None,
145
145
  user_name: Optional[pulumi.Input[str]] = None,
146
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabasePrivilegeResult]:
146
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabasePrivilegeResult]:
147
147
  """
148
148
  Gets information about the privileges in a database.
149
149
 
@@ -170,7 +170,7 @@ def get_database_privilege_output(database_name: Optional[pulumi.Input[str]] = N
170
170
  __args__['instanceId'] = instance_id
171
171
  __args__['region'] = region
172
172
  __args__['userName'] = user_name
173
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
173
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
174
174
  __ret__ = pulumi.runtime.invoke_output('scaleway:index/getDatabasePrivilege:getDatabasePrivilege', __args__, opts=opts, typ=GetDatabasePrivilegeResult)
175
175
  return __ret__.apply(lambda __response__: GetDatabasePrivilegeResult(
176
176
  database_name=pulumi.get(__response__, 'database_name'),
@@ -277,7 +277,7 @@ def get_domain_record_output(data: Optional[pulumi.Input[Optional[str]]] = None,
277
277
  project_id: Optional[pulumi.Input[Optional[str]]] = None,
278
278
  record_id: Optional[pulumi.Input[Optional[str]]] = None,
279
279
  type: Optional[pulumi.Input[Optional[str]]] = None,
280
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainRecordResult]:
280
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDomainRecordResult]:
281
281
  """
282
282
  The `DomainRecord` data source is used to get information about an existing domain record.
283
283
 
@@ -319,7 +319,7 @@ def get_domain_record_output(data: Optional[pulumi.Input[Optional[str]]] = None,
319
319
  __args__['projectId'] = project_id
320
320
  __args__['recordId'] = record_id
321
321
  __args__['type'] = type
322
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
322
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
323
323
  __ret__ = pulumi.runtime.invoke_output('scaleway:index/getDomainRecord:getDomainRecord', __args__, opts=opts, typ=GetDomainRecordResult)
324
324
  return __ret__.apply(lambda __response__: GetDomainRecordResult(
325
325
  data=pulumi.get(__response__, 'data'),
@@ -176,7 +176,7 @@ def get_domain_zone(domain: Optional[str] = None,
176
176
  updated_at=pulumi.get(__ret__, 'updated_at'))
177
177
  def get_domain_zone_output(domain: Optional[pulumi.Input[Optional[str]]] = None,
178
178
  subdomain: Optional[pulumi.Input[Optional[str]]] = None,
179
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainZoneResult]:
179
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDomainZoneResult]:
180
180
  """
181
181
  Use this data source to access information about an existing resource.
182
182
 
@@ -186,7 +186,7 @@ def get_domain_zone_output(domain: Optional[pulumi.Input[Optional[str]]] = None,
186
186
  __args__ = dict()
187
187
  __args__['domain'] = domain
188
188
  __args__['subdomain'] = subdomain
189
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
189
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
190
190
  __ret__ = pulumi.runtime.invoke_output('scaleway:index/getDomainZone:getDomainZone', __args__, opts=opts, typ=GetDomainZoneResult)
191
191
  return __ret__.apply(lambda __response__: GetDomainZoneResult(
192
192
  domain=pulumi.get(__response__, 'domain'),