pulumiverse-scaleway 1.32.0a1753171981__py3-none-any.whl → 1.33.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.
- pulumiverse_scaleway/__init__.py +9 -0
- pulumiverse_scaleway/_inputs.py +185 -39
- pulumiverse_scaleway/apple_silicon_server.py +46 -8
- pulumiverse_scaleway/applesilicon/_inputs.py +18 -18
- pulumiverse_scaleway/applesilicon/outputs.py +12 -12
- pulumiverse_scaleway/applesilicon/server.py +46 -8
- pulumiverse_scaleway/baremetal_server.py +47 -0
- pulumiverse_scaleway/block/_inputs.py +58 -6
- pulumiverse_scaleway/block/get_snapshot.py +12 -1
- pulumiverse_scaleway/block/outputs.py +60 -0
- pulumiverse_scaleway/block/snapshot.py +54 -7
- pulumiverse_scaleway/block/volume.py +14 -14
- pulumiverse_scaleway/block_snapshot.py +54 -7
- pulumiverse_scaleway/block_volume.py +14 -14
- pulumiverse_scaleway/domain/get_record.py +1 -12
- pulumiverse_scaleway/domain/record.py +0 -47
- pulumiverse_scaleway/domain_record.py +0 -47
- pulumiverse_scaleway/elasticmetal/get_server.py +12 -1
- pulumiverse_scaleway/elasticmetal/server.py +47 -0
- pulumiverse_scaleway/get_baremetal_server.py +12 -1
- pulumiverse_scaleway/get_block_snapshot.py +12 -1
- pulumiverse_scaleway/get_domain_record.py +1 -12
- pulumiverse_scaleway/get_iam_user.py +2 -2
- pulumiverse_scaleway/get_lb_frontend.py +37 -4
- pulumiverse_scaleway/get_mongo_db_instance.py +12 -1
- pulumiverse_scaleway/iam/get_user.py +2 -2
- pulumiverse_scaleway/key_manager_key.py +831 -0
- pulumiverse_scaleway/kubernetes/cluster.py +6 -6
- pulumiverse_scaleway/kubernetes_cluster.py +6 -6
- pulumiverse_scaleway/loadbalancer_frontend.py +105 -2
- pulumiverse_scaleway/loadbalancers/_inputs.py +12 -12
- pulumiverse_scaleway/loadbalancers/frontend.py +105 -2
- pulumiverse_scaleway/loadbalancers/get_frontend.py +37 -4
- pulumiverse_scaleway/loadbalancers/outputs.py +32 -10
- pulumiverse_scaleway/mongo_db_instance.py +28 -0
- pulumiverse_scaleway/mongodb/get_instance.py +12 -1
- pulumiverse_scaleway/mongodb/instance.py +28 -0
- pulumiverse_scaleway/network/acl.py +35 -37
- pulumiverse_scaleway/network/vpc.py +1 -1
- pulumiverse_scaleway/outputs.py +213 -30
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/redis/_inputs.py +43 -3
- pulumiverse_scaleway/redis/outputs.py +54 -4
- pulumiverse_scaleway/vpc.py +1 -1
- {pulumiverse_scaleway-1.32.0a1753171981.dist-info → pulumiverse_scaleway-1.33.0.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.32.0a1753171981.dist-info → pulumiverse_scaleway-1.33.0.dist-info}/RECORD +48 -47
- {pulumiverse_scaleway-1.32.0a1753171981.dist-info → pulumiverse_scaleway-1.33.0.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.32.0a1753171981.dist-info → pulumiverse_scaleway-1.33.0.dist-info}/top_level.txt +0 -0
@@ -28,7 +28,7 @@ class GetRecordResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getRecord.
|
30
30
|
"""
|
31
|
-
def __init__(__self__, data=None, dns_zone=None, fqdn=None, geo_ips=None, http_services=None, id=None,
|
31
|
+
def __init__(__self__, data=None, dns_zone=None, fqdn=None, geo_ips=None, http_services=None, id=None, name=None, priority=None, project_id=None, record_id=None, root_zone=None, ttl=None, type=None, views=None, weighteds=None):
|
32
32
|
if data and not isinstance(data, str):
|
33
33
|
raise TypeError("Expected argument 'data' to be a str")
|
34
34
|
pulumi.set(__self__, "data", data)
|
@@ -47,9 +47,6 @@ class GetRecordResult:
|
|
47
47
|
if id and not isinstance(id, str):
|
48
48
|
raise TypeError("Expected argument 'id' to be a str")
|
49
49
|
pulumi.set(__self__, "id", id)
|
50
|
-
if keep_empty_zone and not isinstance(keep_empty_zone, bool):
|
51
|
-
raise TypeError("Expected argument 'keep_empty_zone' to be a bool")
|
52
|
-
pulumi.set(__self__, "keep_empty_zone", keep_empty_zone)
|
53
50
|
if name and not isinstance(name, str):
|
54
51
|
raise TypeError("Expected argument 'name' to be a str")
|
55
52
|
pulumi.set(__self__, "name", name)
|
@@ -117,11 +114,6 @@ class GetRecordResult:
|
|
117
114
|
"""
|
118
115
|
return pulumi.get(self, "id")
|
119
116
|
|
120
|
-
@property
|
121
|
-
@pulumi.getter(name="keepEmptyZone")
|
122
|
-
def keep_empty_zone(self) -> builtins.bool:
|
123
|
-
return pulumi.get(self, "keep_empty_zone")
|
124
|
-
|
125
117
|
@property
|
126
118
|
@pulumi.getter
|
127
119
|
def name(self) -> Optional[builtins.str]:
|
@@ -192,7 +184,6 @@ class AwaitableGetRecordResult(GetRecordResult):
|
|
192
184
|
geo_ips=self.geo_ips,
|
193
185
|
http_services=self.http_services,
|
194
186
|
id=self.id,
|
195
|
-
keep_empty_zone=self.keep_empty_zone,
|
196
187
|
name=self.name,
|
197
188
|
priority=self.priority,
|
198
189
|
project_id=self.project_id,
|
@@ -262,7 +253,6 @@ def get_record(data: Optional[builtins.str] = None,
|
|
262
253
|
geo_ips=pulumi.get(__ret__, 'geo_ips'),
|
263
254
|
http_services=pulumi.get(__ret__, 'http_services'),
|
264
255
|
id=pulumi.get(__ret__, 'id'),
|
265
|
-
keep_empty_zone=pulumi.get(__ret__, 'keep_empty_zone'),
|
266
256
|
name=pulumi.get(__ret__, 'name'),
|
267
257
|
priority=pulumi.get(__ret__, 'priority'),
|
268
258
|
project_id=pulumi.get(__ret__, 'project_id'),
|
@@ -329,7 +319,6 @@ def get_record_output(data: Optional[pulumi.Input[Optional[builtins.str]]] = Non
|
|
329
319
|
geo_ips=pulumi.get(__response__, 'geo_ips'),
|
330
320
|
http_services=pulumi.get(__response__, 'http_services'),
|
331
321
|
id=pulumi.get(__response__, 'id'),
|
332
|
-
keep_empty_zone=pulumi.get(__response__, 'keep_empty_zone'),
|
333
322
|
name=pulumi.get(__response__, 'name'),
|
334
323
|
priority=pulumi.get(__response__, 'priority'),
|
335
324
|
project_id=pulumi.get(__response__, 'project_id'),
|
@@ -27,7 +27,6 @@ class RecordArgs:
|
|
27
27
|
type: pulumi.Input[builtins.str],
|
28
28
|
geo_ip: Optional[pulumi.Input['RecordGeoIpArgs']] = None,
|
29
29
|
http_service: Optional[pulumi.Input['RecordHttpServiceArgs']] = None,
|
30
|
-
keep_empty_zone: Optional[pulumi.Input[builtins.bool]] = None,
|
31
30
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
32
31
|
priority: Optional[pulumi.Input[builtins.int]] = None,
|
33
32
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -41,7 +40,6 @@ class RecordArgs:
|
|
41
40
|
:param pulumi.Input[builtins.str] type: The type of the record (`A`, `AAAA`, `MX`, `CNAME`, `DNAME`, `ALIAS`, `NS`, `PTR`, `SRV`, `TXT`, `TLSA`, or `CAA`).
|
42
41
|
:param pulumi.Input['RecordGeoIpArgs'] geo_ip: Return record based on client localisation
|
43
42
|
:param pulumi.Input['RecordHttpServiceArgs'] http_service: Return record based on client localisation
|
44
|
-
:param pulumi.Input[builtins.bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
|
45
43
|
:param pulumi.Input[builtins.str] name: The name of the record (can be an empty string for a root record).
|
46
44
|
:param pulumi.Input[builtins.int] priority: The priority of the record (mostly used with an `MX` record).
|
47
45
|
:param pulumi.Input[builtins.str] project_id: The project_id you want to attach the resource to
|
@@ -56,8 +54,6 @@ class RecordArgs:
|
|
56
54
|
pulumi.set(__self__, "geo_ip", geo_ip)
|
57
55
|
if http_service is not None:
|
58
56
|
pulumi.set(__self__, "http_service", http_service)
|
59
|
-
if keep_empty_zone is not None:
|
60
|
-
pulumi.set(__self__, "keep_empty_zone", keep_empty_zone)
|
61
57
|
if name is not None:
|
62
58
|
pulumi.set(__self__, "name", name)
|
63
59
|
if priority is not None:
|
@@ -131,18 +127,6 @@ class RecordArgs:
|
|
131
127
|
def http_service(self, value: Optional[pulumi.Input['RecordHttpServiceArgs']]):
|
132
128
|
pulumi.set(self, "http_service", value)
|
133
129
|
|
134
|
-
@property
|
135
|
-
@pulumi.getter(name="keepEmptyZone")
|
136
|
-
def keep_empty_zone(self) -> Optional[pulumi.Input[builtins.bool]]:
|
137
|
-
"""
|
138
|
-
When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
|
139
|
-
"""
|
140
|
-
return pulumi.get(self, "keep_empty_zone")
|
141
|
-
|
142
|
-
@keep_empty_zone.setter
|
143
|
-
def keep_empty_zone(self, value: Optional[pulumi.Input[builtins.bool]]):
|
144
|
-
pulumi.set(self, "keep_empty_zone", value)
|
145
|
-
|
146
130
|
@property
|
147
131
|
@pulumi.getter
|
148
132
|
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -224,7 +208,6 @@ class _RecordState:
|
|
224
208
|
fqdn: Optional[pulumi.Input[builtins.str]] = None,
|
225
209
|
geo_ip: Optional[pulumi.Input['RecordGeoIpArgs']] = None,
|
226
210
|
http_service: Optional[pulumi.Input['RecordHttpServiceArgs']] = None,
|
227
|
-
keep_empty_zone: Optional[pulumi.Input[builtins.bool]] = None,
|
228
211
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
229
212
|
priority: Optional[pulumi.Input[builtins.int]] = None,
|
230
213
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -240,7 +223,6 @@ class _RecordState:
|
|
240
223
|
:param pulumi.Input[builtins.str] fqdn: The FQDN of the record.
|
241
224
|
:param pulumi.Input['RecordGeoIpArgs'] geo_ip: Return record based on client localisation
|
242
225
|
:param pulumi.Input['RecordHttpServiceArgs'] http_service: Return record based on client localisation
|
243
|
-
:param pulumi.Input[builtins.bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
|
244
226
|
:param pulumi.Input[builtins.str] name: The name of the record (can be an empty string for a root record).
|
245
227
|
:param pulumi.Input[builtins.int] priority: The priority of the record (mostly used with an `MX` record).
|
246
228
|
:param pulumi.Input[builtins.str] project_id: The project_id you want to attach the resource to
|
@@ -260,8 +242,6 @@ class _RecordState:
|
|
260
242
|
pulumi.set(__self__, "geo_ip", geo_ip)
|
261
243
|
if http_service is not None:
|
262
244
|
pulumi.set(__self__, "http_service", http_service)
|
263
|
-
if keep_empty_zone is not None:
|
264
|
-
pulumi.set(__self__, "keep_empty_zone", keep_empty_zone)
|
265
245
|
if name is not None:
|
266
246
|
pulumi.set(__self__, "name", name)
|
267
247
|
if priority is not None:
|
@@ -339,18 +319,6 @@ class _RecordState:
|
|
339
319
|
def http_service(self, value: Optional[pulumi.Input['RecordHttpServiceArgs']]):
|
340
320
|
pulumi.set(self, "http_service", value)
|
341
321
|
|
342
|
-
@property
|
343
|
-
@pulumi.getter(name="keepEmptyZone")
|
344
|
-
def keep_empty_zone(self) -> Optional[pulumi.Input[builtins.bool]]:
|
345
|
-
"""
|
346
|
-
When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
|
347
|
-
"""
|
348
|
-
return pulumi.get(self, "keep_empty_zone")
|
349
|
-
|
350
|
-
@keep_empty_zone.setter
|
351
|
-
def keep_empty_zone(self, value: Optional[pulumi.Input[builtins.bool]]):
|
352
|
-
pulumi.set(self, "keep_empty_zone", value)
|
353
|
-
|
354
322
|
@property
|
355
323
|
@pulumi.getter
|
356
324
|
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -458,7 +426,6 @@ class Record(pulumi.CustomResource):
|
|
458
426
|
dns_zone: Optional[pulumi.Input[builtins.str]] = None,
|
459
427
|
geo_ip: Optional[pulumi.Input[Union['RecordGeoIpArgs', 'RecordGeoIpArgsDict']]] = None,
|
460
428
|
http_service: Optional[pulumi.Input[Union['RecordHttpServiceArgs', 'RecordHttpServiceArgsDict']]] = None,
|
461
|
-
keep_empty_zone: Optional[pulumi.Input[builtins.bool]] = None,
|
462
429
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
463
430
|
priority: Optional[pulumi.Input[builtins.int]] = None,
|
464
431
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -670,7 +637,6 @@ class Record(pulumi.CustomResource):
|
|
670
637
|
:param pulumi.Input[builtins.str] dns_zone: The DNS zone of the domain. If the domain has no DNS zone, one will be automatically created.
|
671
638
|
:param pulumi.Input[Union['RecordGeoIpArgs', 'RecordGeoIpArgsDict']] geo_ip: Return record based on client localisation
|
672
639
|
:param pulumi.Input[Union['RecordHttpServiceArgs', 'RecordHttpServiceArgsDict']] http_service: Return record based on client localisation
|
673
|
-
:param pulumi.Input[builtins.bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
|
674
640
|
:param pulumi.Input[builtins.str] name: The name of the record (can be an empty string for a root record).
|
675
641
|
:param pulumi.Input[builtins.int] priority: The priority of the record (mostly used with an `MX` record).
|
676
642
|
:param pulumi.Input[builtins.str] project_id: The project_id you want to attach the resource to
|
@@ -901,7 +867,6 @@ class Record(pulumi.CustomResource):
|
|
901
867
|
dns_zone: Optional[pulumi.Input[builtins.str]] = None,
|
902
868
|
geo_ip: Optional[pulumi.Input[Union['RecordGeoIpArgs', 'RecordGeoIpArgsDict']]] = None,
|
903
869
|
http_service: Optional[pulumi.Input[Union['RecordHttpServiceArgs', 'RecordHttpServiceArgsDict']]] = None,
|
904
|
-
keep_empty_zone: Optional[pulumi.Input[builtins.bool]] = None,
|
905
870
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
906
871
|
priority: Optional[pulumi.Input[builtins.int]] = None,
|
907
872
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -926,7 +891,6 @@ class Record(pulumi.CustomResource):
|
|
926
891
|
__props__.__dict__["dns_zone"] = dns_zone
|
927
892
|
__props__.__dict__["geo_ip"] = geo_ip
|
928
893
|
__props__.__dict__["http_service"] = http_service
|
929
|
-
__props__.__dict__["keep_empty_zone"] = keep_empty_zone
|
930
894
|
__props__.__dict__["name"] = name
|
931
895
|
__props__.__dict__["priority"] = priority
|
932
896
|
__props__.__dict__["project_id"] = project_id
|
@@ -955,7 +919,6 @@ class Record(pulumi.CustomResource):
|
|
955
919
|
fqdn: Optional[pulumi.Input[builtins.str]] = None,
|
956
920
|
geo_ip: Optional[pulumi.Input[Union['RecordGeoIpArgs', 'RecordGeoIpArgsDict']]] = None,
|
957
921
|
http_service: Optional[pulumi.Input[Union['RecordHttpServiceArgs', 'RecordHttpServiceArgsDict']]] = None,
|
958
|
-
keep_empty_zone: Optional[pulumi.Input[builtins.bool]] = None,
|
959
922
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
960
923
|
priority: Optional[pulumi.Input[builtins.int]] = None,
|
961
924
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -976,7 +939,6 @@ class Record(pulumi.CustomResource):
|
|
976
939
|
:param pulumi.Input[builtins.str] fqdn: The FQDN of the record.
|
977
940
|
:param pulumi.Input[Union['RecordGeoIpArgs', 'RecordGeoIpArgsDict']] geo_ip: Return record based on client localisation
|
978
941
|
:param pulumi.Input[Union['RecordHttpServiceArgs', 'RecordHttpServiceArgsDict']] http_service: Return record based on client localisation
|
979
|
-
:param pulumi.Input[builtins.bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
|
980
942
|
:param pulumi.Input[builtins.str] name: The name of the record (can be an empty string for a root record).
|
981
943
|
:param pulumi.Input[builtins.int] priority: The priority of the record (mostly used with an `MX` record).
|
982
944
|
:param pulumi.Input[builtins.str] project_id: The project_id you want to attach the resource to
|
@@ -995,7 +957,6 @@ class Record(pulumi.CustomResource):
|
|
995
957
|
__props__.__dict__["fqdn"] = fqdn
|
996
958
|
__props__.__dict__["geo_ip"] = geo_ip
|
997
959
|
__props__.__dict__["http_service"] = http_service
|
998
|
-
__props__.__dict__["keep_empty_zone"] = keep_empty_zone
|
999
960
|
__props__.__dict__["name"] = name
|
1000
961
|
__props__.__dict__["priority"] = priority
|
1001
962
|
__props__.__dict__["project_id"] = project_id
|
@@ -1046,14 +1007,6 @@ class Record(pulumi.CustomResource):
|
|
1046
1007
|
"""
|
1047
1008
|
return pulumi.get(self, "http_service")
|
1048
1009
|
|
1049
|
-
@property
|
1050
|
-
@pulumi.getter(name="keepEmptyZone")
|
1051
|
-
def keep_empty_zone(self) -> pulumi.Output[Optional[builtins.bool]]:
|
1052
|
-
"""
|
1053
|
-
When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
|
1054
|
-
"""
|
1055
|
-
return pulumi.get(self, "keep_empty_zone")
|
1056
|
-
|
1057
1010
|
@property
|
1058
1011
|
@pulumi.getter
|
1059
1012
|
def name(self) -> pulumi.Output[builtins.str]:
|
@@ -27,7 +27,6 @@ class DomainRecordArgs:
|
|
27
27
|
type: pulumi.Input[builtins.str],
|
28
28
|
geo_ip: Optional[pulumi.Input['DomainRecordGeoIpArgs']] = None,
|
29
29
|
http_service: Optional[pulumi.Input['DomainRecordHttpServiceArgs']] = None,
|
30
|
-
keep_empty_zone: Optional[pulumi.Input[builtins.bool]] = None,
|
31
30
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
32
31
|
priority: Optional[pulumi.Input[builtins.int]] = None,
|
33
32
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -41,7 +40,6 @@ class DomainRecordArgs:
|
|
41
40
|
:param pulumi.Input[builtins.str] type: The type of the record (`A`, `AAAA`, `MX`, `CNAME`, `DNAME`, `ALIAS`, `NS`, `PTR`, `SRV`, `TXT`, `TLSA`, or `CAA`).
|
42
41
|
:param pulumi.Input['DomainRecordGeoIpArgs'] geo_ip: Return record based on client localisation
|
43
42
|
:param pulumi.Input['DomainRecordHttpServiceArgs'] http_service: Return record based on client localisation
|
44
|
-
:param pulumi.Input[builtins.bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
|
45
43
|
:param pulumi.Input[builtins.str] name: The name of the record (can be an empty string for a root record).
|
46
44
|
:param pulumi.Input[builtins.int] priority: The priority of the record (mostly used with an `MX` record).
|
47
45
|
:param pulumi.Input[builtins.str] project_id: The project_id you want to attach the resource to
|
@@ -56,8 +54,6 @@ class DomainRecordArgs:
|
|
56
54
|
pulumi.set(__self__, "geo_ip", geo_ip)
|
57
55
|
if http_service is not None:
|
58
56
|
pulumi.set(__self__, "http_service", http_service)
|
59
|
-
if keep_empty_zone is not None:
|
60
|
-
pulumi.set(__self__, "keep_empty_zone", keep_empty_zone)
|
61
57
|
if name is not None:
|
62
58
|
pulumi.set(__self__, "name", name)
|
63
59
|
if priority is not None:
|
@@ -131,18 +127,6 @@ class DomainRecordArgs:
|
|
131
127
|
def http_service(self, value: Optional[pulumi.Input['DomainRecordHttpServiceArgs']]):
|
132
128
|
pulumi.set(self, "http_service", value)
|
133
129
|
|
134
|
-
@property
|
135
|
-
@pulumi.getter(name="keepEmptyZone")
|
136
|
-
def keep_empty_zone(self) -> Optional[pulumi.Input[builtins.bool]]:
|
137
|
-
"""
|
138
|
-
When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
|
139
|
-
"""
|
140
|
-
return pulumi.get(self, "keep_empty_zone")
|
141
|
-
|
142
|
-
@keep_empty_zone.setter
|
143
|
-
def keep_empty_zone(self, value: Optional[pulumi.Input[builtins.bool]]):
|
144
|
-
pulumi.set(self, "keep_empty_zone", value)
|
145
|
-
|
146
130
|
@property
|
147
131
|
@pulumi.getter
|
148
132
|
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -224,7 +208,6 @@ class _DomainRecordState:
|
|
224
208
|
fqdn: Optional[pulumi.Input[builtins.str]] = None,
|
225
209
|
geo_ip: Optional[pulumi.Input['DomainRecordGeoIpArgs']] = None,
|
226
210
|
http_service: Optional[pulumi.Input['DomainRecordHttpServiceArgs']] = None,
|
227
|
-
keep_empty_zone: Optional[pulumi.Input[builtins.bool]] = None,
|
228
211
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
229
212
|
priority: Optional[pulumi.Input[builtins.int]] = None,
|
230
213
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -240,7 +223,6 @@ class _DomainRecordState:
|
|
240
223
|
:param pulumi.Input[builtins.str] fqdn: The FQDN of the record.
|
241
224
|
:param pulumi.Input['DomainRecordGeoIpArgs'] geo_ip: Return record based on client localisation
|
242
225
|
:param pulumi.Input['DomainRecordHttpServiceArgs'] http_service: Return record based on client localisation
|
243
|
-
:param pulumi.Input[builtins.bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
|
244
226
|
:param pulumi.Input[builtins.str] name: The name of the record (can be an empty string for a root record).
|
245
227
|
:param pulumi.Input[builtins.int] priority: The priority of the record (mostly used with an `MX` record).
|
246
228
|
:param pulumi.Input[builtins.str] project_id: The project_id you want to attach the resource to
|
@@ -260,8 +242,6 @@ class _DomainRecordState:
|
|
260
242
|
pulumi.set(__self__, "geo_ip", geo_ip)
|
261
243
|
if http_service is not None:
|
262
244
|
pulumi.set(__self__, "http_service", http_service)
|
263
|
-
if keep_empty_zone is not None:
|
264
|
-
pulumi.set(__self__, "keep_empty_zone", keep_empty_zone)
|
265
245
|
if name is not None:
|
266
246
|
pulumi.set(__self__, "name", name)
|
267
247
|
if priority is not None:
|
@@ -339,18 +319,6 @@ class _DomainRecordState:
|
|
339
319
|
def http_service(self, value: Optional[pulumi.Input['DomainRecordHttpServiceArgs']]):
|
340
320
|
pulumi.set(self, "http_service", value)
|
341
321
|
|
342
|
-
@property
|
343
|
-
@pulumi.getter(name="keepEmptyZone")
|
344
|
-
def keep_empty_zone(self) -> Optional[pulumi.Input[builtins.bool]]:
|
345
|
-
"""
|
346
|
-
When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
|
347
|
-
"""
|
348
|
-
return pulumi.get(self, "keep_empty_zone")
|
349
|
-
|
350
|
-
@keep_empty_zone.setter
|
351
|
-
def keep_empty_zone(self, value: Optional[pulumi.Input[builtins.bool]]):
|
352
|
-
pulumi.set(self, "keep_empty_zone", value)
|
353
|
-
|
354
322
|
@property
|
355
323
|
@pulumi.getter
|
356
324
|
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -463,7 +431,6 @@ class DomainRecord(pulumi.CustomResource):
|
|
463
431
|
dns_zone: Optional[pulumi.Input[builtins.str]] = None,
|
464
432
|
geo_ip: Optional[pulumi.Input[Union['DomainRecordGeoIpArgs', 'DomainRecordGeoIpArgsDict']]] = None,
|
465
433
|
http_service: Optional[pulumi.Input[Union['DomainRecordHttpServiceArgs', 'DomainRecordHttpServiceArgsDict']]] = None,
|
466
|
-
keep_empty_zone: Optional[pulumi.Input[builtins.bool]] = None,
|
467
434
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
468
435
|
priority: Optional[pulumi.Input[builtins.int]] = None,
|
469
436
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -675,7 +642,6 @@ class DomainRecord(pulumi.CustomResource):
|
|
675
642
|
:param pulumi.Input[builtins.str] dns_zone: The DNS zone of the domain. If the domain has no DNS zone, one will be automatically created.
|
676
643
|
:param pulumi.Input[Union['DomainRecordGeoIpArgs', 'DomainRecordGeoIpArgsDict']] geo_ip: Return record based on client localisation
|
677
644
|
:param pulumi.Input[Union['DomainRecordHttpServiceArgs', 'DomainRecordHttpServiceArgsDict']] http_service: Return record based on client localisation
|
678
|
-
:param pulumi.Input[builtins.bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
|
679
645
|
:param pulumi.Input[builtins.str] name: The name of the record (can be an empty string for a root record).
|
680
646
|
:param pulumi.Input[builtins.int] priority: The priority of the record (mostly used with an `MX` record).
|
681
647
|
:param pulumi.Input[builtins.str] project_id: The project_id you want to attach the resource to
|
@@ -906,7 +872,6 @@ class DomainRecord(pulumi.CustomResource):
|
|
906
872
|
dns_zone: Optional[pulumi.Input[builtins.str]] = None,
|
907
873
|
geo_ip: Optional[pulumi.Input[Union['DomainRecordGeoIpArgs', 'DomainRecordGeoIpArgsDict']]] = None,
|
908
874
|
http_service: Optional[pulumi.Input[Union['DomainRecordHttpServiceArgs', 'DomainRecordHttpServiceArgsDict']]] = None,
|
909
|
-
keep_empty_zone: Optional[pulumi.Input[builtins.bool]] = None,
|
910
875
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
911
876
|
priority: Optional[pulumi.Input[builtins.int]] = None,
|
912
877
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -932,7 +897,6 @@ class DomainRecord(pulumi.CustomResource):
|
|
932
897
|
__props__.__dict__["dns_zone"] = dns_zone
|
933
898
|
__props__.__dict__["geo_ip"] = geo_ip
|
934
899
|
__props__.__dict__["http_service"] = http_service
|
935
|
-
__props__.__dict__["keep_empty_zone"] = keep_empty_zone
|
936
900
|
__props__.__dict__["name"] = name
|
937
901
|
__props__.__dict__["priority"] = priority
|
938
902
|
__props__.__dict__["project_id"] = project_id
|
@@ -959,7 +923,6 @@ class DomainRecord(pulumi.CustomResource):
|
|
959
923
|
fqdn: Optional[pulumi.Input[builtins.str]] = None,
|
960
924
|
geo_ip: Optional[pulumi.Input[Union['DomainRecordGeoIpArgs', 'DomainRecordGeoIpArgsDict']]] = None,
|
961
925
|
http_service: Optional[pulumi.Input[Union['DomainRecordHttpServiceArgs', 'DomainRecordHttpServiceArgsDict']]] = None,
|
962
|
-
keep_empty_zone: Optional[pulumi.Input[builtins.bool]] = None,
|
963
926
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
964
927
|
priority: Optional[pulumi.Input[builtins.int]] = None,
|
965
928
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -980,7 +943,6 @@ class DomainRecord(pulumi.CustomResource):
|
|
980
943
|
:param pulumi.Input[builtins.str] fqdn: The FQDN of the record.
|
981
944
|
:param pulumi.Input[Union['DomainRecordGeoIpArgs', 'DomainRecordGeoIpArgsDict']] geo_ip: Return record based on client localisation
|
982
945
|
:param pulumi.Input[Union['DomainRecordHttpServiceArgs', 'DomainRecordHttpServiceArgsDict']] http_service: Return record based on client localisation
|
983
|
-
:param pulumi.Input[builtins.bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
|
984
946
|
:param pulumi.Input[builtins.str] name: The name of the record (can be an empty string for a root record).
|
985
947
|
:param pulumi.Input[builtins.int] priority: The priority of the record (mostly used with an `MX` record).
|
986
948
|
:param pulumi.Input[builtins.str] project_id: The project_id you want to attach the resource to
|
@@ -999,7 +961,6 @@ class DomainRecord(pulumi.CustomResource):
|
|
999
961
|
__props__.__dict__["fqdn"] = fqdn
|
1000
962
|
__props__.__dict__["geo_ip"] = geo_ip
|
1001
963
|
__props__.__dict__["http_service"] = http_service
|
1002
|
-
__props__.__dict__["keep_empty_zone"] = keep_empty_zone
|
1003
964
|
__props__.__dict__["name"] = name
|
1004
965
|
__props__.__dict__["priority"] = priority
|
1005
966
|
__props__.__dict__["project_id"] = project_id
|
@@ -1050,14 +1011,6 @@ class DomainRecord(pulumi.CustomResource):
|
|
1050
1011
|
"""
|
1051
1012
|
return pulumi.get(self, "http_service")
|
1052
1013
|
|
1053
|
-
@property
|
1054
|
-
@pulumi.getter(name="keepEmptyZone")
|
1055
|
-
def keep_empty_zone(self) -> pulumi.Output[Optional[builtins.bool]]:
|
1056
|
-
"""
|
1057
|
-
When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
|
1058
|
-
"""
|
1059
|
-
return pulumi.get(self, "keep_empty_zone")
|
1060
|
-
|
1061
1014
|
@property
|
1062
1015
|
@pulumi.getter
|
1063
1016
|
def name(self) -> pulumi.Output[builtins.str]:
|
@@ -28,7 +28,7 @@ class GetServerResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getServer.
|
30
30
|
"""
|
31
|
-
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_ips=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
|
+
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_ips=None, private_networks=None, project_id=None, protected=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):
|
32
32
|
if description and not isinstance(description, str):
|
33
33
|
raise TypeError("Expected argument 'description' to be a str")
|
34
34
|
pulumi.set(__self__, "description", description)
|
@@ -92,6 +92,9 @@ class GetServerResult:
|
|
92
92
|
if project_id and not isinstance(project_id, str):
|
93
93
|
raise TypeError("Expected argument 'project_id' to be a str")
|
94
94
|
pulumi.set(__self__, "project_id", project_id)
|
95
|
+
if protected and not isinstance(protected, bool):
|
96
|
+
raise TypeError("Expected argument 'protected' to be a bool")
|
97
|
+
pulumi.set(__self__, "protected", protected)
|
95
98
|
if reinstall_on_config_changes and not isinstance(reinstall_on_config_changes, bool):
|
96
99
|
raise TypeError("Expected argument 'reinstall_on_config_changes' to be a bool")
|
97
100
|
pulumi.set(__self__, "reinstall_on_config_changes", reinstall_on_config_changes)
|
@@ -225,6 +228,11 @@ class GetServerResult:
|
|
225
228
|
def project_id(self) -> Optional[builtins.str]:
|
226
229
|
return pulumi.get(self, "project_id")
|
227
230
|
|
231
|
+
@property
|
232
|
+
@pulumi.getter
|
233
|
+
def protected(self) -> builtins.bool:
|
234
|
+
return pulumi.get(self, "protected")
|
235
|
+
|
228
236
|
@property
|
229
237
|
@pulumi.getter(name="reinstallOnConfigChanges")
|
230
238
|
def reinstall_on_config_changes(self) -> builtins.bool:
|
@@ -293,6 +301,7 @@ class AwaitableGetServerResult(GetServerResult):
|
|
293
301
|
private_ips=self.private_ips,
|
294
302
|
private_networks=self.private_networks,
|
295
303
|
project_id=self.project_id,
|
304
|
+
protected=self.protected,
|
296
305
|
reinstall_on_config_changes=self.reinstall_on_config_changes,
|
297
306
|
server_id=self.server_id,
|
298
307
|
service_password=self.service_password,
|
@@ -360,6 +369,7 @@ def get_server(name: Optional[builtins.str] = None,
|
|
360
369
|
private_ips=pulumi.get(__ret__, 'private_ips'),
|
361
370
|
private_networks=pulumi.get(__ret__, 'private_networks'),
|
362
371
|
project_id=pulumi.get(__ret__, 'project_id'),
|
372
|
+
protected=pulumi.get(__ret__, 'protected'),
|
363
373
|
reinstall_on_config_changes=pulumi.get(__ret__, 'reinstall_on_config_changes'),
|
364
374
|
server_id=pulumi.get(__ret__, 'server_id'),
|
365
375
|
service_password=pulumi.get(__ret__, 'service_password'),
|
@@ -424,6 +434,7 @@ def get_server_output(name: Optional[pulumi.Input[Optional[builtins.str]]] = Non
|
|
424
434
|
private_ips=pulumi.get(__response__, 'private_ips'),
|
425
435
|
private_networks=pulumi.get(__response__, 'private_networks'),
|
426
436
|
project_id=pulumi.get(__response__, 'project_id'),
|
437
|
+
protected=pulumi.get(__response__, 'protected'),
|
427
438
|
reinstall_on_config_changes=pulumi.get(__response__, 'reinstall_on_config_changes'),
|
428
439
|
server_id=pulumi.get(__response__, 'server_id'),
|
429
440
|
service_password=pulumi.get(__response__, 'service_password'),
|
@@ -34,6 +34,7 @@ class ServerArgs:
|
|
34
34
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPrivateIpArgs']]]] = None,
|
35
35
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]]] = None,
|
36
36
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
37
|
+
protected: Optional[pulumi.Input[builtins.bool]] = None,
|
37
38
|
reinstall_on_config_changes: Optional[pulumi.Input[builtins.bool]] = None,
|
38
39
|
service_password: Optional[pulumi.Input[builtins.str]] = None,
|
39
40
|
service_user: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -61,6 +62,7 @@ class ServerArgs:
|
|
61
62
|
:param pulumi.Input[Sequence[pulumi.Input['ServerPrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
62
63
|
:param pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]] private_networks: The private networks to attach to the server. For more information, see [the documentation](https://www.scaleway.com/en/docs/compute/elastic-metal/how-to/use-private-networks/)
|
63
64
|
:param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
|
65
|
+
:param pulumi.Input[builtins.bool] protected: Set to true to activate server protection option.
|
64
66
|
:param pulumi.Input[builtins.bool] reinstall_on_config_changes: If True, this boolean allows to reinstall the server on install config changes.
|
65
67
|
> **Important:** Updates to `ssh_key_ids`, `user`, `password`, `service_user` or `service_password` will not take effect on the server, it requires to reinstall it. To do so please set 'reinstall_on_config_changes' argument to true.
|
66
68
|
:param pulumi.Input[builtins.str] service_password: Password used for the service to install. May be required depending on used os.
|
@@ -93,6 +95,8 @@ class ServerArgs:
|
|
93
95
|
pulumi.set(__self__, "private_networks", private_networks)
|
94
96
|
if project_id is not None:
|
95
97
|
pulumi.set(__self__, "project_id", project_id)
|
98
|
+
if protected is not None:
|
99
|
+
pulumi.set(__self__, "protected", protected)
|
96
100
|
if reinstall_on_config_changes is not None:
|
97
101
|
pulumi.set(__self__, "reinstall_on_config_changes", reinstall_on_config_changes)
|
98
102
|
if service_password is not None:
|
@@ -258,6 +262,18 @@ class ServerArgs:
|
|
258
262
|
def project_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
259
263
|
pulumi.set(self, "project_id", value)
|
260
264
|
|
265
|
+
@property
|
266
|
+
@pulumi.getter
|
267
|
+
def protected(self) -> Optional[pulumi.Input[builtins.bool]]:
|
268
|
+
"""
|
269
|
+
Set to true to activate server protection option.
|
270
|
+
"""
|
271
|
+
return pulumi.get(self, "protected")
|
272
|
+
|
273
|
+
@protected.setter
|
274
|
+
def protected(self, value: Optional[pulumi.Input[builtins.bool]]):
|
275
|
+
pulumi.set(self, "protected", value)
|
276
|
+
|
261
277
|
@property
|
262
278
|
@pulumi.getter(name="reinstallOnConfigChanges")
|
263
279
|
def reinstall_on_config_changes(self) -> Optional[pulumi.Input[builtins.bool]]:
|
@@ -367,6 +383,7 @@ class _ServerState:
|
|
367
383
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPrivateIpArgs']]]] = None,
|
368
384
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]]] = None,
|
369
385
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
386
|
+
protected: Optional[pulumi.Input[builtins.bool]] = None,
|
370
387
|
reinstall_on_config_changes: Optional[pulumi.Input[builtins.bool]] = None,
|
371
388
|
service_password: Optional[pulumi.Input[builtins.str]] = None,
|
372
389
|
service_user: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -402,6 +419,7 @@ class _ServerState:
|
|
402
419
|
:param pulumi.Input[Sequence[pulumi.Input['ServerPrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
403
420
|
:param pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]] private_networks: The private networks to attach to the server. For more information, see [the documentation](https://www.scaleway.com/en/docs/compute/elastic-metal/how-to/use-private-networks/)
|
404
421
|
:param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
|
422
|
+
:param pulumi.Input[builtins.bool] protected: Set to true to activate server protection option.
|
405
423
|
:param pulumi.Input[builtins.bool] reinstall_on_config_changes: If True, this boolean allows to reinstall the server on install config changes.
|
406
424
|
> **Important:** Updates to `ssh_key_ids`, `user`, `password`, `service_user` or `service_password` will not take effect on the server, it requires to reinstall it. To do so please set 'reinstall_on_config_changes' argument to true.
|
407
425
|
:param pulumi.Input[builtins.str] service_password: Password used for the service to install. May be required depending on used os.
|
@@ -451,6 +469,8 @@ class _ServerState:
|
|
451
469
|
pulumi.set(__self__, "private_networks", private_networks)
|
452
470
|
if project_id is not None:
|
453
471
|
pulumi.set(__self__, "project_id", project_id)
|
472
|
+
if protected is not None:
|
473
|
+
pulumi.set(__self__, "protected", protected)
|
454
474
|
if reinstall_on_config_changes is not None:
|
455
475
|
pulumi.set(__self__, "reinstall_on_config_changes", reinstall_on_config_changes)
|
456
476
|
if service_password is not None:
|
@@ -712,6 +732,18 @@ class _ServerState:
|
|
712
732
|
def project_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
713
733
|
pulumi.set(self, "project_id", value)
|
714
734
|
|
735
|
+
@property
|
736
|
+
@pulumi.getter
|
737
|
+
def protected(self) -> Optional[pulumi.Input[builtins.bool]]:
|
738
|
+
"""
|
739
|
+
Set to true to activate server protection option.
|
740
|
+
"""
|
741
|
+
return pulumi.get(self, "protected")
|
742
|
+
|
743
|
+
@protected.setter
|
744
|
+
def protected(self, value: Optional[pulumi.Input[builtins.bool]]):
|
745
|
+
pulumi.set(self, "protected", value)
|
746
|
+
|
715
747
|
@property
|
716
748
|
@pulumi.getter(name="reinstallOnConfigChanges")
|
717
749
|
def reinstall_on_config_changes(self) -> Optional[pulumi.Input[builtins.bool]]:
|
@@ -816,6 +848,7 @@ class Server(pulumi.CustomResource):
|
|
816
848
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateIpArgs', 'ServerPrivateIpArgsDict']]]]] = None,
|
817
849
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]]] = None,
|
818
850
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
851
|
+
protected: Optional[pulumi.Input[builtins.bool]] = None,
|
819
852
|
reinstall_on_config_changes: Optional[pulumi.Input[builtins.bool]] = None,
|
820
853
|
service_password: Optional[pulumi.Input[builtins.str]] = None,
|
821
854
|
service_user: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -950,6 +983,7 @@ class Server(pulumi.CustomResource):
|
|
950
983
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateIpArgs', 'ServerPrivateIpArgsDict']]]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
951
984
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]] private_networks: The private networks to attach to the server. For more information, see [the documentation](https://www.scaleway.com/en/docs/compute/elastic-metal/how-to/use-private-networks/)
|
952
985
|
:param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
|
986
|
+
:param pulumi.Input[builtins.bool] protected: Set to true to activate server protection option.
|
953
987
|
:param pulumi.Input[builtins.bool] reinstall_on_config_changes: If True, this boolean allows to reinstall the server on install config changes.
|
954
988
|
> **Important:** Updates to `ssh_key_ids`, `user`, `password`, `service_user` or `service_password` will not take effect on the server, it requires to reinstall it. To do so please set 'reinstall_on_config_changes' argument to true.
|
955
989
|
:param pulumi.Input[builtins.str] service_password: Password used for the service to install. May be required depending on used os.
|
@@ -1098,6 +1132,7 @@ class Server(pulumi.CustomResource):
|
|
1098
1132
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateIpArgs', 'ServerPrivateIpArgsDict']]]]] = None,
|
1099
1133
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]]] = None,
|
1100
1134
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
1135
|
+
protected: Optional[pulumi.Input[builtins.bool]] = None,
|
1101
1136
|
reinstall_on_config_changes: Optional[pulumi.Input[builtins.bool]] = None,
|
1102
1137
|
service_password: Optional[pulumi.Input[builtins.str]] = None,
|
1103
1138
|
service_user: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -1128,6 +1163,7 @@ class Server(pulumi.CustomResource):
|
|
1128
1163
|
__props__.__dict__["private_ips"] = private_ips
|
1129
1164
|
__props__.__dict__["private_networks"] = private_networks
|
1130
1165
|
__props__.__dict__["project_id"] = project_id
|
1166
|
+
__props__.__dict__["protected"] = protected
|
1131
1167
|
__props__.__dict__["reinstall_on_config_changes"] = reinstall_on_config_changes
|
1132
1168
|
__props__.__dict__["service_password"] = None if service_password is None else pulumi.Output.secret(service_password)
|
1133
1169
|
__props__.__dict__["service_user"] = service_user
|
@@ -1177,6 +1213,7 @@ class Server(pulumi.CustomResource):
|
|
1177
1213
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateIpArgs', 'ServerPrivateIpArgsDict']]]]] = None,
|
1178
1214
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]]] = None,
|
1179
1215
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
1216
|
+
protected: Optional[pulumi.Input[builtins.bool]] = None,
|
1180
1217
|
reinstall_on_config_changes: Optional[pulumi.Input[builtins.bool]] = None,
|
1181
1218
|
service_password: Optional[pulumi.Input[builtins.str]] = None,
|
1182
1219
|
service_user: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -1217,6 +1254,7 @@ class Server(pulumi.CustomResource):
|
|
1217
1254
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateIpArgs', 'ServerPrivateIpArgsDict']]]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
1218
1255
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]] private_networks: The private networks to attach to the server. For more information, see [the documentation](https://www.scaleway.com/en/docs/compute/elastic-metal/how-to/use-private-networks/)
|
1219
1256
|
:param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
|
1257
|
+
:param pulumi.Input[builtins.bool] protected: Set to true to activate server protection option.
|
1220
1258
|
:param pulumi.Input[builtins.bool] reinstall_on_config_changes: If True, this boolean allows to reinstall the server on install config changes.
|
1221
1259
|
> **Important:** Updates to `ssh_key_ids`, `user`, `password`, `service_user` or `service_password` will not take effect on the server, it requires to reinstall it. To do so please set 'reinstall_on_config_changes' argument to true.
|
1222
1260
|
:param pulumi.Input[builtins.str] service_password: Password used for the service to install. May be required depending on used os.
|
@@ -1250,6 +1288,7 @@ class Server(pulumi.CustomResource):
|
|
1250
1288
|
__props__.__dict__["private_ips"] = private_ips
|
1251
1289
|
__props__.__dict__["private_networks"] = private_networks
|
1252
1290
|
__props__.__dict__["project_id"] = project_id
|
1291
|
+
__props__.__dict__["protected"] = protected
|
1253
1292
|
__props__.__dict__["reinstall_on_config_changes"] = reinstall_on_config_changes
|
1254
1293
|
__props__.__dict__["service_password"] = service_password
|
1255
1294
|
__props__.__dict__["service_user"] = service_user
|
@@ -1425,6 +1464,14 @@ class Server(pulumi.CustomResource):
|
|
1425
1464
|
"""
|
1426
1465
|
return pulumi.get(self, "project_id")
|
1427
1466
|
|
1467
|
+
@property
|
1468
|
+
@pulumi.getter
|
1469
|
+
def protected(self) -> pulumi.Output[Optional[builtins.bool]]:
|
1470
|
+
"""
|
1471
|
+
Set to true to activate server protection option.
|
1472
|
+
"""
|
1473
|
+
return pulumi.get(self, "protected")
|
1474
|
+
|
1428
1475
|
@property
|
1429
1476
|
@pulumi.getter(name="reinstallOnConfigChanges")
|
1430
1477
|
def reinstall_on_config_changes(self) -> pulumi.Output[Optional[builtins.bool]]:
|
@@ -30,7 +30,7 @@ class GetBaremetalServerResult:
|
|
30
30
|
"""
|
31
31
|
A collection of values returned by getBaremetalServer.
|
32
32
|
"""
|
33
|
-
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_ips=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):
|
33
|
+
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_ips=None, private_networks=None, project_id=None, protected=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):
|
34
34
|
if description and not isinstance(description, str):
|
35
35
|
raise TypeError("Expected argument 'description' to be a str")
|
36
36
|
pulumi.set(__self__, "description", description)
|
@@ -94,6 +94,9 @@ class GetBaremetalServerResult:
|
|
94
94
|
if project_id and not isinstance(project_id, str):
|
95
95
|
raise TypeError("Expected argument 'project_id' to be a str")
|
96
96
|
pulumi.set(__self__, "project_id", project_id)
|
97
|
+
if protected and not isinstance(protected, bool):
|
98
|
+
raise TypeError("Expected argument 'protected' to be a bool")
|
99
|
+
pulumi.set(__self__, "protected", protected)
|
97
100
|
if reinstall_on_config_changes and not isinstance(reinstall_on_config_changes, bool):
|
98
101
|
raise TypeError("Expected argument 'reinstall_on_config_changes' to be a bool")
|
99
102
|
pulumi.set(__self__, "reinstall_on_config_changes", reinstall_on_config_changes)
|
@@ -227,6 +230,11 @@ class GetBaremetalServerResult:
|
|
227
230
|
def project_id(self) -> Optional[builtins.str]:
|
228
231
|
return pulumi.get(self, "project_id")
|
229
232
|
|
233
|
+
@property
|
234
|
+
@pulumi.getter
|
235
|
+
def protected(self) -> builtins.bool:
|
236
|
+
return pulumi.get(self, "protected")
|
237
|
+
|
230
238
|
@property
|
231
239
|
@pulumi.getter(name="reinstallOnConfigChanges")
|
232
240
|
def reinstall_on_config_changes(self) -> builtins.bool:
|
@@ -295,6 +303,7 @@ class AwaitableGetBaremetalServerResult(GetBaremetalServerResult):
|
|
295
303
|
private_ips=self.private_ips,
|
296
304
|
private_networks=self.private_networks,
|
297
305
|
project_id=self.project_id,
|
306
|
+
protected=self.protected,
|
298
307
|
reinstall_on_config_changes=self.reinstall_on_config_changes,
|
299
308
|
server_id=self.server_id,
|
300
309
|
service_password=self.service_password,
|
@@ -363,6 +372,7 @@ def get_baremetal_server(name: Optional[builtins.str] = None,
|
|
363
372
|
private_ips=pulumi.get(__ret__, 'private_ips'),
|
364
373
|
private_networks=pulumi.get(__ret__, 'private_networks'),
|
365
374
|
project_id=pulumi.get(__ret__, 'project_id'),
|
375
|
+
protected=pulumi.get(__ret__, 'protected'),
|
366
376
|
reinstall_on_config_changes=pulumi.get(__ret__, 'reinstall_on_config_changes'),
|
367
377
|
server_id=pulumi.get(__ret__, 'server_id'),
|
368
378
|
service_password=pulumi.get(__ret__, 'service_password'),
|
@@ -428,6 +438,7 @@ def get_baremetal_server_output(name: Optional[pulumi.Input[Optional[builtins.st
|
|
428
438
|
private_ips=pulumi.get(__response__, 'private_ips'),
|
429
439
|
private_networks=pulumi.get(__response__, 'private_networks'),
|
430
440
|
project_id=pulumi.get(__response__, 'project_id'),
|
441
|
+
protected=pulumi.get(__response__, 'protected'),
|
431
442
|
reinstall_on_config_changes=pulumi.get(__response__, 'reinstall_on_config_changes'),
|
432
443
|
server_id=pulumi.get(__response__, 'server_id'),
|
433
444
|
service_password=pulumi.get(__response__, 'service_password'),
|