pulumiverse-scaleway 1.16.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.
- pulumiverse_scaleway/__init__.py +1073 -0
- pulumiverse_scaleway/_inputs.py +8665 -0
- pulumiverse_scaleway/_utilities.py +327 -0
- pulumiverse_scaleway/account_project.py +316 -0
- pulumiverse_scaleway/account_ssh_key.py +450 -0
- pulumiverse_scaleway/apple_silicon_server.py +564 -0
- pulumiverse_scaleway/baremetal_server.py +1390 -0
- pulumiverse_scaleway/block_snapshot.py +391 -0
- pulumiverse_scaleway/block_volume.py +521 -0
- pulumiverse_scaleway/cockpit.py +299 -0
- pulumiverse_scaleway/cockpit_alert_manager.py +345 -0
- pulumiverse_scaleway/cockpit_grafana_user.py +326 -0
- pulumiverse_scaleway/cockpit_source.py +481 -0
- pulumiverse_scaleway/cockpit_token.py +461 -0
- pulumiverse_scaleway/config/__init__.py +8 -0
- pulumiverse_scaleway/config/__init__.pyi +56 -0
- pulumiverse_scaleway/config/vars.py +78 -0
- pulumiverse_scaleway/container.py +1387 -0
- pulumiverse_scaleway/container_cron.py +493 -0
- pulumiverse_scaleway/container_domain.py +400 -0
- pulumiverse_scaleway/container_namespace.py +589 -0
- pulumiverse_scaleway/container_token.py +454 -0
- pulumiverse_scaleway/container_trigger.py +478 -0
- pulumiverse_scaleway/database.py +407 -0
- pulumiverse_scaleway/database_acl.py +332 -0
- pulumiverse_scaleway/database_backup.py +574 -0
- pulumiverse_scaleway/database_instance.py +1636 -0
- pulumiverse_scaleway/database_privilege.py +422 -0
- pulumiverse_scaleway/database_read_replica.py +528 -0
- pulumiverse_scaleway/database_user.py +446 -0
- pulumiverse_scaleway/documentdb_database.py +450 -0
- pulumiverse_scaleway/documentdb_instance.py +812 -0
- pulumiverse_scaleway/documentdb_private_network_endpoint.py +352 -0
- pulumiverse_scaleway/documentdb_privilege.py +402 -0
- pulumiverse_scaleway/documentdb_read_replica.py +405 -0
- pulumiverse_scaleway/documentdb_user.py +442 -0
- pulumiverse_scaleway/domain_record.py +1074 -0
- pulumiverse_scaleway/domain_zone.py +458 -0
- pulumiverse_scaleway/flexible_ip.py +702 -0
- pulumiverse_scaleway/flexible_ip_mac_address.py +510 -0
- pulumiverse_scaleway/function.py +1145 -0
- pulumiverse_scaleway/function_cron.py +480 -0
- pulumiverse_scaleway/function_domain.py +361 -0
- pulumiverse_scaleway/function_namespace.py +533 -0
- pulumiverse_scaleway/function_token.py +462 -0
- pulumiverse_scaleway/function_trigger.py +478 -0
- pulumiverse_scaleway/get_account_project.py +164 -0
- pulumiverse_scaleway/get_account_ssh_key.py +201 -0
- pulumiverse_scaleway/get_availability_zones.py +131 -0
- pulumiverse_scaleway/get_baremetal_offer.py +245 -0
- pulumiverse_scaleway/get_baremetal_option.py +168 -0
- pulumiverse_scaleway/get_baremetal_os.py +174 -0
- pulumiverse_scaleway/get_baremetal_server.py +411 -0
- pulumiverse_scaleway/get_billing_consumptions.py +134 -0
- pulumiverse_scaleway/get_billing_invoices.py +154 -0
- pulumiverse_scaleway/get_block_snapshot.py +170 -0
- pulumiverse_scaleway/get_block_volume.py +186 -0
- pulumiverse_scaleway/get_cockpit.py +179 -0
- pulumiverse_scaleway/get_cockpit_plan.py +113 -0
- pulumiverse_scaleway/get_config.py +180 -0
- pulumiverse_scaleway/get_container.py +502 -0
- pulumiverse_scaleway/get_container_namespace.py +262 -0
- pulumiverse_scaleway/get_database.py +187 -0
- pulumiverse_scaleway/get_database_acl.py +143 -0
- pulumiverse_scaleway/get_database_backup.py +253 -0
- pulumiverse_scaleway/get_database_instance.py +404 -0
- pulumiverse_scaleway/get_database_privilege.py +181 -0
- pulumiverse_scaleway/get_documentdb_database.py +198 -0
- pulumiverse_scaleway/get_documentdb_instance.py +245 -0
- pulumiverse_scaleway/get_documentdb_load_balancer_endpoint.py +198 -0
- pulumiverse_scaleway/get_domain_record.py +334 -0
- pulumiverse_scaleway/get_domain_zone.py +225 -0
- pulumiverse_scaleway/get_flexible_ip.py +247 -0
- pulumiverse_scaleway/get_flexible_ips.py +240 -0
- pulumiverse_scaleway/get_function.py +357 -0
- pulumiverse_scaleway/get_function_namespace.py +227 -0
- pulumiverse_scaleway/get_iam_api_key.py +210 -0
- pulumiverse_scaleway/get_iam_application.py +210 -0
- pulumiverse_scaleway/get_iam_group.py +236 -0
- pulumiverse_scaleway/get_iam_ssh_key.py +212 -0
- pulumiverse_scaleway/get_iam_user.py +157 -0
- pulumiverse_scaleway/get_instance_image.py +305 -0
- pulumiverse_scaleway/get_instance_ip.py +204 -0
- pulumiverse_scaleway/get_instance_placement_group.py +212 -0
- pulumiverse_scaleway/get_instance_private_nic.py +215 -0
- pulumiverse_scaleway/get_instance_security_group.py +268 -0
- pulumiverse_scaleway/get_instance_server.py +502 -0
- pulumiverse_scaleway/get_instance_servers.py +187 -0
- pulumiverse_scaleway/get_instance_snapshot.py +248 -0
- pulumiverse_scaleway/get_instance_volume.py +215 -0
- pulumiverse_scaleway/get_iot_device.py +257 -0
- pulumiverse_scaleway/get_iot_hub.py +322 -0
- pulumiverse_scaleway/get_ipam_ip.py +419 -0
- pulumiverse_scaleway/get_ipam_ips.py +358 -0
- pulumiverse_scaleway/get_k8s_version.py +196 -0
- pulumiverse_scaleway/get_kubernetes_cluster.py +417 -0
- pulumiverse_scaleway/get_kubernetes_node_pool.py +436 -0
- pulumiverse_scaleway/get_lb_acls.py +198 -0
- pulumiverse_scaleway/get_lb_backend.py +486 -0
- pulumiverse_scaleway/get_lb_backends.py +196 -0
- pulumiverse_scaleway/get_lb_frontend.py +274 -0
- pulumiverse_scaleway/get_lb_frontends.py +196 -0
- pulumiverse_scaleway/get_lb_ips.py +198 -0
- pulumiverse_scaleway/get_lb_route.py +217 -0
- pulumiverse_scaleway/get_lb_routes.py +179 -0
- pulumiverse_scaleway/get_lbs.py +187 -0
- pulumiverse_scaleway/get_loadbalancer.py +339 -0
- pulumiverse_scaleway/get_loadbalancer_certificate.py +230 -0
- pulumiverse_scaleway/get_loadbalancer_ip.py +222 -0
- pulumiverse_scaleway/get_marketplace_image.py +147 -0
- pulumiverse_scaleway/get_mnq_sqs.py +150 -0
- pulumiverse_scaleway/get_object_bucket.py +278 -0
- pulumiverse_scaleway/get_object_bucket_policy.py +157 -0
- pulumiverse_scaleway/get_redis_cluster.py +347 -0
- pulumiverse_scaleway/get_registry_image.py +239 -0
- pulumiverse_scaleway/get_registry_namespace.py +199 -0
- pulumiverse_scaleway/get_secret.py +290 -0
- pulumiverse_scaleway/get_secret_version.py +303 -0
- pulumiverse_scaleway/get_tem_domain.py +367 -0
- pulumiverse_scaleway/get_vpc.py +246 -0
- pulumiverse_scaleway/get_vpc_gateway_network.py +287 -0
- pulumiverse_scaleway/get_vpc_private_network.py +282 -0
- pulumiverse_scaleway/get_vpc_public_gateway.py +304 -0
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +305 -0
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +382 -0
- pulumiverse_scaleway/get_vpc_public_gateway_ip.py +199 -0
- pulumiverse_scaleway/get_vpc_public_pat_rule.py +313 -0
- pulumiverse_scaleway/get_vpc_routes.py +208 -0
- pulumiverse_scaleway/get_vpcs.py +174 -0
- pulumiverse_scaleway/get_web_host_offer.py +192 -0
- pulumiverse_scaleway/get_webhosting.py +332 -0
- pulumiverse_scaleway/iam_api_key.py +620 -0
- pulumiverse_scaleway/iam_application.py +417 -0
- pulumiverse_scaleway/iam_group.py +566 -0
- pulumiverse_scaleway/iam_group_membership.py +323 -0
- pulumiverse_scaleway/iam_policy.py +727 -0
- pulumiverse_scaleway/iam_ssh_key.py +455 -0
- pulumiverse_scaleway/iam_user.py +466 -0
- pulumiverse_scaleway/instance_image.py +750 -0
- pulumiverse_scaleway/instance_ip.py +483 -0
- pulumiverse_scaleway/instance_ip_reverse_dns.py +308 -0
- pulumiverse_scaleway/instance_placement_group.py +479 -0
- pulumiverse_scaleway/instance_private_nic.py +454 -0
- pulumiverse_scaleway/instance_security_group.py +720 -0
- pulumiverse_scaleway/instance_security_group_rules.py +439 -0
- pulumiverse_scaleway/instance_server.py +1907 -0
- pulumiverse_scaleway/instance_snapshot.py +669 -0
- pulumiverse_scaleway/instance_user_data.py +435 -0
- pulumiverse_scaleway/instance_volume.py +535 -0
- pulumiverse_scaleway/iot_device.py +750 -0
- pulumiverse_scaleway/iot_hub.py +896 -0
- pulumiverse_scaleway/iot_network.py +425 -0
- pulumiverse_scaleway/iot_route.py +660 -0
- pulumiverse_scaleway/ipam_ip.py +666 -0
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +318 -0
- pulumiverse_scaleway/job_definition.py +692 -0
- pulumiverse_scaleway/kubernetes_cluster.py +1538 -0
- pulumiverse_scaleway/kubernetes_node_pool.py +1255 -0
- pulumiverse_scaleway/loadbalancer.py +1095 -0
- pulumiverse_scaleway/loadbalancer_acl.py +520 -0
- pulumiverse_scaleway/loadbalancer_backend.py +1588 -0
- pulumiverse_scaleway/loadbalancer_certificate.py +460 -0
- pulumiverse_scaleway/loadbalancer_frontend.py +829 -0
- pulumiverse_scaleway/loadbalancer_ip.py +514 -0
- pulumiverse_scaleway/loadbalancer_route.py +523 -0
- pulumiverse_scaleway/mnq_nats_account.py +334 -0
- pulumiverse_scaleway/mnq_nats_credentials.py +328 -0
- pulumiverse_scaleway/mnq_sns.py +306 -0
- pulumiverse_scaleway/mnq_sns_credentials.py +413 -0
- pulumiverse_scaleway/mnq_sns_topic.py +659 -0
- pulumiverse_scaleway/mnq_sns_topic_subscription.py +699 -0
- pulumiverse_scaleway/mnq_sqs.py +304 -0
- pulumiverse_scaleway/mnq_sqs_credentials.py +413 -0
- pulumiverse_scaleway/mnq_sqs_queue.py +800 -0
- pulumiverse_scaleway/object_bucket.py +888 -0
- pulumiverse_scaleway/object_bucket_acl.py +592 -0
- pulumiverse_scaleway/object_bucket_lock_configuration.py +393 -0
- pulumiverse_scaleway/object_bucket_policy.py +671 -0
- pulumiverse_scaleway/object_bucket_website_configuration.py +532 -0
- pulumiverse_scaleway/object_item.py +711 -0
- pulumiverse_scaleway/outputs.py +11663 -0
- pulumiverse_scaleway/provider.py +327 -0
- pulumiverse_scaleway/pulumi-plugin.json +6 -0
- pulumiverse_scaleway/py.typed +0 -0
- pulumiverse_scaleway/redis_cluster.py +1166 -0
- pulumiverse_scaleway/registry_namespace.py +458 -0
- pulumiverse_scaleway/sdb_database.py +428 -0
- pulumiverse_scaleway/secret.py +560 -0
- pulumiverse_scaleway/secret_version.py +482 -0
- pulumiverse_scaleway/tem_domain.py +950 -0
- pulumiverse_scaleway/tem_domain_validation.py +303 -0
- pulumiverse_scaleway/vpc.py +536 -0
- pulumiverse_scaleway/vpc_gateway_network.py +866 -0
- pulumiverse_scaleway/vpc_private_network.py +734 -0
- pulumiverse_scaleway/vpc_public_gateway.py +789 -0
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +933 -0
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +514 -0
- pulumiverse_scaleway/vpc_public_gateway_ip.py +457 -0
- pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +306 -0
- pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +591 -0
- pulumiverse_scaleway/webhosting.py +805 -0
- pulumiverse_scaleway-1.16.0.dist-info/METADATA +69 -0
- pulumiverse_scaleway-1.16.0.dist-info/RECORD +205 -0
- pulumiverse_scaleway-1.16.0.dist-info/WHEEL +5 -0
- pulumiverse_scaleway-1.16.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,303 @@
|
|
|
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
|
+
'GetSecretVersionResult',
|
|
19
|
+
'AwaitableGetSecretVersionResult',
|
|
20
|
+
'get_secret_version',
|
|
21
|
+
'get_secret_version_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetSecretVersionResult:
|
|
26
|
+
"""
|
|
27
|
+
A collection of values returned by getSecretVersion.
|
|
28
|
+
"""
|
|
29
|
+
def __init__(__self__, created_at=None, data=None, description=None, id=None, project_id=None, region=None, revision=None, secret_id=None, secret_name=None, status=None, updated_at=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 data and not isinstance(data, str):
|
|
34
|
+
raise TypeError("Expected argument 'data' to be a str")
|
|
35
|
+
pulumi.set(__self__, "data", data)
|
|
36
|
+
if description and not isinstance(description, str):
|
|
37
|
+
raise TypeError("Expected argument 'description' to be a str")
|
|
38
|
+
pulumi.set(__self__, "description", description)
|
|
39
|
+
if id and not isinstance(id, str):
|
|
40
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
41
|
+
pulumi.set(__self__, "id", id)
|
|
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 revision and not isinstance(revision, str):
|
|
49
|
+
raise TypeError("Expected argument 'revision' to be a str")
|
|
50
|
+
pulumi.set(__self__, "revision", revision)
|
|
51
|
+
if secret_id and not isinstance(secret_id, str):
|
|
52
|
+
raise TypeError("Expected argument 'secret_id' to be a str")
|
|
53
|
+
pulumi.set(__self__, "secret_id", secret_id)
|
|
54
|
+
if secret_name and not isinstance(secret_name, str):
|
|
55
|
+
raise TypeError("Expected argument 'secret_name' to be a str")
|
|
56
|
+
pulumi.set(__self__, "secret_name", secret_name)
|
|
57
|
+
if status and not isinstance(status, str):
|
|
58
|
+
raise TypeError("Expected argument 'status' to be a str")
|
|
59
|
+
pulumi.set(__self__, "status", status)
|
|
60
|
+
if updated_at and not isinstance(updated_at, str):
|
|
61
|
+
raise TypeError("Expected argument 'updated_at' to be a str")
|
|
62
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
@pulumi.getter(name="createdAt")
|
|
66
|
+
def created_at(self) -> str:
|
|
67
|
+
"""
|
|
68
|
+
Date and time of secret version's creation (RFC 3339 format).
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "created_at")
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
@pulumi.getter
|
|
74
|
+
def data(self) -> str:
|
|
75
|
+
"""
|
|
76
|
+
The data payload of the secret version. more on the data section
|
|
77
|
+
"""
|
|
78
|
+
return pulumi.get(self, "data")
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
@pulumi.getter
|
|
82
|
+
def description(self) -> str:
|
|
83
|
+
"""
|
|
84
|
+
(Optional) Description of the secret version (e.g. `my-new-description`).
|
|
85
|
+
"""
|
|
86
|
+
return pulumi.get(self, "description")
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
@pulumi.getter
|
|
90
|
+
def id(self) -> str:
|
|
91
|
+
"""
|
|
92
|
+
The provider-assigned unique ID for this managed resource.
|
|
93
|
+
"""
|
|
94
|
+
return pulumi.get(self, "id")
|
|
95
|
+
|
|
96
|
+
@property
|
|
97
|
+
@pulumi.getter(name="projectId")
|
|
98
|
+
def project_id(self) -> Optional[str]:
|
|
99
|
+
return pulumi.get(self, "project_id")
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
@pulumi.getter
|
|
103
|
+
def region(self) -> Optional[str]:
|
|
104
|
+
return pulumi.get(self, "region")
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
@pulumi.getter
|
|
108
|
+
def revision(self) -> Optional[str]:
|
|
109
|
+
return pulumi.get(self, "revision")
|
|
110
|
+
|
|
111
|
+
@property
|
|
112
|
+
@pulumi.getter(name="secretId")
|
|
113
|
+
def secret_id(self) -> Optional[str]:
|
|
114
|
+
return pulumi.get(self, "secret_id")
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
@pulumi.getter(name="secretName")
|
|
118
|
+
def secret_name(self) -> Optional[str]:
|
|
119
|
+
return pulumi.get(self, "secret_name")
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
@pulumi.getter
|
|
123
|
+
def status(self) -> str:
|
|
124
|
+
"""
|
|
125
|
+
The status of the Secret Version.
|
|
126
|
+
"""
|
|
127
|
+
return pulumi.get(self, "status")
|
|
128
|
+
|
|
129
|
+
@property
|
|
130
|
+
@pulumi.getter(name="updatedAt")
|
|
131
|
+
def updated_at(self) -> str:
|
|
132
|
+
"""
|
|
133
|
+
Date and time of secret version's last update (RFC 3339 format).
|
|
134
|
+
"""
|
|
135
|
+
return pulumi.get(self, "updated_at")
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
class AwaitableGetSecretVersionResult(GetSecretVersionResult):
|
|
139
|
+
# pylint: disable=using-constant-test
|
|
140
|
+
def __await__(self):
|
|
141
|
+
if False:
|
|
142
|
+
yield self
|
|
143
|
+
return GetSecretVersionResult(
|
|
144
|
+
created_at=self.created_at,
|
|
145
|
+
data=self.data,
|
|
146
|
+
description=self.description,
|
|
147
|
+
id=self.id,
|
|
148
|
+
project_id=self.project_id,
|
|
149
|
+
region=self.region,
|
|
150
|
+
revision=self.revision,
|
|
151
|
+
secret_id=self.secret_id,
|
|
152
|
+
secret_name=self.secret_name,
|
|
153
|
+
status=self.status,
|
|
154
|
+
updated_at=self.updated_at)
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
def get_secret_version(project_id: Optional[str] = None,
|
|
158
|
+
region: Optional[str] = None,
|
|
159
|
+
revision: Optional[str] = None,
|
|
160
|
+
secret_id: Optional[str] = None,
|
|
161
|
+
secret_name: Optional[str] = None,
|
|
162
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretVersionResult:
|
|
163
|
+
"""
|
|
164
|
+
Gets information about Scaleway a Secret Version.
|
|
165
|
+
For more information, see [the documentation](https://developers.scaleway.com/en/products/secret_manager/api/v1alpha1/#secret-versions-079501).
|
|
166
|
+
|
|
167
|
+
## Examples
|
|
168
|
+
|
|
169
|
+
### Basic
|
|
170
|
+
|
|
171
|
+
```python
|
|
172
|
+
import pulumi
|
|
173
|
+
import pulumi_scaleway as scaleway
|
|
174
|
+
import pulumiverse_scaleway as scaleway
|
|
175
|
+
|
|
176
|
+
main = scaleway.Secret("main",
|
|
177
|
+
name="fooii",
|
|
178
|
+
description="barr")
|
|
179
|
+
main_secret_version = scaleway.SecretVersion("main",
|
|
180
|
+
description="your description",
|
|
181
|
+
secret_id=main.id,
|
|
182
|
+
data="your_secret")
|
|
183
|
+
data_by_secret_id = scaleway.get_secret_version_output(secret_id=main.id,
|
|
184
|
+
revision="1")
|
|
185
|
+
data_by_secret_name = scaleway.get_secret_version_output(secret_name=main.name,
|
|
186
|
+
revision="1")
|
|
187
|
+
pulumi.export("scalewaySecretAccessPayload", data_by_secret_name.data)
|
|
188
|
+
pulumi.export("scalewaySecretAccessPayloadById", data_by_secret_id.data)
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
## Data
|
|
192
|
+
|
|
193
|
+
Note: This Data Source give you **access** to the secret payload encoded en base64.
|
|
194
|
+
|
|
195
|
+
Be aware that this is a sensitive attribute. For more information,
|
|
196
|
+
see Sensitive Data in State.
|
|
197
|
+
|
|
198
|
+
> **Important:** This property is sensitive and will not be displayed in the plan.
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
:param str project_id: The ID of the project the Secret version is associated with.
|
|
202
|
+
:param str region: `region`) The region
|
|
203
|
+
in which the resource exists.
|
|
204
|
+
:param str revision: The revision for this Secret Version.
|
|
205
|
+
:param str secret_id: The Secret ID associated wit the secret version.
|
|
206
|
+
Only one of `secret_id` and `secret_name` should be specified.
|
|
207
|
+
:param str secret_name: The Name of Secret associated wit the secret version.
|
|
208
|
+
Only one of `secret_id` and `secret_name` should be specified.
|
|
209
|
+
"""
|
|
210
|
+
__args__ = dict()
|
|
211
|
+
__args__['projectId'] = project_id
|
|
212
|
+
__args__['region'] = region
|
|
213
|
+
__args__['revision'] = revision
|
|
214
|
+
__args__['secretId'] = secret_id
|
|
215
|
+
__args__['secretName'] = secret_name
|
|
216
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
217
|
+
__ret__ = pulumi.runtime.invoke('scaleway:index/getSecretVersion:getSecretVersion', __args__, opts=opts, typ=GetSecretVersionResult).value
|
|
218
|
+
|
|
219
|
+
return AwaitableGetSecretVersionResult(
|
|
220
|
+
created_at=pulumi.get(__ret__, 'created_at'),
|
|
221
|
+
data=pulumi.get(__ret__, 'data'),
|
|
222
|
+
description=pulumi.get(__ret__, 'description'),
|
|
223
|
+
id=pulumi.get(__ret__, 'id'),
|
|
224
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
|
225
|
+
region=pulumi.get(__ret__, 'region'),
|
|
226
|
+
revision=pulumi.get(__ret__, 'revision'),
|
|
227
|
+
secret_id=pulumi.get(__ret__, 'secret_id'),
|
|
228
|
+
secret_name=pulumi.get(__ret__, 'secret_name'),
|
|
229
|
+
status=pulumi.get(__ret__, 'status'),
|
|
230
|
+
updated_at=pulumi.get(__ret__, 'updated_at'))
|
|
231
|
+
def get_secret_version_output(project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
232
|
+
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
233
|
+
revision: Optional[pulumi.Input[Optional[str]]] = None,
|
|
234
|
+
secret_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
235
|
+
secret_name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
236
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecretVersionResult]:
|
|
237
|
+
"""
|
|
238
|
+
Gets information about Scaleway a Secret Version.
|
|
239
|
+
For more information, see [the documentation](https://developers.scaleway.com/en/products/secret_manager/api/v1alpha1/#secret-versions-079501).
|
|
240
|
+
|
|
241
|
+
## Examples
|
|
242
|
+
|
|
243
|
+
### Basic
|
|
244
|
+
|
|
245
|
+
```python
|
|
246
|
+
import pulumi
|
|
247
|
+
import pulumi_scaleway as scaleway
|
|
248
|
+
import pulumiverse_scaleway as scaleway
|
|
249
|
+
|
|
250
|
+
main = scaleway.Secret("main",
|
|
251
|
+
name="fooii",
|
|
252
|
+
description="barr")
|
|
253
|
+
main_secret_version = scaleway.SecretVersion("main",
|
|
254
|
+
description="your description",
|
|
255
|
+
secret_id=main.id,
|
|
256
|
+
data="your_secret")
|
|
257
|
+
data_by_secret_id = scaleway.get_secret_version_output(secret_id=main.id,
|
|
258
|
+
revision="1")
|
|
259
|
+
data_by_secret_name = scaleway.get_secret_version_output(secret_name=main.name,
|
|
260
|
+
revision="1")
|
|
261
|
+
pulumi.export("scalewaySecretAccessPayload", data_by_secret_name.data)
|
|
262
|
+
pulumi.export("scalewaySecretAccessPayloadById", data_by_secret_id.data)
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
## Data
|
|
266
|
+
|
|
267
|
+
Note: This Data Source give you **access** to the secret payload encoded en base64.
|
|
268
|
+
|
|
269
|
+
Be aware that this is a sensitive attribute. For more information,
|
|
270
|
+
see Sensitive Data in State.
|
|
271
|
+
|
|
272
|
+
> **Important:** This property is sensitive and will not be displayed in the plan.
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
:param str project_id: The ID of the project the Secret version is associated with.
|
|
276
|
+
:param str region: `region`) The region
|
|
277
|
+
in which the resource exists.
|
|
278
|
+
:param str revision: The revision for this Secret Version.
|
|
279
|
+
:param str secret_id: The Secret ID associated wit the secret version.
|
|
280
|
+
Only one of `secret_id` and `secret_name` should be specified.
|
|
281
|
+
:param str secret_name: The Name of Secret associated wit the secret version.
|
|
282
|
+
Only one of `secret_id` and `secret_name` should be specified.
|
|
283
|
+
"""
|
|
284
|
+
__args__ = dict()
|
|
285
|
+
__args__['projectId'] = project_id
|
|
286
|
+
__args__['region'] = region
|
|
287
|
+
__args__['revision'] = revision
|
|
288
|
+
__args__['secretId'] = secret_id
|
|
289
|
+
__args__['secretName'] = secret_name
|
|
290
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
291
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getSecretVersion:getSecretVersion', __args__, opts=opts, typ=GetSecretVersionResult)
|
|
292
|
+
return __ret__.apply(lambda __response__: GetSecretVersionResult(
|
|
293
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
294
|
+
data=pulumi.get(__response__, 'data'),
|
|
295
|
+
description=pulumi.get(__response__, 'description'),
|
|
296
|
+
id=pulumi.get(__response__, 'id'),
|
|
297
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
298
|
+
region=pulumi.get(__response__, 'region'),
|
|
299
|
+
revision=pulumi.get(__response__, 'revision'),
|
|
300
|
+
secret_id=pulumi.get(__response__, 'secret_id'),
|
|
301
|
+
secret_name=pulumi.get(__response__, 'secret_name'),
|
|
302
|
+
status=pulumi.get(__response__, 'status'),
|
|
303
|
+
updated_at=pulumi.get(__response__, 'updated_at')))
|
|
@@ -0,0 +1,367 @@
|
|
|
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
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetTemDomainResult',
|
|
20
|
+
'AwaitableGetTemDomainResult',
|
|
21
|
+
'get_tem_domain',
|
|
22
|
+
'get_tem_domain_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetTemDomainResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getTemDomain.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, accept_tos=None, created_at=None, dkim_config=None, dmarc_config=None, dmarc_name=None, domain_id=None, id=None, last_error=None, last_valid_at=None, mx_blackhole=None, name=None, next_check_at=None, project_id=None, region=None, reputations=None, revoked_at=None, smtp_host=None, smtp_port=None, smtp_port_alternative=None, smtp_port_unsecure=None, smtps_auth_user=None, smtps_port=None, smtps_port_alternative=None, spf_config=None, status=None):
|
|
31
|
+
if accept_tos and not isinstance(accept_tos, bool):
|
|
32
|
+
raise TypeError("Expected argument 'accept_tos' to be a bool")
|
|
33
|
+
pulumi.set(__self__, "accept_tos", accept_tos)
|
|
34
|
+
if created_at and not isinstance(created_at, str):
|
|
35
|
+
raise TypeError("Expected argument 'created_at' to be a str")
|
|
36
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
37
|
+
if dkim_config and not isinstance(dkim_config, str):
|
|
38
|
+
raise TypeError("Expected argument 'dkim_config' to be a str")
|
|
39
|
+
pulumi.set(__self__, "dkim_config", dkim_config)
|
|
40
|
+
if dmarc_config and not isinstance(dmarc_config, str):
|
|
41
|
+
raise TypeError("Expected argument 'dmarc_config' to be a str")
|
|
42
|
+
pulumi.set(__self__, "dmarc_config", dmarc_config)
|
|
43
|
+
if dmarc_name and not isinstance(dmarc_name, str):
|
|
44
|
+
raise TypeError("Expected argument 'dmarc_name' to be a str")
|
|
45
|
+
pulumi.set(__self__, "dmarc_name", dmarc_name)
|
|
46
|
+
if domain_id and not isinstance(domain_id, str):
|
|
47
|
+
raise TypeError("Expected argument 'domain_id' to be a str")
|
|
48
|
+
pulumi.set(__self__, "domain_id", domain_id)
|
|
49
|
+
if id and not isinstance(id, str):
|
|
50
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
51
|
+
pulumi.set(__self__, "id", id)
|
|
52
|
+
if last_error and not isinstance(last_error, str):
|
|
53
|
+
raise TypeError("Expected argument 'last_error' to be a str")
|
|
54
|
+
pulumi.set(__self__, "last_error", last_error)
|
|
55
|
+
if last_valid_at and not isinstance(last_valid_at, str):
|
|
56
|
+
raise TypeError("Expected argument 'last_valid_at' to be a str")
|
|
57
|
+
pulumi.set(__self__, "last_valid_at", last_valid_at)
|
|
58
|
+
if mx_blackhole and not isinstance(mx_blackhole, str):
|
|
59
|
+
raise TypeError("Expected argument 'mx_blackhole' to be a str")
|
|
60
|
+
pulumi.set(__self__, "mx_blackhole", mx_blackhole)
|
|
61
|
+
if name and not isinstance(name, str):
|
|
62
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
63
|
+
pulumi.set(__self__, "name", name)
|
|
64
|
+
if next_check_at and not isinstance(next_check_at, str):
|
|
65
|
+
raise TypeError("Expected argument 'next_check_at' to be a str")
|
|
66
|
+
pulumi.set(__self__, "next_check_at", next_check_at)
|
|
67
|
+
if project_id and not isinstance(project_id, str):
|
|
68
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
|
69
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
70
|
+
if region and not isinstance(region, str):
|
|
71
|
+
raise TypeError("Expected argument 'region' to be a str")
|
|
72
|
+
pulumi.set(__self__, "region", region)
|
|
73
|
+
if reputations and not isinstance(reputations, list):
|
|
74
|
+
raise TypeError("Expected argument 'reputations' to be a list")
|
|
75
|
+
pulumi.set(__self__, "reputations", reputations)
|
|
76
|
+
if revoked_at and not isinstance(revoked_at, str):
|
|
77
|
+
raise TypeError("Expected argument 'revoked_at' to be a str")
|
|
78
|
+
pulumi.set(__self__, "revoked_at", revoked_at)
|
|
79
|
+
if smtp_host and not isinstance(smtp_host, str):
|
|
80
|
+
raise TypeError("Expected argument 'smtp_host' to be a str")
|
|
81
|
+
pulumi.set(__self__, "smtp_host", smtp_host)
|
|
82
|
+
if smtp_port and not isinstance(smtp_port, int):
|
|
83
|
+
raise TypeError("Expected argument 'smtp_port' to be a int")
|
|
84
|
+
pulumi.set(__self__, "smtp_port", smtp_port)
|
|
85
|
+
if smtp_port_alternative and not isinstance(smtp_port_alternative, int):
|
|
86
|
+
raise TypeError("Expected argument 'smtp_port_alternative' to be a int")
|
|
87
|
+
pulumi.set(__self__, "smtp_port_alternative", smtp_port_alternative)
|
|
88
|
+
if smtp_port_unsecure and not isinstance(smtp_port_unsecure, int):
|
|
89
|
+
raise TypeError("Expected argument 'smtp_port_unsecure' to be a int")
|
|
90
|
+
pulumi.set(__self__, "smtp_port_unsecure", smtp_port_unsecure)
|
|
91
|
+
if smtps_auth_user and not isinstance(smtps_auth_user, str):
|
|
92
|
+
raise TypeError("Expected argument 'smtps_auth_user' to be a str")
|
|
93
|
+
pulumi.set(__self__, "smtps_auth_user", smtps_auth_user)
|
|
94
|
+
if smtps_port and not isinstance(smtps_port, int):
|
|
95
|
+
raise TypeError("Expected argument 'smtps_port' to be a int")
|
|
96
|
+
pulumi.set(__self__, "smtps_port", smtps_port)
|
|
97
|
+
if smtps_port_alternative and not isinstance(smtps_port_alternative, int):
|
|
98
|
+
raise TypeError("Expected argument 'smtps_port_alternative' to be a int")
|
|
99
|
+
pulumi.set(__self__, "smtps_port_alternative", smtps_port_alternative)
|
|
100
|
+
if spf_config and not isinstance(spf_config, str):
|
|
101
|
+
raise TypeError("Expected argument 'spf_config' to be a str")
|
|
102
|
+
pulumi.set(__self__, "spf_config", spf_config)
|
|
103
|
+
if status and not isinstance(status, str):
|
|
104
|
+
raise TypeError("Expected argument 'status' to be a str")
|
|
105
|
+
pulumi.set(__self__, "status", status)
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
@pulumi.getter(name="acceptTos")
|
|
109
|
+
def accept_tos(self) -> bool:
|
|
110
|
+
return pulumi.get(self, "accept_tos")
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
@pulumi.getter(name="createdAt")
|
|
114
|
+
def created_at(self) -> str:
|
|
115
|
+
return pulumi.get(self, "created_at")
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
@pulumi.getter(name="dkimConfig")
|
|
119
|
+
def dkim_config(self) -> str:
|
|
120
|
+
return pulumi.get(self, "dkim_config")
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
@pulumi.getter(name="dmarcConfig")
|
|
124
|
+
def dmarc_config(self) -> str:
|
|
125
|
+
return pulumi.get(self, "dmarc_config")
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
@pulumi.getter(name="dmarcName")
|
|
129
|
+
def dmarc_name(self) -> str:
|
|
130
|
+
return pulumi.get(self, "dmarc_name")
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
@pulumi.getter(name="domainId")
|
|
134
|
+
def domain_id(self) -> Optional[str]:
|
|
135
|
+
return pulumi.get(self, "domain_id")
|
|
136
|
+
|
|
137
|
+
@property
|
|
138
|
+
@pulumi.getter
|
|
139
|
+
def id(self) -> str:
|
|
140
|
+
"""
|
|
141
|
+
The provider-assigned unique ID for this managed resource.
|
|
142
|
+
"""
|
|
143
|
+
return pulumi.get(self, "id")
|
|
144
|
+
|
|
145
|
+
@property
|
|
146
|
+
@pulumi.getter(name="lastError")
|
|
147
|
+
def last_error(self) -> str:
|
|
148
|
+
return pulumi.get(self, "last_error")
|
|
149
|
+
|
|
150
|
+
@property
|
|
151
|
+
@pulumi.getter(name="lastValidAt")
|
|
152
|
+
def last_valid_at(self) -> str:
|
|
153
|
+
return pulumi.get(self, "last_valid_at")
|
|
154
|
+
|
|
155
|
+
@property
|
|
156
|
+
@pulumi.getter(name="mxBlackhole")
|
|
157
|
+
def mx_blackhole(self) -> str:
|
|
158
|
+
return pulumi.get(self, "mx_blackhole")
|
|
159
|
+
|
|
160
|
+
@property
|
|
161
|
+
@pulumi.getter
|
|
162
|
+
def name(self) -> Optional[str]:
|
|
163
|
+
return pulumi.get(self, "name")
|
|
164
|
+
|
|
165
|
+
@property
|
|
166
|
+
@pulumi.getter(name="nextCheckAt")
|
|
167
|
+
def next_check_at(self) -> str:
|
|
168
|
+
return pulumi.get(self, "next_check_at")
|
|
169
|
+
|
|
170
|
+
@property
|
|
171
|
+
@pulumi.getter(name="projectId")
|
|
172
|
+
def project_id(self) -> Optional[str]:
|
|
173
|
+
return pulumi.get(self, "project_id")
|
|
174
|
+
|
|
175
|
+
@property
|
|
176
|
+
@pulumi.getter
|
|
177
|
+
def region(self) -> Optional[str]:
|
|
178
|
+
return pulumi.get(self, "region")
|
|
179
|
+
|
|
180
|
+
@property
|
|
181
|
+
@pulumi.getter
|
|
182
|
+
def reputations(self) -> Sequence['outputs.GetTemDomainReputationResult']:
|
|
183
|
+
return pulumi.get(self, "reputations")
|
|
184
|
+
|
|
185
|
+
@property
|
|
186
|
+
@pulumi.getter(name="revokedAt")
|
|
187
|
+
def revoked_at(self) -> str:
|
|
188
|
+
return pulumi.get(self, "revoked_at")
|
|
189
|
+
|
|
190
|
+
@property
|
|
191
|
+
@pulumi.getter(name="smtpHost")
|
|
192
|
+
def smtp_host(self) -> str:
|
|
193
|
+
return pulumi.get(self, "smtp_host")
|
|
194
|
+
|
|
195
|
+
@property
|
|
196
|
+
@pulumi.getter(name="smtpPort")
|
|
197
|
+
def smtp_port(self) -> int:
|
|
198
|
+
return pulumi.get(self, "smtp_port")
|
|
199
|
+
|
|
200
|
+
@property
|
|
201
|
+
@pulumi.getter(name="smtpPortAlternative")
|
|
202
|
+
def smtp_port_alternative(self) -> int:
|
|
203
|
+
return pulumi.get(self, "smtp_port_alternative")
|
|
204
|
+
|
|
205
|
+
@property
|
|
206
|
+
@pulumi.getter(name="smtpPortUnsecure")
|
|
207
|
+
def smtp_port_unsecure(self) -> int:
|
|
208
|
+
return pulumi.get(self, "smtp_port_unsecure")
|
|
209
|
+
|
|
210
|
+
@property
|
|
211
|
+
@pulumi.getter(name="smtpsAuthUser")
|
|
212
|
+
def smtps_auth_user(self) -> str:
|
|
213
|
+
return pulumi.get(self, "smtps_auth_user")
|
|
214
|
+
|
|
215
|
+
@property
|
|
216
|
+
@pulumi.getter(name="smtpsPort")
|
|
217
|
+
def smtps_port(self) -> int:
|
|
218
|
+
return pulumi.get(self, "smtps_port")
|
|
219
|
+
|
|
220
|
+
@property
|
|
221
|
+
@pulumi.getter(name="smtpsPortAlternative")
|
|
222
|
+
def smtps_port_alternative(self) -> int:
|
|
223
|
+
return pulumi.get(self, "smtps_port_alternative")
|
|
224
|
+
|
|
225
|
+
@property
|
|
226
|
+
@pulumi.getter(name="spfConfig")
|
|
227
|
+
def spf_config(self) -> str:
|
|
228
|
+
return pulumi.get(self, "spf_config")
|
|
229
|
+
|
|
230
|
+
@property
|
|
231
|
+
@pulumi.getter
|
|
232
|
+
def status(self) -> str:
|
|
233
|
+
return pulumi.get(self, "status")
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
class AwaitableGetTemDomainResult(GetTemDomainResult):
|
|
237
|
+
# pylint: disable=using-constant-test
|
|
238
|
+
def __await__(self):
|
|
239
|
+
if False:
|
|
240
|
+
yield self
|
|
241
|
+
return GetTemDomainResult(
|
|
242
|
+
accept_tos=self.accept_tos,
|
|
243
|
+
created_at=self.created_at,
|
|
244
|
+
dkim_config=self.dkim_config,
|
|
245
|
+
dmarc_config=self.dmarc_config,
|
|
246
|
+
dmarc_name=self.dmarc_name,
|
|
247
|
+
domain_id=self.domain_id,
|
|
248
|
+
id=self.id,
|
|
249
|
+
last_error=self.last_error,
|
|
250
|
+
last_valid_at=self.last_valid_at,
|
|
251
|
+
mx_blackhole=self.mx_blackhole,
|
|
252
|
+
name=self.name,
|
|
253
|
+
next_check_at=self.next_check_at,
|
|
254
|
+
project_id=self.project_id,
|
|
255
|
+
region=self.region,
|
|
256
|
+
reputations=self.reputations,
|
|
257
|
+
revoked_at=self.revoked_at,
|
|
258
|
+
smtp_host=self.smtp_host,
|
|
259
|
+
smtp_port=self.smtp_port,
|
|
260
|
+
smtp_port_alternative=self.smtp_port_alternative,
|
|
261
|
+
smtp_port_unsecure=self.smtp_port_unsecure,
|
|
262
|
+
smtps_auth_user=self.smtps_auth_user,
|
|
263
|
+
smtps_port=self.smtps_port,
|
|
264
|
+
smtps_port_alternative=self.smtps_port_alternative,
|
|
265
|
+
spf_config=self.spf_config,
|
|
266
|
+
status=self.status)
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
def get_tem_domain(domain_id: Optional[str] = None,
|
|
270
|
+
name: Optional[str] = None,
|
|
271
|
+
project_id: Optional[str] = None,
|
|
272
|
+
region: Optional[str] = None,
|
|
273
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTemDomainResult:
|
|
274
|
+
"""
|
|
275
|
+
Gets information about a transactional email domain.
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
:param str domain_id: The domain id.
|
|
279
|
+
Only one of `name` and `domain_id` should be specified.
|
|
280
|
+
:param str name: The domain name.
|
|
281
|
+
Only one of `name` and `domain_id` should be specified.
|
|
282
|
+
:param str project_id: `project_id`) The ID of the project the domain is associated with.
|
|
283
|
+
:param str region: `region`) The region in which the domain exists.
|
|
284
|
+
"""
|
|
285
|
+
__args__ = dict()
|
|
286
|
+
__args__['domainId'] = domain_id
|
|
287
|
+
__args__['name'] = name
|
|
288
|
+
__args__['projectId'] = project_id
|
|
289
|
+
__args__['region'] = region
|
|
290
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
291
|
+
__ret__ = pulumi.runtime.invoke('scaleway:index/getTemDomain:getTemDomain', __args__, opts=opts, typ=GetTemDomainResult).value
|
|
292
|
+
|
|
293
|
+
return AwaitableGetTemDomainResult(
|
|
294
|
+
accept_tos=pulumi.get(__ret__, 'accept_tos'),
|
|
295
|
+
created_at=pulumi.get(__ret__, 'created_at'),
|
|
296
|
+
dkim_config=pulumi.get(__ret__, 'dkim_config'),
|
|
297
|
+
dmarc_config=pulumi.get(__ret__, 'dmarc_config'),
|
|
298
|
+
dmarc_name=pulumi.get(__ret__, 'dmarc_name'),
|
|
299
|
+
domain_id=pulumi.get(__ret__, 'domain_id'),
|
|
300
|
+
id=pulumi.get(__ret__, 'id'),
|
|
301
|
+
last_error=pulumi.get(__ret__, 'last_error'),
|
|
302
|
+
last_valid_at=pulumi.get(__ret__, 'last_valid_at'),
|
|
303
|
+
mx_blackhole=pulumi.get(__ret__, 'mx_blackhole'),
|
|
304
|
+
name=pulumi.get(__ret__, 'name'),
|
|
305
|
+
next_check_at=pulumi.get(__ret__, 'next_check_at'),
|
|
306
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
|
307
|
+
region=pulumi.get(__ret__, 'region'),
|
|
308
|
+
reputations=pulumi.get(__ret__, 'reputations'),
|
|
309
|
+
revoked_at=pulumi.get(__ret__, 'revoked_at'),
|
|
310
|
+
smtp_host=pulumi.get(__ret__, 'smtp_host'),
|
|
311
|
+
smtp_port=pulumi.get(__ret__, 'smtp_port'),
|
|
312
|
+
smtp_port_alternative=pulumi.get(__ret__, 'smtp_port_alternative'),
|
|
313
|
+
smtp_port_unsecure=pulumi.get(__ret__, 'smtp_port_unsecure'),
|
|
314
|
+
smtps_auth_user=pulumi.get(__ret__, 'smtps_auth_user'),
|
|
315
|
+
smtps_port=pulumi.get(__ret__, 'smtps_port'),
|
|
316
|
+
smtps_port_alternative=pulumi.get(__ret__, 'smtps_port_alternative'),
|
|
317
|
+
spf_config=pulumi.get(__ret__, 'spf_config'),
|
|
318
|
+
status=pulumi.get(__ret__, 'status'))
|
|
319
|
+
def get_tem_domain_output(domain_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
320
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
321
|
+
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
322
|
+
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
323
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTemDomainResult]:
|
|
324
|
+
"""
|
|
325
|
+
Gets information about a transactional email domain.
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
:param str domain_id: The domain id.
|
|
329
|
+
Only one of `name` and `domain_id` should be specified.
|
|
330
|
+
:param str name: The domain name.
|
|
331
|
+
Only one of `name` and `domain_id` should be specified.
|
|
332
|
+
:param str project_id: `project_id`) The ID of the project the domain is associated with.
|
|
333
|
+
:param str region: `region`) The region in which the domain exists.
|
|
334
|
+
"""
|
|
335
|
+
__args__ = dict()
|
|
336
|
+
__args__['domainId'] = domain_id
|
|
337
|
+
__args__['name'] = name
|
|
338
|
+
__args__['projectId'] = project_id
|
|
339
|
+
__args__['region'] = region
|
|
340
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
341
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getTemDomain:getTemDomain', __args__, opts=opts, typ=GetTemDomainResult)
|
|
342
|
+
return __ret__.apply(lambda __response__: GetTemDomainResult(
|
|
343
|
+
accept_tos=pulumi.get(__response__, 'accept_tos'),
|
|
344
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
345
|
+
dkim_config=pulumi.get(__response__, 'dkim_config'),
|
|
346
|
+
dmarc_config=pulumi.get(__response__, 'dmarc_config'),
|
|
347
|
+
dmarc_name=pulumi.get(__response__, 'dmarc_name'),
|
|
348
|
+
domain_id=pulumi.get(__response__, 'domain_id'),
|
|
349
|
+
id=pulumi.get(__response__, 'id'),
|
|
350
|
+
last_error=pulumi.get(__response__, 'last_error'),
|
|
351
|
+
last_valid_at=pulumi.get(__response__, 'last_valid_at'),
|
|
352
|
+
mx_blackhole=pulumi.get(__response__, 'mx_blackhole'),
|
|
353
|
+
name=pulumi.get(__response__, 'name'),
|
|
354
|
+
next_check_at=pulumi.get(__response__, 'next_check_at'),
|
|
355
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
356
|
+
region=pulumi.get(__response__, 'region'),
|
|
357
|
+
reputations=pulumi.get(__response__, 'reputations'),
|
|
358
|
+
revoked_at=pulumi.get(__response__, 'revoked_at'),
|
|
359
|
+
smtp_host=pulumi.get(__response__, 'smtp_host'),
|
|
360
|
+
smtp_port=pulumi.get(__response__, 'smtp_port'),
|
|
361
|
+
smtp_port_alternative=pulumi.get(__response__, 'smtp_port_alternative'),
|
|
362
|
+
smtp_port_unsecure=pulumi.get(__response__, 'smtp_port_unsecure'),
|
|
363
|
+
smtps_auth_user=pulumi.get(__response__, 'smtps_auth_user'),
|
|
364
|
+
smtps_port=pulumi.get(__response__, 'smtps_port'),
|
|
365
|
+
smtps_port_alternative=pulumi.get(__response__, 'smtps_port_alternative'),
|
|
366
|
+
spf_config=pulumi.get(__response__, 'spf_config'),
|
|
367
|
+
status=pulumi.get(__response__, 'status')))
|