pulumiverse-scaleway 1.27.1__py3-none-any.whl → 1.28.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 -0
- pulumiverse_scaleway/_inputs.py +498 -6
- pulumiverse_scaleway/baremetal_server.py +48 -258
- pulumiverse_scaleway/database_instance.py +42 -21
- pulumiverse_scaleway/databases/_inputs.py +54 -0
- pulumiverse_scaleway/databases/get_instance.py +12 -1
- pulumiverse_scaleway/databases/instance.py +42 -21
- pulumiverse_scaleway/databases/outputs.py +62 -0
- pulumiverse_scaleway/databases/snapshot.py +2 -2
- pulumiverse_scaleway/elasticmetal/_inputs.py +74 -0
- pulumiverse_scaleway/elasticmetal/get_server.py +12 -1
- pulumiverse_scaleway/elasticmetal/outputs.py +87 -0
- pulumiverse_scaleway/elasticmetal/server.py +48 -258
- pulumiverse_scaleway/get_baremetal_server.py +12 -1
- pulumiverse_scaleway/get_cockpit_plan.py +2 -38
- pulumiverse_scaleway/get_database_instance.py +12 -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_redis_cluster.py +12 -1
- pulumiverse_scaleway/get_vpc_gateway_network.py +12 -1
- 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 +30 -0
- pulumiverse_scaleway/instance/server.py +28 -0
- pulumiverse_scaleway/instance_private_nic.py +30 -0
- pulumiverse_scaleway/instance_server.py +28 -0
- 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/network/_inputs.py +54 -0
- pulumiverse_scaleway/network/gateway_network.py +28 -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/get_plan.py +2 -38
- pulumiverse_scaleway/outputs.py +574 -5
- 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 +28 -0
- pulumiverse_scaleway/redis/get_cluster.py +12 -1
- pulumiverse_scaleway/redis/outputs.py +66 -4
- pulumiverse_scaleway/redis_cluster.py +28 -0
- pulumiverse_scaleway/vpc_gateway_network.py +28 -0
- pulumiverse_scaleway/vpc_route.py +90 -2
- {pulumiverse_scaleway-1.27.1.dist-info → pulumiverse_scaleway-1.28.0.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.27.1.dist-info → pulumiverse_scaleway-1.28.0.dist-info}/RECORD +73 -70
- {pulumiverse_scaleway-1.27.1.dist-info → pulumiverse_scaleway-1.28.0.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.27.1.dist-info → pulumiverse_scaleway-1.28.0.dist-info}/top_level.txt +0 -0
@@ -13,6 +13,7 @@ if sys.version_info >= (3, 11):
|
|
13
13
|
else:
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
15
|
from . import _utilities
|
16
|
+
from . import outputs
|
16
17
|
|
17
18
|
__all__ = [
|
18
19
|
'GetInstancePrivateNicResult',
|
@@ -28,7 +29,7 @@ class GetInstancePrivateNicResult:
|
|
28
29
|
"""
|
29
30
|
A collection of values returned by getInstancePrivateNic.
|
30
31
|
"""
|
31
|
-
def __init__(__self__, id=None, ip_ids=None, ipam_ip_ids=None, mac_address=None, private_network_id=None, private_nic_id=None, server_id=None, tags=None, zone=None):
|
32
|
+
def __init__(__self__, id=None, ip_ids=None, ipam_ip_ids=None, mac_address=None, private_ips=None, private_network_id=None, private_nic_id=None, server_id=None, tags=None, zone=None):
|
32
33
|
if id and not isinstance(id, str):
|
33
34
|
raise TypeError("Expected argument 'id' to be a str")
|
34
35
|
pulumi.set(__self__, "id", id)
|
@@ -41,6 +42,9 @@ class GetInstancePrivateNicResult:
|
|
41
42
|
if mac_address and not isinstance(mac_address, str):
|
42
43
|
raise TypeError("Expected argument 'mac_address' to be a str")
|
43
44
|
pulumi.set(__self__, "mac_address", mac_address)
|
45
|
+
if private_ips and not isinstance(private_ips, list):
|
46
|
+
raise TypeError("Expected argument 'private_ips' to be a list")
|
47
|
+
pulumi.set(__self__, "private_ips", private_ips)
|
44
48
|
if private_network_id and not isinstance(private_network_id, str):
|
45
49
|
raise TypeError("Expected argument 'private_network_id' to be a str")
|
46
50
|
pulumi.set(__self__, "private_network_id", private_network_id)
|
@@ -80,6 +84,11 @@ class GetInstancePrivateNicResult:
|
|
80
84
|
def mac_address(self) -> str:
|
81
85
|
return pulumi.get(self, "mac_address")
|
82
86
|
|
87
|
+
@property
|
88
|
+
@pulumi.getter(name="privateIps")
|
89
|
+
def private_ips(self) -> Sequence['outputs.GetInstancePrivateNicPrivateIpResult']:
|
90
|
+
return pulumi.get(self, "private_ips")
|
91
|
+
|
83
92
|
@property
|
84
93
|
@pulumi.getter(name="privateNetworkId")
|
85
94
|
def private_network_id(self) -> Optional[str]:
|
@@ -116,6 +125,7 @@ class AwaitableGetInstancePrivateNicResult(GetInstancePrivateNicResult):
|
|
116
125
|
ip_ids=self.ip_ids,
|
117
126
|
ipam_ip_ids=self.ipam_ip_ids,
|
118
127
|
mac_address=self.mac_address,
|
128
|
+
private_ips=self.private_ips,
|
119
129
|
private_network_id=self.private_network_id,
|
120
130
|
private_nic_id=self.private_nic_id,
|
121
131
|
server_id=self.server_id,
|
@@ -171,6 +181,7 @@ def get_instance_private_nic(private_network_id: Optional[str] = None,
|
|
171
181
|
ip_ids=pulumi.get(__ret__, 'ip_ids'),
|
172
182
|
ipam_ip_ids=pulumi.get(__ret__, 'ipam_ip_ids'),
|
173
183
|
mac_address=pulumi.get(__ret__, 'mac_address'),
|
184
|
+
private_ips=pulumi.get(__ret__, 'private_ips'),
|
174
185
|
private_network_id=pulumi.get(__ret__, 'private_network_id'),
|
175
186
|
private_nic_id=pulumi.get(__ret__, 'private_nic_id'),
|
176
187
|
server_id=pulumi.get(__ret__, 'server_id'),
|
@@ -223,6 +234,7 @@ def get_instance_private_nic_output(private_network_id: Optional[pulumi.Input[Op
|
|
223
234
|
ip_ids=pulumi.get(__response__, 'ip_ids'),
|
224
235
|
ipam_ip_ids=pulumi.get(__response__, 'ipam_ip_ids'),
|
225
236
|
mac_address=pulumi.get(__response__, 'mac_address'),
|
237
|
+
private_ips=pulumi.get(__response__, 'private_ips'),
|
226
238
|
private_network_id=pulumi.get(__response__, 'private_network_id'),
|
227
239
|
private_nic_id=pulumi.get(__response__, 'private_nic_id'),
|
228
240
|
server_id=pulumi.get(__response__, 'server_id'),
|
@@ -29,7 +29,7 @@ class GetInstanceServerResult:
|
|
29
29
|
"""
|
30
30
|
A collection of values returned by getInstanceServer.
|
31
31
|
"""
|
32
|
-
def __init__(__self__, additional_volume_ids=None, boot_type=None, bootscript_id=None, cloud_init=None, enable_dynamic_ip=None, enable_ipv6=None, id=None, image=None, ip_id=None, ip_ids=None, ipv6_address=None, ipv6_gateway=None, ipv6_prefix_length=None, name=None, organization_id=None, placement_group_id=None, placement_group_policy_respected=None, private_ip=None, private_networks=None, project_id=None, protected=None, public_ip=None, public_ips=None, replace_on_type_change=None, root_volumes=None, security_group_id=None, server_id=None, state=None, tags=None, type=None, user_data=None, zone=None):
|
32
|
+
def __init__(__self__, additional_volume_ids=None, boot_type=None, bootscript_id=None, cloud_init=None, enable_dynamic_ip=None, enable_ipv6=None, id=None, image=None, ip_id=None, ip_ids=None, ipv6_address=None, ipv6_gateway=None, ipv6_prefix_length=None, name=None, organization_id=None, placement_group_id=None, placement_group_policy_respected=None, private_ip=None, private_ips=None, private_networks=None, project_id=None, protected=None, public_ip=None, public_ips=None, replace_on_type_change=None, root_volumes=None, security_group_id=None, server_id=None, state=None, tags=None, type=None, user_data=None, zone=None):
|
33
33
|
if additional_volume_ids and not isinstance(additional_volume_ids, list):
|
34
34
|
raise TypeError("Expected argument 'additional_volume_ids' to be a list")
|
35
35
|
pulumi.set(__self__, "additional_volume_ids", additional_volume_ids)
|
@@ -84,6 +84,9 @@ class GetInstanceServerResult:
|
|
84
84
|
if private_ip and not isinstance(private_ip, str):
|
85
85
|
raise TypeError("Expected argument 'private_ip' to be a str")
|
86
86
|
pulumi.set(__self__, "private_ip", private_ip)
|
87
|
+
if private_ips and not isinstance(private_ips, list):
|
88
|
+
raise TypeError("Expected argument 'private_ips' to be a list")
|
89
|
+
pulumi.set(__self__, "private_ips", private_ips)
|
87
90
|
if private_networks and not isinstance(private_networks, list):
|
88
91
|
raise TypeError("Expected argument 'private_networks' to be a list")
|
89
92
|
pulumi.set(__self__, "private_networks", private_networks)
|
@@ -257,6 +260,11 @@ class GetInstanceServerResult:
|
|
257
260
|
"""
|
258
261
|
return pulumi.get(self, "private_ip")
|
259
262
|
|
263
|
+
@property
|
264
|
+
@pulumi.getter(name="privateIps")
|
265
|
+
def private_ips(self) -> Sequence['outputs.GetInstanceServerPrivateIpResult']:
|
266
|
+
return pulumi.get(self, "private_ips")
|
267
|
+
|
260
268
|
@property
|
261
269
|
@pulumi.getter(name="privateNetworks")
|
262
270
|
def private_networks(self) -> Sequence['outputs.GetInstanceServerPrivateNetworkResult']:
|
@@ -374,6 +382,7 @@ class AwaitableGetInstanceServerResult(GetInstanceServerResult):
|
|
374
382
|
placement_group_id=self.placement_group_id,
|
375
383
|
placement_group_policy_respected=self.placement_group_policy_respected,
|
376
384
|
private_ip=self.private_ip,
|
385
|
+
private_ips=self.private_ips,
|
377
386
|
private_networks=self.private_networks,
|
378
387
|
project_id=self.project_id,
|
379
388
|
protected=self.protected,
|
@@ -432,6 +441,7 @@ def get_instance_server(name: Optional[str] = None,
|
|
432
441
|
placement_group_id=pulumi.get(__ret__, 'placement_group_id'),
|
433
442
|
placement_group_policy_respected=pulumi.get(__ret__, 'placement_group_policy_respected'),
|
434
443
|
private_ip=pulumi.get(__ret__, 'private_ip'),
|
444
|
+
private_ips=pulumi.get(__ret__, 'private_ips'),
|
435
445
|
private_networks=pulumi.get(__ret__, 'private_networks'),
|
436
446
|
project_id=pulumi.get(__ret__, 'project_id'),
|
437
447
|
protected=pulumi.get(__ret__, 'protected'),
|
@@ -487,6 +497,7 @@ def get_instance_server_output(name: Optional[pulumi.Input[Optional[str]]] = Non
|
|
487
497
|
placement_group_id=pulumi.get(__response__, 'placement_group_id'),
|
488
498
|
placement_group_policy_respected=pulumi.get(__response__, 'placement_group_policy_respected'),
|
489
499
|
private_ip=pulumi.get(__response__, 'private_ip'),
|
500
|
+
private_ips=pulumi.get(__response__, 'private_ips'),
|
490
501
|
private_networks=pulumi.get(__response__, 'private_networks'),
|
491
502
|
project_id=pulumi.get(__response__, 'project_id'),
|
492
503
|
protected=pulumi.get(__response__, 'protected'),
|
@@ -28,7 +28,7 @@ class GetLbRouteResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getLbRoute.
|
30
30
|
"""
|
31
|
-
def __init__(__self__, backend_id=None, created_at=None, frontend_id=None, id=None, match_host_header=None, match_sni=None, match_subdomains=None, route_id=None, updated_at=None):
|
31
|
+
def __init__(__self__, backend_id=None, created_at=None, frontend_id=None, id=None, match_host_header=None, match_path_begin=None, match_sni=None, match_subdomains=None, route_id=None, updated_at=None):
|
32
32
|
if backend_id and not isinstance(backend_id, str):
|
33
33
|
raise TypeError("Expected argument 'backend_id' to be a str")
|
34
34
|
pulumi.set(__self__, "backend_id", backend_id)
|
@@ -44,6 +44,9 @@ class GetLbRouteResult:
|
|
44
44
|
if match_host_header and not isinstance(match_host_header, str):
|
45
45
|
raise TypeError("Expected argument 'match_host_header' to be a str")
|
46
46
|
pulumi.set(__self__, "match_host_header", match_host_header)
|
47
|
+
if match_path_begin and not isinstance(match_path_begin, str):
|
48
|
+
raise TypeError("Expected argument 'match_path_begin' to be a str")
|
49
|
+
pulumi.set(__self__, "match_path_begin", match_path_begin)
|
47
50
|
if match_sni and not isinstance(match_sni, str):
|
48
51
|
raise TypeError("Expected argument 'match_sni' to be a str")
|
49
52
|
pulumi.set(__self__, "match_sni", match_sni)
|
@@ -85,6 +88,11 @@ class GetLbRouteResult:
|
|
85
88
|
def match_host_header(self) -> str:
|
86
89
|
return pulumi.get(self, "match_host_header")
|
87
90
|
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="matchPathBegin")
|
93
|
+
def match_path_begin(self) -> str:
|
94
|
+
return pulumi.get(self, "match_path_begin")
|
95
|
+
|
88
96
|
@property
|
89
97
|
@pulumi.getter(name="matchSni")
|
90
98
|
def match_sni(self) -> str:
|
@@ -117,6 +125,7 @@ class AwaitableGetLbRouteResult(GetLbRouteResult):
|
|
117
125
|
frontend_id=self.frontend_id,
|
118
126
|
id=self.id,
|
119
127
|
match_host_header=self.match_host_header,
|
128
|
+
match_path_begin=self.match_path_begin,
|
120
129
|
match_sni=self.match_sni,
|
121
130
|
match_subdomains=self.match_subdomains,
|
122
131
|
route_id=self.route_id,
|
@@ -173,6 +182,7 @@ def get_lb_route(route_id: Optional[str] = None,
|
|
173
182
|
frontend_id=pulumi.get(__ret__, 'frontend_id'),
|
174
183
|
id=pulumi.get(__ret__, 'id'),
|
175
184
|
match_host_header=pulumi.get(__ret__, 'match_host_header'),
|
185
|
+
match_path_begin=pulumi.get(__ret__, 'match_path_begin'),
|
176
186
|
match_sni=pulumi.get(__ret__, 'match_sni'),
|
177
187
|
match_subdomains=pulumi.get(__ret__, 'match_subdomains'),
|
178
188
|
route_id=pulumi.get(__ret__, 'route_id'),
|
@@ -226,6 +236,7 @@ def get_lb_route_output(route_id: Optional[pulumi.Input[str]] = None,
|
|
226
236
|
frontend_id=pulumi.get(__response__, 'frontend_id'),
|
227
237
|
id=pulumi.get(__response__, 'id'),
|
228
238
|
match_host_header=pulumi.get(__response__, 'match_host_header'),
|
239
|
+
match_path_begin=pulumi.get(__response__, 'match_path_begin'),
|
229
240
|
match_sni=pulumi.get(__response__, 'match_sni'),
|
230
241
|
match_subdomains=pulumi.get(__response__, 'match_subdomains'),
|
231
242
|
route_id=pulumi.get(__response__, 'route_id'),
|
@@ -29,7 +29,7 @@ class GetLoadbalancerResult:
|
|
29
29
|
"""
|
30
30
|
A collection of values returned by getLoadbalancer.
|
31
31
|
"""
|
32
|
-
def __init__(__self__, assign_flexible_ip=None, assign_flexible_ipv6=None, description=None, id=None, ip_address=None, ip_id=None, ip_ids=None, ipv6_address=None, lb_id=None, name=None, organization_id=None, private_networks=None, project_id=None, region=None, release_ip=None, ssl_compatibility_level=None, tags=None, type=None, zone=None):
|
32
|
+
def __init__(__self__, assign_flexible_ip=None, assign_flexible_ipv6=None, description=None, id=None, ip_address=None, ip_id=None, ip_ids=None, ipv6_address=None, lb_id=None, name=None, organization_id=None, private_ips=None, private_networks=None, project_id=None, region=None, release_ip=None, ssl_compatibility_level=None, tags=None, type=None, zone=None):
|
33
33
|
if assign_flexible_ip and not isinstance(assign_flexible_ip, bool):
|
34
34
|
raise TypeError("Expected argument 'assign_flexible_ip' to be a bool")
|
35
35
|
pulumi.set(__self__, "assign_flexible_ip", assign_flexible_ip)
|
@@ -63,6 +63,9 @@ class GetLoadbalancerResult:
|
|
63
63
|
if organization_id and not isinstance(organization_id, str):
|
64
64
|
raise TypeError("Expected argument 'organization_id' to be a str")
|
65
65
|
pulumi.set(__self__, "organization_id", organization_id)
|
66
|
+
if private_ips and not isinstance(private_ips, list):
|
67
|
+
raise TypeError("Expected argument 'private_ips' to be a list")
|
68
|
+
pulumi.set(__self__, "private_ips", private_ips)
|
66
69
|
if private_networks and not isinstance(private_networks, list):
|
67
70
|
raise TypeError("Expected argument 'private_networks' to be a list")
|
68
71
|
pulumi.set(__self__, "private_networks", private_networks)
|
@@ -149,6 +152,11 @@ class GetLoadbalancerResult:
|
|
149
152
|
def organization_id(self) -> str:
|
150
153
|
return pulumi.get(self, "organization_id")
|
151
154
|
|
155
|
+
@property
|
156
|
+
@pulumi.getter(name="privateIps")
|
157
|
+
def private_ips(self) -> Sequence['outputs.GetLoadbalancerPrivateIpResult']:
|
158
|
+
return pulumi.get(self, "private_ips")
|
159
|
+
|
152
160
|
@property
|
153
161
|
@pulumi.getter(name="privateNetworks")
|
154
162
|
def private_networks(self) -> Sequence['outputs.GetLoadbalancerPrivateNetworkResult']:
|
@@ -216,6 +224,7 @@ class AwaitableGetLoadbalancerResult(GetLoadbalancerResult):
|
|
216
224
|
lb_id=self.lb_id,
|
217
225
|
name=self.name,
|
218
226
|
organization_id=self.organization_id,
|
227
|
+
private_ips=self.private_ips,
|
219
228
|
private_networks=self.private_networks,
|
220
229
|
project_id=self.project_id,
|
221
230
|
region=self.region,
|
@@ -276,6 +285,7 @@ def get_loadbalancer(lb_id: Optional[str] = None,
|
|
276
285
|
lb_id=pulumi.get(__ret__, 'lb_id'),
|
277
286
|
name=pulumi.get(__ret__, 'name'),
|
278
287
|
organization_id=pulumi.get(__ret__, 'organization_id'),
|
288
|
+
private_ips=pulumi.get(__ret__, 'private_ips'),
|
279
289
|
private_networks=pulumi.get(__ret__, 'private_networks'),
|
280
290
|
project_id=pulumi.get(__ret__, 'project_id'),
|
281
291
|
region=pulumi.get(__ret__, 'region'),
|
@@ -333,6 +343,7 @@ def get_loadbalancer_output(lb_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
333
343
|
lb_id=pulumi.get(__response__, 'lb_id'),
|
334
344
|
name=pulumi.get(__response__, 'name'),
|
335
345
|
organization_id=pulumi.get(__response__, 'organization_id'),
|
346
|
+
private_ips=pulumi.get(__response__, 'private_ips'),
|
336
347
|
private_networks=pulumi.get(__response__, 'private_networks'),
|
337
348
|
project_id=pulumi.get(__response__, 'project_id'),
|
338
349
|
region=pulumi.get(__response__, 'region'),
|
@@ -29,7 +29,7 @@ class GetRedisClusterResult:
|
|
29
29
|
"""
|
30
30
|
A collection of values returned by getRedisCluster.
|
31
31
|
"""
|
32
|
-
def __init__(__self__, acls=None, certificate=None, cluster_id=None, cluster_size=None, created_at=None, id=None, name=None, node_type=None, password=None, private_networks=None, project_id=None, public_networks=None, settings=None, tags=None, tls_enabled=None, updated_at=None, user_name=None, version=None, zone=None):
|
32
|
+
def __init__(__self__, acls=None, certificate=None, cluster_id=None, cluster_size=None, created_at=None, id=None, name=None, node_type=None, password=None, private_ips=None, private_networks=None, project_id=None, public_networks=None, settings=None, tags=None, tls_enabled=None, updated_at=None, user_name=None, version=None, zone=None):
|
33
33
|
if acls and not isinstance(acls, list):
|
34
34
|
raise TypeError("Expected argument 'acls' to be a list")
|
35
35
|
pulumi.set(__self__, "acls", acls)
|
@@ -57,6 +57,9 @@ class GetRedisClusterResult:
|
|
57
57
|
if password and not isinstance(password, str):
|
58
58
|
raise TypeError("Expected argument 'password' to be a str")
|
59
59
|
pulumi.set(__self__, "password", password)
|
60
|
+
if private_ips and not isinstance(private_ips, list):
|
61
|
+
raise TypeError("Expected argument 'private_ips' to be a list")
|
62
|
+
pulumi.set(__self__, "private_ips", private_ips)
|
60
63
|
if private_networks and not isinstance(private_networks, list):
|
61
64
|
raise TypeError("Expected argument 'private_networks' to be a list")
|
62
65
|
pulumi.set(__self__, "private_networks", private_networks)
|
@@ -154,6 +157,11 @@ class GetRedisClusterResult:
|
|
154
157
|
"""
|
155
158
|
return pulumi.get(self, "password")
|
156
159
|
|
160
|
+
@property
|
161
|
+
@pulumi.getter(name="privateIps")
|
162
|
+
def private_ips(self) -> Sequence['outputs.GetRedisClusterPrivateIpResult']:
|
163
|
+
return pulumi.get(self, "private_ips")
|
164
|
+
|
157
165
|
@property
|
158
166
|
@pulumi.getter(name="privateNetworks")
|
159
167
|
def private_networks(self) -> Sequence['outputs.GetRedisClusterPrivateNetworkResult']:
|
@@ -244,6 +252,7 @@ class AwaitableGetRedisClusterResult(GetRedisClusterResult):
|
|
244
252
|
name=self.name,
|
245
253
|
node_type=self.node_type,
|
246
254
|
password=self.password,
|
255
|
+
private_ips=self.private_ips,
|
247
256
|
private_networks=self.private_networks,
|
248
257
|
project_id=self.project_id,
|
249
258
|
public_networks=self.public_networks,
|
@@ -293,6 +302,7 @@ def get_redis_cluster(cluster_id: Optional[str] = None,
|
|
293
302
|
name=pulumi.get(__ret__, 'name'),
|
294
303
|
node_type=pulumi.get(__ret__, 'node_type'),
|
295
304
|
password=pulumi.get(__ret__, 'password'),
|
305
|
+
private_ips=pulumi.get(__ret__, 'private_ips'),
|
296
306
|
private_networks=pulumi.get(__ret__, 'private_networks'),
|
297
307
|
project_id=pulumi.get(__ret__, 'project_id'),
|
298
308
|
public_networks=pulumi.get(__ret__, 'public_networks'),
|
@@ -339,6 +349,7 @@ def get_redis_cluster_output(cluster_id: Optional[pulumi.Input[Optional[str]]] =
|
|
339
349
|
name=pulumi.get(__response__, 'name'),
|
340
350
|
node_type=pulumi.get(__response__, 'node_type'),
|
341
351
|
password=pulumi.get(__response__, 'password'),
|
352
|
+
private_ips=pulumi.get(__response__, 'private_ips'),
|
342
353
|
private_networks=pulumi.get(__response__, 'private_networks'),
|
343
354
|
project_id=pulumi.get(__response__, 'project_id'),
|
344
355
|
public_networks=pulumi.get(__response__, 'public_networks'),
|
@@ -29,7 +29,7 @@ class GetVpcGatewayNetworkResult:
|
|
29
29
|
"""
|
30
30
|
A collection of values returned by getVpcGatewayNetwork.
|
31
31
|
"""
|
32
|
-
def __init__(__self__, cleanup_dhcp=None, created_at=None, dhcp_id=None, enable_dhcp=None, enable_masquerade=None, gateway_id=None, gateway_network_id=None, id=None, ipam_configs=None, mac_address=None, private_network_id=None, static_address=None, status=None, updated_at=None, zone=None):
|
32
|
+
def __init__(__self__, cleanup_dhcp=None, created_at=None, dhcp_id=None, enable_dhcp=None, enable_masquerade=None, gateway_id=None, gateway_network_id=None, id=None, ipam_configs=None, mac_address=None, private_ips=None, private_network_id=None, static_address=None, status=None, updated_at=None, zone=None):
|
33
33
|
if cleanup_dhcp and not isinstance(cleanup_dhcp, bool):
|
34
34
|
raise TypeError("Expected argument 'cleanup_dhcp' to be a bool")
|
35
35
|
pulumi.set(__self__, "cleanup_dhcp", cleanup_dhcp)
|
@@ -60,6 +60,9 @@ class GetVpcGatewayNetworkResult:
|
|
60
60
|
if mac_address and not isinstance(mac_address, str):
|
61
61
|
raise TypeError("Expected argument 'mac_address' to be a str")
|
62
62
|
pulumi.set(__self__, "mac_address", mac_address)
|
63
|
+
if private_ips and not isinstance(private_ips, list):
|
64
|
+
raise TypeError("Expected argument 'private_ips' to be a list")
|
65
|
+
pulumi.set(__self__, "private_ips", private_ips)
|
63
66
|
if private_network_id and not isinstance(private_network_id, str):
|
64
67
|
raise TypeError("Expected argument 'private_network_id' to be a str")
|
65
68
|
pulumi.set(__self__, "private_network_id", private_network_id)
|
@@ -129,6 +132,11 @@ class GetVpcGatewayNetworkResult:
|
|
129
132
|
def mac_address(self) -> str:
|
130
133
|
return pulumi.get(self, "mac_address")
|
131
134
|
|
135
|
+
@property
|
136
|
+
@pulumi.getter(name="privateIps")
|
137
|
+
def private_ips(self) -> Sequence['outputs.GetVpcGatewayNetworkPrivateIpResult']:
|
138
|
+
return pulumi.get(self, "private_ips")
|
139
|
+
|
132
140
|
@property
|
133
141
|
@pulumi.getter(name="privateNetworkId")
|
134
142
|
def private_network_id(self) -> Optional[str]:
|
@@ -171,6 +179,7 @@ class AwaitableGetVpcGatewayNetworkResult(GetVpcGatewayNetworkResult):
|
|
171
179
|
id=self.id,
|
172
180
|
ipam_configs=self.ipam_configs,
|
173
181
|
mac_address=self.mac_address,
|
182
|
+
private_ips=self.private_ips,
|
174
183
|
private_network_id=self.private_network_id,
|
175
184
|
static_address=self.static_address,
|
176
185
|
status=self.status,
|
@@ -229,6 +238,7 @@ def get_vpc_gateway_network(dhcp_id: Optional[str] = None,
|
|
229
238
|
id=pulumi.get(__ret__, 'id'),
|
230
239
|
ipam_configs=pulumi.get(__ret__, 'ipam_configs'),
|
231
240
|
mac_address=pulumi.get(__ret__, 'mac_address'),
|
241
|
+
private_ips=pulumi.get(__ret__, 'private_ips'),
|
232
242
|
private_network_id=pulumi.get(__ret__, 'private_network_id'),
|
233
243
|
static_address=pulumi.get(__ret__, 'static_address'),
|
234
244
|
status=pulumi.get(__ret__, 'status'),
|
@@ -284,6 +294,7 @@ def get_vpc_gateway_network_output(dhcp_id: Optional[pulumi.Input[Optional[str]]
|
|
284
294
|
id=pulumi.get(__response__, 'id'),
|
285
295
|
ipam_configs=pulumi.get(__response__, 'ipam_configs'),
|
286
296
|
mac_address=pulumi.get(__response__, 'mac_address'),
|
297
|
+
private_ips=pulumi.get(__response__, 'private_ips'),
|
287
298
|
private_network_id=pulumi.get(__response__, 'private_network_id'),
|
288
299
|
static_address=pulumi.get(__response__, 'static_address'),
|
289
300
|
status=pulumi.get(__response__, 'status'),
|
@@ -19,6 +19,10 @@ __all__ = [
|
|
19
19
|
'DeploymentPrivateEndpointArgsDict',
|
20
20
|
'DeploymentPublicEndpointArgs',
|
21
21
|
'DeploymentPublicEndpointArgsDict',
|
22
|
+
'ModelNodesSupportArgs',
|
23
|
+
'ModelNodesSupportArgsDict',
|
24
|
+
'ModelNodesSupportQuantizationArgs',
|
25
|
+
'ModelNodesSupportQuantizationArgsDict',
|
22
26
|
]
|
23
27
|
|
24
28
|
MYPY = False
|
@@ -207,3 +211,127 @@ class DeploymentPublicEndpointArgs:
|
|
207
211
|
pulumi.set(self, "url", value)
|
208
212
|
|
209
213
|
|
214
|
+
if not MYPY:
|
215
|
+
class ModelNodesSupportArgsDict(TypedDict):
|
216
|
+
node_type_name: NotRequired[pulumi.Input[str]]
|
217
|
+
"""
|
218
|
+
The type of node supported.
|
219
|
+
"""
|
220
|
+
quantizations: NotRequired[pulumi.Input[Sequence[pulumi.Input['ModelNodesSupportQuantizationArgsDict']]]]
|
221
|
+
"""
|
222
|
+
A list of supported quantization options, including:
|
223
|
+
"""
|
224
|
+
elif False:
|
225
|
+
ModelNodesSupportArgsDict: TypeAlias = Mapping[str, Any]
|
226
|
+
|
227
|
+
@pulumi.input_type
|
228
|
+
class ModelNodesSupportArgs:
|
229
|
+
def __init__(__self__, *,
|
230
|
+
node_type_name: Optional[pulumi.Input[str]] = None,
|
231
|
+
quantizations: Optional[pulumi.Input[Sequence[pulumi.Input['ModelNodesSupportQuantizationArgs']]]] = None):
|
232
|
+
"""
|
233
|
+
:param pulumi.Input[str] node_type_name: The type of node supported.
|
234
|
+
:param pulumi.Input[Sequence[pulumi.Input['ModelNodesSupportQuantizationArgs']]] quantizations: A list of supported quantization options, including:
|
235
|
+
"""
|
236
|
+
if node_type_name is not None:
|
237
|
+
pulumi.set(__self__, "node_type_name", node_type_name)
|
238
|
+
if quantizations is not None:
|
239
|
+
pulumi.set(__self__, "quantizations", quantizations)
|
240
|
+
|
241
|
+
@property
|
242
|
+
@pulumi.getter(name="nodeTypeName")
|
243
|
+
def node_type_name(self) -> Optional[pulumi.Input[str]]:
|
244
|
+
"""
|
245
|
+
The type of node supported.
|
246
|
+
"""
|
247
|
+
return pulumi.get(self, "node_type_name")
|
248
|
+
|
249
|
+
@node_type_name.setter
|
250
|
+
def node_type_name(self, value: Optional[pulumi.Input[str]]):
|
251
|
+
pulumi.set(self, "node_type_name", value)
|
252
|
+
|
253
|
+
@property
|
254
|
+
@pulumi.getter
|
255
|
+
def quantizations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelNodesSupportQuantizationArgs']]]]:
|
256
|
+
"""
|
257
|
+
A list of supported quantization options, including:
|
258
|
+
"""
|
259
|
+
return pulumi.get(self, "quantizations")
|
260
|
+
|
261
|
+
@quantizations.setter
|
262
|
+
def quantizations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ModelNodesSupportQuantizationArgs']]]]):
|
263
|
+
pulumi.set(self, "quantizations", value)
|
264
|
+
|
265
|
+
|
266
|
+
if not MYPY:
|
267
|
+
class ModelNodesSupportQuantizationArgsDict(TypedDict):
|
268
|
+
allowed: NotRequired[pulumi.Input[bool]]
|
269
|
+
"""
|
270
|
+
Whether this quantization is allowed.
|
271
|
+
"""
|
272
|
+
max_context_size: NotRequired[pulumi.Input[int]]
|
273
|
+
"""
|
274
|
+
Maximum context length supported by this quantization.
|
275
|
+
"""
|
276
|
+
quantization_bits: NotRequired[pulumi.Input[int]]
|
277
|
+
"""
|
278
|
+
Number of bits used for quantization (e.g., 8, 16).
|
279
|
+
"""
|
280
|
+
elif False:
|
281
|
+
ModelNodesSupportQuantizationArgsDict: TypeAlias = Mapping[str, Any]
|
282
|
+
|
283
|
+
@pulumi.input_type
|
284
|
+
class ModelNodesSupportQuantizationArgs:
|
285
|
+
def __init__(__self__, *,
|
286
|
+
allowed: Optional[pulumi.Input[bool]] = None,
|
287
|
+
max_context_size: Optional[pulumi.Input[int]] = None,
|
288
|
+
quantization_bits: Optional[pulumi.Input[int]] = None):
|
289
|
+
"""
|
290
|
+
:param pulumi.Input[bool] allowed: Whether this quantization is allowed.
|
291
|
+
:param pulumi.Input[int] max_context_size: Maximum context length supported by this quantization.
|
292
|
+
:param pulumi.Input[int] quantization_bits: Number of bits used for quantization (e.g., 8, 16).
|
293
|
+
"""
|
294
|
+
if allowed is not None:
|
295
|
+
pulumi.set(__self__, "allowed", allowed)
|
296
|
+
if max_context_size is not None:
|
297
|
+
pulumi.set(__self__, "max_context_size", max_context_size)
|
298
|
+
if quantization_bits is not None:
|
299
|
+
pulumi.set(__self__, "quantization_bits", quantization_bits)
|
300
|
+
|
301
|
+
@property
|
302
|
+
@pulumi.getter
|
303
|
+
def allowed(self) -> Optional[pulumi.Input[bool]]:
|
304
|
+
"""
|
305
|
+
Whether this quantization is allowed.
|
306
|
+
"""
|
307
|
+
return pulumi.get(self, "allowed")
|
308
|
+
|
309
|
+
@allowed.setter
|
310
|
+
def allowed(self, value: Optional[pulumi.Input[bool]]):
|
311
|
+
pulumi.set(self, "allowed", value)
|
312
|
+
|
313
|
+
@property
|
314
|
+
@pulumi.getter(name="maxContextSize")
|
315
|
+
def max_context_size(self) -> Optional[pulumi.Input[int]]:
|
316
|
+
"""
|
317
|
+
Maximum context length supported by this quantization.
|
318
|
+
"""
|
319
|
+
return pulumi.get(self, "max_context_size")
|
320
|
+
|
321
|
+
@max_context_size.setter
|
322
|
+
def max_context_size(self, value: Optional[pulumi.Input[int]]):
|
323
|
+
pulumi.set(self, "max_context_size", value)
|
324
|
+
|
325
|
+
@property
|
326
|
+
@pulumi.getter(name="quantizationBits")
|
327
|
+
def quantization_bits(self) -> Optional[pulumi.Input[int]]:
|
328
|
+
"""
|
329
|
+
Number of bits used for quantization (e.g., 8, 16).
|
330
|
+
"""
|
331
|
+
return pulumi.get(self, "quantization_bits")
|
332
|
+
|
333
|
+
@quantization_bits.setter
|
334
|
+
def quantization_bits(self, value: Optional[pulumi.Input[int]]):
|
335
|
+
pulumi.set(self, "quantization_bits", value)
|
336
|
+
|
337
|
+
|