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,225 @@
|
|
|
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
|
+
'GetDomainZoneResult',
|
|
19
|
+
'AwaitableGetDomainZoneResult',
|
|
20
|
+
'get_domain_zone',
|
|
21
|
+
'get_domain_zone_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetDomainZoneResult:
|
|
26
|
+
"""
|
|
27
|
+
A collection of values returned by getDomainZone.
|
|
28
|
+
"""
|
|
29
|
+
def __init__(__self__, domain=None, id=None, message=None, ns=None, ns_defaults=None, ns_masters=None, project_id=None, status=None, subdomain=None, updated_at=None):
|
|
30
|
+
if domain and not isinstance(domain, str):
|
|
31
|
+
raise TypeError("Expected argument 'domain' to be a str")
|
|
32
|
+
pulumi.set(__self__, "domain", domain)
|
|
33
|
+
if id and not isinstance(id, str):
|
|
34
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
35
|
+
pulumi.set(__self__, "id", id)
|
|
36
|
+
if message and not isinstance(message, str):
|
|
37
|
+
raise TypeError("Expected argument 'message' to be a str")
|
|
38
|
+
pulumi.set(__self__, "message", message)
|
|
39
|
+
if ns and not isinstance(ns, list):
|
|
40
|
+
raise TypeError("Expected argument 'ns' to be a list")
|
|
41
|
+
pulumi.set(__self__, "ns", ns)
|
|
42
|
+
if ns_defaults and not isinstance(ns_defaults, list):
|
|
43
|
+
raise TypeError("Expected argument 'ns_defaults' to be a list")
|
|
44
|
+
pulumi.set(__self__, "ns_defaults", ns_defaults)
|
|
45
|
+
if ns_masters and not isinstance(ns_masters, list):
|
|
46
|
+
raise TypeError("Expected argument 'ns_masters' to be a list")
|
|
47
|
+
pulumi.set(__self__, "ns_masters", ns_masters)
|
|
48
|
+
if project_id and not isinstance(project_id, str):
|
|
49
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
|
50
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
51
|
+
if status and not isinstance(status, str):
|
|
52
|
+
raise TypeError("Expected argument 'status' to be a str")
|
|
53
|
+
pulumi.set(__self__, "status", status)
|
|
54
|
+
if subdomain and not isinstance(subdomain, str):
|
|
55
|
+
raise TypeError("Expected argument 'subdomain' to be a str")
|
|
56
|
+
pulumi.set(__self__, "subdomain", subdomain)
|
|
57
|
+
if updated_at and not isinstance(updated_at, str):
|
|
58
|
+
raise TypeError("Expected argument 'updated_at' to be a str")
|
|
59
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
@pulumi.getter
|
|
63
|
+
def domain(self) -> Optional[str]:
|
|
64
|
+
return pulumi.get(self, "domain")
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
@pulumi.getter
|
|
68
|
+
def id(self) -> str:
|
|
69
|
+
"""
|
|
70
|
+
The provider-assigned unique ID for this managed resource.
|
|
71
|
+
"""
|
|
72
|
+
return pulumi.get(self, "id")
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
@pulumi.getter
|
|
76
|
+
def message(self) -> str:
|
|
77
|
+
"""
|
|
78
|
+
Message
|
|
79
|
+
"""
|
|
80
|
+
return pulumi.get(self, "message")
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
@pulumi.getter
|
|
84
|
+
def ns(self) -> Sequence[str]:
|
|
85
|
+
"""
|
|
86
|
+
NameServer list for zone.
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "ns")
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
@pulumi.getter(name="nsDefaults")
|
|
92
|
+
def ns_defaults(self) -> Sequence[str]:
|
|
93
|
+
"""
|
|
94
|
+
NameServer default list for zone.
|
|
95
|
+
"""
|
|
96
|
+
return pulumi.get(self, "ns_defaults")
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
@pulumi.getter(name="nsMasters")
|
|
100
|
+
def ns_masters(self) -> Sequence[str]:
|
|
101
|
+
"""
|
|
102
|
+
NameServer master list for zone.
|
|
103
|
+
"""
|
|
104
|
+
return pulumi.get(self, "ns_masters")
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
@pulumi.getter(name="projectId")
|
|
108
|
+
def project_id(self) -> str:
|
|
109
|
+
return pulumi.get(self, "project_id")
|
|
110
|
+
|
|
111
|
+
@property
|
|
112
|
+
@pulumi.getter
|
|
113
|
+
def status(self) -> str:
|
|
114
|
+
"""
|
|
115
|
+
The domain zone status.
|
|
116
|
+
"""
|
|
117
|
+
return pulumi.get(self, "status")
|
|
118
|
+
|
|
119
|
+
@property
|
|
120
|
+
@pulumi.getter
|
|
121
|
+
def subdomain(self) -> Optional[str]:
|
|
122
|
+
return pulumi.get(self, "subdomain")
|
|
123
|
+
|
|
124
|
+
@property
|
|
125
|
+
@pulumi.getter(name="updatedAt")
|
|
126
|
+
def updated_at(self) -> str:
|
|
127
|
+
"""
|
|
128
|
+
The date and time of the last update of the DNS zone.
|
|
129
|
+
"""
|
|
130
|
+
return pulumi.get(self, "updated_at")
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
class AwaitableGetDomainZoneResult(GetDomainZoneResult):
|
|
134
|
+
# pylint: disable=using-constant-test
|
|
135
|
+
def __await__(self):
|
|
136
|
+
if False:
|
|
137
|
+
yield self
|
|
138
|
+
return GetDomainZoneResult(
|
|
139
|
+
domain=self.domain,
|
|
140
|
+
id=self.id,
|
|
141
|
+
message=self.message,
|
|
142
|
+
ns=self.ns,
|
|
143
|
+
ns_defaults=self.ns_defaults,
|
|
144
|
+
ns_masters=self.ns_masters,
|
|
145
|
+
project_id=self.project_id,
|
|
146
|
+
status=self.status,
|
|
147
|
+
subdomain=self.subdomain,
|
|
148
|
+
updated_at=self.updated_at)
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
def get_domain_zone(domain: Optional[str] = None,
|
|
152
|
+
subdomain: Optional[str] = None,
|
|
153
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDomainZoneResult:
|
|
154
|
+
"""
|
|
155
|
+
Gets information about a domain zone.
|
|
156
|
+
|
|
157
|
+
## Example Usage
|
|
158
|
+
|
|
159
|
+
```python
|
|
160
|
+
import pulumi
|
|
161
|
+
import pulumi_scaleway as scaleway
|
|
162
|
+
|
|
163
|
+
# Get zone
|
|
164
|
+
main = scaleway.get_domain_zone(domain="scaleway-terraform.com",
|
|
165
|
+
subdomain="test")
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
:param str domain: The domain where the DNS zone will be created.
|
|
170
|
+
:param str subdomain: The subdomain(zone name) to create in the domain.
|
|
171
|
+
"""
|
|
172
|
+
__args__ = dict()
|
|
173
|
+
__args__['domain'] = domain
|
|
174
|
+
__args__['subdomain'] = subdomain
|
|
175
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
176
|
+
__ret__ = pulumi.runtime.invoke('scaleway:index/getDomainZone:getDomainZone', __args__, opts=opts, typ=GetDomainZoneResult).value
|
|
177
|
+
|
|
178
|
+
return AwaitableGetDomainZoneResult(
|
|
179
|
+
domain=pulumi.get(__ret__, 'domain'),
|
|
180
|
+
id=pulumi.get(__ret__, 'id'),
|
|
181
|
+
message=pulumi.get(__ret__, 'message'),
|
|
182
|
+
ns=pulumi.get(__ret__, 'ns'),
|
|
183
|
+
ns_defaults=pulumi.get(__ret__, 'ns_defaults'),
|
|
184
|
+
ns_masters=pulumi.get(__ret__, 'ns_masters'),
|
|
185
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
|
186
|
+
status=pulumi.get(__ret__, 'status'),
|
|
187
|
+
subdomain=pulumi.get(__ret__, 'subdomain'),
|
|
188
|
+
updated_at=pulumi.get(__ret__, 'updated_at'))
|
|
189
|
+
def get_domain_zone_output(domain: Optional[pulumi.Input[Optional[str]]] = None,
|
|
190
|
+
subdomain: Optional[pulumi.Input[Optional[str]]] = None,
|
|
191
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainZoneResult]:
|
|
192
|
+
"""
|
|
193
|
+
Gets information about a domain zone.
|
|
194
|
+
|
|
195
|
+
## Example Usage
|
|
196
|
+
|
|
197
|
+
```python
|
|
198
|
+
import pulumi
|
|
199
|
+
import pulumi_scaleway as scaleway
|
|
200
|
+
|
|
201
|
+
# Get zone
|
|
202
|
+
main = scaleway.get_domain_zone(domain="scaleway-terraform.com",
|
|
203
|
+
subdomain="test")
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
:param str domain: The domain where the DNS zone will be created.
|
|
208
|
+
:param str subdomain: The subdomain(zone name) to create in the domain.
|
|
209
|
+
"""
|
|
210
|
+
__args__ = dict()
|
|
211
|
+
__args__['domain'] = domain
|
|
212
|
+
__args__['subdomain'] = subdomain
|
|
213
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
214
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getDomainZone:getDomainZone', __args__, opts=opts, typ=GetDomainZoneResult)
|
|
215
|
+
return __ret__.apply(lambda __response__: GetDomainZoneResult(
|
|
216
|
+
domain=pulumi.get(__response__, 'domain'),
|
|
217
|
+
id=pulumi.get(__response__, 'id'),
|
|
218
|
+
message=pulumi.get(__response__, 'message'),
|
|
219
|
+
ns=pulumi.get(__response__, 'ns'),
|
|
220
|
+
ns_defaults=pulumi.get(__response__, 'ns_defaults'),
|
|
221
|
+
ns_masters=pulumi.get(__response__, 'ns_masters'),
|
|
222
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
223
|
+
status=pulumi.get(__response__, 'status'),
|
|
224
|
+
subdomain=pulumi.get(__response__, 'subdomain'),
|
|
225
|
+
updated_at=pulumi.get(__response__, 'updated_at')))
|
|
@@ -0,0 +1,247 @@
|
|
|
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
|
+
'GetFlexibleIpResult',
|
|
19
|
+
'AwaitableGetFlexibleIpResult',
|
|
20
|
+
'get_flexible_ip',
|
|
21
|
+
'get_flexible_ip_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetFlexibleIpResult:
|
|
26
|
+
"""
|
|
27
|
+
A collection of values returned by getFlexibleIp.
|
|
28
|
+
"""
|
|
29
|
+
def __init__(__self__, created_at=None, description=None, flexible_ip_id=None, id=None, ip_address=None, is_ipv6=None, organization_id=None, project_id=None, reverse=None, server_id=None, status=None, tags=None, updated_at=None, zone=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 description and not isinstance(description, str):
|
|
34
|
+
raise TypeError("Expected argument 'description' to be a str")
|
|
35
|
+
pulumi.set(__self__, "description", description)
|
|
36
|
+
if flexible_ip_id and not isinstance(flexible_ip_id, str):
|
|
37
|
+
raise TypeError("Expected argument 'flexible_ip_id' to be a str")
|
|
38
|
+
pulumi.set(__self__, "flexible_ip_id", flexible_ip_id)
|
|
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 ip_address and not isinstance(ip_address, str):
|
|
43
|
+
raise TypeError("Expected argument 'ip_address' to be a str")
|
|
44
|
+
pulumi.set(__self__, "ip_address", ip_address)
|
|
45
|
+
if is_ipv6 and not isinstance(is_ipv6, bool):
|
|
46
|
+
raise TypeError("Expected argument 'is_ipv6' to be a bool")
|
|
47
|
+
pulumi.set(__self__, "is_ipv6", is_ipv6)
|
|
48
|
+
if organization_id and not isinstance(organization_id, str):
|
|
49
|
+
raise TypeError("Expected argument 'organization_id' to be a str")
|
|
50
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
51
|
+
if project_id and not isinstance(project_id, str):
|
|
52
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
|
53
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
54
|
+
if reverse and not isinstance(reverse, str):
|
|
55
|
+
raise TypeError("Expected argument 'reverse' to be a str")
|
|
56
|
+
pulumi.set(__self__, "reverse", reverse)
|
|
57
|
+
if server_id and not isinstance(server_id, str):
|
|
58
|
+
raise TypeError("Expected argument 'server_id' to be a str")
|
|
59
|
+
pulumi.set(__self__, "server_id", server_id)
|
|
60
|
+
if status and not isinstance(status, str):
|
|
61
|
+
raise TypeError("Expected argument 'status' to be a str")
|
|
62
|
+
pulumi.set(__self__, "status", status)
|
|
63
|
+
if tags and not isinstance(tags, list):
|
|
64
|
+
raise TypeError("Expected argument 'tags' to be a list")
|
|
65
|
+
pulumi.set(__self__, "tags", tags)
|
|
66
|
+
if updated_at and not isinstance(updated_at, str):
|
|
67
|
+
raise TypeError("Expected argument 'updated_at' to be a str")
|
|
68
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
|
69
|
+
if zone and not isinstance(zone, str):
|
|
70
|
+
raise TypeError("Expected argument 'zone' to be a str")
|
|
71
|
+
pulumi.set(__self__, "zone", zone)
|
|
72
|
+
|
|
73
|
+
@property
|
|
74
|
+
@pulumi.getter(name="createdAt")
|
|
75
|
+
def created_at(self) -> str:
|
|
76
|
+
return pulumi.get(self, "created_at")
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
@pulumi.getter
|
|
80
|
+
def description(self) -> str:
|
|
81
|
+
return pulumi.get(self, "description")
|
|
82
|
+
|
|
83
|
+
@property
|
|
84
|
+
@pulumi.getter(name="flexibleIpId")
|
|
85
|
+
def flexible_ip_id(self) -> Optional[str]:
|
|
86
|
+
return pulumi.get(self, "flexible_ip_id")
|
|
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="ipAddress")
|
|
98
|
+
def ip_address(self) -> Optional[str]:
|
|
99
|
+
return pulumi.get(self, "ip_address")
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
@pulumi.getter(name="isIpv6")
|
|
103
|
+
def is_ipv6(self) -> bool:
|
|
104
|
+
return pulumi.get(self, "is_ipv6")
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
@pulumi.getter(name="organizationId")
|
|
108
|
+
def organization_id(self) -> str:
|
|
109
|
+
"""
|
|
110
|
+
(Defaults to provider `organization_id`) The ID of the organization the IP is in.
|
|
111
|
+
"""
|
|
112
|
+
return pulumi.get(self, "organization_id")
|
|
113
|
+
|
|
114
|
+
@property
|
|
115
|
+
@pulumi.getter(name="projectId")
|
|
116
|
+
def project_id(self) -> str:
|
|
117
|
+
"""
|
|
118
|
+
(Defaults to provider `project_id`) The ID of the project the IP is in.
|
|
119
|
+
"""
|
|
120
|
+
return pulumi.get(self, "project_id")
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
@pulumi.getter
|
|
124
|
+
def reverse(self) -> str:
|
|
125
|
+
"""
|
|
126
|
+
The reverse domain associated with this IP.
|
|
127
|
+
"""
|
|
128
|
+
return pulumi.get(self, "reverse")
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
@pulumi.getter(name="serverId")
|
|
132
|
+
def server_id(self) -> str:
|
|
133
|
+
"""
|
|
134
|
+
The associated server ID if any
|
|
135
|
+
"""
|
|
136
|
+
return pulumi.get(self, "server_id")
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
@pulumi.getter
|
|
140
|
+
def status(self) -> str:
|
|
141
|
+
return pulumi.get(self, "status")
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
@pulumi.getter
|
|
145
|
+
def tags(self) -> Sequence[str]:
|
|
146
|
+
return pulumi.get(self, "tags")
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
@pulumi.getter(name="updatedAt")
|
|
150
|
+
def updated_at(self) -> str:
|
|
151
|
+
return pulumi.get(self, "updated_at")
|
|
152
|
+
|
|
153
|
+
@property
|
|
154
|
+
@pulumi.getter
|
|
155
|
+
def zone(self) -> str:
|
|
156
|
+
return pulumi.get(self, "zone")
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
class AwaitableGetFlexibleIpResult(GetFlexibleIpResult):
|
|
160
|
+
# pylint: disable=using-constant-test
|
|
161
|
+
def __await__(self):
|
|
162
|
+
if False:
|
|
163
|
+
yield self
|
|
164
|
+
return GetFlexibleIpResult(
|
|
165
|
+
created_at=self.created_at,
|
|
166
|
+
description=self.description,
|
|
167
|
+
flexible_ip_id=self.flexible_ip_id,
|
|
168
|
+
id=self.id,
|
|
169
|
+
ip_address=self.ip_address,
|
|
170
|
+
is_ipv6=self.is_ipv6,
|
|
171
|
+
organization_id=self.organization_id,
|
|
172
|
+
project_id=self.project_id,
|
|
173
|
+
reverse=self.reverse,
|
|
174
|
+
server_id=self.server_id,
|
|
175
|
+
status=self.status,
|
|
176
|
+
tags=self.tags,
|
|
177
|
+
updated_at=self.updated_at,
|
|
178
|
+
zone=self.zone)
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
def get_flexible_ip(flexible_ip_id: Optional[str] = None,
|
|
182
|
+
ip_address: Optional[str] = None,
|
|
183
|
+
project_id: Optional[str] = None,
|
|
184
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFlexibleIpResult:
|
|
185
|
+
"""
|
|
186
|
+
Gets information about a Flexible IP.
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
:param str ip_address: The IP address.
|
|
190
|
+
Only one of `ip_address` and `ip_id` should be specified.
|
|
191
|
+
:param str project_id: (Defaults to provider `project_id`) The ID of the project the IP is in.
|
|
192
|
+
"""
|
|
193
|
+
__args__ = dict()
|
|
194
|
+
__args__['flexibleIpId'] = flexible_ip_id
|
|
195
|
+
__args__['ipAddress'] = ip_address
|
|
196
|
+
__args__['projectId'] = project_id
|
|
197
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
198
|
+
__ret__ = pulumi.runtime.invoke('scaleway:index/getFlexibleIp:getFlexibleIp', __args__, opts=opts, typ=GetFlexibleIpResult).value
|
|
199
|
+
|
|
200
|
+
return AwaitableGetFlexibleIpResult(
|
|
201
|
+
created_at=pulumi.get(__ret__, 'created_at'),
|
|
202
|
+
description=pulumi.get(__ret__, 'description'),
|
|
203
|
+
flexible_ip_id=pulumi.get(__ret__, 'flexible_ip_id'),
|
|
204
|
+
id=pulumi.get(__ret__, 'id'),
|
|
205
|
+
ip_address=pulumi.get(__ret__, 'ip_address'),
|
|
206
|
+
is_ipv6=pulumi.get(__ret__, 'is_ipv6'),
|
|
207
|
+
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
208
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
|
209
|
+
reverse=pulumi.get(__ret__, 'reverse'),
|
|
210
|
+
server_id=pulumi.get(__ret__, 'server_id'),
|
|
211
|
+
status=pulumi.get(__ret__, 'status'),
|
|
212
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
213
|
+
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
214
|
+
zone=pulumi.get(__ret__, 'zone'))
|
|
215
|
+
def get_flexible_ip_output(flexible_ip_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
216
|
+
ip_address: Optional[pulumi.Input[Optional[str]]] = None,
|
|
217
|
+
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
218
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlexibleIpResult]:
|
|
219
|
+
"""
|
|
220
|
+
Gets information about a Flexible IP.
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
:param str ip_address: The IP address.
|
|
224
|
+
Only one of `ip_address` and `ip_id` should be specified.
|
|
225
|
+
:param str project_id: (Defaults to provider `project_id`) The ID of the project the IP is in.
|
|
226
|
+
"""
|
|
227
|
+
__args__ = dict()
|
|
228
|
+
__args__['flexibleIpId'] = flexible_ip_id
|
|
229
|
+
__args__['ipAddress'] = ip_address
|
|
230
|
+
__args__['projectId'] = project_id
|
|
231
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
232
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getFlexibleIp:getFlexibleIp', __args__, opts=opts, typ=GetFlexibleIpResult)
|
|
233
|
+
return __ret__.apply(lambda __response__: GetFlexibleIpResult(
|
|
234
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
235
|
+
description=pulumi.get(__response__, 'description'),
|
|
236
|
+
flexible_ip_id=pulumi.get(__response__, 'flexible_ip_id'),
|
|
237
|
+
id=pulumi.get(__response__, 'id'),
|
|
238
|
+
ip_address=pulumi.get(__response__, 'ip_address'),
|
|
239
|
+
is_ipv6=pulumi.get(__response__, 'is_ipv6'),
|
|
240
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
241
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
242
|
+
reverse=pulumi.get(__response__, 'reverse'),
|
|
243
|
+
server_id=pulumi.get(__response__, 'server_id'),
|
|
244
|
+
status=pulumi.get(__response__, 'status'),
|
|
245
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
246
|
+
updated_at=pulumi.get(__response__, 'updated_at'),
|
|
247
|
+
zone=pulumi.get(__response__, 'zone')))
|