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,422 @@
|
|
|
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
|
+
'GetBaremetalServerResult',
|
|
20
|
+
'AwaitableGetBaremetalServerResult',
|
|
21
|
+
'get_baremetal_server',
|
|
22
|
+
'get_baremetal_server_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetBaremetalServerResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getBaremetalServer.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, description=None, domain=None, hostname=None, id=None, install_config_afterward=None, ips=None, ipv4s=None, ipv6s=None, name=None, offer=None, offer_id=None, offer_name=None, options=None, organization_id=None, os=None, os_name=None, partitioning=None, password=None, private_networks=None, project_id=None, reinstall_on_config_changes=None, server_id=None, service_password=None, service_user=None, ssh_key_ids=None, tags=None, user=None, zone=None):
|
|
31
|
+
if description and not isinstance(description, str):
|
|
32
|
+
raise TypeError("Expected argument 'description' to be a str")
|
|
33
|
+
pulumi.set(__self__, "description", description)
|
|
34
|
+
if domain and not isinstance(domain, str):
|
|
35
|
+
raise TypeError("Expected argument 'domain' to be a str")
|
|
36
|
+
pulumi.set(__self__, "domain", domain)
|
|
37
|
+
if hostname and not isinstance(hostname, str):
|
|
38
|
+
raise TypeError("Expected argument 'hostname' to be a str")
|
|
39
|
+
pulumi.set(__self__, "hostname", hostname)
|
|
40
|
+
if id and not isinstance(id, str):
|
|
41
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
42
|
+
pulumi.set(__self__, "id", id)
|
|
43
|
+
if install_config_afterward and not isinstance(install_config_afterward, bool):
|
|
44
|
+
raise TypeError("Expected argument 'install_config_afterward' to be a bool")
|
|
45
|
+
pulumi.set(__self__, "install_config_afterward", install_config_afterward)
|
|
46
|
+
if ips and not isinstance(ips, list):
|
|
47
|
+
raise TypeError("Expected argument 'ips' to be a list")
|
|
48
|
+
pulumi.set(__self__, "ips", ips)
|
|
49
|
+
if ipv4s and not isinstance(ipv4s, list):
|
|
50
|
+
raise TypeError("Expected argument 'ipv4s' to be a list")
|
|
51
|
+
pulumi.set(__self__, "ipv4s", ipv4s)
|
|
52
|
+
if ipv6s and not isinstance(ipv6s, list):
|
|
53
|
+
raise TypeError("Expected argument 'ipv6s' to be a list")
|
|
54
|
+
pulumi.set(__self__, "ipv6s", ipv6s)
|
|
55
|
+
if name and not isinstance(name, str):
|
|
56
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
57
|
+
pulumi.set(__self__, "name", name)
|
|
58
|
+
if offer and not isinstance(offer, str):
|
|
59
|
+
raise TypeError("Expected argument 'offer' to be a str")
|
|
60
|
+
pulumi.set(__self__, "offer", offer)
|
|
61
|
+
if offer_id and not isinstance(offer_id, str):
|
|
62
|
+
raise TypeError("Expected argument 'offer_id' to be a str")
|
|
63
|
+
pulumi.set(__self__, "offer_id", offer_id)
|
|
64
|
+
if offer_name and not isinstance(offer_name, str):
|
|
65
|
+
raise TypeError("Expected argument 'offer_name' to be a str")
|
|
66
|
+
pulumi.set(__self__, "offer_name", offer_name)
|
|
67
|
+
if options and not isinstance(options, list):
|
|
68
|
+
raise TypeError("Expected argument 'options' to be a list")
|
|
69
|
+
pulumi.set(__self__, "options", options)
|
|
70
|
+
if organization_id and not isinstance(organization_id, str):
|
|
71
|
+
raise TypeError("Expected argument 'organization_id' to be a str")
|
|
72
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
73
|
+
if os and not isinstance(os, str):
|
|
74
|
+
raise TypeError("Expected argument 'os' to be a str")
|
|
75
|
+
pulumi.set(__self__, "os", os)
|
|
76
|
+
if os_name and not isinstance(os_name, str):
|
|
77
|
+
raise TypeError("Expected argument 'os_name' to be a str")
|
|
78
|
+
pulumi.set(__self__, "os_name", os_name)
|
|
79
|
+
if partitioning and not isinstance(partitioning, str):
|
|
80
|
+
raise TypeError("Expected argument 'partitioning' to be a str")
|
|
81
|
+
pulumi.set(__self__, "partitioning", partitioning)
|
|
82
|
+
if password and not isinstance(password, str):
|
|
83
|
+
raise TypeError("Expected argument 'password' to be a str")
|
|
84
|
+
pulumi.set(__self__, "password", password)
|
|
85
|
+
if private_networks and not isinstance(private_networks, list):
|
|
86
|
+
raise TypeError("Expected argument 'private_networks' to be a list")
|
|
87
|
+
pulumi.set(__self__, "private_networks", private_networks)
|
|
88
|
+
if project_id and not isinstance(project_id, str):
|
|
89
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
|
90
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
91
|
+
if reinstall_on_config_changes and not isinstance(reinstall_on_config_changes, bool):
|
|
92
|
+
raise TypeError("Expected argument 'reinstall_on_config_changes' to be a bool")
|
|
93
|
+
pulumi.set(__self__, "reinstall_on_config_changes", reinstall_on_config_changes)
|
|
94
|
+
if server_id and not isinstance(server_id, str):
|
|
95
|
+
raise TypeError("Expected argument 'server_id' to be a str")
|
|
96
|
+
pulumi.set(__self__, "server_id", server_id)
|
|
97
|
+
if service_password and not isinstance(service_password, str):
|
|
98
|
+
raise TypeError("Expected argument 'service_password' to be a str")
|
|
99
|
+
pulumi.set(__self__, "service_password", service_password)
|
|
100
|
+
if service_user and not isinstance(service_user, str):
|
|
101
|
+
raise TypeError("Expected argument 'service_user' to be a str")
|
|
102
|
+
pulumi.set(__self__, "service_user", service_user)
|
|
103
|
+
if ssh_key_ids and not isinstance(ssh_key_ids, list):
|
|
104
|
+
raise TypeError("Expected argument 'ssh_key_ids' to be a list")
|
|
105
|
+
pulumi.set(__self__, "ssh_key_ids", ssh_key_ids)
|
|
106
|
+
if tags and not isinstance(tags, list):
|
|
107
|
+
raise TypeError("Expected argument 'tags' to be a list")
|
|
108
|
+
pulumi.set(__self__, "tags", tags)
|
|
109
|
+
if user and not isinstance(user, str):
|
|
110
|
+
raise TypeError("Expected argument 'user' to be a str")
|
|
111
|
+
pulumi.set(__self__, "user", user)
|
|
112
|
+
if zone and not isinstance(zone, str):
|
|
113
|
+
raise TypeError("Expected argument 'zone' to be a str")
|
|
114
|
+
pulumi.set(__self__, "zone", zone)
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
@pulumi.getter
|
|
118
|
+
def description(self) -> str:
|
|
119
|
+
return pulumi.get(self, "description")
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
@pulumi.getter
|
|
123
|
+
def domain(self) -> str:
|
|
124
|
+
return pulumi.get(self, "domain")
|
|
125
|
+
|
|
126
|
+
@property
|
|
127
|
+
@pulumi.getter
|
|
128
|
+
def hostname(self) -> str:
|
|
129
|
+
return pulumi.get(self, "hostname")
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
@pulumi.getter
|
|
133
|
+
def id(self) -> str:
|
|
134
|
+
"""
|
|
135
|
+
The provider-assigned unique ID for this managed resource.
|
|
136
|
+
"""
|
|
137
|
+
return pulumi.get(self, "id")
|
|
138
|
+
|
|
139
|
+
@property
|
|
140
|
+
@pulumi.getter(name="installConfigAfterward")
|
|
141
|
+
def install_config_afterward(self) -> bool:
|
|
142
|
+
return pulumi.get(self, "install_config_afterward")
|
|
143
|
+
|
|
144
|
+
@property
|
|
145
|
+
@pulumi.getter
|
|
146
|
+
def ips(self) -> Sequence['outputs.GetBaremetalServerIpResult']:
|
|
147
|
+
return pulumi.get(self, "ips")
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
@pulumi.getter
|
|
151
|
+
def ipv4s(self) -> Sequence['outputs.GetBaremetalServerIpv4Result']:
|
|
152
|
+
return pulumi.get(self, "ipv4s")
|
|
153
|
+
|
|
154
|
+
@property
|
|
155
|
+
@pulumi.getter
|
|
156
|
+
def ipv6s(self) -> Sequence['outputs.GetBaremetalServerIpv6Result']:
|
|
157
|
+
return pulumi.get(self, "ipv6s")
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
@pulumi.getter
|
|
161
|
+
def name(self) -> Optional[str]:
|
|
162
|
+
return pulumi.get(self, "name")
|
|
163
|
+
|
|
164
|
+
@property
|
|
165
|
+
@pulumi.getter
|
|
166
|
+
def offer(self) -> str:
|
|
167
|
+
return pulumi.get(self, "offer")
|
|
168
|
+
|
|
169
|
+
@property
|
|
170
|
+
@pulumi.getter(name="offerId")
|
|
171
|
+
def offer_id(self) -> str:
|
|
172
|
+
return pulumi.get(self, "offer_id")
|
|
173
|
+
|
|
174
|
+
@property
|
|
175
|
+
@pulumi.getter(name="offerName")
|
|
176
|
+
def offer_name(self) -> str:
|
|
177
|
+
return pulumi.get(self, "offer_name")
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
@pulumi.getter
|
|
181
|
+
def options(self) -> Sequence['outputs.GetBaremetalServerOptionResult']:
|
|
182
|
+
return pulumi.get(self, "options")
|
|
183
|
+
|
|
184
|
+
@property
|
|
185
|
+
@pulumi.getter(name="organizationId")
|
|
186
|
+
def organization_id(self) -> str:
|
|
187
|
+
return pulumi.get(self, "organization_id")
|
|
188
|
+
|
|
189
|
+
@property
|
|
190
|
+
@pulumi.getter
|
|
191
|
+
def os(self) -> str:
|
|
192
|
+
return pulumi.get(self, "os")
|
|
193
|
+
|
|
194
|
+
@property
|
|
195
|
+
@pulumi.getter(name="osName")
|
|
196
|
+
def os_name(self) -> str:
|
|
197
|
+
return pulumi.get(self, "os_name")
|
|
198
|
+
|
|
199
|
+
@property
|
|
200
|
+
@pulumi.getter
|
|
201
|
+
def partitioning(self) -> str:
|
|
202
|
+
return pulumi.get(self, "partitioning")
|
|
203
|
+
|
|
204
|
+
@property
|
|
205
|
+
@pulumi.getter
|
|
206
|
+
def password(self) -> str:
|
|
207
|
+
return pulumi.get(self, "password")
|
|
208
|
+
|
|
209
|
+
@property
|
|
210
|
+
@pulumi.getter(name="privateNetworks")
|
|
211
|
+
def private_networks(self) -> Sequence['outputs.GetBaremetalServerPrivateNetworkResult']:
|
|
212
|
+
return pulumi.get(self, "private_networks")
|
|
213
|
+
|
|
214
|
+
@property
|
|
215
|
+
@pulumi.getter(name="projectId")
|
|
216
|
+
def project_id(self) -> Optional[str]:
|
|
217
|
+
return pulumi.get(self, "project_id")
|
|
218
|
+
|
|
219
|
+
@property
|
|
220
|
+
@pulumi.getter(name="reinstallOnConfigChanges")
|
|
221
|
+
def reinstall_on_config_changes(self) -> bool:
|
|
222
|
+
return pulumi.get(self, "reinstall_on_config_changes")
|
|
223
|
+
|
|
224
|
+
@property
|
|
225
|
+
@pulumi.getter(name="serverId")
|
|
226
|
+
def server_id(self) -> Optional[str]:
|
|
227
|
+
return pulumi.get(self, "server_id")
|
|
228
|
+
|
|
229
|
+
@property
|
|
230
|
+
@pulumi.getter(name="servicePassword")
|
|
231
|
+
def service_password(self) -> str:
|
|
232
|
+
return pulumi.get(self, "service_password")
|
|
233
|
+
|
|
234
|
+
@property
|
|
235
|
+
@pulumi.getter(name="serviceUser")
|
|
236
|
+
def service_user(self) -> str:
|
|
237
|
+
return pulumi.get(self, "service_user")
|
|
238
|
+
|
|
239
|
+
@property
|
|
240
|
+
@pulumi.getter(name="sshKeyIds")
|
|
241
|
+
def ssh_key_ids(self) -> Sequence[str]:
|
|
242
|
+
return pulumi.get(self, "ssh_key_ids")
|
|
243
|
+
|
|
244
|
+
@property
|
|
245
|
+
@pulumi.getter
|
|
246
|
+
def tags(self) -> Sequence[str]:
|
|
247
|
+
return pulumi.get(self, "tags")
|
|
248
|
+
|
|
249
|
+
@property
|
|
250
|
+
@pulumi.getter
|
|
251
|
+
def user(self) -> str:
|
|
252
|
+
return pulumi.get(self, "user")
|
|
253
|
+
|
|
254
|
+
@property
|
|
255
|
+
@pulumi.getter
|
|
256
|
+
def zone(self) -> Optional[str]:
|
|
257
|
+
return pulumi.get(self, "zone")
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
class AwaitableGetBaremetalServerResult(GetBaremetalServerResult):
|
|
261
|
+
# pylint: disable=using-constant-test
|
|
262
|
+
def __await__(self):
|
|
263
|
+
if False:
|
|
264
|
+
yield self
|
|
265
|
+
return GetBaremetalServerResult(
|
|
266
|
+
description=self.description,
|
|
267
|
+
domain=self.domain,
|
|
268
|
+
hostname=self.hostname,
|
|
269
|
+
id=self.id,
|
|
270
|
+
install_config_afterward=self.install_config_afterward,
|
|
271
|
+
ips=self.ips,
|
|
272
|
+
ipv4s=self.ipv4s,
|
|
273
|
+
ipv6s=self.ipv6s,
|
|
274
|
+
name=self.name,
|
|
275
|
+
offer=self.offer,
|
|
276
|
+
offer_id=self.offer_id,
|
|
277
|
+
offer_name=self.offer_name,
|
|
278
|
+
options=self.options,
|
|
279
|
+
organization_id=self.organization_id,
|
|
280
|
+
os=self.os,
|
|
281
|
+
os_name=self.os_name,
|
|
282
|
+
partitioning=self.partitioning,
|
|
283
|
+
password=self.password,
|
|
284
|
+
private_networks=self.private_networks,
|
|
285
|
+
project_id=self.project_id,
|
|
286
|
+
reinstall_on_config_changes=self.reinstall_on_config_changes,
|
|
287
|
+
server_id=self.server_id,
|
|
288
|
+
service_password=self.service_password,
|
|
289
|
+
service_user=self.service_user,
|
|
290
|
+
ssh_key_ids=self.ssh_key_ids,
|
|
291
|
+
tags=self.tags,
|
|
292
|
+
user=self.user,
|
|
293
|
+
zone=self.zone)
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
def get_baremetal_server(name: Optional[str] = None,
|
|
297
|
+
project_id: Optional[str] = None,
|
|
298
|
+
server_id: Optional[str] = None,
|
|
299
|
+
zone: Optional[str] = None,
|
|
300
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBaremetalServerResult:
|
|
301
|
+
"""
|
|
302
|
+
Gets information about a baremetal server.
|
|
303
|
+
For more information, see [the documentation](https://developers.scaleway.com/en/products/baremetal/api).
|
|
304
|
+
|
|
305
|
+
## Example Usage
|
|
306
|
+
|
|
307
|
+
```python
|
|
308
|
+
import pulumi
|
|
309
|
+
import pulumi_scaleway as scaleway
|
|
310
|
+
|
|
311
|
+
# Get info by server name
|
|
312
|
+
by_name = scaleway.get_baremetal_server(name="foobar",
|
|
313
|
+
zone="fr-par-2")
|
|
314
|
+
# Get info by server id
|
|
315
|
+
by_id = scaleway.get_baremetal_server(server_id="11111111-1111-1111-1111-111111111111")
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
:param str name: The server name. Only one of `name` and `server_id` should be specified.
|
|
320
|
+
:param str project_id: The ID of the project the baremetal server is associated with.
|
|
321
|
+
:param str zone: `zone`) The zone in which the server exists.
|
|
322
|
+
"""
|
|
323
|
+
__args__ = dict()
|
|
324
|
+
__args__['name'] = name
|
|
325
|
+
__args__['projectId'] = project_id
|
|
326
|
+
__args__['serverId'] = server_id
|
|
327
|
+
__args__['zone'] = zone
|
|
328
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
329
|
+
__ret__ = pulumi.runtime.invoke('scaleway:index/getBaremetalServer:getBaremetalServer', __args__, opts=opts, typ=GetBaremetalServerResult).value
|
|
330
|
+
|
|
331
|
+
return AwaitableGetBaremetalServerResult(
|
|
332
|
+
description=pulumi.get(__ret__, 'description'),
|
|
333
|
+
domain=pulumi.get(__ret__, 'domain'),
|
|
334
|
+
hostname=pulumi.get(__ret__, 'hostname'),
|
|
335
|
+
id=pulumi.get(__ret__, 'id'),
|
|
336
|
+
install_config_afterward=pulumi.get(__ret__, 'install_config_afterward'),
|
|
337
|
+
ips=pulumi.get(__ret__, 'ips'),
|
|
338
|
+
ipv4s=pulumi.get(__ret__, 'ipv4s'),
|
|
339
|
+
ipv6s=pulumi.get(__ret__, 'ipv6s'),
|
|
340
|
+
name=pulumi.get(__ret__, 'name'),
|
|
341
|
+
offer=pulumi.get(__ret__, 'offer'),
|
|
342
|
+
offer_id=pulumi.get(__ret__, 'offer_id'),
|
|
343
|
+
offer_name=pulumi.get(__ret__, 'offer_name'),
|
|
344
|
+
options=pulumi.get(__ret__, 'options'),
|
|
345
|
+
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
346
|
+
os=pulumi.get(__ret__, 'os'),
|
|
347
|
+
os_name=pulumi.get(__ret__, 'os_name'),
|
|
348
|
+
partitioning=pulumi.get(__ret__, 'partitioning'),
|
|
349
|
+
password=pulumi.get(__ret__, 'password'),
|
|
350
|
+
private_networks=pulumi.get(__ret__, 'private_networks'),
|
|
351
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
|
352
|
+
reinstall_on_config_changes=pulumi.get(__ret__, 'reinstall_on_config_changes'),
|
|
353
|
+
server_id=pulumi.get(__ret__, 'server_id'),
|
|
354
|
+
service_password=pulumi.get(__ret__, 'service_password'),
|
|
355
|
+
service_user=pulumi.get(__ret__, 'service_user'),
|
|
356
|
+
ssh_key_ids=pulumi.get(__ret__, 'ssh_key_ids'),
|
|
357
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
358
|
+
user=pulumi.get(__ret__, 'user'),
|
|
359
|
+
zone=pulumi.get(__ret__, 'zone'))
|
|
360
|
+
def get_baremetal_server_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
361
|
+
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
362
|
+
server_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
363
|
+
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
364
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBaremetalServerResult]:
|
|
365
|
+
"""
|
|
366
|
+
Gets information about a baremetal server.
|
|
367
|
+
For more information, see [the documentation](https://developers.scaleway.com/en/products/baremetal/api).
|
|
368
|
+
|
|
369
|
+
## Example Usage
|
|
370
|
+
|
|
371
|
+
```python
|
|
372
|
+
import pulumi
|
|
373
|
+
import pulumi_scaleway as scaleway
|
|
374
|
+
|
|
375
|
+
# Get info by server name
|
|
376
|
+
by_name = scaleway.get_baremetal_server(name="foobar",
|
|
377
|
+
zone="fr-par-2")
|
|
378
|
+
# Get info by server id
|
|
379
|
+
by_id = scaleway.get_baremetal_server(server_id="11111111-1111-1111-1111-111111111111")
|
|
380
|
+
```
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
:param str name: The server name. Only one of `name` and `server_id` should be specified.
|
|
384
|
+
:param str project_id: The ID of the project the baremetal server is associated with.
|
|
385
|
+
:param str zone: `zone`) The zone in which the server exists.
|
|
386
|
+
"""
|
|
387
|
+
__args__ = dict()
|
|
388
|
+
__args__['name'] = name
|
|
389
|
+
__args__['projectId'] = project_id
|
|
390
|
+
__args__['serverId'] = server_id
|
|
391
|
+
__args__['zone'] = zone
|
|
392
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
393
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getBaremetalServer:getBaremetalServer', __args__, opts=opts, typ=GetBaremetalServerResult)
|
|
394
|
+
return __ret__.apply(lambda __response__: GetBaremetalServerResult(
|
|
395
|
+
description=pulumi.get(__response__, 'description'),
|
|
396
|
+
domain=pulumi.get(__response__, 'domain'),
|
|
397
|
+
hostname=pulumi.get(__response__, 'hostname'),
|
|
398
|
+
id=pulumi.get(__response__, 'id'),
|
|
399
|
+
install_config_afterward=pulumi.get(__response__, 'install_config_afterward'),
|
|
400
|
+
ips=pulumi.get(__response__, 'ips'),
|
|
401
|
+
ipv4s=pulumi.get(__response__, 'ipv4s'),
|
|
402
|
+
ipv6s=pulumi.get(__response__, 'ipv6s'),
|
|
403
|
+
name=pulumi.get(__response__, 'name'),
|
|
404
|
+
offer=pulumi.get(__response__, 'offer'),
|
|
405
|
+
offer_id=pulumi.get(__response__, 'offer_id'),
|
|
406
|
+
offer_name=pulumi.get(__response__, 'offer_name'),
|
|
407
|
+
options=pulumi.get(__response__, 'options'),
|
|
408
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
409
|
+
os=pulumi.get(__response__, 'os'),
|
|
410
|
+
os_name=pulumi.get(__response__, 'os_name'),
|
|
411
|
+
partitioning=pulumi.get(__response__, 'partitioning'),
|
|
412
|
+
password=pulumi.get(__response__, 'password'),
|
|
413
|
+
private_networks=pulumi.get(__response__, 'private_networks'),
|
|
414
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
415
|
+
reinstall_on_config_changes=pulumi.get(__response__, 'reinstall_on_config_changes'),
|
|
416
|
+
server_id=pulumi.get(__response__, 'server_id'),
|
|
417
|
+
service_password=pulumi.get(__response__, 'service_password'),
|
|
418
|
+
service_user=pulumi.get(__response__, 'service_user'),
|
|
419
|
+
ssh_key_ids=pulumi.get(__response__, 'ssh_key_ids'),
|
|
420
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
421
|
+
user=pulumi.get(__response__, 'user'),
|
|
422
|
+
zone=pulumi.get(__response__, 'zone')))
|
|
@@ -0,0 +1,134 @@
|
|
|
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
|
+
'GetBillingConsumptionsResult',
|
|
20
|
+
'AwaitableGetBillingConsumptionsResult',
|
|
21
|
+
'get_billing_consumptions',
|
|
22
|
+
'get_billing_consumptions_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetBillingConsumptionsResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getBillingConsumptions.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, consumptions=None, id=None, organization_id=None, project_id=None, updated_at=None):
|
|
31
|
+
if consumptions and not isinstance(consumptions, list):
|
|
32
|
+
raise TypeError("Expected argument 'consumptions' to be a list")
|
|
33
|
+
pulumi.set(__self__, "consumptions", consumptions)
|
|
34
|
+
if id and not isinstance(id, str):
|
|
35
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
36
|
+
pulumi.set(__self__, "id", id)
|
|
37
|
+
if organization_id and not isinstance(organization_id, str):
|
|
38
|
+
raise TypeError("Expected argument 'organization_id' to be a str")
|
|
39
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
40
|
+
if project_id and not isinstance(project_id, str):
|
|
41
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
|
42
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
43
|
+
if updated_at and not isinstance(updated_at, str):
|
|
44
|
+
raise TypeError("Expected argument 'updated_at' to be a str")
|
|
45
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
|
46
|
+
|
|
47
|
+
@property
|
|
48
|
+
@pulumi.getter
|
|
49
|
+
def consumptions(self) -> Sequence['outputs.GetBillingConsumptionsConsumptionResult']:
|
|
50
|
+
"""
|
|
51
|
+
List of found consumptions
|
|
52
|
+
"""
|
|
53
|
+
return pulumi.get(self, "consumptions")
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
@pulumi.getter
|
|
57
|
+
def id(self) -> str:
|
|
58
|
+
"""
|
|
59
|
+
The provider-assigned unique ID for this managed resource.
|
|
60
|
+
"""
|
|
61
|
+
return pulumi.get(self, "id")
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
@pulumi.getter(name="organizationId")
|
|
65
|
+
def organization_id(self) -> str:
|
|
66
|
+
return pulumi.get(self, "organization_id")
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
@pulumi.getter(name="projectId")
|
|
70
|
+
def project_id(self) -> str:
|
|
71
|
+
"""
|
|
72
|
+
The project ID of the consumption.
|
|
73
|
+
"""
|
|
74
|
+
return pulumi.get(self, "project_id")
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
@pulumi.getter(name="updatedAt")
|
|
78
|
+
def updated_at(self) -> str:
|
|
79
|
+
"""
|
|
80
|
+
The last consumption update date.
|
|
81
|
+
"""
|
|
82
|
+
return pulumi.get(self, "updated_at")
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
class AwaitableGetBillingConsumptionsResult(GetBillingConsumptionsResult):
|
|
86
|
+
# pylint: disable=using-constant-test
|
|
87
|
+
def __await__(self):
|
|
88
|
+
if False:
|
|
89
|
+
yield self
|
|
90
|
+
return GetBillingConsumptionsResult(
|
|
91
|
+
consumptions=self.consumptions,
|
|
92
|
+
id=self.id,
|
|
93
|
+
organization_id=self.organization_id,
|
|
94
|
+
project_id=self.project_id,
|
|
95
|
+
updated_at=self.updated_at)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
def get_billing_consumptions(project_id: Optional[str] = None,
|
|
99
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBillingConsumptionsResult:
|
|
100
|
+
"""
|
|
101
|
+
Gets information about your Consumptions.
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
:param str project_id: `project_id`) The ID of the project the consumption list is associated with.
|
|
105
|
+
"""
|
|
106
|
+
__args__ = dict()
|
|
107
|
+
__args__['projectId'] = project_id
|
|
108
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
109
|
+
__ret__ = pulumi.runtime.invoke('scaleway:index/getBillingConsumptions:getBillingConsumptions', __args__, opts=opts, typ=GetBillingConsumptionsResult).value
|
|
110
|
+
|
|
111
|
+
return AwaitableGetBillingConsumptionsResult(
|
|
112
|
+
consumptions=pulumi.get(__ret__, 'consumptions'),
|
|
113
|
+
id=pulumi.get(__ret__, 'id'),
|
|
114
|
+
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
115
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
|
116
|
+
updated_at=pulumi.get(__ret__, 'updated_at'))
|
|
117
|
+
def get_billing_consumptions_output(project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
118
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBillingConsumptionsResult]:
|
|
119
|
+
"""
|
|
120
|
+
Gets information about your Consumptions.
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
:param str project_id: `project_id`) The ID of the project the consumption list is associated with.
|
|
124
|
+
"""
|
|
125
|
+
__args__ = dict()
|
|
126
|
+
__args__['projectId'] = project_id
|
|
127
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
128
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getBillingConsumptions:getBillingConsumptions', __args__, opts=opts, typ=GetBillingConsumptionsResult)
|
|
129
|
+
return __ret__.apply(lambda __response__: GetBillingConsumptionsResult(
|
|
130
|
+
consumptions=pulumi.get(__response__, 'consumptions'),
|
|
131
|
+
id=pulumi.get(__response__, 'id'),
|
|
132
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
133
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
134
|
+
updated_at=pulumi.get(__response__, 'updated_at')))
|