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.
- pulumiverse_scaleway/__init__.py +1065 -0
- pulumiverse_scaleway/_inputs.py +8688 -0
- pulumiverse_scaleway/_utilities.py +327 -0
- pulumiverse_scaleway/account_project.py +316 -0
- pulumiverse_scaleway/account_ssh_key.py +454 -0
- pulumiverse_scaleway/apple_silicon_server.py +564 -0
- pulumiverse_scaleway/baremetal_server.py +1579 -0
- pulumiverse_scaleway/block_snapshot.py +401 -0
- pulumiverse_scaleway/block_volume.py +527 -0
- pulumiverse_scaleway/cockpit.py +314 -0
- pulumiverse_scaleway/cockpit_alert_manager.py +401 -0
- pulumiverse_scaleway/cockpit_grafana_user.py +362 -0
- pulumiverse_scaleway/cockpit_source.py +567 -0
- pulumiverse_scaleway/cockpit_token.py +479 -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 +1373 -0
- pulumiverse_scaleway/container_cron.py +458 -0
- pulumiverse_scaleway/container_domain.py +406 -0
- pulumiverse_scaleway/container_namespace.py +636 -0
- pulumiverse_scaleway/container_token.py +452 -0
- pulumiverse_scaleway/container_trigger.py +480 -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 +1641 -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/domain_record.py +1116 -0
- pulumiverse_scaleway/domain_zone.py +430 -0
- pulumiverse_scaleway/flexible_ip.py +702 -0
- pulumiverse_scaleway/flexible_ip_mac_address.py +510 -0
- pulumiverse_scaleway/function.py +1103 -0
- pulumiverse_scaleway/function_cron.py +462 -0
- pulumiverse_scaleway/function_domain.py +370 -0
- pulumiverse_scaleway/function_namespace.py +580 -0
- pulumiverse_scaleway/function_token.py +460 -0
- pulumiverse_scaleway/function_trigger.py +480 -0
- pulumiverse_scaleway/get_account_project.py +170 -0
- pulumiverse_scaleway/get_account_ssh_key.py +205 -0
- pulumiverse_scaleway/get_availability_zones.py +139 -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 +422 -0
- pulumiverse_scaleway/get_billing_consumptions.py +134 -0
- pulumiverse_scaleway/get_billing_invoices.py +154 -0
- pulumiverse_scaleway/get_block_snapshot.py +174 -0
- pulumiverse_scaleway/get_block_volume.py +188 -0
- pulumiverse_scaleway/get_cockpit.py +204 -0
- pulumiverse_scaleway/get_cockpit_plan.py +125 -0
- pulumiverse_scaleway/get_cockpit_source.py +262 -0
- pulumiverse_scaleway/get_config.py +180 -0
- pulumiverse_scaleway/get_container.py +522 -0
- pulumiverse_scaleway/get_container_namespace.py +283 -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_domain_record.py +340 -0
- pulumiverse_scaleway/get_domain_zone.py +201 -0
- pulumiverse_scaleway/get_flexible_ip.py +247 -0
- pulumiverse_scaleway/get_flexible_ips.py +240 -0
- pulumiverse_scaleway/get_function.py +365 -0
- pulumiverse_scaleway/get_function_namespace.py +238 -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 +177 -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 +226 -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 +228 -0
- pulumiverse_scaleway/get_marketplace_image.py +147 -0
- pulumiverse_scaleway/get_mnq_sns.py +150 -0
- pulumiverse_scaleway/get_mnq_sqs.py +150 -0
- pulumiverse_scaleway/get_mongo_db_instance.py +324 -0
- pulumiverse_scaleway/get_object_bucket.py +290 -0
- pulumiverse_scaleway/get_object_bucket_policy.py +163 -0
- pulumiverse_scaleway/get_redis_cluster.py +347 -0
- pulumiverse_scaleway/get_registry_image.py +239 -0
- pulumiverse_scaleway/get_registry_image_tag.py +229 -0
- pulumiverse_scaleway/get_registry_namespace.py +199 -0
- pulumiverse_scaleway/get_secret.py +338 -0
- pulumiverse_scaleway/get_secret_version.py +340 -0
- pulumiverse_scaleway/get_tem_domain.py +378 -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 +773 -0
- pulumiverse_scaleway/iam_ssh_key.py +455 -0
- pulumiverse_scaleway/iam_user.py +513 -0
- pulumiverse_scaleway/inference_deployment.py +822 -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 +555 -0
- pulumiverse_scaleway/instance_security_group.py +720 -0
- pulumiverse_scaleway/instance_security_group_rules.py +439 -0
- pulumiverse_scaleway/instance_server.py +2006 -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 +472 -0
- pulumiverse_scaleway/iot_route.py +660 -0
- pulumiverse_scaleway/ipam_ip.py +757 -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 +1061 -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 +330 -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/mongo_db_instance.py +907 -0
- pulumiverse_scaleway/mongo_db_snapshot.py +521 -0
- pulumiverse_scaleway/object_bucket.py +874 -0
- pulumiverse_scaleway/object_bucket_acl.py +596 -0
- pulumiverse_scaleway/object_bucket_lock_configuration.py +395 -0
- pulumiverse_scaleway/object_bucket_policy.py +673 -0
- pulumiverse_scaleway/object_bucket_website_configuration.py +534 -0
- pulumiverse_scaleway/object_item.py +776 -0
- pulumiverse_scaleway/outputs.py +11808 -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 +1201 -0
- pulumiverse_scaleway/registry_namespace.py +458 -0
- pulumiverse_scaleway/sdb_database.py +432 -0
- pulumiverse_scaleway/secret.py +663 -0
- pulumiverse_scaleway/secret_version.py +487 -0
- pulumiverse_scaleway/tem_domain.py +1030 -0
- pulumiverse_scaleway/tem_domain_validation.py +303 -0
- pulumiverse_scaleway/tem_webhook.py +640 -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/vpc_route.py +577 -0
- pulumiverse_scaleway/webhosting.py +805 -0
- pulumiverse_scaleway-1.23.0a1736837529.dist-info/METADATA +77 -0
- pulumiverse_scaleway-1.23.0a1736837529.dist-info/RECORD +205 -0
- pulumiverse_scaleway-1.23.0a1736837529.dist-info/WHEEL +5 -0
- pulumiverse_scaleway-1.23.0a1736837529.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,430 @@
|
|
|
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__ = ['DomainZoneArgs', 'DomainZone']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class DomainZoneArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
domain: pulumi.Input[str],
|
|
23
|
+
subdomain: pulumi.Input[str],
|
|
24
|
+
project_id: Optional[pulumi.Input[str]] = None):
|
|
25
|
+
"""
|
|
26
|
+
The set of arguments for constructing a DomainZone resource.
|
|
27
|
+
:param pulumi.Input[str] domain: The main domain where the DNS zone will be created.
|
|
28
|
+
:param pulumi.Input[str] subdomain: The name of the subdomain (zone name) to create within the domain.
|
|
29
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project associated with the domain.
|
|
30
|
+
"""
|
|
31
|
+
pulumi.set(__self__, "domain", domain)
|
|
32
|
+
pulumi.set(__self__, "subdomain", subdomain)
|
|
33
|
+
if project_id is not None:
|
|
34
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
35
|
+
|
|
36
|
+
@property
|
|
37
|
+
@pulumi.getter
|
|
38
|
+
def domain(self) -> pulumi.Input[str]:
|
|
39
|
+
"""
|
|
40
|
+
The main domain where the DNS zone will be created.
|
|
41
|
+
"""
|
|
42
|
+
return pulumi.get(self, "domain")
|
|
43
|
+
|
|
44
|
+
@domain.setter
|
|
45
|
+
def domain(self, value: pulumi.Input[str]):
|
|
46
|
+
pulumi.set(self, "domain", value)
|
|
47
|
+
|
|
48
|
+
@property
|
|
49
|
+
@pulumi.getter
|
|
50
|
+
def subdomain(self) -> pulumi.Input[str]:
|
|
51
|
+
"""
|
|
52
|
+
The name of the subdomain (zone name) to create within the domain.
|
|
53
|
+
"""
|
|
54
|
+
return pulumi.get(self, "subdomain")
|
|
55
|
+
|
|
56
|
+
@subdomain.setter
|
|
57
|
+
def subdomain(self, value: pulumi.Input[str]):
|
|
58
|
+
pulumi.set(self, "subdomain", value)
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
@pulumi.getter(name="projectId")
|
|
62
|
+
def project_id(self) -> Optional[pulumi.Input[str]]:
|
|
63
|
+
"""
|
|
64
|
+
`project_id`) The ID of the Project associated with the domain.
|
|
65
|
+
"""
|
|
66
|
+
return pulumi.get(self, "project_id")
|
|
67
|
+
|
|
68
|
+
@project_id.setter
|
|
69
|
+
def project_id(self, value: Optional[pulumi.Input[str]]):
|
|
70
|
+
pulumi.set(self, "project_id", value)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
@pulumi.input_type
|
|
74
|
+
class _DomainZoneState:
|
|
75
|
+
def __init__(__self__, *,
|
|
76
|
+
domain: Optional[pulumi.Input[str]] = None,
|
|
77
|
+
message: Optional[pulumi.Input[str]] = None,
|
|
78
|
+
ns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
79
|
+
ns_defaults: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
80
|
+
ns_masters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
81
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
82
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
83
|
+
subdomain: Optional[pulumi.Input[str]] = None,
|
|
84
|
+
updated_at: Optional[pulumi.Input[str]] = None):
|
|
85
|
+
"""
|
|
86
|
+
Input properties used for looking up and filtering DomainZone resources.
|
|
87
|
+
:param pulumi.Input[str] domain: The main domain where the DNS zone will be created.
|
|
88
|
+
:param pulumi.Input[str] message: Message.
|
|
89
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] ns: The list of same servers for the zone.
|
|
90
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] ns_defaults: The default list of same servers for the zone.
|
|
91
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] ns_masters: The master list of same servers for the zone.
|
|
92
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project associated with the domain.
|
|
93
|
+
:param pulumi.Input[str] status: The status of the domain zone.
|
|
94
|
+
:param pulumi.Input[str] subdomain: The name of the subdomain (zone name) to create within the domain.
|
|
95
|
+
:param pulumi.Input[str] updated_at: The date and time at which the DNS zone was last updated.
|
|
96
|
+
"""
|
|
97
|
+
if domain is not None:
|
|
98
|
+
pulumi.set(__self__, "domain", domain)
|
|
99
|
+
if message is not None:
|
|
100
|
+
pulumi.set(__self__, "message", message)
|
|
101
|
+
if ns is not None:
|
|
102
|
+
pulumi.set(__self__, "ns", ns)
|
|
103
|
+
if ns_defaults is not None:
|
|
104
|
+
pulumi.set(__self__, "ns_defaults", ns_defaults)
|
|
105
|
+
if ns_masters is not None:
|
|
106
|
+
pulumi.set(__self__, "ns_masters", ns_masters)
|
|
107
|
+
if project_id is not None:
|
|
108
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
109
|
+
if status is not None:
|
|
110
|
+
pulumi.set(__self__, "status", status)
|
|
111
|
+
if subdomain is not None:
|
|
112
|
+
pulumi.set(__self__, "subdomain", subdomain)
|
|
113
|
+
if updated_at is not None:
|
|
114
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
@pulumi.getter
|
|
118
|
+
def domain(self) -> Optional[pulumi.Input[str]]:
|
|
119
|
+
"""
|
|
120
|
+
The main domain where the DNS zone will be created.
|
|
121
|
+
"""
|
|
122
|
+
return pulumi.get(self, "domain")
|
|
123
|
+
|
|
124
|
+
@domain.setter
|
|
125
|
+
def domain(self, value: Optional[pulumi.Input[str]]):
|
|
126
|
+
pulumi.set(self, "domain", value)
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
@pulumi.getter
|
|
130
|
+
def message(self) -> Optional[pulumi.Input[str]]:
|
|
131
|
+
"""
|
|
132
|
+
Message.
|
|
133
|
+
"""
|
|
134
|
+
return pulumi.get(self, "message")
|
|
135
|
+
|
|
136
|
+
@message.setter
|
|
137
|
+
def message(self, value: Optional[pulumi.Input[str]]):
|
|
138
|
+
pulumi.set(self, "message", value)
|
|
139
|
+
|
|
140
|
+
@property
|
|
141
|
+
@pulumi.getter
|
|
142
|
+
def ns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
143
|
+
"""
|
|
144
|
+
The list of same servers for the zone.
|
|
145
|
+
"""
|
|
146
|
+
return pulumi.get(self, "ns")
|
|
147
|
+
|
|
148
|
+
@ns.setter
|
|
149
|
+
def ns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
150
|
+
pulumi.set(self, "ns", value)
|
|
151
|
+
|
|
152
|
+
@property
|
|
153
|
+
@pulumi.getter(name="nsDefaults")
|
|
154
|
+
def ns_defaults(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
155
|
+
"""
|
|
156
|
+
The default list of same servers for the zone.
|
|
157
|
+
"""
|
|
158
|
+
return pulumi.get(self, "ns_defaults")
|
|
159
|
+
|
|
160
|
+
@ns_defaults.setter
|
|
161
|
+
def ns_defaults(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
162
|
+
pulumi.set(self, "ns_defaults", value)
|
|
163
|
+
|
|
164
|
+
@property
|
|
165
|
+
@pulumi.getter(name="nsMasters")
|
|
166
|
+
def ns_masters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
167
|
+
"""
|
|
168
|
+
The master list of same servers for the zone.
|
|
169
|
+
"""
|
|
170
|
+
return pulumi.get(self, "ns_masters")
|
|
171
|
+
|
|
172
|
+
@ns_masters.setter
|
|
173
|
+
def ns_masters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
174
|
+
pulumi.set(self, "ns_masters", value)
|
|
175
|
+
|
|
176
|
+
@property
|
|
177
|
+
@pulumi.getter(name="projectId")
|
|
178
|
+
def project_id(self) -> Optional[pulumi.Input[str]]:
|
|
179
|
+
"""
|
|
180
|
+
`project_id`) The ID of the Project associated with the domain.
|
|
181
|
+
"""
|
|
182
|
+
return pulumi.get(self, "project_id")
|
|
183
|
+
|
|
184
|
+
@project_id.setter
|
|
185
|
+
def project_id(self, value: Optional[pulumi.Input[str]]):
|
|
186
|
+
pulumi.set(self, "project_id", value)
|
|
187
|
+
|
|
188
|
+
@property
|
|
189
|
+
@pulumi.getter
|
|
190
|
+
def status(self) -> Optional[pulumi.Input[str]]:
|
|
191
|
+
"""
|
|
192
|
+
The status of the domain zone.
|
|
193
|
+
"""
|
|
194
|
+
return pulumi.get(self, "status")
|
|
195
|
+
|
|
196
|
+
@status.setter
|
|
197
|
+
def status(self, value: Optional[pulumi.Input[str]]):
|
|
198
|
+
pulumi.set(self, "status", value)
|
|
199
|
+
|
|
200
|
+
@property
|
|
201
|
+
@pulumi.getter
|
|
202
|
+
def subdomain(self) -> Optional[pulumi.Input[str]]:
|
|
203
|
+
"""
|
|
204
|
+
The name of the subdomain (zone name) to create within the domain.
|
|
205
|
+
"""
|
|
206
|
+
return pulumi.get(self, "subdomain")
|
|
207
|
+
|
|
208
|
+
@subdomain.setter
|
|
209
|
+
def subdomain(self, value: Optional[pulumi.Input[str]]):
|
|
210
|
+
pulumi.set(self, "subdomain", value)
|
|
211
|
+
|
|
212
|
+
@property
|
|
213
|
+
@pulumi.getter(name="updatedAt")
|
|
214
|
+
def updated_at(self) -> Optional[pulumi.Input[str]]:
|
|
215
|
+
"""
|
|
216
|
+
The date and time at which the DNS zone was last updated.
|
|
217
|
+
"""
|
|
218
|
+
return pulumi.get(self, "updated_at")
|
|
219
|
+
|
|
220
|
+
@updated_at.setter
|
|
221
|
+
def updated_at(self, value: Optional[pulumi.Input[str]]):
|
|
222
|
+
pulumi.set(self, "updated_at", value)
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
class DomainZone(pulumi.CustomResource):
|
|
226
|
+
@overload
|
|
227
|
+
def __init__(__self__,
|
|
228
|
+
resource_name: str,
|
|
229
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
230
|
+
domain: Optional[pulumi.Input[str]] = None,
|
|
231
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
232
|
+
subdomain: Optional[pulumi.Input[str]] = None,
|
|
233
|
+
__props__=None):
|
|
234
|
+
"""
|
|
235
|
+
## Import
|
|
236
|
+
|
|
237
|
+
This section explains how to import a zone using the `{subdomain}.{domain}` format.
|
|
238
|
+
|
|
239
|
+
bash
|
|
240
|
+
|
|
241
|
+
```sh
|
|
242
|
+
$ pulumi import scaleway:index/domainZone:DomainZone test test.scaleway-terraform.com
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
:param str resource_name: The name of the resource.
|
|
246
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
247
|
+
:param pulumi.Input[str] domain: The main domain where the DNS zone will be created.
|
|
248
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project associated with the domain.
|
|
249
|
+
:param pulumi.Input[str] subdomain: The name of the subdomain (zone name) to create within the domain.
|
|
250
|
+
"""
|
|
251
|
+
...
|
|
252
|
+
@overload
|
|
253
|
+
def __init__(__self__,
|
|
254
|
+
resource_name: str,
|
|
255
|
+
args: DomainZoneArgs,
|
|
256
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
257
|
+
"""
|
|
258
|
+
## Import
|
|
259
|
+
|
|
260
|
+
This section explains how to import a zone using the `{subdomain}.{domain}` format.
|
|
261
|
+
|
|
262
|
+
bash
|
|
263
|
+
|
|
264
|
+
```sh
|
|
265
|
+
$ pulumi import scaleway:index/domainZone:DomainZone test test.scaleway-terraform.com
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
:param str resource_name: The name of the resource.
|
|
269
|
+
:param DomainZoneArgs args: The arguments to use to populate this resource's properties.
|
|
270
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
271
|
+
"""
|
|
272
|
+
...
|
|
273
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
274
|
+
resource_args, opts = _utilities.get_resource_args_opts(DomainZoneArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
275
|
+
if resource_args is not None:
|
|
276
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
277
|
+
else:
|
|
278
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
279
|
+
|
|
280
|
+
def _internal_init(__self__,
|
|
281
|
+
resource_name: str,
|
|
282
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
283
|
+
domain: Optional[pulumi.Input[str]] = None,
|
|
284
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
285
|
+
subdomain: Optional[pulumi.Input[str]] = None,
|
|
286
|
+
__props__=None):
|
|
287
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
288
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
289
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
290
|
+
if opts.id is None:
|
|
291
|
+
if __props__ is not None:
|
|
292
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
293
|
+
__props__ = DomainZoneArgs.__new__(DomainZoneArgs)
|
|
294
|
+
|
|
295
|
+
if domain is None and not opts.urn:
|
|
296
|
+
raise TypeError("Missing required property 'domain'")
|
|
297
|
+
__props__.__dict__["domain"] = domain
|
|
298
|
+
__props__.__dict__["project_id"] = project_id
|
|
299
|
+
if subdomain is None and not opts.urn:
|
|
300
|
+
raise TypeError("Missing required property 'subdomain'")
|
|
301
|
+
__props__.__dict__["subdomain"] = subdomain
|
|
302
|
+
__props__.__dict__["message"] = None
|
|
303
|
+
__props__.__dict__["ns"] = None
|
|
304
|
+
__props__.__dict__["ns_defaults"] = None
|
|
305
|
+
__props__.__dict__["ns_masters"] = None
|
|
306
|
+
__props__.__dict__["status"] = None
|
|
307
|
+
__props__.__dict__["updated_at"] = None
|
|
308
|
+
super(DomainZone, __self__).__init__(
|
|
309
|
+
'scaleway:index/domainZone:DomainZone',
|
|
310
|
+
resource_name,
|
|
311
|
+
__props__,
|
|
312
|
+
opts)
|
|
313
|
+
|
|
314
|
+
@staticmethod
|
|
315
|
+
def get(resource_name: str,
|
|
316
|
+
id: pulumi.Input[str],
|
|
317
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
318
|
+
domain: Optional[pulumi.Input[str]] = None,
|
|
319
|
+
message: Optional[pulumi.Input[str]] = None,
|
|
320
|
+
ns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
321
|
+
ns_defaults: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
322
|
+
ns_masters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
323
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
324
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
325
|
+
subdomain: Optional[pulumi.Input[str]] = None,
|
|
326
|
+
updated_at: Optional[pulumi.Input[str]] = None) -> 'DomainZone':
|
|
327
|
+
"""
|
|
328
|
+
Get an existing DomainZone resource's state with the given name, id, and optional extra
|
|
329
|
+
properties used to qualify the lookup.
|
|
330
|
+
|
|
331
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
332
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
333
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
334
|
+
:param pulumi.Input[str] domain: The main domain where the DNS zone will be created.
|
|
335
|
+
:param pulumi.Input[str] message: Message.
|
|
336
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] ns: The list of same servers for the zone.
|
|
337
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] ns_defaults: The default list of same servers for the zone.
|
|
338
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] ns_masters: The master list of same servers for the zone.
|
|
339
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project associated with the domain.
|
|
340
|
+
:param pulumi.Input[str] status: The status of the domain zone.
|
|
341
|
+
:param pulumi.Input[str] subdomain: The name of the subdomain (zone name) to create within the domain.
|
|
342
|
+
:param pulumi.Input[str] updated_at: The date and time at which the DNS zone was last updated.
|
|
343
|
+
"""
|
|
344
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
345
|
+
|
|
346
|
+
__props__ = _DomainZoneState.__new__(_DomainZoneState)
|
|
347
|
+
|
|
348
|
+
__props__.__dict__["domain"] = domain
|
|
349
|
+
__props__.__dict__["message"] = message
|
|
350
|
+
__props__.__dict__["ns"] = ns
|
|
351
|
+
__props__.__dict__["ns_defaults"] = ns_defaults
|
|
352
|
+
__props__.__dict__["ns_masters"] = ns_masters
|
|
353
|
+
__props__.__dict__["project_id"] = project_id
|
|
354
|
+
__props__.__dict__["status"] = status
|
|
355
|
+
__props__.__dict__["subdomain"] = subdomain
|
|
356
|
+
__props__.__dict__["updated_at"] = updated_at
|
|
357
|
+
return DomainZone(resource_name, opts=opts, __props__=__props__)
|
|
358
|
+
|
|
359
|
+
@property
|
|
360
|
+
@pulumi.getter
|
|
361
|
+
def domain(self) -> pulumi.Output[str]:
|
|
362
|
+
"""
|
|
363
|
+
The main domain where the DNS zone will be created.
|
|
364
|
+
"""
|
|
365
|
+
return pulumi.get(self, "domain")
|
|
366
|
+
|
|
367
|
+
@property
|
|
368
|
+
@pulumi.getter
|
|
369
|
+
def message(self) -> pulumi.Output[str]:
|
|
370
|
+
"""
|
|
371
|
+
Message.
|
|
372
|
+
"""
|
|
373
|
+
return pulumi.get(self, "message")
|
|
374
|
+
|
|
375
|
+
@property
|
|
376
|
+
@pulumi.getter
|
|
377
|
+
def ns(self) -> pulumi.Output[Sequence[str]]:
|
|
378
|
+
"""
|
|
379
|
+
The list of same servers for the zone.
|
|
380
|
+
"""
|
|
381
|
+
return pulumi.get(self, "ns")
|
|
382
|
+
|
|
383
|
+
@property
|
|
384
|
+
@pulumi.getter(name="nsDefaults")
|
|
385
|
+
def ns_defaults(self) -> pulumi.Output[Sequence[str]]:
|
|
386
|
+
"""
|
|
387
|
+
The default list of same servers for the zone.
|
|
388
|
+
"""
|
|
389
|
+
return pulumi.get(self, "ns_defaults")
|
|
390
|
+
|
|
391
|
+
@property
|
|
392
|
+
@pulumi.getter(name="nsMasters")
|
|
393
|
+
def ns_masters(self) -> pulumi.Output[Sequence[str]]:
|
|
394
|
+
"""
|
|
395
|
+
The master list of same servers for the zone.
|
|
396
|
+
"""
|
|
397
|
+
return pulumi.get(self, "ns_masters")
|
|
398
|
+
|
|
399
|
+
@property
|
|
400
|
+
@pulumi.getter(name="projectId")
|
|
401
|
+
def project_id(self) -> pulumi.Output[str]:
|
|
402
|
+
"""
|
|
403
|
+
`project_id`) The ID of the Project associated with the domain.
|
|
404
|
+
"""
|
|
405
|
+
return pulumi.get(self, "project_id")
|
|
406
|
+
|
|
407
|
+
@property
|
|
408
|
+
@pulumi.getter
|
|
409
|
+
def status(self) -> pulumi.Output[str]:
|
|
410
|
+
"""
|
|
411
|
+
The status of the domain zone.
|
|
412
|
+
"""
|
|
413
|
+
return pulumi.get(self, "status")
|
|
414
|
+
|
|
415
|
+
@property
|
|
416
|
+
@pulumi.getter
|
|
417
|
+
def subdomain(self) -> pulumi.Output[str]:
|
|
418
|
+
"""
|
|
419
|
+
The name of the subdomain (zone name) to create within the domain.
|
|
420
|
+
"""
|
|
421
|
+
return pulumi.get(self, "subdomain")
|
|
422
|
+
|
|
423
|
+
@property
|
|
424
|
+
@pulumi.getter(name="updatedAt")
|
|
425
|
+
def updated_at(self) -> pulumi.Output[str]:
|
|
426
|
+
"""
|
|
427
|
+
The date and time at which the DNS zone was last updated.
|
|
428
|
+
"""
|
|
429
|
+
return pulumi.get(self, "updated_at")
|
|
430
|
+
|