pulumiverse-scaleway 1.24.0a1741079631__py3-none-any.whl → 1.24.0a1741680905__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.
- pulumiverse_scaleway/_inputs.py +305 -23
- pulumiverse_scaleway/apple_silicon_server.py +2 -2
- pulumiverse_scaleway/baremetal_server.py +23 -13
- pulumiverse_scaleway/cockpit.py +21 -12
- pulumiverse_scaleway/container.py +82 -35
- pulumiverse_scaleway/database.py +2 -2
- pulumiverse_scaleway/database_backup.py +2 -2
- pulumiverse_scaleway/database_instance.py +2 -2
- pulumiverse_scaleway/database_privilege.py +2 -2
- pulumiverse_scaleway/database_read_replica.py +2 -2
- pulumiverse_scaleway/database_user.py +2 -2
- pulumiverse_scaleway/flexible_ip.py +2 -2
- pulumiverse_scaleway/flexible_ip_mac_address.py +2 -2
- pulumiverse_scaleway/function.py +7 -7
- pulumiverse_scaleway/get_baremetal_offer.py +2 -2
- pulumiverse_scaleway/get_baremetal_option.py +4 -4
- pulumiverse_scaleway/get_baremetal_os.py +2 -2
- pulumiverse_scaleway/get_baremetal_server.py +2 -2
- pulumiverse_scaleway/get_cockpit.py +1 -0
- pulumiverse_scaleway/get_config.py +22 -2
- pulumiverse_scaleway/get_container.py +15 -1
- pulumiverse_scaleway/get_k8s_version.py +2 -2
- pulumiverse_scaleway/get_marketplace_image.py +20 -3
- pulumiverse_scaleway/get_mongo_db_instance.py +12 -1
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +2 -2
- pulumiverse_scaleway/get_vpc_public_gateway_ip.py +2 -2
- pulumiverse_scaleway/get_vpc_public_pat_rule.py +2 -2
- pulumiverse_scaleway/get_web_host_offer.py +44 -7
- pulumiverse_scaleway/get_webhosting.py +23 -1
- pulumiverse_scaleway/iam_user.py +2 -2
- pulumiverse_scaleway/inference_deployment.py +2 -2
- pulumiverse_scaleway/instance_image.py +2 -2
- pulumiverse_scaleway/instance_ip.py +2 -2
- pulumiverse_scaleway/instance_placement_group.py +2 -2
- pulumiverse_scaleway/instance_private_nic.py +2 -2
- pulumiverse_scaleway/instance_security_group_rules.py +2 -2
- pulumiverse_scaleway/instance_server.py +16 -16
- pulumiverse_scaleway/instance_snapshot.py +2 -2
- pulumiverse_scaleway/instance_user_data.py +2 -2
- pulumiverse_scaleway/instance_volume.py +2 -2
- pulumiverse_scaleway/job_definition.py +2 -2
- pulumiverse_scaleway/kubernetes_cluster.py +4 -4
- pulumiverse_scaleway/kubernetes_node_pool.py +63 -7
- pulumiverse_scaleway/loadbalancer_acl.py +2 -2
- pulumiverse_scaleway/mongo_db_instance.py +93 -2
- pulumiverse_scaleway/mongo_db_snapshot.py +2 -2
- pulumiverse_scaleway/outputs.py +563 -17
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/redis_cluster.py +2 -2
- pulumiverse_scaleway/registry_namespace.py +2 -2
- pulumiverse_scaleway/tem_domain.py +2 -2
- pulumiverse_scaleway/tem_webhook.py +2 -2
- pulumiverse_scaleway/vpc_gateway_network.py +2 -2
- pulumiverse_scaleway/vpc_private_network.py +2 -2
- pulumiverse_scaleway/vpc_public_gateway.py +2 -2
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +2 -2
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +2 -2
- pulumiverse_scaleway/vpc_public_gateway_ip.py +2 -2
- pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +2 -2
- pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +2 -2
- pulumiverse_scaleway/webhosting.py +71 -8
- {pulumiverse_scaleway-1.24.0a1741079631.dist-info → pulumiverse_scaleway-1.24.0a1741680905.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.24.0a1741079631.dist-info → pulumiverse_scaleway-1.24.0a1741680905.dist-info}/RECORD +65 -65
- {pulumiverse_scaleway-1.24.0a1741079631.dist-info → pulumiverse_scaleway-1.24.0a1741680905.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.24.0a1741079631.dist-info → pulumiverse_scaleway-1.24.0a1741680905.dist-info}/top_level.txt +0 -0
pulumiverse_scaleway/_inputs.py
CHANGED
@@ -163,6 +163,8 @@ __all__ = [
|
|
163
163
|
'MnqSnsCredentialsPermissionsArgsDict',
|
164
164
|
'MnqSqsCredentialsPermissionsArgs',
|
165
165
|
'MnqSqsCredentialsPermissionsArgsDict',
|
166
|
+
'MongoDbInstancePrivateNetworkArgs',
|
167
|
+
'MongoDbInstancePrivateNetworkArgsDict',
|
166
168
|
'MongoDbInstancePublicNetworkArgs',
|
167
169
|
'MongoDbInstancePublicNetworkArgsDict',
|
168
170
|
'ObjectBucketAclAccessControlPolicyArgs',
|
@@ -209,8 +211,12 @@ __all__ = [
|
|
209
211
|
'VpcPrivateNetworkIpv6SubnetArgsDict',
|
210
212
|
'WebhostingCpanelUrlArgs',
|
211
213
|
'WebhostingCpanelUrlArgsDict',
|
214
|
+
'WebhostingNameServerArgs',
|
215
|
+
'WebhostingNameServerArgsDict',
|
212
216
|
'WebhostingOptionArgs',
|
213
217
|
'WebhostingOptionArgsDict',
|
218
|
+
'WebhostingRecordArgs',
|
219
|
+
'WebhostingRecordArgsDict',
|
214
220
|
'GetIpamIpResourceArgs',
|
215
221
|
'GetIpamIpResourceArgsDict',
|
216
222
|
'GetIpamIpsResourceArgs',
|
@@ -1228,7 +1234,7 @@ if not MYPY:
|
|
1228
1234
|
"""
|
1229
1235
|
interval: pulumi.Input[str]
|
1230
1236
|
"""
|
1231
|
-
Period between health checks.
|
1237
|
+
Period between health checks (in seconds).
|
1232
1238
|
"""
|
1233
1239
|
elif False:
|
1234
1240
|
ContainerHealthCheckArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -1242,7 +1248,7 @@ class ContainerHealthCheckArgs:
|
|
1242
1248
|
"""
|
1243
1249
|
:param pulumi.Input[int] failure_threshold: Number of consecutive health check failures before considering the container unhealthy.
|
1244
1250
|
:param pulumi.Input[Sequence[pulumi.Input['ContainerHealthCheckHttpArgs']]] https: HTTP health check configuration.
|
1245
|
-
:param pulumi.Input[str] interval: Period between health checks.
|
1251
|
+
:param pulumi.Input[str] interval: Period between health checks (in seconds).
|
1246
1252
|
"""
|
1247
1253
|
pulumi.set(__self__, "failure_threshold", failure_threshold)
|
1248
1254
|
pulumi.set(__self__, "https", https)
|
@@ -1276,7 +1282,7 @@ class ContainerHealthCheckArgs:
|
|
1276
1282
|
@pulumi.getter
|
1277
1283
|
def interval(self) -> pulumi.Input[str]:
|
1278
1284
|
"""
|
1279
|
-
Period between health checks.
|
1285
|
+
Period between health checks (in seconds).
|
1280
1286
|
"""
|
1281
1287
|
return pulumi.get(self, "interval")
|
1282
1288
|
|
@@ -2862,17 +2868,17 @@ if not MYPY:
|
|
2862
2868
|
permission_set_names: pulumi.Input[Sequence[pulumi.Input[str]]]
|
2863
2869
|
"""
|
2864
2870
|
Names of permission sets bind to the rule.
|
2871
|
+
"""
|
2872
|
+
condition: NotRequired[pulumi.Input[str]]
|
2873
|
+
"""
|
2874
|
+
The condition of the rule.
|
2865
2875
|
|
2866
2876
|
**_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g:
|
2867
2877
|
|
2868
2878
|
```shell
|
2869
|
-
scw
|
2879
|
+
scw iam permission-set list
|
2870
2880
|
```
|
2871
2881
|
"""
|
2872
|
-
condition: NotRequired[pulumi.Input[str]]
|
2873
|
-
"""
|
2874
|
-
The condition of the IAM policy.
|
2875
|
-
"""
|
2876
2882
|
organization_id: NotRequired[pulumi.Input[str]]
|
2877
2883
|
"""
|
2878
2884
|
ID of organization scoped to the rule, this can be used to create a rule for all projects in an organization.
|
@@ -2895,13 +2901,13 @@ class IamPolicyRuleArgs:
|
|
2895
2901
|
project_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
2896
2902
|
"""
|
2897
2903
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] permission_set_names: Names of permission sets bind to the rule.
|
2904
|
+
:param pulumi.Input[str] condition: The condition of the rule.
|
2898
2905
|
|
2899
2906
|
**_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g:
|
2900
2907
|
|
2901
2908
|
```shell
|
2902
|
-
scw
|
2909
|
+
scw iam permission-set list
|
2903
2910
|
```
|
2904
|
-
:param pulumi.Input[str] condition: The condition of the IAM policy.
|
2905
2911
|
:param pulumi.Input[str] organization_id: ID of organization scoped to the rule, this can be used to create a rule for all projects in an organization.
|
2906
2912
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] project_ids: List of project IDs scoped to the rule.
|
2907
2913
|
|
@@ -2920,12 +2926,6 @@ class IamPolicyRuleArgs:
|
|
2920
2926
|
def permission_set_names(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
2921
2927
|
"""
|
2922
2928
|
Names of permission sets bind to the rule.
|
2923
|
-
|
2924
|
-
**_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g:
|
2925
|
-
|
2926
|
-
```shell
|
2927
|
-
scw IAM permission-set list
|
2928
|
-
```
|
2929
2929
|
"""
|
2930
2930
|
return pulumi.get(self, "permission_set_names")
|
2931
2931
|
|
@@ -2937,7 +2937,13 @@ class IamPolicyRuleArgs:
|
|
2937
2937
|
@pulumi.getter
|
2938
2938
|
def condition(self) -> Optional[pulumi.Input[str]]:
|
2939
2939
|
"""
|
2940
|
-
The condition of the
|
2940
|
+
The condition of the rule.
|
2941
|
+
|
2942
|
+
**_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g:
|
2943
|
+
|
2944
|
+
```shell
|
2945
|
+
scw iam permission-set list
|
2946
|
+
```
|
2941
2947
|
"""
|
2942
2948
|
return pulumi.get(self, "condition")
|
2943
2949
|
|
@@ -5706,6 +5712,7 @@ if not MYPY:
|
|
5706
5712
|
name: NotRequired[pulumi.Input[str]]
|
5707
5713
|
"""
|
5708
5714
|
The name for the pool.
|
5715
|
+
|
5709
5716
|
> **Important:** Updates to this field will recreate a new resource.
|
5710
5717
|
"""
|
5711
5718
|
public_ip: NotRequired[pulumi.Input[str]]
|
@@ -5732,6 +5739,7 @@ class KubernetesNodePoolNodeArgs:
|
|
5732
5739
|
status: Optional[pulumi.Input[str]] = None):
|
5733
5740
|
"""
|
5734
5741
|
:param pulumi.Input[str] name: The name for the pool.
|
5742
|
+
|
5735
5743
|
> **Important:** Updates to this field will recreate a new resource.
|
5736
5744
|
:param pulumi.Input[str] public_ip: The public IPv4. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)
|
5737
5745
|
:param pulumi.Input[str] public_ip_v6: The public IPv6. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)
|
@@ -5757,6 +5765,7 @@ class KubernetesNodePoolNodeArgs:
|
|
5757
5765
|
def name(self) -> Optional[pulumi.Input[str]]:
|
5758
5766
|
"""
|
5759
5767
|
The name for the pool.
|
5768
|
+
|
5760
5769
|
> **Important:** Updates to this field will recreate a new resource.
|
5761
5770
|
"""
|
5762
5771
|
return pulumi.get(self, "name")
|
@@ -7056,6 +7065,117 @@ class MnqSqsCredentialsPermissionsArgs:
|
|
7056
7065
|
pulumi.set(self, "can_receive", value)
|
7057
7066
|
|
7058
7067
|
|
7068
|
+
if not MYPY:
|
7069
|
+
class MongoDbInstancePrivateNetworkArgsDict(TypedDict):
|
7070
|
+
pn_id: pulumi.Input[str]
|
7071
|
+
"""
|
7072
|
+
The ID of the Private Network.
|
7073
|
+
"""
|
7074
|
+
dns_records: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
7075
|
+
"""
|
7076
|
+
List of DNS records for your endpoint.
|
7077
|
+
"""
|
7078
|
+
id: NotRequired[pulumi.Input[str]]
|
7079
|
+
"""
|
7080
|
+
The ID of the endpoint.
|
7081
|
+
"""
|
7082
|
+
ips: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
7083
|
+
"""
|
7084
|
+
List of IP addresses for your endpoint.
|
7085
|
+
"""
|
7086
|
+
port: NotRequired[pulumi.Input[int]]
|
7087
|
+
"""
|
7088
|
+
TCP port of the endpoint.
|
7089
|
+
"""
|
7090
|
+
elif False:
|
7091
|
+
MongoDbInstancePrivateNetworkArgsDict: TypeAlias = Mapping[str, Any]
|
7092
|
+
|
7093
|
+
@pulumi.input_type
|
7094
|
+
class MongoDbInstancePrivateNetworkArgs:
|
7095
|
+
def __init__(__self__, *,
|
7096
|
+
pn_id: pulumi.Input[str],
|
7097
|
+
dns_records: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
7098
|
+
id: Optional[pulumi.Input[str]] = None,
|
7099
|
+
ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
7100
|
+
port: Optional[pulumi.Input[int]] = None):
|
7101
|
+
"""
|
7102
|
+
:param pulumi.Input[str] pn_id: The ID of the Private Network.
|
7103
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] dns_records: List of DNS records for your endpoint.
|
7104
|
+
:param pulumi.Input[str] id: The ID of the endpoint.
|
7105
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] ips: List of IP addresses for your endpoint.
|
7106
|
+
:param pulumi.Input[int] port: TCP port of the endpoint.
|
7107
|
+
"""
|
7108
|
+
pulumi.set(__self__, "pn_id", pn_id)
|
7109
|
+
if dns_records is not None:
|
7110
|
+
pulumi.set(__self__, "dns_records", dns_records)
|
7111
|
+
if id is not None:
|
7112
|
+
pulumi.set(__self__, "id", id)
|
7113
|
+
if ips is not None:
|
7114
|
+
pulumi.set(__self__, "ips", ips)
|
7115
|
+
if port is not None:
|
7116
|
+
pulumi.set(__self__, "port", port)
|
7117
|
+
|
7118
|
+
@property
|
7119
|
+
@pulumi.getter(name="pnId")
|
7120
|
+
def pn_id(self) -> pulumi.Input[str]:
|
7121
|
+
"""
|
7122
|
+
The ID of the Private Network.
|
7123
|
+
"""
|
7124
|
+
return pulumi.get(self, "pn_id")
|
7125
|
+
|
7126
|
+
@pn_id.setter
|
7127
|
+
def pn_id(self, value: pulumi.Input[str]):
|
7128
|
+
pulumi.set(self, "pn_id", value)
|
7129
|
+
|
7130
|
+
@property
|
7131
|
+
@pulumi.getter(name="dnsRecords")
|
7132
|
+
def dns_records(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
7133
|
+
"""
|
7134
|
+
List of DNS records for your endpoint.
|
7135
|
+
"""
|
7136
|
+
return pulumi.get(self, "dns_records")
|
7137
|
+
|
7138
|
+
@dns_records.setter
|
7139
|
+
def dns_records(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
7140
|
+
pulumi.set(self, "dns_records", value)
|
7141
|
+
|
7142
|
+
@property
|
7143
|
+
@pulumi.getter
|
7144
|
+
def id(self) -> Optional[pulumi.Input[str]]:
|
7145
|
+
"""
|
7146
|
+
The ID of the endpoint.
|
7147
|
+
"""
|
7148
|
+
return pulumi.get(self, "id")
|
7149
|
+
|
7150
|
+
@id.setter
|
7151
|
+
def id(self, value: Optional[pulumi.Input[str]]):
|
7152
|
+
pulumi.set(self, "id", value)
|
7153
|
+
|
7154
|
+
@property
|
7155
|
+
@pulumi.getter
|
7156
|
+
def ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
7157
|
+
"""
|
7158
|
+
List of IP addresses for your endpoint.
|
7159
|
+
"""
|
7160
|
+
return pulumi.get(self, "ips")
|
7161
|
+
|
7162
|
+
@ips.setter
|
7163
|
+
def ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
7164
|
+
pulumi.set(self, "ips", value)
|
7165
|
+
|
7166
|
+
@property
|
7167
|
+
@pulumi.getter
|
7168
|
+
def port(self) -> Optional[pulumi.Input[int]]:
|
7169
|
+
"""
|
7170
|
+
TCP port of the endpoint.
|
7171
|
+
"""
|
7172
|
+
return pulumi.get(self, "port")
|
7173
|
+
|
7174
|
+
@port.setter
|
7175
|
+
def port(self, value: Optional[pulumi.Input[int]]):
|
7176
|
+
pulumi.set(self, "port", value)
|
7177
|
+
|
7178
|
+
|
7059
7179
|
if not MYPY:
|
7060
7180
|
class MongoDbInstancePublicNetworkArgsDict(TypedDict):
|
7061
7181
|
dns_record: NotRequired[pulumi.Input[str]]
|
@@ -7064,11 +7184,11 @@ if not MYPY:
|
|
7064
7184
|
"""
|
7065
7185
|
id: NotRequired[pulumi.Input[str]]
|
7066
7186
|
"""
|
7067
|
-
The ID of the
|
7187
|
+
The ID of the endpoint.
|
7068
7188
|
"""
|
7069
7189
|
port: NotRequired[pulumi.Input[int]]
|
7070
7190
|
"""
|
7071
|
-
TCP port of the endpoint
|
7191
|
+
TCP port of the endpoint.
|
7072
7192
|
"""
|
7073
7193
|
elif False:
|
7074
7194
|
MongoDbInstancePublicNetworkArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -7081,8 +7201,8 @@ class MongoDbInstancePublicNetworkArgs:
|
|
7081
7201
|
port: Optional[pulumi.Input[int]] = None):
|
7082
7202
|
"""
|
7083
7203
|
:param pulumi.Input[str] dns_record: The DNS record of your endpoint
|
7084
|
-
:param pulumi.Input[str] id: The ID of the
|
7085
|
-
:param pulumi.Input[int] port: TCP port of the endpoint
|
7204
|
+
:param pulumi.Input[str] id: The ID of the endpoint.
|
7205
|
+
:param pulumi.Input[int] port: TCP port of the endpoint.
|
7086
7206
|
"""
|
7087
7207
|
if dns_record is not None:
|
7088
7208
|
pulumi.set(__self__, "dns_record", dns_record)
|
@@ -7107,7 +7227,7 @@ class MongoDbInstancePublicNetworkArgs:
|
|
7107
7227
|
@pulumi.getter
|
7108
7228
|
def id(self) -> Optional[pulumi.Input[str]]:
|
7109
7229
|
"""
|
7110
|
-
The ID of the
|
7230
|
+
The ID of the endpoint.
|
7111
7231
|
"""
|
7112
7232
|
return pulumi.get(self, "id")
|
7113
7233
|
|
@@ -7119,7 +7239,7 @@ class MongoDbInstancePublicNetworkArgs:
|
|
7119
7239
|
@pulumi.getter
|
7120
7240
|
def port(self) -> Optional[pulumi.Input[int]]:
|
7121
7241
|
"""
|
7122
|
-
TCP port of the endpoint
|
7242
|
+
TCP port of the endpoint.
|
7123
7243
|
"""
|
7124
7244
|
return pulumi.get(self, "port")
|
7125
7245
|
|
@@ -8806,6 +8926,64 @@ class WebhostingCpanelUrlArgs:
|
|
8806
8926
|
pulumi.set(self, "webmail", value)
|
8807
8927
|
|
8808
8928
|
|
8929
|
+
if not MYPY:
|
8930
|
+
class WebhostingNameServerArgsDict(TypedDict):
|
8931
|
+
hostname: NotRequired[pulumi.Input[str]]
|
8932
|
+
is_default: NotRequired[pulumi.Input[bool]]
|
8933
|
+
status: NotRequired[pulumi.Input[str]]
|
8934
|
+
"""
|
8935
|
+
The hosting status.
|
8936
|
+
"""
|
8937
|
+
elif False:
|
8938
|
+
WebhostingNameServerArgsDict: TypeAlias = Mapping[str, Any]
|
8939
|
+
|
8940
|
+
@pulumi.input_type
|
8941
|
+
class WebhostingNameServerArgs:
|
8942
|
+
def __init__(__self__, *,
|
8943
|
+
hostname: Optional[pulumi.Input[str]] = None,
|
8944
|
+
is_default: Optional[pulumi.Input[bool]] = None,
|
8945
|
+
status: Optional[pulumi.Input[str]] = None):
|
8946
|
+
"""
|
8947
|
+
:param pulumi.Input[str] status: The hosting status.
|
8948
|
+
"""
|
8949
|
+
if hostname is not None:
|
8950
|
+
pulumi.set(__self__, "hostname", hostname)
|
8951
|
+
if is_default is not None:
|
8952
|
+
pulumi.set(__self__, "is_default", is_default)
|
8953
|
+
if status is not None:
|
8954
|
+
pulumi.set(__self__, "status", status)
|
8955
|
+
|
8956
|
+
@property
|
8957
|
+
@pulumi.getter
|
8958
|
+
def hostname(self) -> Optional[pulumi.Input[str]]:
|
8959
|
+
return pulumi.get(self, "hostname")
|
8960
|
+
|
8961
|
+
@hostname.setter
|
8962
|
+
def hostname(self, value: Optional[pulumi.Input[str]]):
|
8963
|
+
pulumi.set(self, "hostname", value)
|
8964
|
+
|
8965
|
+
@property
|
8966
|
+
@pulumi.getter(name="isDefault")
|
8967
|
+
def is_default(self) -> Optional[pulumi.Input[bool]]:
|
8968
|
+
return pulumi.get(self, "is_default")
|
8969
|
+
|
8970
|
+
@is_default.setter
|
8971
|
+
def is_default(self, value: Optional[pulumi.Input[bool]]):
|
8972
|
+
pulumi.set(self, "is_default", value)
|
8973
|
+
|
8974
|
+
@property
|
8975
|
+
@pulumi.getter
|
8976
|
+
def status(self) -> Optional[pulumi.Input[str]]:
|
8977
|
+
"""
|
8978
|
+
The hosting status.
|
8979
|
+
"""
|
8980
|
+
return pulumi.get(self, "status")
|
8981
|
+
|
8982
|
+
@status.setter
|
8983
|
+
def status(self, value: Optional[pulumi.Input[str]]):
|
8984
|
+
pulumi.set(self, "status", value)
|
8985
|
+
|
8986
|
+
|
8809
8987
|
if not MYPY:
|
8810
8988
|
class WebhostingOptionArgsDict(TypedDict):
|
8811
8989
|
id: NotRequired[pulumi.Input[str]]
|
@@ -8858,6 +9036,110 @@ class WebhostingOptionArgs:
|
|
8858
9036
|
pulumi.set(self, "name", value)
|
8859
9037
|
|
8860
9038
|
|
9039
|
+
if not MYPY:
|
9040
|
+
class WebhostingRecordArgsDict(TypedDict):
|
9041
|
+
name: NotRequired[pulumi.Input[str]]
|
9042
|
+
"""
|
9043
|
+
The option name.
|
9044
|
+
"""
|
9045
|
+
priority: NotRequired[pulumi.Input[int]]
|
9046
|
+
status: NotRequired[pulumi.Input[str]]
|
9047
|
+
"""
|
9048
|
+
The hosting status.
|
9049
|
+
"""
|
9050
|
+
ttl: NotRequired[pulumi.Input[int]]
|
9051
|
+
type: NotRequired[pulumi.Input[str]]
|
9052
|
+
value: NotRequired[pulumi.Input[str]]
|
9053
|
+
elif False:
|
9054
|
+
WebhostingRecordArgsDict: TypeAlias = Mapping[str, Any]
|
9055
|
+
|
9056
|
+
@pulumi.input_type
|
9057
|
+
class WebhostingRecordArgs:
|
9058
|
+
def __init__(__self__, *,
|
9059
|
+
name: Optional[pulumi.Input[str]] = None,
|
9060
|
+
priority: Optional[pulumi.Input[int]] = None,
|
9061
|
+
status: Optional[pulumi.Input[str]] = None,
|
9062
|
+
ttl: Optional[pulumi.Input[int]] = None,
|
9063
|
+
type: Optional[pulumi.Input[str]] = None,
|
9064
|
+
value: Optional[pulumi.Input[str]] = None):
|
9065
|
+
"""
|
9066
|
+
:param pulumi.Input[str] name: The option name.
|
9067
|
+
:param pulumi.Input[str] status: The hosting status.
|
9068
|
+
"""
|
9069
|
+
if name is not None:
|
9070
|
+
pulumi.set(__self__, "name", name)
|
9071
|
+
if priority is not None:
|
9072
|
+
pulumi.set(__self__, "priority", priority)
|
9073
|
+
if status is not None:
|
9074
|
+
pulumi.set(__self__, "status", status)
|
9075
|
+
if ttl is not None:
|
9076
|
+
pulumi.set(__self__, "ttl", ttl)
|
9077
|
+
if type is not None:
|
9078
|
+
pulumi.set(__self__, "type", type)
|
9079
|
+
if value is not None:
|
9080
|
+
pulumi.set(__self__, "value", value)
|
9081
|
+
|
9082
|
+
@property
|
9083
|
+
@pulumi.getter
|
9084
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
9085
|
+
"""
|
9086
|
+
The option name.
|
9087
|
+
"""
|
9088
|
+
return pulumi.get(self, "name")
|
9089
|
+
|
9090
|
+
@name.setter
|
9091
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
9092
|
+
pulumi.set(self, "name", value)
|
9093
|
+
|
9094
|
+
@property
|
9095
|
+
@pulumi.getter
|
9096
|
+
def priority(self) -> Optional[pulumi.Input[int]]:
|
9097
|
+
return pulumi.get(self, "priority")
|
9098
|
+
|
9099
|
+
@priority.setter
|
9100
|
+
def priority(self, value: Optional[pulumi.Input[int]]):
|
9101
|
+
pulumi.set(self, "priority", value)
|
9102
|
+
|
9103
|
+
@property
|
9104
|
+
@pulumi.getter
|
9105
|
+
def status(self) -> Optional[pulumi.Input[str]]:
|
9106
|
+
"""
|
9107
|
+
The hosting status.
|
9108
|
+
"""
|
9109
|
+
return pulumi.get(self, "status")
|
9110
|
+
|
9111
|
+
@status.setter
|
9112
|
+
def status(self, value: Optional[pulumi.Input[str]]):
|
9113
|
+
pulumi.set(self, "status", value)
|
9114
|
+
|
9115
|
+
@property
|
9116
|
+
@pulumi.getter
|
9117
|
+
def ttl(self) -> Optional[pulumi.Input[int]]:
|
9118
|
+
return pulumi.get(self, "ttl")
|
9119
|
+
|
9120
|
+
@ttl.setter
|
9121
|
+
def ttl(self, value: Optional[pulumi.Input[int]]):
|
9122
|
+
pulumi.set(self, "ttl", value)
|
9123
|
+
|
9124
|
+
@property
|
9125
|
+
@pulumi.getter
|
9126
|
+
def type(self) -> Optional[pulumi.Input[str]]:
|
9127
|
+
return pulumi.get(self, "type")
|
9128
|
+
|
9129
|
+
@type.setter
|
9130
|
+
def type(self, value: Optional[pulumi.Input[str]]):
|
9131
|
+
pulumi.set(self, "type", value)
|
9132
|
+
|
9133
|
+
@property
|
9134
|
+
@pulumi.getter
|
9135
|
+
def value(self) -> Optional[pulumi.Input[str]]:
|
9136
|
+
return pulumi.get(self, "value")
|
9137
|
+
|
9138
|
+
@value.setter
|
9139
|
+
def value(self, value: Optional[pulumi.Input[str]]):
|
9140
|
+
pulumi.set(self, "value", value)
|
9141
|
+
|
9142
|
+
|
8861
9143
|
if not MYPY:
|
8862
9144
|
class GetIpamIpResourceArgsDict(TypedDict):
|
8863
9145
|
type: str
|
@@ -383,7 +383,7 @@ class AppleSiliconServer(pulumi.CustomResource):
|
|
383
383
|
__props__=None):
|
384
384
|
"""
|
385
385
|
Creates and manages Scaleway Apple silicon. For more information,
|
386
|
-
see
|
386
|
+
see the [API documentation](https://www.scaleway.com/en/developers/api/apple-silicon/).
|
387
387
|
|
388
388
|
## Example Usage
|
389
389
|
|
@@ -429,7 +429,7 @@ class AppleSiliconServer(pulumi.CustomResource):
|
|
429
429
|
opts: Optional[pulumi.ResourceOptions] = None):
|
430
430
|
"""
|
431
431
|
Creates and manages Scaleway Apple silicon. For more information,
|
432
|
-
see
|
432
|
+
see the [API documentation](https://www.scaleway.com/en/developers/api/apple-silicon/).
|
433
433
|
|
434
434
|
## Example Usage
|
435
435
|
|
@@ -41,7 +41,7 @@ class BaremetalServerArgs:
|
|
41
41
|
zone: Optional[pulumi.Input[str]] = None):
|
42
42
|
"""
|
43
43
|
The set of arguments for constructing a BaremetalServer resource.
|
44
|
-
:param pulumi.Input[str] offer: The offer
|
44
|
+
:param pulumi.Input[str] offer: The offer UUID of the baremetal server.
|
45
45
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-servers-get-a-specific-elastic-metal-server) to find the right offer.
|
46
46
|
|
47
47
|
> **Important:** Updates to `offer` will recreate the server.
|
@@ -107,7 +107,7 @@ class BaremetalServerArgs:
|
|
107
107
|
@pulumi.getter
|
108
108
|
def offer(self) -> pulumi.Input[str]:
|
109
109
|
"""
|
110
|
-
The offer
|
110
|
+
The offer UUID of the baremetal server.
|
111
111
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-servers-get-a-specific-elastic-metal-server) to find the right offer.
|
112
112
|
|
113
113
|
> **Important:** Updates to `offer` will recreate the server.
|
@@ -366,7 +366,7 @@ class _BaremetalServerState:
|
|
366
366
|
:param pulumi.Input[Sequence[pulumi.Input['BaremetalServerIpv4Args']]] ipv4s: (List of) The IPv4 addresses of the server.
|
367
367
|
:param pulumi.Input[Sequence[pulumi.Input['BaremetalServerIpv6Args']]] ipv6s: (List of) The IPv6 addresses of the server.
|
368
368
|
:param pulumi.Input[str] name: The name of the server.
|
369
|
-
:param pulumi.Input[str] offer: The offer
|
369
|
+
:param pulumi.Input[str] offer: The offer UUID of the baremetal server.
|
370
370
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-servers-get-a-specific-elastic-metal-server) to find the right offer.
|
371
371
|
|
372
372
|
> **Important:** Updates to `offer` will recreate the server.
|
@@ -545,7 +545,7 @@ class _BaremetalServerState:
|
|
545
545
|
@pulumi.getter
|
546
546
|
def offer(self) -> Optional[pulumi.Input[str]]:
|
547
547
|
"""
|
548
|
-
The offer
|
548
|
+
The offer UUID of the baremetal server.
|
549
549
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-servers-get-a-specific-elastic-metal-server) to find the right offer.
|
550
550
|
|
551
551
|
> **Important:** Updates to `offer` will recreate the server.
|
@@ -790,7 +790,7 @@ class BaremetalServer(pulumi.CustomResource):
|
|
790
790
|
zone: Optional[pulumi.Input[str]] = None,
|
791
791
|
__props__=None):
|
792
792
|
"""
|
793
|
-
Creates and manages Scaleway Compute Baremetal servers. For more information, see
|
793
|
+
Creates and manages Scaleway Compute Baremetal servers. For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/elastic-metal/).
|
794
794
|
|
795
795
|
## Example Usage
|
796
796
|
|
@@ -802,9 +802,11 @@ class BaremetalServer(pulumi.CustomResource):
|
|
802
802
|
import pulumiverse_scaleway as scaleway
|
803
803
|
|
804
804
|
main = scaleway.get_iam_ssh_key(name="main")
|
805
|
+
my_offer = scaleway.get_baremetal_offer(zone="fr-par-2",
|
806
|
+
name="EM-I220E-NVME")
|
805
807
|
base = scaleway.BaremetalServer("base",
|
806
808
|
zone="fr-par-2",
|
807
|
-
offer=
|
809
|
+
offer=my_offer.offer_id,
|
808
810
|
os="d17d6872-0412-45d9-a198-af82c34d3c5c",
|
809
811
|
ssh_key_ids=[main_scaleway_account_ssh_key["id"]])
|
810
812
|
```
|
@@ -943,11 +945,14 @@ class BaremetalServer(pulumi.CustomResource):
|
|
943
945
|
name="Ubuntu",
|
944
946
|
version="22.04 LTS (Jammy Jellyfish)")
|
945
947
|
main = scaleway.IamSshKey("main", name="main")
|
948
|
+
my_offer = scaleway.get_baremetal_offer(zone="fr-par-1",
|
949
|
+
name="EM-B220E-NVME",
|
950
|
+
subscription_period="hourly")
|
946
951
|
base = scaleway.BaremetalServer("base",
|
947
952
|
name="%s",
|
948
953
|
zone="fr-par-1",
|
949
954
|
description="test a description",
|
950
|
-
offer=
|
955
|
+
offer=my_offer.offer_id,
|
951
956
|
os=my_os.os_id,
|
952
957
|
partitioning=config_custom_partitioning,
|
953
958
|
tags=[
|
@@ -974,7 +979,7 @@ class BaremetalServer(pulumi.CustomResource):
|
|
974
979
|
:param pulumi.Input[str] hostname: The hostname of the server.
|
975
980
|
:param pulumi.Input[bool] install_config_afterward: If True, this boolean allows to create a server without the install config if you want to provide it later.
|
976
981
|
:param pulumi.Input[str] name: The name of the server.
|
977
|
-
:param pulumi.Input[str] offer: The offer
|
982
|
+
:param pulumi.Input[str] offer: The offer UUID of the baremetal server.
|
978
983
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-servers-get-a-specific-elastic-metal-server) to find the right offer.
|
979
984
|
|
980
985
|
> **Important:** Updates to `offer` will recreate the server.
|
@@ -1003,7 +1008,7 @@ class BaremetalServer(pulumi.CustomResource):
|
|
1003
1008
|
args: BaremetalServerArgs,
|
1004
1009
|
opts: Optional[pulumi.ResourceOptions] = None):
|
1005
1010
|
"""
|
1006
|
-
Creates and manages Scaleway Compute Baremetal servers. For more information, see
|
1011
|
+
Creates and manages Scaleway Compute Baremetal servers. For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/elastic-metal/).
|
1007
1012
|
|
1008
1013
|
## Example Usage
|
1009
1014
|
|
@@ -1015,9 +1020,11 @@ class BaremetalServer(pulumi.CustomResource):
|
|
1015
1020
|
import pulumiverse_scaleway as scaleway
|
1016
1021
|
|
1017
1022
|
main = scaleway.get_iam_ssh_key(name="main")
|
1023
|
+
my_offer = scaleway.get_baremetal_offer(zone="fr-par-2",
|
1024
|
+
name="EM-I220E-NVME")
|
1018
1025
|
base = scaleway.BaremetalServer("base",
|
1019
1026
|
zone="fr-par-2",
|
1020
|
-
offer=
|
1027
|
+
offer=my_offer.offer_id,
|
1021
1028
|
os="d17d6872-0412-45d9-a198-af82c34d3c5c",
|
1022
1029
|
ssh_key_ids=[main_scaleway_account_ssh_key["id"]])
|
1023
1030
|
```
|
@@ -1156,11 +1163,14 @@ class BaremetalServer(pulumi.CustomResource):
|
|
1156
1163
|
name="Ubuntu",
|
1157
1164
|
version="22.04 LTS (Jammy Jellyfish)")
|
1158
1165
|
main = scaleway.IamSshKey("main", name="main")
|
1166
|
+
my_offer = scaleway.get_baremetal_offer(zone="fr-par-1",
|
1167
|
+
name="EM-B220E-NVME",
|
1168
|
+
subscription_period="hourly")
|
1159
1169
|
base = scaleway.BaremetalServer("base",
|
1160
1170
|
name="%s",
|
1161
1171
|
zone="fr-par-1",
|
1162
1172
|
description="test a description",
|
1163
|
-
offer=
|
1173
|
+
offer=my_offer.offer_id,
|
1164
1174
|
os=my_os.os_id,
|
1165
1175
|
partitioning=config_custom_partitioning,
|
1166
1176
|
tags=[
|
@@ -1304,7 +1314,7 @@ class BaremetalServer(pulumi.CustomResource):
|
|
1304
1314
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerIpv4Args', 'BaremetalServerIpv4ArgsDict']]]] ipv4s: (List of) The IPv4 addresses of the server.
|
1305
1315
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerIpv6Args', 'BaremetalServerIpv6ArgsDict']]]] ipv6s: (List of) The IPv6 addresses of the server.
|
1306
1316
|
:param pulumi.Input[str] name: The name of the server.
|
1307
|
-
:param pulumi.Input[str] offer: The offer
|
1317
|
+
:param pulumi.Input[str] offer: The offer UUID of the baremetal server.
|
1308
1318
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-servers-get-a-specific-elastic-metal-server) to find the right offer.
|
1309
1319
|
|
1310
1320
|
> **Important:** Updates to `offer` will recreate the server.
|
@@ -1430,7 +1440,7 @@ class BaremetalServer(pulumi.CustomResource):
|
|
1430
1440
|
@pulumi.getter
|
1431
1441
|
def offer(self) -> pulumi.Output[str]:
|
1432
1442
|
"""
|
1433
|
-
The offer
|
1443
|
+
The offer UUID of the baremetal server.
|
1434
1444
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-servers-get-a-specific-elastic-metal-server) to find the right offer.
|
1435
1445
|
|
1436
1446
|
> **Important:** Updates to `offer` will recreate the server.
|