File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 11Changelog
22=========
33
4+ v1.2.0 (2023-04-24)
5+ -------------------
6+
7+ * Added support for deploying a new instance with existing volumes
8+
49v1.1.2 (2023-03-02)
510-------------------
611
Original file line number Diff line number Diff line change 1- VERSION = '1.1.2 '
1+ VERSION = '1.2.0 '
Original file line number Diff line number Diff line change @@ -349,6 +349,7 @@ def create(self,
349349 location : str = "FIN1" ,
350350 startup_script_id : str = None ,
351351 volumes : List [Dict ] = None ,
352+ existing_volumes : List [str ] = None ,
352353 os_volume : Dict = None ,
353354 is_spot : bool = False ,
354355 coupon : str = None ) -> Instance :
@@ -370,6 +371,8 @@ def create(self,
370371 :type startup_script_id: str, optional
371372 :param volumes: List of volume data dictionaries to create alongside the instance
372373 :type volumes: List[Dict], optional
374+ :param existing_volumes: List of existing volume ids to attach to the instance
375+ :type existing_volumes: List[str], optional
373376 :param os_volume: OS volume details, defaults to None
374377 :type os_volume: Dict, optional
375378 :param is_spot: Is spot instance
@@ -389,6 +392,7 @@ def create(self,
389392 "location" : location ,
390393 "os_volume" : os_volume ,
391394 "volumes" : volumes ,
395+ "existing_volumes" : existing_volumes ,
392396 "is_spot" : is_spot ,
393397 "coupon" : coupon
394398 }
You can’t perform that action at this time.
0 commit comments