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,663 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = ['SecretArgs', 'Secret']
20
+
21
+ @pulumi.input_type
22
+ class SecretArgs:
23
+ def __init__(__self__, *,
24
+ description: Optional[pulumi.Input[str]] = None,
25
+ ephemeral_policies: Optional[pulumi.Input[Sequence[pulumi.Input['SecretEphemeralPolicyArgs']]]] = None,
26
+ name: Optional[pulumi.Input[str]] = None,
27
+ path: Optional[pulumi.Input[str]] = None,
28
+ project_id: Optional[pulumi.Input[str]] = None,
29
+ protected: Optional[pulumi.Input[bool]] = None,
30
+ region: Optional[pulumi.Input[str]] = None,
31
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
32
+ type: Optional[pulumi.Input[str]] = None):
33
+ """
34
+ The set of arguments for constructing a Secret resource.
35
+ :param pulumi.Input[str] description: Description of the secret (e.g. `my-new-description`).
36
+ :param pulumi.Input[Sequence[pulumi.Input['SecretEphemeralPolicyArgs']]] ephemeral_policies: Ephemeral policy of the secret. Policy that defines whether/when a secret's versions expire. By default, the policy is applied to all the secret's versions.
37
+ :param pulumi.Input[str] name: Name of the secret (e.g. `my-secret`).
38
+ :param pulumi.Input[str] path: Path of the secret, defaults to `/`.
39
+ :param pulumi.Input[str] project_id: The project ID containing is the secret.
40
+ :param pulumi.Input[bool] protected: True if secret protection is enabled on a given secret. A protected secret cannot be deleted.
41
+ :param pulumi.Input[str] region: `region`) The region
42
+ in which the resource exists.
43
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags of the secret (e.g. `["tag", "secret"]`).
44
+ :param pulumi.Input[str] type: Type of the secret. If not specified, the type is Opaque. Available values can be found in [SDK Constants](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/secret/v1beta1#pkg-constants).
45
+ """
46
+ if description is not None:
47
+ pulumi.set(__self__, "description", description)
48
+ if ephemeral_policies is not None:
49
+ pulumi.set(__self__, "ephemeral_policies", ephemeral_policies)
50
+ if name is not None:
51
+ pulumi.set(__self__, "name", name)
52
+ if path is not None:
53
+ pulumi.set(__self__, "path", path)
54
+ if project_id is not None:
55
+ pulumi.set(__self__, "project_id", project_id)
56
+ if protected is not None:
57
+ pulumi.set(__self__, "protected", protected)
58
+ if region is not None:
59
+ pulumi.set(__self__, "region", region)
60
+ if tags is not None:
61
+ pulumi.set(__self__, "tags", tags)
62
+ if type is not None:
63
+ pulumi.set(__self__, "type", type)
64
+
65
+ @property
66
+ @pulumi.getter
67
+ def description(self) -> Optional[pulumi.Input[str]]:
68
+ """
69
+ Description of the secret (e.g. `my-new-description`).
70
+ """
71
+ return pulumi.get(self, "description")
72
+
73
+ @description.setter
74
+ def description(self, value: Optional[pulumi.Input[str]]):
75
+ pulumi.set(self, "description", value)
76
+
77
+ @property
78
+ @pulumi.getter(name="ephemeralPolicies")
79
+ def ephemeral_policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecretEphemeralPolicyArgs']]]]:
80
+ """
81
+ Ephemeral policy of the secret. Policy that defines whether/when a secret's versions expire. By default, the policy is applied to all the secret's versions.
82
+ """
83
+ return pulumi.get(self, "ephemeral_policies")
84
+
85
+ @ephemeral_policies.setter
86
+ def ephemeral_policies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecretEphemeralPolicyArgs']]]]):
87
+ pulumi.set(self, "ephemeral_policies", value)
88
+
89
+ @property
90
+ @pulumi.getter
91
+ def name(self) -> Optional[pulumi.Input[str]]:
92
+ """
93
+ Name of the secret (e.g. `my-secret`).
94
+ """
95
+ return pulumi.get(self, "name")
96
+
97
+ @name.setter
98
+ def name(self, value: Optional[pulumi.Input[str]]):
99
+ pulumi.set(self, "name", value)
100
+
101
+ @property
102
+ @pulumi.getter
103
+ def path(self) -> Optional[pulumi.Input[str]]:
104
+ """
105
+ Path of the secret, defaults to `/`.
106
+ """
107
+ return pulumi.get(self, "path")
108
+
109
+ @path.setter
110
+ def path(self, value: Optional[pulumi.Input[str]]):
111
+ pulumi.set(self, "path", value)
112
+
113
+ @property
114
+ @pulumi.getter(name="projectId")
115
+ def project_id(self) -> Optional[pulumi.Input[str]]:
116
+ """
117
+ The project ID containing is the secret.
118
+ """
119
+ return pulumi.get(self, "project_id")
120
+
121
+ @project_id.setter
122
+ def project_id(self, value: Optional[pulumi.Input[str]]):
123
+ pulumi.set(self, "project_id", value)
124
+
125
+ @property
126
+ @pulumi.getter
127
+ def protected(self) -> Optional[pulumi.Input[bool]]:
128
+ """
129
+ True if secret protection is enabled on a given secret. A protected secret cannot be deleted.
130
+ """
131
+ return pulumi.get(self, "protected")
132
+
133
+ @protected.setter
134
+ def protected(self, value: Optional[pulumi.Input[bool]]):
135
+ pulumi.set(self, "protected", value)
136
+
137
+ @property
138
+ @pulumi.getter
139
+ def region(self) -> Optional[pulumi.Input[str]]:
140
+ """
141
+ `region`) The region
142
+ in which the resource exists.
143
+ """
144
+ return pulumi.get(self, "region")
145
+
146
+ @region.setter
147
+ def region(self, value: Optional[pulumi.Input[str]]):
148
+ pulumi.set(self, "region", value)
149
+
150
+ @property
151
+ @pulumi.getter
152
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
153
+ """
154
+ Tags of the secret (e.g. `["tag", "secret"]`).
155
+ """
156
+ return pulumi.get(self, "tags")
157
+
158
+ @tags.setter
159
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
160
+ pulumi.set(self, "tags", value)
161
+
162
+ @property
163
+ @pulumi.getter
164
+ def type(self) -> Optional[pulumi.Input[str]]:
165
+ """
166
+ Type of the secret. If not specified, the type is Opaque. Available values can be found in [SDK Constants](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/secret/v1beta1#pkg-constants).
167
+ """
168
+ return pulumi.get(self, "type")
169
+
170
+ @type.setter
171
+ def type(self, value: Optional[pulumi.Input[str]]):
172
+ pulumi.set(self, "type", value)
173
+
174
+
175
+ @pulumi.input_type
176
+ class _SecretState:
177
+ def __init__(__self__, *,
178
+ created_at: Optional[pulumi.Input[str]] = None,
179
+ description: Optional[pulumi.Input[str]] = None,
180
+ ephemeral_policies: Optional[pulumi.Input[Sequence[pulumi.Input['SecretEphemeralPolicyArgs']]]] = None,
181
+ name: Optional[pulumi.Input[str]] = None,
182
+ path: Optional[pulumi.Input[str]] = None,
183
+ project_id: Optional[pulumi.Input[str]] = None,
184
+ protected: Optional[pulumi.Input[bool]] = None,
185
+ region: Optional[pulumi.Input[str]] = None,
186
+ status: Optional[pulumi.Input[str]] = None,
187
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
188
+ type: Optional[pulumi.Input[str]] = None,
189
+ updated_at: Optional[pulumi.Input[str]] = None,
190
+ version_count: Optional[pulumi.Input[int]] = None):
191
+ """
192
+ Input properties used for looking up and filtering Secret resources.
193
+ :param pulumi.Input[str] created_at: Date and time of the secret's creation (in RFC 3339 format).
194
+ :param pulumi.Input[str] description: Description of the secret (e.g. `my-new-description`).
195
+ :param pulumi.Input[Sequence[pulumi.Input['SecretEphemeralPolicyArgs']]] ephemeral_policies: Ephemeral policy of the secret. Policy that defines whether/when a secret's versions expire. By default, the policy is applied to all the secret's versions.
196
+ :param pulumi.Input[str] name: Name of the secret (e.g. `my-secret`).
197
+ :param pulumi.Input[str] path: Path of the secret, defaults to `/`.
198
+ :param pulumi.Input[str] project_id: The project ID containing is the secret.
199
+ :param pulumi.Input[bool] protected: True if secret protection is enabled on a given secret. A protected secret cannot be deleted.
200
+ :param pulumi.Input[str] region: `region`) The region
201
+ in which the resource exists.
202
+ :param pulumi.Input[str] status: The status of the secret.
203
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags of the secret (e.g. `["tag", "secret"]`).
204
+ :param pulumi.Input[str] type: Type of the secret. If not specified, the type is Opaque. Available values can be found in [SDK Constants](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/secret/v1beta1#pkg-constants).
205
+ :param pulumi.Input[str] updated_at: Date and time of the secret's last update (in RFC 3339 format).
206
+ :param pulumi.Input[int] version_count: The amount of secret versions.
207
+ """
208
+ if created_at is not None:
209
+ pulumi.set(__self__, "created_at", created_at)
210
+ if description is not None:
211
+ pulumi.set(__self__, "description", description)
212
+ if ephemeral_policies is not None:
213
+ pulumi.set(__self__, "ephemeral_policies", ephemeral_policies)
214
+ if name is not None:
215
+ pulumi.set(__self__, "name", name)
216
+ if path is not None:
217
+ pulumi.set(__self__, "path", path)
218
+ if project_id is not None:
219
+ pulumi.set(__self__, "project_id", project_id)
220
+ if protected is not None:
221
+ pulumi.set(__self__, "protected", protected)
222
+ if region is not None:
223
+ pulumi.set(__self__, "region", region)
224
+ if status is not None:
225
+ pulumi.set(__self__, "status", status)
226
+ if tags is not None:
227
+ pulumi.set(__self__, "tags", tags)
228
+ if type is not None:
229
+ pulumi.set(__self__, "type", type)
230
+ if updated_at is not None:
231
+ pulumi.set(__self__, "updated_at", updated_at)
232
+ if version_count is not None:
233
+ pulumi.set(__self__, "version_count", version_count)
234
+
235
+ @property
236
+ @pulumi.getter(name="createdAt")
237
+ def created_at(self) -> Optional[pulumi.Input[str]]:
238
+ """
239
+ Date and time of the secret's creation (in RFC 3339 format).
240
+ """
241
+ return pulumi.get(self, "created_at")
242
+
243
+ @created_at.setter
244
+ def created_at(self, value: Optional[pulumi.Input[str]]):
245
+ pulumi.set(self, "created_at", value)
246
+
247
+ @property
248
+ @pulumi.getter
249
+ def description(self) -> Optional[pulumi.Input[str]]:
250
+ """
251
+ Description of the secret (e.g. `my-new-description`).
252
+ """
253
+ return pulumi.get(self, "description")
254
+
255
+ @description.setter
256
+ def description(self, value: Optional[pulumi.Input[str]]):
257
+ pulumi.set(self, "description", value)
258
+
259
+ @property
260
+ @pulumi.getter(name="ephemeralPolicies")
261
+ def ephemeral_policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecretEphemeralPolicyArgs']]]]:
262
+ """
263
+ Ephemeral policy of the secret. Policy that defines whether/when a secret's versions expire. By default, the policy is applied to all the secret's versions.
264
+ """
265
+ return pulumi.get(self, "ephemeral_policies")
266
+
267
+ @ephemeral_policies.setter
268
+ def ephemeral_policies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecretEphemeralPolicyArgs']]]]):
269
+ pulumi.set(self, "ephemeral_policies", value)
270
+
271
+ @property
272
+ @pulumi.getter
273
+ def name(self) -> Optional[pulumi.Input[str]]:
274
+ """
275
+ Name of the secret (e.g. `my-secret`).
276
+ """
277
+ return pulumi.get(self, "name")
278
+
279
+ @name.setter
280
+ def name(self, value: Optional[pulumi.Input[str]]):
281
+ pulumi.set(self, "name", value)
282
+
283
+ @property
284
+ @pulumi.getter
285
+ def path(self) -> Optional[pulumi.Input[str]]:
286
+ """
287
+ Path of the secret, defaults to `/`.
288
+ """
289
+ return pulumi.get(self, "path")
290
+
291
+ @path.setter
292
+ def path(self, value: Optional[pulumi.Input[str]]):
293
+ pulumi.set(self, "path", value)
294
+
295
+ @property
296
+ @pulumi.getter(name="projectId")
297
+ def project_id(self) -> Optional[pulumi.Input[str]]:
298
+ """
299
+ The project ID containing is the secret.
300
+ """
301
+ return pulumi.get(self, "project_id")
302
+
303
+ @project_id.setter
304
+ def project_id(self, value: Optional[pulumi.Input[str]]):
305
+ pulumi.set(self, "project_id", value)
306
+
307
+ @property
308
+ @pulumi.getter
309
+ def protected(self) -> Optional[pulumi.Input[bool]]:
310
+ """
311
+ True if secret protection is enabled on a given secret. A protected secret cannot be deleted.
312
+ """
313
+ return pulumi.get(self, "protected")
314
+
315
+ @protected.setter
316
+ def protected(self, value: Optional[pulumi.Input[bool]]):
317
+ pulumi.set(self, "protected", value)
318
+
319
+ @property
320
+ @pulumi.getter
321
+ def region(self) -> Optional[pulumi.Input[str]]:
322
+ """
323
+ `region`) The region
324
+ in which the resource exists.
325
+ """
326
+ return pulumi.get(self, "region")
327
+
328
+ @region.setter
329
+ def region(self, value: Optional[pulumi.Input[str]]):
330
+ pulumi.set(self, "region", value)
331
+
332
+ @property
333
+ @pulumi.getter
334
+ def status(self) -> Optional[pulumi.Input[str]]:
335
+ """
336
+ The status of the secret.
337
+ """
338
+ return pulumi.get(self, "status")
339
+
340
+ @status.setter
341
+ def status(self, value: Optional[pulumi.Input[str]]):
342
+ pulumi.set(self, "status", value)
343
+
344
+ @property
345
+ @pulumi.getter
346
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
347
+ """
348
+ Tags of the secret (e.g. `["tag", "secret"]`).
349
+ """
350
+ return pulumi.get(self, "tags")
351
+
352
+ @tags.setter
353
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
354
+ pulumi.set(self, "tags", value)
355
+
356
+ @property
357
+ @pulumi.getter
358
+ def type(self) -> Optional[pulumi.Input[str]]:
359
+ """
360
+ Type of the secret. If not specified, the type is Opaque. Available values can be found in [SDK Constants](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/secret/v1beta1#pkg-constants).
361
+ """
362
+ return pulumi.get(self, "type")
363
+
364
+ @type.setter
365
+ def type(self, value: Optional[pulumi.Input[str]]):
366
+ pulumi.set(self, "type", value)
367
+
368
+ @property
369
+ @pulumi.getter(name="updatedAt")
370
+ def updated_at(self) -> Optional[pulumi.Input[str]]:
371
+ """
372
+ Date and time of the secret's last update (in RFC 3339 format).
373
+ """
374
+ return pulumi.get(self, "updated_at")
375
+
376
+ @updated_at.setter
377
+ def updated_at(self, value: Optional[pulumi.Input[str]]):
378
+ pulumi.set(self, "updated_at", value)
379
+
380
+ @property
381
+ @pulumi.getter(name="versionCount")
382
+ def version_count(self) -> Optional[pulumi.Input[int]]:
383
+ """
384
+ The amount of secret versions.
385
+ """
386
+ return pulumi.get(self, "version_count")
387
+
388
+ @version_count.setter
389
+ def version_count(self, value: Optional[pulumi.Input[int]]):
390
+ pulumi.set(self, "version_count", value)
391
+
392
+
393
+ class Secret(pulumi.CustomResource):
394
+ @overload
395
+ def __init__(__self__,
396
+ resource_name: str,
397
+ opts: Optional[pulumi.ResourceOptions] = None,
398
+ description: Optional[pulumi.Input[str]] = None,
399
+ ephemeral_policies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecretEphemeralPolicyArgs', 'SecretEphemeralPolicyArgsDict']]]]] = None,
400
+ name: Optional[pulumi.Input[str]] = None,
401
+ path: Optional[pulumi.Input[str]] = None,
402
+ project_id: Optional[pulumi.Input[str]] = None,
403
+ protected: Optional[pulumi.Input[bool]] = None,
404
+ region: Optional[pulumi.Input[str]] = None,
405
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
406
+ type: Optional[pulumi.Input[str]] = None,
407
+ __props__=None):
408
+ """
409
+ ## Import
410
+
411
+ This section explains how to import a secret using the `{region}/{id}` format.
412
+
413
+ bash
414
+
415
+ ```sh
416
+ $ pulumi import scaleway:index/secret:Secret main fr-par/11111111-1111-1111-1111-111111111111
417
+ ```
418
+
419
+ :param str resource_name: The name of the resource.
420
+ :param pulumi.ResourceOptions opts: Options for the resource.
421
+ :param pulumi.Input[str] description: Description of the secret (e.g. `my-new-description`).
422
+ :param pulumi.Input[Sequence[pulumi.Input[Union['SecretEphemeralPolicyArgs', 'SecretEphemeralPolicyArgsDict']]]] ephemeral_policies: Ephemeral policy of the secret. Policy that defines whether/when a secret's versions expire. By default, the policy is applied to all the secret's versions.
423
+ :param pulumi.Input[str] name: Name of the secret (e.g. `my-secret`).
424
+ :param pulumi.Input[str] path: Path of the secret, defaults to `/`.
425
+ :param pulumi.Input[str] project_id: The project ID containing is the secret.
426
+ :param pulumi.Input[bool] protected: True if secret protection is enabled on a given secret. A protected secret cannot be deleted.
427
+ :param pulumi.Input[str] region: `region`) The region
428
+ in which the resource exists.
429
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags of the secret (e.g. `["tag", "secret"]`).
430
+ :param pulumi.Input[str] type: Type of the secret. If not specified, the type is Opaque. Available values can be found in [SDK Constants](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/secret/v1beta1#pkg-constants).
431
+ """
432
+ ...
433
+ @overload
434
+ def __init__(__self__,
435
+ resource_name: str,
436
+ args: Optional[SecretArgs] = None,
437
+ opts: Optional[pulumi.ResourceOptions] = None):
438
+ """
439
+ ## Import
440
+
441
+ This section explains how to import a secret using the `{region}/{id}` format.
442
+
443
+ bash
444
+
445
+ ```sh
446
+ $ pulumi import scaleway:index/secret:Secret main fr-par/11111111-1111-1111-1111-111111111111
447
+ ```
448
+
449
+ :param str resource_name: The name of the resource.
450
+ :param SecretArgs args: The arguments to use to populate this resource's properties.
451
+ :param pulumi.ResourceOptions opts: Options for the resource.
452
+ """
453
+ ...
454
+ def __init__(__self__, resource_name: str, *args, **kwargs):
455
+ resource_args, opts = _utilities.get_resource_args_opts(SecretArgs, pulumi.ResourceOptions, *args, **kwargs)
456
+ if resource_args is not None:
457
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
458
+ else:
459
+ __self__._internal_init(resource_name, *args, **kwargs)
460
+
461
+ def _internal_init(__self__,
462
+ resource_name: str,
463
+ opts: Optional[pulumi.ResourceOptions] = None,
464
+ description: Optional[pulumi.Input[str]] = None,
465
+ ephemeral_policies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecretEphemeralPolicyArgs', 'SecretEphemeralPolicyArgsDict']]]]] = None,
466
+ name: Optional[pulumi.Input[str]] = None,
467
+ path: Optional[pulumi.Input[str]] = None,
468
+ project_id: Optional[pulumi.Input[str]] = None,
469
+ protected: Optional[pulumi.Input[bool]] = None,
470
+ region: Optional[pulumi.Input[str]] = None,
471
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
472
+ type: Optional[pulumi.Input[str]] = None,
473
+ __props__=None):
474
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
475
+ if not isinstance(opts, pulumi.ResourceOptions):
476
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
477
+ if opts.id is None:
478
+ if __props__ is not None:
479
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
480
+ __props__ = SecretArgs.__new__(SecretArgs)
481
+
482
+ __props__.__dict__["description"] = description
483
+ __props__.__dict__["ephemeral_policies"] = ephemeral_policies
484
+ __props__.__dict__["name"] = name
485
+ __props__.__dict__["path"] = path
486
+ __props__.__dict__["project_id"] = project_id
487
+ __props__.__dict__["protected"] = protected
488
+ __props__.__dict__["region"] = region
489
+ __props__.__dict__["tags"] = tags
490
+ __props__.__dict__["type"] = type
491
+ __props__.__dict__["created_at"] = None
492
+ __props__.__dict__["status"] = None
493
+ __props__.__dict__["updated_at"] = None
494
+ __props__.__dict__["version_count"] = None
495
+ super(Secret, __self__).__init__(
496
+ 'scaleway:index/secret:Secret',
497
+ resource_name,
498
+ __props__,
499
+ opts)
500
+
501
+ @staticmethod
502
+ def get(resource_name: str,
503
+ id: pulumi.Input[str],
504
+ opts: Optional[pulumi.ResourceOptions] = None,
505
+ created_at: Optional[pulumi.Input[str]] = None,
506
+ description: Optional[pulumi.Input[str]] = None,
507
+ ephemeral_policies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecretEphemeralPolicyArgs', 'SecretEphemeralPolicyArgsDict']]]]] = None,
508
+ name: Optional[pulumi.Input[str]] = None,
509
+ path: Optional[pulumi.Input[str]] = None,
510
+ project_id: Optional[pulumi.Input[str]] = None,
511
+ protected: Optional[pulumi.Input[bool]] = None,
512
+ region: Optional[pulumi.Input[str]] = None,
513
+ status: Optional[pulumi.Input[str]] = None,
514
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
515
+ type: Optional[pulumi.Input[str]] = None,
516
+ updated_at: Optional[pulumi.Input[str]] = None,
517
+ version_count: Optional[pulumi.Input[int]] = None) -> 'Secret':
518
+ """
519
+ Get an existing Secret resource's state with the given name, id, and optional extra
520
+ properties used to qualify the lookup.
521
+
522
+ :param str resource_name: The unique name of the resulting resource.
523
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
524
+ :param pulumi.ResourceOptions opts: Options for the resource.
525
+ :param pulumi.Input[str] created_at: Date and time of the secret's creation (in RFC 3339 format).
526
+ :param pulumi.Input[str] description: Description of the secret (e.g. `my-new-description`).
527
+ :param pulumi.Input[Sequence[pulumi.Input[Union['SecretEphemeralPolicyArgs', 'SecretEphemeralPolicyArgsDict']]]] ephemeral_policies: Ephemeral policy of the secret. Policy that defines whether/when a secret's versions expire. By default, the policy is applied to all the secret's versions.
528
+ :param pulumi.Input[str] name: Name of the secret (e.g. `my-secret`).
529
+ :param pulumi.Input[str] path: Path of the secret, defaults to `/`.
530
+ :param pulumi.Input[str] project_id: The project ID containing is the secret.
531
+ :param pulumi.Input[bool] protected: True if secret protection is enabled on a given secret. A protected secret cannot be deleted.
532
+ :param pulumi.Input[str] region: `region`) The region
533
+ in which the resource exists.
534
+ :param pulumi.Input[str] status: The status of the secret.
535
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags of the secret (e.g. `["tag", "secret"]`).
536
+ :param pulumi.Input[str] type: Type of the secret. If not specified, the type is Opaque. Available values can be found in [SDK Constants](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/secret/v1beta1#pkg-constants).
537
+ :param pulumi.Input[str] updated_at: Date and time of the secret's last update (in RFC 3339 format).
538
+ :param pulumi.Input[int] version_count: The amount of secret versions.
539
+ """
540
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
541
+
542
+ __props__ = _SecretState.__new__(_SecretState)
543
+
544
+ __props__.__dict__["created_at"] = created_at
545
+ __props__.__dict__["description"] = description
546
+ __props__.__dict__["ephemeral_policies"] = ephemeral_policies
547
+ __props__.__dict__["name"] = name
548
+ __props__.__dict__["path"] = path
549
+ __props__.__dict__["project_id"] = project_id
550
+ __props__.__dict__["protected"] = protected
551
+ __props__.__dict__["region"] = region
552
+ __props__.__dict__["status"] = status
553
+ __props__.__dict__["tags"] = tags
554
+ __props__.__dict__["type"] = type
555
+ __props__.__dict__["updated_at"] = updated_at
556
+ __props__.__dict__["version_count"] = version_count
557
+ return Secret(resource_name, opts=opts, __props__=__props__)
558
+
559
+ @property
560
+ @pulumi.getter(name="createdAt")
561
+ def created_at(self) -> pulumi.Output[str]:
562
+ """
563
+ Date and time of the secret's creation (in RFC 3339 format).
564
+ """
565
+ return pulumi.get(self, "created_at")
566
+
567
+ @property
568
+ @pulumi.getter
569
+ def description(self) -> pulumi.Output[Optional[str]]:
570
+ """
571
+ Description of the secret (e.g. `my-new-description`).
572
+ """
573
+ return pulumi.get(self, "description")
574
+
575
+ @property
576
+ @pulumi.getter(name="ephemeralPolicies")
577
+ def ephemeral_policies(self) -> pulumi.Output[Optional[Sequence['outputs.SecretEphemeralPolicy']]]:
578
+ """
579
+ Ephemeral policy of the secret. Policy that defines whether/when a secret's versions expire. By default, the policy is applied to all the secret's versions.
580
+ """
581
+ return pulumi.get(self, "ephemeral_policies")
582
+
583
+ @property
584
+ @pulumi.getter
585
+ def name(self) -> pulumi.Output[str]:
586
+ """
587
+ Name of the secret (e.g. `my-secret`).
588
+ """
589
+ return pulumi.get(self, "name")
590
+
591
+ @property
592
+ @pulumi.getter
593
+ def path(self) -> pulumi.Output[Optional[str]]:
594
+ """
595
+ Path of the secret, defaults to `/`.
596
+ """
597
+ return pulumi.get(self, "path")
598
+
599
+ @property
600
+ @pulumi.getter(name="projectId")
601
+ def project_id(self) -> pulumi.Output[str]:
602
+ """
603
+ The project ID containing is the secret.
604
+ """
605
+ return pulumi.get(self, "project_id")
606
+
607
+ @property
608
+ @pulumi.getter
609
+ def protected(self) -> pulumi.Output[Optional[bool]]:
610
+ """
611
+ True if secret protection is enabled on a given secret. A protected secret cannot be deleted.
612
+ """
613
+ return pulumi.get(self, "protected")
614
+
615
+ @property
616
+ @pulumi.getter
617
+ def region(self) -> pulumi.Output[str]:
618
+ """
619
+ `region`) The region
620
+ in which the resource exists.
621
+ """
622
+ return pulumi.get(self, "region")
623
+
624
+ @property
625
+ @pulumi.getter
626
+ def status(self) -> pulumi.Output[str]:
627
+ """
628
+ The status of the secret.
629
+ """
630
+ return pulumi.get(self, "status")
631
+
632
+ @property
633
+ @pulumi.getter
634
+ def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
635
+ """
636
+ Tags of the secret (e.g. `["tag", "secret"]`).
637
+ """
638
+ return pulumi.get(self, "tags")
639
+
640
+ @property
641
+ @pulumi.getter
642
+ def type(self) -> pulumi.Output[Optional[str]]:
643
+ """
644
+ Type of the secret. If not specified, the type is Opaque. Available values can be found in [SDK Constants](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/secret/v1beta1#pkg-constants).
645
+ """
646
+ return pulumi.get(self, "type")
647
+
648
+ @property
649
+ @pulumi.getter(name="updatedAt")
650
+ def updated_at(self) -> pulumi.Output[str]:
651
+ """
652
+ Date and time of the secret's last update (in RFC 3339 format).
653
+ """
654
+ return pulumi.get(self, "updated_at")
655
+
656
+ @property
657
+ @pulumi.getter(name="versionCount")
658
+ def version_count(self) -> pulumi.Output[int]:
659
+ """
660
+ The amount of secret versions.
661
+ """
662
+ return pulumi.get(self, "version_count")
663
+