Skip to content

Commit 8018597

Browse files
committed
feat: update vke api
1 parent 0f42839 commit 8018597

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

volcenginesdkvke/models/node_config_for_update_node_pool_config_input.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class NodeConfigForUpdateNodePoolConfigInput(object):
3838
'auto_renew_period': 'int',
3939
'data_volumes': 'list[DataVolumeForUpdateNodePoolConfigInput]',
4040
'hpc_cluster_ids': 'list[str]',
41+
'image_id': 'str',
4142
'initialize_script': 'str',
4243
'instance_type_ids': 'list[str]',
4344
'name_prefix': 'str',
@@ -54,6 +55,7 @@ class NodeConfigForUpdateNodePoolConfigInput(object):
5455
'auto_renew_period': 'AutoRenewPeriod',
5556
'data_volumes': 'DataVolumes',
5657
'hpc_cluster_ids': 'HpcClusterIds',
58+
'image_id': 'ImageId',
5759
'initialize_script': 'InitializeScript',
5860
'instance_type_ids': 'InstanceTypeIds',
5961
'name_prefix': 'NamePrefix',
@@ -64,7 +66,7 @@ class NodeConfigForUpdateNodePoolConfigInput(object):
6466
'tags': 'Tags'
6567
}
6668

67-
def __init__(self, additional_container_storage_enabled=None, auto_renew=None, auto_renew_period=None, data_volumes=None, hpc_cluster_ids=None, initialize_script=None, instance_type_ids=None, name_prefix=None, period=None, security=None, subnet_ids=None, system_volume=None, tags=None, _configuration=None): # noqa: E501
69+
def __init__(self, additional_container_storage_enabled=None, auto_renew=None, auto_renew_period=None, data_volumes=None, hpc_cluster_ids=None, image_id=None, initialize_script=None, instance_type_ids=None, name_prefix=None, period=None, security=None, subnet_ids=None, system_volume=None, tags=None, _configuration=None): # noqa: E501
6870
"""NodeConfigForUpdateNodePoolConfigInput - a model defined in Swagger""" # noqa: E501
6971
if _configuration is None:
7072
_configuration = Configuration()
@@ -75,6 +77,7 @@ def __init__(self, additional_container_storage_enabled=None, auto_renew=None, a
7577
self._auto_renew_period = None
7678
self._data_volumes = None
7779
self._hpc_cluster_ids = None
80+
self._image_id = None
7881
self._initialize_script = None
7982
self._instance_type_ids = None
8083
self._name_prefix = None
@@ -95,6 +98,8 @@ def __init__(self, additional_container_storage_enabled=None, auto_renew=None, a
9598
self.data_volumes = data_volumes
9699
if hpc_cluster_ids is not None:
97100
self.hpc_cluster_ids = hpc_cluster_ids
101+
if image_id is not None:
102+
self.image_id = image_id
98103
if initialize_script is not None:
99104
self.initialize_script = initialize_script
100105
if instance_type_ids is not None:
@@ -217,6 +222,27 @@ def hpc_cluster_ids(self, hpc_cluster_ids):
217222

218223
self._hpc_cluster_ids = hpc_cluster_ids
219224

225+
@property
226+
def image_id(self):
227+
"""Gets the image_id of this NodeConfigForUpdateNodePoolConfigInput. # noqa: E501
228+
229+
230+
:return: The image_id of this NodeConfigForUpdateNodePoolConfigInput. # noqa: E501
231+
:rtype: str
232+
"""
233+
return self._image_id
234+
235+
@image_id.setter
236+
def image_id(self, image_id):
237+
"""Sets the image_id of this NodeConfigForUpdateNodePoolConfigInput.
238+
239+
240+
:param image_id: The image_id of this NodeConfigForUpdateNodePoolConfigInput. # noqa: E501
241+
:type: str
242+
"""
243+
244+
self._image_id = image_id
245+
220246
@property
221247
def initialize_script(self):
222248
"""Gets the initialize_script of this NodeConfigForUpdateNodePoolConfigInput. # noqa: E501

0 commit comments

Comments
 (0)