@@ -35,10 +35,12 @@ __Arguments__
35
35
Strategy(
36
36
self ,
37
37
availability_vs_cost = ' d3043820717d74d9a17694c176d39733' ,
38
+ consider_o_d_pricing = ' d3043820717d74d9a17694c176d39733' ,
38
39
risk = ' d3043820717d74d9a17694c176d39733' ,
39
40
utilize_commitments = ' d3043820717d74d9a17694c176d39733' ,
40
41
utilize_reserved_instances = ' d3043820717d74d9a17694c176d39733' ,
41
42
fallback_to_od = ' d3043820717d74d9a17694c176d39733' ,
43
+ max_replacements_percentage = ' d3043820717d74d9a17694c176d39733' ,
42
44
on_demand_count = ' d3043820717d74d9a17694c176d39733' ,
43
45
draining_timeout = ' d3043820717d74d9a17694c176d39733' ,
44
46
spin_up_time = ' d3043820717d74d9a17694c176d39733' ,
@@ -54,10 +56,12 @@ Strategy(
54
56
__ Arguments__
55
57
56
58
- __ availability_vs_cost__ : str
59
+ - __ consider_o_d_pricing__ : bool
57
60
- __ risk__ : int
58
61
- __ utilize_commitments__ : bool
59
62
- __ utilize_reserved_instances__ : bool
60
63
- __ fallback_to_od__ : bool
64
+ - __ max_replacements_percentage__ : int
61
65
- __ on_demand_count__ : int
62
66
- __ draining_timeout__ : int
63
67
- __ spin_up_time__ : int
@@ -67,6 +71,7 @@ __Arguments__
67
71
- __ persistence__ : Persistence
68
72
- __ revert_to_spot__ : RevertToSpot
69
73
- __ restrict_single_az__ : bool
74
+ - __ immediate_o_d_recover_threshold__ : int
70
75
71
76
<h2 id =" spotinst_sdk2.models.elastigroup.aws.Signal " >Signal</h2 >
72
77
@@ -941,7 +946,8 @@ Compute(self,
941
946
elastic_ips = ' d3043820717d74d9a17694c176d39733' ,
942
947
private_ips = ' d3043820717d74d9a17694c176d39733' ,
943
948
subnet_ids = ' d3043820717d74d9a17694c176d39733' ,
944
- preferred_availability_zones = ' d3043820717d74d9a17694c176d39733' )
949
+ preferred_availability_zones = ' d3043820717d74d9a17694c176d39733' ,
950
+ volume_attachments = ' d3043820717d74d9a17694c176d39733' )
945
951
```
946
952
947
953
__ Arguments__
@@ -954,6 +960,7 @@ __Arguments__
954
960
- __ private_ips__ : list[ str]
955
961
- __ subnet_ids__ : list[ str]
956
962
- __ preferred_availability_zones__ : list[ str]
963
+ - __ volume_attachments__ : VolumeAttachments
957
964
958
965
<h2 id =" spotinst_sdk2.models.elastigroup.aws.AvailabilityZone " >AvailabilityZone</h2 >
959
966
@@ -981,7 +988,8 @@ InstanceTypes(self,
981
988
on_demand_types = ' d3043820717d74d9a17694c176d39733' ,
982
989
spot = ' d3043820717d74d9a17694c176d39733' ,
983
990
weights = ' d3043820717d74d9a17694c176d39733' ,
984
- preferred_spot = ' d3043820717d74d9a17694c176d39733' )
991
+ preferred_spot = ' d3043820717d74d9a17694c176d39733' ,
992
+ resource_requirements = ' d3043820717d74d9a17694c176d39733' )
985
993
```
986
994
987
995
__ Arguments__
@@ -991,6 +999,29 @@ __Arguments__
991
999
- __ spot__ : list[ str]
992
1000
- __ weights__ : list[ Weight]
993
1001
- __ preferred_spot__ : list[ str]
1002
+ - __ resource_requirements__ : ResourceRequirements
1003
+
1004
+ <h2 id =" spotinst_sdk2.models.elastigroup.aws.ResourceRequirements " >ResourceRequirements</h2 >
1005
+
1006
+ ``` python
1007
+ ResourceRequirements(
1008
+ self ,
1009
+ excluded_instance_families = ' d3043820717d74d9a17694c176d39733' ,
1010
+ excluded_instance_generations = ' d3043820717d74d9a17694c176d39733' ,
1011
+ excluded_instance_types = ' d3043820717d74d9a17694c176d39733' ,
1012
+ required_v_cpu = ' d3043820717d74d9a17694c176d39733' ,
1013
+ required_memory = ' d3043820717d74d9a17694c176d39733' ,
1014
+ required_gpu = ' d3043820717d74d9a17694c176d39733' )
1015
+ ```
1016
+
1017
+ __ Arguments__
1018
+
1019
+ - __ excluded_instance_families__ : list[ str]
1020
+ - __ excluded_instance_generations__ : list[ str]
1021
+ - __ excluded_instance_types__ : list[ str]
1022
+ - __ required_v_cpu__ : RequiredMemoryVcpuGpu
1023
+ - __ required_memory__ : RequiredMemoryVcpuGpu
1024
+ - __ required_gpu__ : RequiredMemoryVcpuGpu
994
1025
995
1026
<h2 id =" spotinst_sdk2.models.elastigroup.aws.Weight " >Weight</h2 >
996
1027
@@ -1005,6 +1036,19 @@ __Arguments__
1005
1036
- __ instance_type__ : str
1006
1037
- __ weighted_capacity__ : int
1007
1038
1039
+ <h2 id =" spotinst_sdk2.models.elastigroup.aws.RequiredMemoryVcpuGpu " >RequiredMemoryVcpuGpu</h2 >
1040
+
1041
+ ``` python
1042
+ RequiredMemoryVcpuGpu(self ,
1043
+ minimum = ' d3043820717d74d9a17694c176d39733' ,
1044
+ maximum = ' d3043820717d74d9a17694c176d39733' )
1045
+ ```
1046
+
1047
+ __ Arguments__
1048
+
1049
+ - __ minimum__ : int
1050
+ - __ maximum__ : int
1051
+
1008
1052
<h2 id =" spotinst_sdk2.models.elastigroup.aws.TagSpecification " >TagSpecification</h2 >
1009
1053
1010
1054
``` python
@@ -1177,6 +1221,7 @@ EBS(self,
1177
1221
volume_type = ' d3043820717d74d9a17694c176d39733' ,
1178
1222
kms_key_id = ' d3043820717d74d9a17694c176d39733' ,
1179
1223
dynamic_volume_size = ' d3043820717d74d9a17694c176d39733' ,
1224
+ dynamic_iops = ' d3043820717d74d9a17694c176d39733' ,
1180
1225
throughput = ' d3043820717d74d9a17694c176d39733' )
1181
1226
```
1182
1227
@@ -1190,6 +1235,7 @@ __Arguments__
1190
1235
- __ volume_type__ : str
1191
1236
- __ kms_key_id__ : str
1192
1237
- __ dynamic_volume_size__ : DynamicVolumeSize
1238
+ - __ dynamic_iops__ : DynamicIops
1193
1239
- __ throughput__ : int
1194
1240
1195
1241
<h2 id =" spotinst_sdk2.models.elastigroup.aws.DynamicVolumeSize " >DynamicVolumeSize</h2 >
@@ -1208,6 +1254,21 @@ __Arguments__
1208
1254
- __ resource__ : str
1209
1255
- __ size_per_resource_unit__ : int
1210
1256
1257
+ <h2 id =" spotinst_sdk2.models.elastigroup.aws.DynamicIops " >DynamicIops</h2 >
1258
+
1259
+ ``` python
1260
+ DynamicIops(self ,
1261
+ base_size = ' d3043820717d74d9a17694c176d39733' ,
1262
+ resource = ' d3043820717d74d9a17694c176d39733' ,
1263
+ size_per_resource_unit = ' d3043820717d74d9a17694c176d39733' )
1264
+ ```
1265
+
1266
+ __ Arguments__
1267
+
1268
+ - __ base_size__ : int
1269
+ - __ resource__ : str
1270
+ - __ size_per_resource_unit__ : int
1271
+
1211
1272
<h2 id =" spotinst_sdk2.models.elastigroup.aws.Tag " >Tag</h2 >
1212
1273
1213
1274
``` python
@@ -1292,6 +1353,29 @@ __Arguments__
1292
1353
- __ http_tokens__ : str
1293
1354
- __ instance_metadata_tags__ : str
1294
1355
1356
+ <h2 id =" spotinst_sdk2.models.elastigroup.aws.VolumeAttachments " >VolumeAttachments</h2 >
1357
+
1358
+ ``` python
1359
+ VolumeAttachments(self , volumes = ' d3043820717d74d9a17694c176d39733' )
1360
+ ```
1361
+
1362
+ __ Arguments__
1363
+
1364
+ - __ volumes__ : list[ Volume]
1365
+
1366
+ <h2 id =" spotinst_sdk2.models.elastigroup.aws.Volume " >Volume</h2 >
1367
+
1368
+ ``` python
1369
+ Volume(self ,
1370
+ device_name = ' d3043820717d74d9a17694c176d39733' ,
1371
+ volume_id = ' d3043820717d74d9a17694c176d39733' )
1372
+ ```
1373
+
1374
+ __ Arguments__
1375
+
1376
+ - __ device_name__ : str
1377
+ - __ volume_id__ : str
1378
+
1295
1379
<h2 id =" spotinst_sdk2.models.elastigroup.aws.Roll " >Roll</h2 >
1296
1380
1297
1381
``` python
@@ -1392,12 +1476,28 @@ __Arguments__
1392
1476
ASG(self ,
1393
1477
product = ' d3043820717d74d9a17694c176d39733' ,
1394
1478
spot_instance_types = ' d3043820717d74d9a17694c176d39733' ,
1395
- name = ' d3043820717d74d9a17694c176d39733' )
1479
+ name = ' d3043820717d74d9a17694c176d39733' ,
1480
+ availability_vs_cost = ' d3043820717d74d9a17694c176d39733' )
1396
1481
```
1397
1482
1398
1483
__ Arguments__
1399
1484
1400
1485
- __ product__ : str
1486
+ - __ spot_instance_types__ : List[ str]
1487
+ - __ name__ : str
1488
+ - __ availability_vs_cost__ : str
1489
+
1490
+ <h2 id =" spotinst_sdk2.models.elastigroup.aws.asg.ImportInstanceConfig " >ImportInstanceConfig</h2 >
1491
+
1492
+ ``` python
1493
+ ImportInstanceConfig(
1494
+ self ,
1495
+ spot_instance_types = ' d3043820717d74d9a17694c176d39733' ,
1496
+ name = ' d3043820717d74d9a17694c176d39733' )
1497
+ ```
1498
+
1499
+ __ Arguments__
1500
+
1401
1501
- __ spot_instance_types__ : List[ str]
1402
1502
- __ name__ : str
1403
1503
0 commit comments