huaweicloudsdkims 3.1.127__py2.py3-none-any.whl → 3.1.129__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.
- huaweicloudsdkims/v2/model/create_image_request_body.py +33 -5
- huaweicloudsdkims/v2/model/create_whole_image_request_body.py +1 -2
- huaweicloudsdkims/v2/model/quick_import_image_by_file_request_body.py +59 -1
- {huaweicloudsdkims-3.1.127.dist-info → huaweicloudsdkims-3.1.129.dist-info}/METADATA +2 -2
- {huaweicloudsdkims-3.1.127.dist-info → huaweicloudsdkims-3.1.129.dist-info}/RECORD +8 -8
- {huaweicloudsdkims-3.1.127.dist-info → huaweicloudsdkims-3.1.129.dist-info}/LICENSE +0 -0
- {huaweicloudsdkims-3.1.127.dist-info → huaweicloudsdkims-3.1.129.dist-info}/WHEEL +0 -0
- {huaweicloudsdkims-3.1.127.dist-info → huaweicloudsdkims-3.1.129.dist-info}/top_level.txt +0 -0
@@ -34,7 +34,8 @@ class CreateImageRequestBody:
|
|
34
34
|
'type': 'str',
|
35
35
|
'is_quick_import': 'bool',
|
36
36
|
'architecture': 'str',
|
37
|
-
'volume_id': 'str'
|
37
|
+
'volume_id': 'str',
|
38
|
+
'hw_firmware_type': 'str'
|
38
39
|
}
|
39
40
|
|
40
41
|
attribute_map = {
|
@@ -55,10 +56,11 @@ class CreateImageRequestBody:
|
|
55
56
|
'type': 'type',
|
56
57
|
'is_quick_import': 'is_quick_import',
|
57
58
|
'architecture': 'architecture',
|
58
|
-
'volume_id': 'volume_id'
|
59
|
+
'volume_id': 'volume_id',
|
60
|
+
'hw_firmware_type': 'hw_firmware_type'
|
59
61
|
}
|
60
62
|
|
61
|
-
def __init__(self, data_images=None, description=None, enterprise_project_id=None, image_tags=None, instance_id=None, name=None, tags=None, max_ram=None, min_ram=None, os_version=None, image_url=None, min_disk=None, is_config=None, cmk_id=None, type=None, is_quick_import=None, architecture=None, volume_id=None):
|
63
|
+
def __init__(self, data_images=None, description=None, enterprise_project_id=None, image_tags=None, instance_id=None, name=None, tags=None, max_ram=None, min_ram=None, os_version=None, image_url=None, min_disk=None, is_config=None, cmk_id=None, type=None, is_quick_import=None, architecture=None, volume_id=None, hw_firmware_type=None):
|
62
64
|
"""CreateImageRequestBody
|
63
65
|
|
64
66
|
The model defined in huaweicloud sdk
|
@@ -99,6 +101,8 @@ class CreateImageRequestBody:
|
|
99
101
|
:type architecture: str
|
100
102
|
:param volume_id: 数据盘的卷ID。当数据盘创建系统盘镜像时,该参数必选
|
101
103
|
:type volume_id: str
|
104
|
+
:param hw_firmware_type: 云主机云服务器的启动方式。目前支持: bios:表示bios引导启动。 uefi:表示uefi引导启动。
|
105
|
+
:type hw_firmware_type: str
|
102
106
|
"""
|
103
107
|
|
104
108
|
|
@@ -121,6 +125,7 @@ class CreateImageRequestBody:
|
|
121
125
|
self._is_quick_import = None
|
122
126
|
self._architecture = None
|
123
127
|
self._volume_id = None
|
128
|
+
self._hw_firmware_type = None
|
124
129
|
self.discriminator = None
|
125
130
|
|
126
131
|
if data_images is not None:
|
@@ -131,8 +136,7 @@ class CreateImageRequestBody:
|
|
131
136
|
self.enterprise_project_id = enterprise_project_id
|
132
137
|
if image_tags is not None:
|
133
138
|
self.image_tags = image_tags
|
134
|
-
|
135
|
-
self.instance_id = instance_id
|
139
|
+
self.instance_id = instance_id
|
136
140
|
self.name = name
|
137
141
|
if tags is not None:
|
138
142
|
self.tags = tags
|
@@ -158,6 +162,8 @@ class CreateImageRequestBody:
|
|
158
162
|
self.architecture = architecture
|
159
163
|
if volume_id is not None:
|
160
164
|
self.volume_id = volume_id
|
165
|
+
if hw_firmware_type is not None:
|
166
|
+
self.hw_firmware_type = hw_firmware_type
|
161
167
|
|
162
168
|
@property
|
163
169
|
def data_images(self):
|
@@ -555,6 +561,28 @@ class CreateImageRequestBody:
|
|
555
561
|
"""
|
556
562
|
self._volume_id = volume_id
|
557
563
|
|
564
|
+
@property
|
565
|
+
def hw_firmware_type(self):
|
566
|
+
"""Gets the hw_firmware_type of this CreateImageRequestBody.
|
567
|
+
|
568
|
+
云主机云服务器的启动方式。目前支持: bios:表示bios引导启动。 uefi:表示uefi引导启动。
|
569
|
+
|
570
|
+
:return: The hw_firmware_type of this CreateImageRequestBody.
|
571
|
+
:rtype: str
|
572
|
+
"""
|
573
|
+
return self._hw_firmware_type
|
574
|
+
|
575
|
+
@hw_firmware_type.setter
|
576
|
+
def hw_firmware_type(self, hw_firmware_type):
|
577
|
+
"""Sets the hw_firmware_type of this CreateImageRequestBody.
|
578
|
+
|
579
|
+
云主机云服务器的启动方式。目前支持: bios:表示bios引导启动。 uefi:表示uefi引导启动。
|
580
|
+
|
581
|
+
:param hw_firmware_type: The hw_firmware_type of this CreateImageRequestBody.
|
582
|
+
:type hw_firmware_type: str
|
583
|
+
"""
|
584
|
+
self._hw_firmware_type = hw_firmware_type
|
585
|
+
|
558
586
|
def to_dict(self):
|
559
587
|
"""Returns the model properties as a dict"""
|
560
588
|
result = {}
|
@@ -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
|
-
|
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,10 +22,12 @@ 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',
|
28
29
|
'architecture': 'str',
|
30
|
+
'hw_firmware_type': 'str',
|
29
31
|
'os_type': 'str',
|
30
32
|
'image_tags': 'list[ResourceTag]'
|
31
33
|
}
|
@@ -36,15 +38,17 @@ class QuickImportImageByFileRequestBody:
|
|
36
38
|
'os_version': 'os_version',
|
37
39
|
'image_url': 'image_url',
|
38
40
|
'min_disk': 'min_disk',
|
41
|
+
'license_type': 'license_type',
|
39
42
|
'tags': 'tags',
|
40
43
|
'type': 'type',
|
41
44
|
'enterprise_project_id': 'enterprise_project_id',
|
42
45
|
'architecture': 'architecture',
|
46
|
+
'hw_firmware_type': 'hw_firmware_type',
|
43
47
|
'os_type': 'os_type',
|
44
48
|
'image_tags': 'image_tags'
|
45
49
|
}
|
46
50
|
|
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):
|
51
|
+
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, hw_firmware_type=None, os_type=None, image_tags=None):
|
48
52
|
"""QuickImportImageByFileRequestBody
|
49
53
|
|
50
54
|
The model defined in huaweicloud sdk
|
@@ -59,6 +63,8 @@ class QuickImportImageByFileRequestBody:
|
|
59
63
|
:type image_url: str
|
60
64
|
:param min_disk: 最小系统盘大小。在使用OBS桶的外部镜像文件制作镜像时生效且为必选字段。取值为1至1024GB。
|
61
65
|
:type min_disk: int
|
66
|
+
:param license_type: 操作系统使用的许可证类型。取值范围: platform:华为云官方许可证 byol:自带许可证(Bring Your Own License) 目前仅Windows操作系统支持设置该参数。
|
67
|
+
:type license_type: str
|
62
68
|
:param tags: 镜像标签列表。默认为空。 tags和image_tags只能使用一个。
|
63
69
|
:type tags: list[str]
|
64
70
|
:param type: 制作的镜像类型。系统盘镜像为ECS/BMS,数据盘镜像为DataImage. 制作数据盘镜像时该参数必选.
|
@@ -67,6 +73,8 @@ class QuickImportImageByFileRequestBody:
|
|
67
73
|
:type enterprise_project_id: str
|
68
74
|
:param architecture: 镜像的架构类型。取值包括: x86 arm 默认使用“x86”。
|
69
75
|
:type architecture: str
|
76
|
+
:param hw_firmware_type: 云主机云服务器的启动方式。目前支持: bios:表示bios引导启动。 uefi:表示uefi引导启动。
|
77
|
+
:type hw_firmware_type: str
|
70
78
|
:param os_type: 操作系统版本。 创建数据盘镜像时该参数取值为Linux或Windows,默认Linux。
|
71
79
|
:type os_type: str
|
72
80
|
:param image_tags: 新规范的镜像标签列表。默认为空。 tags和image_tags只能使用一个。
|
@@ -80,10 +88,12 @@ class QuickImportImageByFileRequestBody:
|
|
80
88
|
self._os_version = None
|
81
89
|
self._image_url = None
|
82
90
|
self._min_disk = None
|
91
|
+
self._license_type = None
|
83
92
|
self._tags = None
|
84
93
|
self._type = None
|
85
94
|
self._enterprise_project_id = None
|
86
95
|
self._architecture = None
|
96
|
+
self._hw_firmware_type = None
|
87
97
|
self._os_type = None
|
88
98
|
self._image_tags = None
|
89
99
|
self.discriminator = None
|
@@ -94,6 +104,8 @@ class QuickImportImageByFileRequestBody:
|
|
94
104
|
self.os_version = os_version
|
95
105
|
self.image_url = image_url
|
96
106
|
self.min_disk = min_disk
|
107
|
+
if license_type is not None:
|
108
|
+
self.license_type = license_type
|
97
109
|
if tags is not None:
|
98
110
|
self.tags = tags
|
99
111
|
if type is not None:
|
@@ -102,6 +114,8 @@ class QuickImportImageByFileRequestBody:
|
|
102
114
|
self.enterprise_project_id = enterprise_project_id
|
103
115
|
if architecture is not None:
|
104
116
|
self.architecture = architecture
|
117
|
+
if hw_firmware_type is not None:
|
118
|
+
self.hw_firmware_type = hw_firmware_type
|
105
119
|
if os_type is not None:
|
106
120
|
self.os_type = os_type
|
107
121
|
if image_tags is not None:
|
@@ -217,6 +231,28 @@ class QuickImportImageByFileRequestBody:
|
|
217
231
|
"""
|
218
232
|
self._min_disk = min_disk
|
219
233
|
|
234
|
+
@property
|
235
|
+
def license_type(self):
|
236
|
+
"""Gets the license_type of this QuickImportImageByFileRequestBody.
|
237
|
+
|
238
|
+
操作系统使用的许可证类型。取值范围: platform:华为云官方许可证 byol:自带许可证(Bring Your Own License) 目前仅Windows操作系统支持设置该参数。
|
239
|
+
|
240
|
+
:return: The license_type of this QuickImportImageByFileRequestBody.
|
241
|
+
:rtype: str
|
242
|
+
"""
|
243
|
+
return self._license_type
|
244
|
+
|
245
|
+
@license_type.setter
|
246
|
+
def license_type(self, license_type):
|
247
|
+
"""Sets the license_type of this QuickImportImageByFileRequestBody.
|
248
|
+
|
249
|
+
操作系统使用的许可证类型。取值范围: platform:华为云官方许可证 byol:自带许可证(Bring Your Own License) 目前仅Windows操作系统支持设置该参数。
|
250
|
+
|
251
|
+
:param license_type: The license_type of this QuickImportImageByFileRequestBody.
|
252
|
+
:type license_type: str
|
253
|
+
"""
|
254
|
+
self._license_type = license_type
|
255
|
+
|
220
256
|
@property
|
221
257
|
def tags(self):
|
222
258
|
"""Gets the tags of this QuickImportImageByFileRequestBody.
|
@@ -305,6 +341,28 @@ class QuickImportImageByFileRequestBody:
|
|
305
341
|
"""
|
306
342
|
self._architecture = architecture
|
307
343
|
|
344
|
+
@property
|
345
|
+
def hw_firmware_type(self):
|
346
|
+
"""Gets the hw_firmware_type of this QuickImportImageByFileRequestBody.
|
347
|
+
|
348
|
+
云主机云服务器的启动方式。目前支持: bios:表示bios引导启动。 uefi:表示uefi引导启动。
|
349
|
+
|
350
|
+
:return: The hw_firmware_type of this QuickImportImageByFileRequestBody.
|
351
|
+
:rtype: str
|
352
|
+
"""
|
353
|
+
return self._hw_firmware_type
|
354
|
+
|
355
|
+
@hw_firmware_type.setter
|
356
|
+
def hw_firmware_type(self, hw_firmware_type):
|
357
|
+
"""Sets the hw_firmware_type of this QuickImportImageByFileRequestBody.
|
358
|
+
|
359
|
+
云主机云服务器的启动方式。目前支持: bios:表示bios引导启动。 uefi:表示uefi引导启动。
|
360
|
+
|
361
|
+
:param hw_firmware_type: The hw_firmware_type of this QuickImportImageByFileRequestBody.
|
362
|
+
:type hw_firmware_type: str
|
363
|
+
"""
|
364
|
+
self._hw_firmware_type = hw_firmware_type
|
365
|
+
|
308
366
|
@property
|
309
367
|
def os_type(self):
|
310
368
|
"""Gets the os_type of this QuickImportImageByFileRequestBody.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: huaweicloudsdkims
|
3
|
-
Version: 3.1.
|
3
|
+
Version: 3.1.129
|
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.
|
25
|
+
Requires-Dist: huaweicloudsdkcore>=3.1.129
|
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=
|
33
|
+
huaweicloudsdkims/v2/model/create_image_request_body.py,sha256=pPoX038PjGKYQay7n0FT6hRMuB_i4X2wk3P-qIStWqw,24609
|
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=
|
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=
|
111
|
+
huaweicloudsdkims/v2/model/quick_import_image_by_file_request_body.py,sha256=rMaEafC_iBlYAj4jedmOV2M6kJKIEN8faLe5EzDPi2s,18129
|
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.
|
137
|
-
huaweicloudsdkims-3.1.
|
138
|
-
huaweicloudsdkims-3.1.
|
139
|
-
huaweicloudsdkims-3.1.
|
140
|
-
huaweicloudsdkims-3.1.
|
136
|
+
huaweicloudsdkims-3.1.129.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
|
137
|
+
huaweicloudsdkims-3.1.129.dist-info/METADATA,sha256=p7XlmFt_HiYtpFfzT0A6b2sWhU7rJZCSR733IPqQqrY,1135
|
138
|
+
huaweicloudsdkims-3.1.129.dist-info/WHEEL,sha256=Kh9pAotZVRFj97E15yTA4iADqXdQfIVTHcNaZTjxeGM,110
|
139
|
+
huaweicloudsdkims-3.1.129.dist-info/top_level.txt,sha256=beY7g3KzOOg2_S8f1Fa3GKquy1uP3gPs0mkVWNNL21g,18
|
140
|
+
huaweicloudsdkims-3.1.129.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|