pulumiverse-scaleway 1.28.0a1747119212__py3-none-any.whl → 1.29.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 +16 -1
- pulumiverse_scaleway/_inputs.py +604 -6
- pulumiverse_scaleway/account/__init__.py +2 -0
- pulumiverse_scaleway/account/get_projects.py +235 -0
- pulumiverse_scaleway/account/outputs.py +95 -0
- pulumiverse_scaleway/baremetal_server.py +67 -258
- pulumiverse_scaleway/block/__init__.py +2 -0
- pulumiverse_scaleway/block/_inputs.py +73 -0
- pulumiverse_scaleway/block/get_snapshot.py +13 -1
- pulumiverse_scaleway/block/outputs.py +79 -0
- pulumiverse_scaleway/block/snapshot.py +62 -14
- pulumiverse_scaleway/block_snapshot.py +62 -14
- pulumiverse_scaleway/container.py +2 -2
- pulumiverse_scaleway/containers/container.py +2 -2
- pulumiverse_scaleway/database_instance.py +61 -21
- pulumiverse_scaleway/databases/_inputs.py +54 -0
- pulumiverse_scaleway/databases/get_instance.py +12 -1
- pulumiverse_scaleway/databases/instance.py +61 -21
- pulumiverse_scaleway/databases/outputs.py +62 -0
- pulumiverse_scaleway/databases/snapshot.py +2 -2
- pulumiverse_scaleway/domain/get_zone.py +7 -1
- pulumiverse_scaleway/elasticmetal/__init__.py +1 -1
- pulumiverse_scaleway/elasticmetal/_inputs.py +74 -0
- pulumiverse_scaleway/elasticmetal/get_partition_schema.py +215 -0
- pulumiverse_scaleway/elasticmetal/get_server.py +12 -1
- pulumiverse_scaleway/elasticmetal/outputs.py +87 -0
- pulumiverse_scaleway/elasticmetal/server.py +67 -258
- pulumiverse_scaleway/get_baremetal_server.py +12 -1
- pulumiverse_scaleway/get_block_snapshot.py +13 -1
- pulumiverse_scaleway/get_cockpit_plan.py +2 -38
- pulumiverse_scaleway/get_database_instance.py +12 -1
- pulumiverse_scaleway/get_domain_zone.py +7 -1
- pulumiverse_scaleway/get_instance_private_nic.py +13 -1
- pulumiverse_scaleway/get_instance_server.py +12 -1
- pulumiverse_scaleway/get_lb_route.py +12 -1
- pulumiverse_scaleway/get_loadbalancer.py +12 -1
- pulumiverse_scaleway/get_mongo_db_instance.py +12 -1
- pulumiverse_scaleway/get_redis_cluster.py +12 -1
- pulumiverse_scaleway/get_vpc_gateway_network.py +12 -1
- pulumiverse_scaleway/iam/user.py +468 -14
- pulumiverse_scaleway/iam_user.py +468 -14
- pulumiverse_scaleway/inference/__init__.py +2 -0
- pulumiverse_scaleway/inference/_inputs.py +128 -0
- pulumiverse_scaleway/inference/deployment.py +70 -55
- pulumiverse_scaleway/inference/get_model.py +299 -0
- pulumiverse_scaleway/inference/model.py +683 -0
- pulumiverse_scaleway/inference/outputs.py +184 -0
- pulumiverse_scaleway/inference_deployment.py +70 -55
- pulumiverse_scaleway/instance/_inputs.py +108 -0
- pulumiverse_scaleway/instance/get_private_nic.py +13 -1
- pulumiverse_scaleway/instance/get_server.py +12 -1
- pulumiverse_scaleway/instance/outputs.py +124 -0
- pulumiverse_scaleway/instance/private_nic.py +49 -0
- pulumiverse_scaleway/instance/server.py +47 -0
- pulumiverse_scaleway/instance/snapshot.py +28 -7
- pulumiverse_scaleway/instance/volume.py +28 -7
- pulumiverse_scaleway/instance_private_nic.py +49 -0
- pulumiverse_scaleway/instance_server.py +47 -0
- pulumiverse_scaleway/instance_snapshot.py +28 -7
- pulumiverse_scaleway/instance_volume.py +28 -7
- pulumiverse_scaleway/kubernetes/__init__.py +1 -0
- pulumiverse_scaleway/kubernetes/_inputs.py +203 -0
- pulumiverse_scaleway/kubernetes/acl.py +446 -0
- pulumiverse_scaleway/kubernetes/outputs.py +195 -1
- pulumiverse_scaleway/loadbalancer.py +28 -0
- pulumiverse_scaleway/loadbalancer_route.py +138 -14
- pulumiverse_scaleway/loadbalancers/_inputs.py +54 -0
- pulumiverse_scaleway/loadbalancers/get_load_balancer.py +12 -1
- pulumiverse_scaleway/loadbalancers/get_route.py +12 -1
- pulumiverse_scaleway/loadbalancers/load_balancer.py +28 -0
- pulumiverse_scaleway/loadbalancers/outputs.py +62 -0
- pulumiverse_scaleway/loadbalancers/route.py +138 -14
- pulumiverse_scaleway/mnq/sns_credentials.py +7 -7
- pulumiverse_scaleway/mnq/sqs_credentials.py +7 -7
- pulumiverse_scaleway/mnq_sns_credentials.py +7 -7
- pulumiverse_scaleway/mnq_sqs_credentials.py +7 -7
- pulumiverse_scaleway/mongo_db_instance.py +107 -7
- pulumiverse_scaleway/mongodb/_inputs.py +54 -0
- pulumiverse_scaleway/mongodb/get_instance.py +12 -1
- pulumiverse_scaleway/mongodb/instance.py +107 -7
- pulumiverse_scaleway/mongodb/outputs.py +62 -0
- pulumiverse_scaleway/network/_inputs.py +54 -0
- pulumiverse_scaleway/network/gateway_network.py +47 -0
- pulumiverse_scaleway/network/get_gateway_network.py +12 -1
- pulumiverse_scaleway/network/outputs.py +62 -0
- pulumiverse_scaleway/network/route.py +90 -2
- pulumiverse_scaleway/observability/__init__.py +0 -1
- pulumiverse_scaleway/observability/get_plan.py +2 -38
- pulumiverse_scaleway/outputs.py +718 -27
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/rdb_snapshot.py +2 -2
- pulumiverse_scaleway/redis/_inputs.py +60 -6
- pulumiverse_scaleway/redis/cluster.py +47 -0
- pulumiverse_scaleway/redis/get_cluster.py +12 -1
- pulumiverse_scaleway/redis/outputs.py +66 -4
- pulumiverse_scaleway/redis_cluster.py +47 -0
- pulumiverse_scaleway/vpc_gateway_network.py +47 -0
- pulumiverse_scaleway/vpc_route.py +90 -2
- {pulumiverse_scaleway-1.28.0a1747119212.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.28.0a1747119212.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/RECORD +102 -94
- {pulumiverse_scaleway-1.28.0a1747119212.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.28.0a1747119212.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/top_level.txt +0 -0
@@ -29,7 +29,10 @@ class InstanceVolumeArgs:
|
|
29
29
|
zone: Optional[pulumi.Input[str]] = None):
|
30
30
|
"""
|
31
31
|
The set of arguments for constructing a InstanceVolume resource.
|
32
|
-
:param pulumi.Input[str] type: The type of the volume. The possible values are: `
|
32
|
+
:param pulumi.Input[str] type: The type of the volume. The possible values are: `l_ssd` (Local SSD), `scratch` (Local Scratch SSD).
|
33
|
+
|
34
|
+
> **Important:** Volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Volume` resource anymore. Please use the `block.Volume` resource instead.
|
35
|
+
If you want to migrate existing volumes, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
33
36
|
:param pulumi.Input[str] from_snapshot_id: If set, the new volume will be created from this snapshot. Only one of `size_in_gb` and `from_snapshot_id` should be specified.
|
34
37
|
:param pulumi.Input[bool] migrate_to_sbs: If true, consider that this volume may have been migrated and no longer exists.
|
35
38
|
:param pulumi.Input[str] name: The name of the volume. If not provided it will be randomly generated.
|
@@ -58,7 +61,10 @@ class InstanceVolumeArgs:
|
|
58
61
|
@pulumi.getter
|
59
62
|
def type(self) -> pulumi.Input[str]:
|
60
63
|
"""
|
61
|
-
The type of the volume. The possible values are: `
|
64
|
+
The type of the volume. The possible values are: `l_ssd` (Local SSD), `scratch` (Local Scratch SSD).
|
65
|
+
|
66
|
+
> **Important:** Volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Volume` resource anymore. Please use the `block.Volume` resource instead.
|
67
|
+
If you want to migrate existing volumes, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
62
68
|
"""
|
63
69
|
return pulumi.get(self, "type")
|
64
70
|
|
@@ -174,7 +180,10 @@ class _InstanceVolumeState:
|
|
174
180
|
:param pulumi.Input[str] server_id: The id of the associated server.
|
175
181
|
:param pulumi.Input[int] size_in_gb: The size of the volume. Only one of `size_in_gb` and `from_snapshot_id` should be specified.
|
176
182
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags to apply to the volume.
|
177
|
-
:param pulumi.Input[str] type: The type of the volume. The possible values are: `
|
183
|
+
:param pulumi.Input[str] type: The type of the volume. The possible values are: `l_ssd` (Local SSD), `scratch` (Local Scratch SSD).
|
184
|
+
|
185
|
+
> **Important:** Volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Volume` resource anymore. Please use the `block.Volume` resource instead.
|
186
|
+
If you want to migrate existing volumes, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
178
187
|
:param pulumi.Input[str] zone: `zone`) The zone in which the volume should be created.
|
179
188
|
"""
|
180
189
|
if from_snapshot_id is not None:
|
@@ -298,7 +307,10 @@ class _InstanceVolumeState:
|
|
298
307
|
@pulumi.getter
|
299
308
|
def type(self) -> Optional[pulumi.Input[str]]:
|
300
309
|
"""
|
301
|
-
The type of the volume. The possible values are: `
|
310
|
+
The type of the volume. The possible values are: `l_ssd` (Local SSD), `scratch` (Local Scratch SSD).
|
311
|
+
|
312
|
+
> **Important:** Volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Volume` resource anymore. Please use the `block.Volume` resource instead.
|
313
|
+
If you want to migrate existing volumes, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
302
314
|
"""
|
303
315
|
return pulumi.get(self, "type")
|
304
316
|
|
@@ -372,7 +384,10 @@ class InstanceVolume(pulumi.CustomResource):
|
|
372
384
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the volume is associated with.
|
373
385
|
:param pulumi.Input[int] size_in_gb: The size of the volume. Only one of `size_in_gb` and `from_snapshot_id` should be specified.
|
374
386
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags to apply to the volume.
|
375
|
-
:param pulumi.Input[str] type: The type of the volume. The possible values are: `
|
387
|
+
:param pulumi.Input[str] type: The type of the volume. The possible values are: `l_ssd` (Local SSD), `scratch` (Local Scratch SSD).
|
388
|
+
|
389
|
+
> **Important:** Volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Volume` resource anymore. Please use the `block.Volume` resource instead.
|
390
|
+
If you want to migrate existing volumes, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
376
391
|
:param pulumi.Input[str] zone: `zone`) The zone in which the volume should be created.
|
377
392
|
"""
|
378
393
|
...
|
@@ -487,7 +502,10 @@ class InstanceVolume(pulumi.CustomResource):
|
|
487
502
|
:param pulumi.Input[str] server_id: The id of the associated server.
|
488
503
|
:param pulumi.Input[int] size_in_gb: The size of the volume. Only one of `size_in_gb` and `from_snapshot_id` should be specified.
|
489
504
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags to apply to the volume.
|
490
|
-
:param pulumi.Input[str] type: The type of the volume. The possible values are: `
|
505
|
+
:param pulumi.Input[str] type: The type of the volume. The possible values are: `l_ssd` (Local SSD), `scratch` (Local Scratch SSD).
|
506
|
+
|
507
|
+
> **Important:** Volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Volume` resource anymore. Please use the `block.Volume` resource instead.
|
508
|
+
If you want to migrate existing volumes, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
491
509
|
:param pulumi.Input[str] zone: `zone`) The zone in which the volume should be created.
|
492
510
|
"""
|
493
511
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -574,7 +592,10 @@ class InstanceVolume(pulumi.CustomResource):
|
|
574
592
|
@pulumi.getter
|
575
593
|
def type(self) -> pulumi.Output[str]:
|
576
594
|
"""
|
577
|
-
The type of the volume. The possible values are: `
|
595
|
+
The type of the volume. The possible values are: `l_ssd` (Local SSD), `scratch` (Local Scratch SSD).
|
596
|
+
|
597
|
+
> **Important:** Volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Volume` resource anymore. Please use the `block.Volume` resource instead.
|
598
|
+
If you want to migrate existing volumes, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
578
599
|
"""
|
579
600
|
return pulumi.get(self, "type")
|
580
601
|
|
@@ -15,6 +15,8 @@ else:
|
|
15
15
|
from .. import _utilities
|
16
16
|
|
17
17
|
__all__ = [
|
18
|
+
'AclAclRuleArgs',
|
19
|
+
'AclAclRuleArgsDict',
|
18
20
|
'ClusterAutoUpgradeArgs',
|
19
21
|
'ClusterAutoUpgradeArgsDict',
|
20
22
|
'ClusterAutoscalerConfigArgs',
|
@@ -25,12 +27,121 @@ __all__ = [
|
|
25
27
|
'ClusterOpenIdConnectConfigArgsDict',
|
26
28
|
'PoolNodeArgs',
|
27
29
|
'PoolNodeArgsDict',
|
30
|
+
'PoolNodePrivateIpArgs',
|
31
|
+
'PoolNodePrivateIpArgsDict',
|
28
32
|
'PoolUpgradePolicyArgs',
|
29
33
|
'PoolUpgradePolicyArgsDict',
|
30
34
|
]
|
31
35
|
|
32
36
|
MYPY = False
|
33
37
|
|
38
|
+
if not MYPY:
|
39
|
+
class AclAclRuleArgsDict(TypedDict):
|
40
|
+
description: NotRequired[pulumi.Input[str]]
|
41
|
+
"""
|
42
|
+
A text describing this rule.
|
43
|
+
"""
|
44
|
+
id: NotRequired[pulumi.Input[str]]
|
45
|
+
"""
|
46
|
+
The ID of the ACL resource. It is the same as the ID of the cluster.
|
47
|
+
"""
|
48
|
+
ip: NotRequired[pulumi.Input[str]]
|
49
|
+
"""
|
50
|
+
The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation)
|
51
|
+
|
52
|
+
> **Important:** If the `ip` field is set, `scaleway_ranges` cannot be set to true in the same rule.
|
53
|
+
"""
|
54
|
+
scaleway_ranges: NotRequired[pulumi.Input[bool]]
|
55
|
+
"""
|
56
|
+
Allow access to cluster from all Scaleway ranges as defined in [Scaleway Network Information - IP ranges used by Scaleway](https://www.scaleway.com/en/docs/console/account/reference-content/scaleway-network-information/#ip-ranges-used-by-scaleway).
|
57
|
+
Only one rule with this field set to true can be added.
|
58
|
+
|
59
|
+
> **Important:** If the `scaleway_ranges` field is set to true, the `ip` field cannot be set on the same rule.
|
60
|
+
"""
|
61
|
+
elif False:
|
62
|
+
AclAclRuleArgsDict: TypeAlias = Mapping[str, Any]
|
63
|
+
|
64
|
+
@pulumi.input_type
|
65
|
+
class AclAclRuleArgs:
|
66
|
+
def __init__(__self__, *,
|
67
|
+
description: Optional[pulumi.Input[str]] = None,
|
68
|
+
id: Optional[pulumi.Input[str]] = None,
|
69
|
+
ip: Optional[pulumi.Input[str]] = None,
|
70
|
+
scaleway_ranges: Optional[pulumi.Input[bool]] = None):
|
71
|
+
"""
|
72
|
+
:param pulumi.Input[str] description: A text describing this rule.
|
73
|
+
:param pulumi.Input[str] id: The ID of the ACL resource. It is the same as the ID of the cluster.
|
74
|
+
:param pulumi.Input[str] ip: The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation)
|
75
|
+
|
76
|
+
> **Important:** If the `ip` field is set, `scaleway_ranges` cannot be set to true in the same rule.
|
77
|
+
:param pulumi.Input[bool] scaleway_ranges: Allow access to cluster from all Scaleway ranges as defined in [Scaleway Network Information - IP ranges used by Scaleway](https://www.scaleway.com/en/docs/console/account/reference-content/scaleway-network-information/#ip-ranges-used-by-scaleway).
|
78
|
+
Only one rule with this field set to true can be added.
|
79
|
+
|
80
|
+
> **Important:** If the `scaleway_ranges` field is set to true, the `ip` field cannot be set on the same rule.
|
81
|
+
"""
|
82
|
+
if description is not None:
|
83
|
+
pulumi.set(__self__, "description", description)
|
84
|
+
if id is not None:
|
85
|
+
pulumi.set(__self__, "id", id)
|
86
|
+
if ip is not None:
|
87
|
+
pulumi.set(__self__, "ip", ip)
|
88
|
+
if scaleway_ranges is not None:
|
89
|
+
pulumi.set(__self__, "scaleway_ranges", scaleway_ranges)
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter
|
93
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
94
|
+
"""
|
95
|
+
A text describing this rule.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "description")
|
98
|
+
|
99
|
+
@description.setter
|
100
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
101
|
+
pulumi.set(self, "description", value)
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter
|
105
|
+
def id(self) -> Optional[pulumi.Input[str]]:
|
106
|
+
"""
|
107
|
+
The ID of the ACL resource. It is the same as the ID of the cluster.
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "id")
|
110
|
+
|
111
|
+
@id.setter
|
112
|
+
def id(self, value: Optional[pulumi.Input[str]]):
|
113
|
+
pulumi.set(self, "id", value)
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter
|
117
|
+
def ip(self) -> Optional[pulumi.Input[str]]:
|
118
|
+
"""
|
119
|
+
The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation)
|
120
|
+
|
121
|
+
> **Important:** If the `ip` field is set, `scaleway_ranges` cannot be set to true in the same rule.
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "ip")
|
124
|
+
|
125
|
+
@ip.setter
|
126
|
+
def ip(self, value: Optional[pulumi.Input[str]]):
|
127
|
+
pulumi.set(self, "ip", value)
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="scalewayRanges")
|
131
|
+
def scaleway_ranges(self) -> Optional[pulumi.Input[bool]]:
|
132
|
+
"""
|
133
|
+
Allow access to cluster from all Scaleway ranges as defined in [Scaleway Network Information - IP ranges used by Scaleway](https://www.scaleway.com/en/docs/console/account/reference-content/scaleway-network-information/#ip-ranges-used-by-scaleway).
|
134
|
+
Only one rule with this field set to true can be added.
|
135
|
+
|
136
|
+
> **Important:** If the `scaleway_ranges` field is set to true, the `ip` field cannot be set on the same rule.
|
137
|
+
"""
|
138
|
+
return pulumi.get(self, "scaleway_ranges")
|
139
|
+
|
140
|
+
@scaleway_ranges.setter
|
141
|
+
def scaleway_ranges(self, value: Optional[pulumi.Input[bool]]):
|
142
|
+
pulumi.set(self, "scaleway_ranges", value)
|
143
|
+
|
144
|
+
|
34
145
|
if not MYPY:
|
35
146
|
class ClusterAutoUpgradeArgsDict(TypedDict):
|
36
147
|
enable: pulumi.Input[bool]
|
@@ -559,12 +670,20 @@ class ClusterOpenIdConnectConfigArgs:
|
|
559
670
|
|
560
671
|
if not MYPY:
|
561
672
|
class PoolNodeArgsDict(TypedDict):
|
673
|
+
id: NotRequired[pulumi.Input[str]]
|
674
|
+
"""
|
675
|
+
The ID of the IP address resource.
|
676
|
+
"""
|
562
677
|
name: NotRequired[pulumi.Input[str]]
|
563
678
|
"""
|
564
679
|
The name for the pool.
|
565
680
|
|
566
681
|
> **Important:** Updates to this field will recreate a new resource.
|
567
682
|
"""
|
683
|
+
private_ips: NotRequired[pulumi.Input[Sequence[pulumi.Input['PoolNodePrivateIpArgsDict']]]]
|
684
|
+
"""
|
685
|
+
The list of private IPv4 and IPv6 addresses associated with the node.
|
686
|
+
"""
|
568
687
|
public_ip: NotRequired[pulumi.Input[str]]
|
569
688
|
"""
|
570
689
|
The public IPv4. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)
|
@@ -583,20 +702,28 @@ elif False:
|
|
583
702
|
@pulumi.input_type
|
584
703
|
class PoolNodeArgs:
|
585
704
|
def __init__(__self__, *,
|
705
|
+
id: Optional[pulumi.Input[str]] = None,
|
586
706
|
name: Optional[pulumi.Input[str]] = None,
|
707
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['PoolNodePrivateIpArgs']]]] = None,
|
587
708
|
public_ip: Optional[pulumi.Input[str]] = None,
|
588
709
|
public_ip_v6: Optional[pulumi.Input[str]] = None,
|
589
710
|
status: Optional[pulumi.Input[str]] = None):
|
590
711
|
"""
|
712
|
+
:param pulumi.Input[str] id: The ID of the IP address resource.
|
591
713
|
:param pulumi.Input[str] name: The name for the pool.
|
592
714
|
|
593
715
|
> **Important:** Updates to this field will recreate a new resource.
|
716
|
+
:param pulumi.Input[Sequence[pulumi.Input['PoolNodePrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the node.
|
594
717
|
:param pulumi.Input[str] public_ip: The public IPv4. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)
|
595
718
|
:param pulumi.Input[str] public_ip_v6: The public IPv6. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)
|
596
719
|
:param pulumi.Input[str] status: The status of the node.
|
597
720
|
"""
|
721
|
+
if id is not None:
|
722
|
+
pulumi.set(__self__, "id", id)
|
598
723
|
if name is not None:
|
599
724
|
pulumi.set(__self__, "name", name)
|
725
|
+
if private_ips is not None:
|
726
|
+
pulumi.set(__self__, "private_ips", private_ips)
|
600
727
|
if public_ip is not None:
|
601
728
|
warnings.warn("""Please use the official Kubernetes provider and the kubernetes_nodes data source""", DeprecationWarning)
|
602
729
|
pulumi.log.warn("""public_ip is deprecated: Please use the official Kubernetes provider and the kubernetes_nodes data source""")
|
@@ -610,6 +737,18 @@ class PoolNodeArgs:
|
|
610
737
|
if status is not None:
|
611
738
|
pulumi.set(__self__, "status", status)
|
612
739
|
|
740
|
+
@property
|
741
|
+
@pulumi.getter
|
742
|
+
def id(self) -> Optional[pulumi.Input[str]]:
|
743
|
+
"""
|
744
|
+
The ID of the IP address resource.
|
745
|
+
"""
|
746
|
+
return pulumi.get(self, "id")
|
747
|
+
|
748
|
+
@id.setter
|
749
|
+
def id(self, value: Optional[pulumi.Input[str]]):
|
750
|
+
pulumi.set(self, "id", value)
|
751
|
+
|
613
752
|
@property
|
614
753
|
@pulumi.getter
|
615
754
|
def name(self) -> Optional[pulumi.Input[str]]:
|
@@ -624,6 +763,18 @@ class PoolNodeArgs:
|
|
624
763
|
def name(self, value: Optional[pulumi.Input[str]]):
|
625
764
|
pulumi.set(self, "name", value)
|
626
765
|
|
766
|
+
@property
|
767
|
+
@pulumi.getter(name="privateIps")
|
768
|
+
def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PoolNodePrivateIpArgs']]]]:
|
769
|
+
"""
|
770
|
+
The list of private IPv4 and IPv6 addresses associated with the node.
|
771
|
+
"""
|
772
|
+
return pulumi.get(self, "private_ips")
|
773
|
+
|
774
|
+
@private_ips.setter
|
775
|
+
def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PoolNodePrivateIpArgs']]]]):
|
776
|
+
pulumi.set(self, "private_ips", value)
|
777
|
+
|
627
778
|
@property
|
628
779
|
@pulumi.getter(name="publicIp")
|
629
780
|
@_utilities.deprecated("""Please use the official Kubernetes provider and the kubernetes_nodes data source""")
|
@@ -663,6 +814,58 @@ class PoolNodeArgs:
|
|
663
814
|
pulumi.set(self, "status", value)
|
664
815
|
|
665
816
|
|
817
|
+
if not MYPY:
|
818
|
+
class PoolNodePrivateIpArgsDict(TypedDict):
|
819
|
+
address: NotRequired[pulumi.Input[str]]
|
820
|
+
"""
|
821
|
+
The private IP address.
|
822
|
+
"""
|
823
|
+
id: NotRequired[pulumi.Input[str]]
|
824
|
+
"""
|
825
|
+
The ID of the IP address resource.
|
826
|
+
"""
|
827
|
+
elif False:
|
828
|
+
PoolNodePrivateIpArgsDict: TypeAlias = Mapping[str, Any]
|
829
|
+
|
830
|
+
@pulumi.input_type
|
831
|
+
class PoolNodePrivateIpArgs:
|
832
|
+
def __init__(__self__, *,
|
833
|
+
address: Optional[pulumi.Input[str]] = None,
|
834
|
+
id: Optional[pulumi.Input[str]] = None):
|
835
|
+
"""
|
836
|
+
:param pulumi.Input[str] address: The private IP address.
|
837
|
+
:param pulumi.Input[str] id: The ID of the IP address resource.
|
838
|
+
"""
|
839
|
+
if address is not None:
|
840
|
+
pulumi.set(__self__, "address", address)
|
841
|
+
if id is not None:
|
842
|
+
pulumi.set(__self__, "id", id)
|
843
|
+
|
844
|
+
@property
|
845
|
+
@pulumi.getter
|
846
|
+
def address(self) -> Optional[pulumi.Input[str]]:
|
847
|
+
"""
|
848
|
+
The private IP address.
|
849
|
+
"""
|
850
|
+
return pulumi.get(self, "address")
|
851
|
+
|
852
|
+
@address.setter
|
853
|
+
def address(self, value: Optional[pulumi.Input[str]]):
|
854
|
+
pulumi.set(self, "address", value)
|
855
|
+
|
856
|
+
@property
|
857
|
+
@pulumi.getter
|
858
|
+
def id(self) -> Optional[pulumi.Input[str]]:
|
859
|
+
"""
|
860
|
+
The ID of the IP address resource.
|
861
|
+
"""
|
862
|
+
return pulumi.get(self, "id")
|
863
|
+
|
864
|
+
@id.setter
|
865
|
+
def id(self, value: Optional[pulumi.Input[str]]):
|
866
|
+
pulumi.set(self, "id", value)
|
867
|
+
|
868
|
+
|
666
869
|
if not MYPY:
|
667
870
|
class PoolUpgradePolicyArgsDict(TypedDict):
|
668
871
|
max_surge: NotRequired[pulumi.Input[int]]
|