huaweicloudsdkims 3.1.127__py2.py3-none-any.whl → 3.1.128__py2.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.
@@ -131,8 +131,7 @@ class CreateImageRequestBody:
131
131
  self.enterprise_project_id = enterprise_project_id
132
132
  if image_tags is not None:
133
133
  self.image_tags = image_tags
134
- if instance_id is not None:
135
- self.instance_id = instance_id
134
+ self.instance_id = instance_id
136
135
  self.name = name
137
136
  if tags is not None:
138
137
  self.tags = tags
@@ -94,8 +94,7 @@ class CreateWholeImageRequestBody:
94
94
  self.enterprise_project_id = enterprise_project_id
95
95
  if image_tags is not None:
96
96
  self.image_tags = image_tags
97
- if instance_id is not None:
98
- self.instance_id = instance_id
97
+ self.instance_id = instance_id
99
98
  self.name = name
100
99
  if tags is not None:
101
100
  self.tags = tags
@@ -22,6 +22,7 @@ class QuickImportImageByFileRequestBody:
22
22
  'os_version': 'str',
23
23
  'image_url': 'str',
24
24
  'min_disk': 'int',
25
+ 'license_type': 'str',
25
26
  'tags': 'list[str]',
26
27
  'type': 'str',
27
28
  'enterprise_project_id': 'str',
@@ -36,6 +37,7 @@ class QuickImportImageByFileRequestBody:
36
37
  'os_version': 'os_version',
37
38
  'image_url': 'image_url',
38
39
  'min_disk': 'min_disk',
40
+ 'license_type': 'license_type',
39
41
  'tags': 'tags',
40
42
  'type': 'type',
41
43
  'enterprise_project_id': 'enterprise_project_id',
@@ -44,7 +46,7 @@ class QuickImportImageByFileRequestBody:
44
46
  'image_tags': 'image_tags'
45
47
  }
46
48
 
47
- def __init__(self, name=None, description=None, os_version=None, image_url=None, min_disk=None, tags=None, type=None, enterprise_project_id=None, architecture=None, os_type=None, image_tags=None):
49
+ def __init__(self, name=None, description=None, os_version=None, image_url=None, min_disk=None, license_type=None, tags=None, type=None, enterprise_project_id=None, architecture=None, os_type=None, image_tags=None):
48
50
  """QuickImportImageByFileRequestBody
49
51
 
50
52
  The model defined in huaweicloud sdk
@@ -59,6 +61,8 @@ class QuickImportImageByFileRequestBody:
59
61
  :type image_url: str
60
62
  :param min_disk: 最小系统盘大小。在使用OBS桶的外部镜像文件制作镜像时生效且为必选字段。取值为1至1024GB。
61
63
  :type min_disk: int
64
+ :param license_type: 操作系统使用的许可证类型。取值范围: platform:华为云官方许可证 byol:自带许可证(Bring Your Own License) 目前仅Windows操作系统支持设置该参数。
65
+ :type license_type: str
62
66
  :param tags: 镜像标签列表。默认为空。 tags和image_tags只能使用一个。
63
67
  :type tags: list[str]
64
68
  :param type: 制作的镜像类型。系统盘镜像为ECS/BMS,数据盘镜像为DataImage. 制作数据盘镜像时该参数必选.
@@ -80,6 +84,7 @@ class QuickImportImageByFileRequestBody:
80
84
  self._os_version = None
81
85
  self._image_url = None
82
86
  self._min_disk = None
87
+ self._license_type = None
83
88
  self._tags = None
84
89
  self._type = None
85
90
  self._enterprise_project_id = None
@@ -94,6 +99,8 @@ class QuickImportImageByFileRequestBody:
94
99
  self.os_version = os_version
95
100
  self.image_url = image_url
96
101
  self.min_disk = min_disk
102
+ if license_type is not None:
103
+ self.license_type = license_type
97
104
  if tags is not None:
98
105
  self.tags = tags
99
106
  if type is not None:
@@ -217,6 +224,28 @@ class QuickImportImageByFileRequestBody:
217
224
  """
218
225
  self._min_disk = min_disk
219
226
 
227
+ @property
228
+ def license_type(self):
229
+ """Gets the license_type of this QuickImportImageByFileRequestBody.
230
+
231
+ 操作系统使用的许可证类型。取值范围: platform:华为云官方许可证 byol:自带许可证(Bring Your Own License) 目前仅Windows操作系统支持设置该参数。
232
+
233
+ :return: The license_type of this QuickImportImageByFileRequestBody.
234
+ :rtype: str
235
+ """
236
+ return self._license_type
237
+
238
+ @license_type.setter
239
+ def license_type(self, license_type):
240
+ """Sets the license_type of this QuickImportImageByFileRequestBody.
241
+
242
+ 操作系统使用的许可证类型。取值范围: platform:华为云官方许可证 byol:自带许可证(Bring Your Own License) 目前仅Windows操作系统支持设置该参数。
243
+
244
+ :param license_type: The license_type of this QuickImportImageByFileRequestBody.
245
+ :type license_type: str
246
+ """
247
+ self._license_type = license_type
248
+
220
249
  @property
221
250
  def tags(self):
222
251
  """Gets the tags of this QuickImportImageByFileRequestBody.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huaweicloudsdkims
3
- Version: 3.1.127
3
+ Version: 3.1.128
4
4
  Summary: IMS
5
5
  Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
6
6
  Author: HuaweiCloud SDK
@@ -22,6 +22,6 @@ Classifier: Topic :: Software Development
22
22
  Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*
23
23
  Description-Content-Type: text/markdown
24
24
  License-File: LICENSE
25
- Requires-Dist: huaweicloudsdkcore>=3.1.127
25
+ Requires-Dist: huaweicloudsdkcore>=3.1.128
26
26
 
27
27
  See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
@@ -30,12 +30,12 @@ huaweicloudsdkims/v2/model/create_data_image_request.py,sha256=lmRX4Q9b5EDRB3Djf
30
30
  huaweicloudsdkims/v2/model/create_data_image_request_body.py,sha256=ZVvHJksKIvU2w9SX1TOqWd48q1wbRzc7Fs8aFk6CSsQ,12050
31
31
  huaweicloudsdkims/v2/model/create_data_image_response.py,sha256=LOSMfzvZYHzZUpbN_VvUjc8h5MM7Q17f3fJnpWRlShk,3187
32
32
  huaweicloudsdkims/v2/model/create_image_request.py,sha256=ZlUbjdsoZzXbe6QnHqU8azUY0mL_9kJnu3OnvjTiBtU,3115
33
- huaweicloudsdkims/v2/model/create_image_request_body.py,sha256=r4kCka44K95aPNzcFaXF0r9gL9a7FCNFYWS9AwFePj4,23370
33
+ huaweicloudsdkims/v2/model/create_image_request_body.py,sha256=tAY_jf-8AleQQXNKcz8l90KamLxCPAJA8w3e-2QB5o4,23330
34
34
  huaweicloudsdkims/v2/model/create_image_response.py,sha256=iZRaE8v18ZY3ZPIb2dcIZI8-yoy774ebzms6Hk7r0Ac,3155
35
35
  huaweicloudsdkims/v2/model/create_or_update_tags_request.py,sha256=klJZlWmNjnLsCa16IK_r5P1-GgDJy5Owa0Fj-j8LtqQ,3187
36
36
  huaweicloudsdkims/v2/model/create_or_update_tags_response.py,sha256=AqYvxEuKmP9Fe6i7CKgBBrh3ph9cUB8M_pjfKHsh_cs,2455
37
37
  huaweicloudsdkims/v2/model/create_whole_image_request.py,sha256=QtRhdIkSJS7k40i6nSRePz5MCz7n4p4wMeeQJRlC5zQ,3175
38
- huaweicloudsdkims/v2/model/create_whole_image_request_body.py,sha256=BPJDsyuOTPGnCAsMt_wuaX7WsP7s5FpBZ0fkPN_Wup8,16980
38
+ huaweicloudsdkims/v2/model/create_whole_image_request_body.py,sha256=NjMkry_PcGVHoZMUjruzj8cdIlFKnQxLwaEXv7uDpbs,16940
39
39
  huaweicloudsdkims/v2/model/create_whole_image_response.py,sha256=I16YVnH8T_FCPnobGstgg1i2gwmKMK_D4uZE4ZIym2c,3195
40
40
  huaweicloudsdkims/v2/model/delete_image_tag_request.py,sha256=84xc57Pt3iqEIzuZBDmsfuaeWynX_6pOD1JhqkG01nU,3713
41
41
  huaweicloudsdkims/v2/model/delete_image_tag_response.py,sha256=YDAS1jICJjGfTrNZrtKUvuhRq-g6R4Lb6e6v26UwNlA,2439
@@ -108,7 +108,7 @@ huaweicloudsdkims/v2/model/list_versions_response.py,sha256=OgPB9ZSgXiWWnE_fj-11
108
108
  huaweicloudsdkims/v2/model/os_version_info.py,sha256=la2h1ym-v3l0EPMIf25-IogacpS1gtJW1pTa5ZLzRzM,6164
109
109
  huaweicloudsdkims/v2/model/os_version_response.py,sha256=yfITNNiB6hjv5lCnXU3E3tb8aYLEPrECr7QPhQujGmw,4420
110
110
  huaweicloudsdkims/v2/model/query_image_by_tags_resource_detail.py,sha256=Uwpa1WecAPGsxyfSoCcDwFgx1pwQhkna6ZI0wjEmI5I,3070
111
- huaweicloudsdkims/v2/model/quick_import_image_by_file_request_body.py,sha256=po1jddQxUz9aIPig1-PP6tQkG-jjWjt_49SwcssLzb0,15353
111
+ huaweicloudsdkims/v2/model/quick_import_image_by_file_request_body.py,sha256=Wsm8ex6TUP4iphfrUJtakpXvqJ8AiiL1y4BWck2G6J0,16806
112
112
  huaweicloudsdkims/v2/model/quota.py,sha256=dJBdk-xoPEk2C2KMcJugfSs0DMU11RCH8Zc9ilev0oM,3135
113
113
  huaweicloudsdkims/v2/model/quota_info.py,sha256=aRhhEbioztNeWYfGHkrV1QhpOZ4T-dkj4GotBVtjmRU,5449
114
114
  huaweicloudsdkims/v2/model/register_image_request.py,sha256=pAJKDPUKC7f3yPUejdR590hBpT0_rcYNoEd8TM5cGhY,4819
@@ -133,8 +133,8 @@ huaweicloudsdkims/v2/model/update_image_request_body.py,sha256=32HRyr3YHgzKpWcmZ
133
133
  huaweicloudsdkims/v2/model/update_image_response.py,sha256=AMmpUvGUj0Fy8K5kZN1c2TQQZSclmszwXliedM80GwM,69088
134
134
  huaweicloudsdkims/v2/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
135
135
  huaweicloudsdkims/v2/region/ims_region.py,sha256=zhZVEJZaG9RZa3M2sahEa52aLbWBPxoNAQprGWF8N-M,5141
136
- huaweicloudsdkims-3.1.127.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
137
- huaweicloudsdkims-3.1.127.dist-info/METADATA,sha256=U--zhx3SJZOsuaeOb_jBgaCP_brXPlMxzEORkGEEihE,1135
138
- huaweicloudsdkims-3.1.127.dist-info/WHEEL,sha256=Kh9pAotZVRFj97E15yTA4iADqXdQfIVTHcNaZTjxeGM,110
139
- huaweicloudsdkims-3.1.127.dist-info/top_level.txt,sha256=beY7g3KzOOg2_S8f1Fa3GKquy1uP3gPs0mkVWNNL21g,18
140
- huaweicloudsdkims-3.1.127.dist-info/RECORD,,
136
+ huaweicloudsdkims-3.1.128.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
137
+ huaweicloudsdkims-3.1.128.dist-info/METADATA,sha256=T9LGRRXR-RRy-s3vK4LHx8q6J73KzQ1Ly5QUW9g0rTk,1135
138
+ huaweicloudsdkims-3.1.128.dist-info/WHEEL,sha256=Kh9pAotZVRFj97E15yTA4iADqXdQfIVTHcNaZTjxeGM,110
139
+ huaweicloudsdkims-3.1.128.dist-info/top_level.txt,sha256=beY7g3KzOOg2_S8f1Fa3GKquy1uP3gPs0mkVWNNL21g,18
140
+ huaweicloudsdkims-3.1.128.dist-info/RECORD,,