kingsoftcloud-sdk-python 1.1.1__py2.py3-none-any.whl → 1.5.8.49__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.
- kingsoftcloud_sdk_python-1.5.8.49.dist-info/METADATA +71 -0
- kingsoftcloud_sdk_python-1.5.8.49.dist-info/RECORD +337 -0
- {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.49.dist-info}/WHEEL +1 -1
- ksyun/__init__.py +1 -1
- ksyun/client/actiontrail/v20190401/client.py +2 -4
- ksyun/client/aicp/v20240612/client.py +1344 -0
- ksyun/client/aicp/v20240612/models.py +1963 -0
- ksyun/client/aicp/v20251212/__init__.py +0 -0
- ksyun/client/aicp/v20251212/client.py +56 -0
- ksyun/client/aicp/v20251212/models.py +114 -0
- ksyun/client/bill/v20180601/client.py +6 -77
- ksyun/client/bill/v20180601/models.py +29 -41
- ksyun/client/bill/v20220601/__init__.py +0 -0
- ksyun/client/bill/v20220601/client.py +54 -0
- ksyun/client/bill/v20220601/models.py +54 -0
- ksyun/client/bill_union/v20200101/client.py +81 -14
- ksyun/client/bill_union/v20200101/models.py +119 -3
- ksyun/client/bill_union/v20221222/__init__.py +0 -0
- ksyun/client/bill_union/v20221222/client.py +146 -0
- ksyun/client/bill_union/v20221222/models.py +193 -0
- ksyun/client/bill_union/v20250801/__init__.py +0 -0
- ksyun/client/bill_union/v20250801/client.py +54 -0
- ksyun/client/bill_union/v20250801/models.py +64 -0
- ksyun/client/bws/v20160304/client.py +33 -12
- ksyun/client/bws/v20160304/models.py +51 -0
- ksyun/client/cdn/__init__.py +0 -0
- ksyun/client/cdn/v20160901/__init__.py +0 -0
- ksyun/client/cdn/v20160901/client.py +77 -0
- ksyun/client/cdn/v20160901/models.py +51 -0
- ksyun/client/cdn/v20200630/__init__.py +0 -0
- ksyun/client/cdn/v20200630/client.py +399 -0
- ksyun/client/cdn/v20200630/models.py +826 -0
- ksyun/client/cdn/v20200901/__init__.py +0 -0
- ksyun/client/cdn/v20200901/client.py +169 -0
- ksyun/client/cdn/v20200901/models.py +224 -0
- ksyun/client/cdn/v20211201/__init__.py +0 -0
- ksyun/client/cdn/v20211201/client.py +31 -0
- ksyun/client/cdn/v20211201/models.py +23 -0
- ksyun/client/cdn/v3/__init__.py +0 -0
- ksyun/client/cdn/v3/client.py +997 -0
- ksyun/client/cdn/v3/models.py +1323 -0
- ksyun/client/cen/__init__.py +0 -0
- ksyun/client/cen/v20160304/__init__.py +0 -0
- ksyun/client/cen/v20160304/client.py +606 -0
- ksyun/client/cen/v20160304/models.py +718 -0
- ksyun/client/clickhouse/__init__.py +0 -0
- ksyun/client/clickhouse/v20210101/__init__.py +0 -0
- ksyun/client/clickhouse/v20210101/client.py +905 -0
- ksyun/client/clickhouse/v20210101/models.py +1127 -0
- ksyun/client/cloud_advisor/__init__.py +0 -0
- ksyun/client/cloud_advisor/v20250610/__init__.py +0 -0
- ksyun/client/cloud_advisor/v20250610/client.py +77 -0
- ksyun/client/cloud_advisor/v20250610/models.py +80 -0
- ksyun/client/dmp/__init__.py +0 -0
- ksyun/client/dmp/v20240101/__init__.py +0 -0
- ksyun/client/dmp/v20240101/client.py +468 -0
- ksyun/client/dmp/v20240101/models.py +423 -0
- ksyun/client/dts/__init__.py +0 -0
- ksyun/client/dts/v20180108/__init__.py +0 -0
- ksyun/client/dts/v20180108/client.py +445 -0
- ksyun/client/dts/v20180108/models.py +734 -0
- ksyun/client/ebs/v20160304/client.py +260 -55
- ksyun/client/ebs/v20160304/models.py +320 -66
- ksyun/client/eip/v20160304/client.py +127 -14
- ksyun/client/eip/v20160304/models.py +95 -1
- ksyun/client/epc/v20151101/client.py +1309 -184
- ksyun/client/epc/v20151101/models.py +2623 -137
- ksyun/client/iam/v20151101/client.py +325 -120
- ksyun/client/iam/v20151101/models.py +284 -28
- ksyun/client/iam/v20240513/__init__.py +0 -0
- ksyun/client/iam/v20240513/client.py +31 -0
- ksyun/client/iam/v20240513/models.py +33 -0
- ksyun/client/iam/v20240703/__init__.py +0 -0
- ksyun/client/iam/v20240703/client.py +31 -0
- ksyun/client/iam/v20240703/models.py +18 -0
- ksyun/client/influxdb/__init__.py +0 -0
- ksyun/client/influxdb/v20191010/__init__.py +0 -0
- ksyun/client/influxdb/v20191010/client.py +629 -0
- ksyun/client/influxdb/v20191010/models.py +655 -0
- ksyun/client/kad/v20161122/client.py +56 -12
- ksyun/client/kad/v20161122/models.py +38 -0
- ksyun/client/kce/__init__.py +0 -0
- ksyun/client/kce/v20180314/__init__.py +0 -0
- ksyun/client/kce/v20180314/client.py +399 -0
- ksyun/client/kce/v20180314/models.py +374 -0
- ksyun/client/kce/v20190806/__init__.py +0 -0
- ksyun/client/kce/v20190806/client.py +790 -0
- ksyun/client/kce/v20190806/models.py +1099 -0
- ksyun/client/kce/v20201231/__init__.py +0 -0
- ksyun/client/{slb/v20171210 → kce/v20201231}/client.py +10 -12
- ksyun/client/kce/v20201231/models.py +137 -0
- ksyun/client/kce/v20230101/__init__.py +0 -0
- ksyun/client/kce/v20230101/client.py +215 -0
- ksyun/client/kce/v20230101/models.py +259 -0
- ksyun/client/kce/v20230306/__init__.py +0 -0
- ksyun/client/kce/v20230306/client.py +514 -0
- ksyun/client/kce/v20230306/models.py +655 -0
- ksyun/client/kce/v20231115/__init__.py +0 -0
- ksyun/client/kce/v20231115/client.py +54 -0
- ksyun/client/kce/v20231115/models.py +59 -0
- ksyun/client/kce2/__init__.py +0 -0
- ksyun/client/kce2/v20230101/__init__.py +0 -0
- ksyun/client/kce2/v20230101/client.py +353 -0
- ksyun/client/kce2/v20230101/models.py +483 -0
- ksyun/client/kcf/__init__.py +0 -0
- ksyun/client/kcf/v20211215/__init__.py +0 -0
- ksyun/client/kcf/v20211215/client.py +215 -0
- ksyun/client/kcf/v20211215/models.py +313 -0
- ksyun/client/kci/__init__.py +0 -0
- ksyun/client/kci/v20200702/__init__.py +0 -0
- ksyun/client/kci/v20200702/client.py +353 -0
- ksyun/client/kci/v20200702/models.py +614 -0
- ksyun/client/kcm/__init__.py +0 -0
- ksyun/client/kcm/v20160304/__init__.py +0 -0
- ksyun/client/kcm/v20160304/client.py +238 -0
- ksyun/client/kcm/v20160304/models.py +394 -0
- ksyun/client/kcrs/__init__.py +0 -0
- ksyun/client/kcrs/v20211109/__init__.py +0 -0
- ksyun/client/kcrs/v20211109/client.py +1020 -0
- ksyun/client/kcrs/v20211109/models.py +1282 -0
- ksyun/client/kcs/__init__.py +0 -0
- ksyun/client/kcs/v20160701/__init__.py +0 -0
- ksyun/client/kcs/v20160701/client.py +1526 -0
- ksyun/client/kcs/v20160701/models.py +1917 -0
- ksyun/client/kcs/v20170401/__init__.py +0 -0
- ksyun/client/kcs/v20170401/client.py +31 -0
- ksyun/client/kcs/v20170401/models.py +28 -0
- ksyun/client/kcs/v20240701/__init__.py +0 -0
- ksyun/client/kcs/v20240701/client.py +31 -0
- ksyun/client/kcs/v20240701/models.py +23 -0
- ksyun/client/kead/v20200101/client.py +48 -4
- ksyun/client/kead/v20200101/models.py +52 -42
- ksyun/client/kec/v20160304/client.py +890 -223
- ksyun/client/kec/v20160304/models.py +1377 -140
- ksyun/client/ked/__init__.py +0 -0
- ksyun/client/ked/v1/__init__.py +0 -0
- ksyun/client/ked/v1/client.py +1020 -0
- ksyun/client/ked/v1/models.py +1132 -0
- ksyun/client/kes/__init__.py +0 -0
- ksyun/client/kes/v20201215/__init__.py +0 -0
- ksyun/client/kes/v20201215/client.py +192 -0
- ksyun/client/kes/v20201215/models.py +252 -0
- ksyun/client/ket/__init__.py +0 -0
- ksyun/client/ket/v20170101/__init__.py +0 -0
- ksyun/client/ket/v20170101/client.py +192 -0
- ksyun/client/ket/v20170101/models.py +265 -0
- ksyun/client/kfw/__init__.py +0 -0
- ksyun/client/kfw/v20160304/__init__.py +0 -0
- ksyun/client/kfw/v20160304/client.py +692 -0
- ksyun/client/kfw/v20160304/models.py +1029 -0
- ksyun/client/kingpay/__init__.py +0 -0
- ksyun/client/kingpay/v1/__init__.py +0 -0
- ksyun/client/kingpay/v1/client.py +31 -0
- ksyun/client/kingpay/v1/models.py +18 -0
- ksyun/client/kkms/__init__.py +0 -0
- ksyun/client/kkms/v20160304/__init__.py +0 -0
- ksyun/client/kkms/v20160304/client.py +192 -0
- ksyun/client/kkms/v20160304/models.py +185 -0
- ksyun/client/klog/__init__.py +0 -0
- ksyun/client/klog/v20200731/__init__.py +0 -0
- ksyun/client/klog/v20200731/client.py +376 -0
- ksyun/client/klog/v20200731/models.py +508 -0
- ksyun/client/kls/__init__.py +0 -0
- ksyun/client/kls/v20170101/__init__.py +0 -0
- ksyun/client/kls/v20170101/client.py +192 -0
- ksyun/client/kls/v20170101/models.py +320 -0
- ksyun/client/kmr/__init__.py +0 -0
- ksyun/client/kmr/v20210902/__init__.py +0 -0
- ksyun/client/kmr/v20210902/client.py +537 -0
- ksyun/client/kmr/v20210902/models.py +536 -0
- ksyun/client/kmr/v20231231/__init__.py +0 -0
- ksyun/client/kmr/v20231231/client.py +169 -0
- ksyun/client/kmr/v20231231/models.py +201 -0
- ksyun/client/kmr/v20240814/__init__.py +0 -0
- ksyun/client/kmr/v20240814/client.py +445 -0
- ksyun/client/kmr/v20240814/models.py +523 -0
- ksyun/client/knad/__init__.py +0 -0
- ksyun/client/knad/v20230323/__init__.py +0 -0
- ksyun/client/knad/v20230323/client.py +399 -0
- ksyun/client/knad/v20230323/models.py +470 -0
- ksyun/client/kpfs/__init__.py +0 -0
- ksyun/client/kpfs/v20240930/__init__.py +0 -0
- ksyun/client/kpfs/v20240930/client.py +217 -0
- ksyun/client/kpfs/v20240930/models.py +396 -0
- ksyun/client/krds/__init__.py +0 -0
- ksyun/client/krds/v20160701/__init__.py +0 -0
- ksyun/client/krds/v20160701/client.py +2101 -0
- ksyun/client/krds/v20160701/models.py +2722 -0
- ksyun/client/krds/v20200825/__init__.py +0 -0
- ksyun/client/krds/v20200825/client.py +238 -0
- ksyun/client/krds/v20200825/models.py +336 -0
- ksyun/client/memcached/__init__.py +0 -0
- ksyun/client/memcached/v20180627/__init__.py +0 -0
- ksyun/client/memcached/v20180627/client.py +307 -0
- ksyun/client/memcached/v20180627/models.py +317 -0
- ksyun/client/milvus/__init__.py +0 -0
- ksyun/client/milvus/v20231010/__init__.py +0 -0
- ksyun/client/milvus/v20231010/client.py +445 -0
- ksyun/client/milvus/v20231010/models.py +520 -0
- ksyun/client/mongodb/v20170101/client.py +312 -84
- ksyun/client/mongodb/v20170101/models.py +251 -34
- ksyun/client/mongodb/v20250101/__init__.py +0 -0
- ksyun/client/mongodb/v20250101/client.py +31 -0
- ksyun/client/mongodb/v20250101/models.py +18 -0
- ksyun/client/monitor/__init__.py +0 -0
- ksyun/client/monitor/v20100525/__init__.py +0 -0
- ksyun/client/monitor/v20100525/client.py +54 -0
- ksyun/client/monitor/v20100525/models.py +108 -0
- ksyun/client/monitor/v20181114/__init__.py +0 -0
- ksyun/client/monitor/v20181114/client.py +31 -0
- ksyun/client/monitor/v20181114/models.py +59 -0
- ksyun/client/monitor/v20210101/__init__.py +0 -0
- ksyun/client/monitor/v20210101/client.py +284 -0
- ksyun/client/monitor/v20210101/models.py +330 -0
- ksyun/client/monitor/v20220101/__init__.py +0 -0
- ksyun/client/monitor/v20220101/client.py +54 -0
- ksyun/client/monitor/v20220101/models.py +32 -0
- ksyun/client/monitor/v20250101/__init__.py +0 -0
- ksyun/client/monitor/v20250101/client.py +121 -0
- ksyun/client/monitor/v20250101/models.py +188 -0
- ksyun/client/pdns/__init__.py +0 -0
- ksyun/client/pdns/v20160304/__init__.py +0 -0
- ksyun/client/pdns/v20160304/client.py +813 -0
- ksyun/client/pdns/v20160304/models.py +805 -0
- ksyun/client/postgresql/__init__.py +0 -0
- ksyun/client/postgresql/v20181225/__init__.py +0 -0
- ksyun/client/postgresql/v20181225/client.py +1158 -0
- ksyun/client/postgresql/v20181225/models.py +1629 -0
- ksyun/client/rabbitmq/__init__.py +0 -0
- ksyun/client/rabbitmq/v20191017/__init__.py +0 -0
- ksyun/client/rabbitmq/v20191017/client.py +445 -0
- ksyun/client/rabbitmq/v20191017/models.py +413 -0
- ksyun/client/relyt/__init__.py +0 -0
- ksyun/client/relyt/v20240117/__init__.py +0 -0
- ksyun/client/{bill_union/v20211209 → relyt/v20240117}/client.py +10 -12
- ksyun/client/relyt/v20240117/models.py +23 -0
- ksyun/client/resourcemanager/v20210320/client.py +16 -18
- ksyun/client/sks/v20151101/client.py +11 -13
- ksyun/client/sks/v20151101/models.py +28 -2
- ksyun/client/slb/v20160304/client.py +1099 -112
- ksyun/client/slb/v20160304/models.py +1697 -24
- ksyun/client/slb/v20250430/__init__.py +0 -0
- ksyun/client/slb/v20250430/client.py +813 -0
- ksyun/client/slb/v20250430/models.py +1372 -0
- ksyun/client/sqlserver/__init__.py +0 -0
- ksyun/client/sqlserver/v20190425/__init__.py +0 -0
- ksyun/client/sqlserver/v20190425/client.py +1066 -0
- ksyun/client/sqlserver/v20190425/models.py +1528 -0
- ksyun/client/sts/v20151101/client.py +23 -2
- ksyun/client/sts/v20151101/models.py +54 -1
- ksyun/client/tagv2/v20200901/client.py +60 -16
- ksyun/client/tagv2/v20200901/models.py +56 -4
- ksyun/client/ter/__init__.py +0 -0
- ksyun/client/ter/v20240415/__init__.py +0 -0
- ksyun/client/ter/v20240415/client.py +123 -0
- ksyun/client/ter/v20240415/models.py +115 -0
- ksyun/client/tidb/__init__.py +0 -0
- ksyun/client/tidb/v20210520/__init__.py +0 -0
- ksyun/client/tidb/v20210520/client.py +928 -0
- ksyun/client/tidb/v20210520/models.py +1162 -0
- ksyun/client/trade/v20200114/client.py +2 -4
- ksyun/client/trade/v20200831/client.py +2 -4
- ksyun/client/trade/v20250220/__init__.py +0 -0
- ksyun/client/trade/v20250220/client.py +100 -0
- ksyun/client/trade/v20250220/models.py +91 -0
- ksyun/client/trade/v20250321/__init__.py +0 -0
- ksyun/client/trade/v20250321/client.py +100 -0
- ksyun/client/trade/v20250321/models.py +71 -0
- ksyun/client/trade/v20250828/__init__.py +0 -0
- ksyun/client/trade/v20250828/client.py +31 -0
- ksyun/client/trade/v20250828/models.py +81 -0
- ksyun/client/vpc/v20160304/client.py +1377 -229
- ksyun/client/vpc/v20160304/models.py +1540 -138
- ksyun/client/waf/__init__.py +0 -0
- ksyun/client/waf/v20200707/__init__.py +0 -0
- ksyun/client/waf/v20200707/client.py +468 -0
- ksyun/client/waf/v20200707/models.py +738 -0
- ksyun/common/abstract_client.py +57 -21
- ksyun/common/abstract_model.py +3 -3
- ksyun/common/common_client.py +2 -0
- ksyun/common/credential.py +2 -0
- ksyun/common/exception/ksyun_sdk_exception.py +11 -7
- ksyun/common/http/request.py +45 -6
- ksyun/common/profile/client_profile.py +3 -0
- ksyun/common/profile/http_profile.py +28 -1
- kingsoftcloud_sdk_python-1.1.1.dist-info/METADATA +0 -47
- kingsoftcloud_sdk_python-1.1.1.dist-info/RECORD +0 -105
- ksyun/client/bill_union/v20211209/models.py +0 -38
- ksyun/client/slb/v20171210/models.py +0 -33
- ksyun/common/sign.py +0 -33
- {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.49.dist-info/licenses}/LICENSE +0 -0
- {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.49.dist-info}/top_level.txt +0 -0
- /ksyun/client/{bill_union/v20211209 → aicp}/__init__.py +0 -0
- /ksyun/client/{slb/v20171210 → aicp/v20240612}/__init__.py +0 -0
|
@@ -0,0 +1,1132 @@
|
|
|
1
|
+
from ksyun.common.abstract_model import AbstractModel
|
|
2
|
+
|
|
3
|
+
class CloudDeskreinstallRequest(AbstractModel):
|
|
4
|
+
"""CloudDeskreinstall请求参数结构体
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
def __init__(self):
|
|
8
|
+
r"""允许用户对一个或多个云电脑实例执行系统重装操作。
|
|
9
|
+
:param instanceId: 云电脑 id
|
|
10
|
+
:type PathPrefix: String
|
|
11
|
+
:param imageId: 镜像 id
|
|
12
|
+
:type PathPrefix: String
|
|
13
|
+
"""
|
|
14
|
+
self.instanceId = None
|
|
15
|
+
self.imageId = None
|
|
16
|
+
|
|
17
|
+
def _deserialize(self, params):
|
|
18
|
+
if params.get("instanceId"):
|
|
19
|
+
self.instanceId = params.get("instanceId")
|
|
20
|
+
if params.get("imageId"):
|
|
21
|
+
self.imageId = params.get("imageId")
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class CloudDeskmanageRequest(AbstractModel):
|
|
25
|
+
"""CloudDeskmanage请求参数结构体
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
def __init__(self):
|
|
29
|
+
r"""提供对云电脑进行开机、关机、重启、删除、锁定和解锁的操作功能。
|
|
30
|
+
:param instanceIds: 云电脑 id 列表
|
|
31
|
+
|
|
32
|
+
:type PathPrefix: Array
|
|
33
|
+
:param action1: start 开机
|
|
34
|
+
stop 关机
|
|
35
|
+
reboot 重启
|
|
36
|
+
forcedUnbind 强制解绑用户
|
|
37
|
+
delete 删除
|
|
38
|
+
lock 锁定
|
|
39
|
+
unlock 解锁
|
|
40
|
+
:type PathPrefix: String
|
|
41
|
+
"""
|
|
42
|
+
self.instanceIds = None
|
|
43
|
+
self.action1 = None
|
|
44
|
+
|
|
45
|
+
def _deserialize(self, params):
|
|
46
|
+
if params.get("instanceIds"):
|
|
47
|
+
self.instanceIds = params.get("instanceIds")
|
|
48
|
+
if params.get("action1"):
|
|
49
|
+
self.action1 = params.get("action1")
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
class CloudDeskeditRequest(AbstractModel):
|
|
53
|
+
"""CloudDeskedit请求参数结构体
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
def __init__(self):
|
|
57
|
+
r"""修改云电脑实例的名称
|
|
58
|
+
:param instanceId: 云电脑id
|
|
59
|
+
:type PathPrefix: String
|
|
60
|
+
:param name: 自定义云电脑名称
|
|
61
|
+
:type PathPrefix: String
|
|
62
|
+
"""
|
|
63
|
+
self.instanceId = None
|
|
64
|
+
self.name = None
|
|
65
|
+
|
|
66
|
+
def _deserialize(self, params):
|
|
67
|
+
if params.get("instanceId"):
|
|
68
|
+
self.instanceId = params.get("instanceId")
|
|
69
|
+
if params.get("name"):
|
|
70
|
+
self.name = params.get("name")
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
class CloudDeskcreateRequest(AbstractModel):
|
|
74
|
+
"""CloudDeskcreate请求参数结构体
|
|
75
|
+
"""
|
|
76
|
+
|
|
77
|
+
def __init__(self):
|
|
78
|
+
r"""此接口允许用户通过提供必要的参数(如实例名称、类型、镜像ID等)来创建新的云电脑实例。
|
|
79
|
+
:param instanceName: 云电脑名称
|
|
80
|
+
:type PathPrefix: String
|
|
81
|
+
:param instanceType: 云电脑类型
|
|
82
|
+
4C8G
|
|
83
|
+
4C8G_1G
|
|
84
|
+
8C16G
|
|
85
|
+
8C16G_1G
|
|
86
|
+
8C16G_2G
|
|
87
|
+
16C16G_2G
|
|
88
|
+
16C32G
|
|
89
|
+
16C32G_2G
|
|
90
|
+
8C16G3060
|
|
91
|
+
16C32G3060
|
|
92
|
+
16C64G3060
|
|
93
|
+
:type PathPrefix: String
|
|
94
|
+
:param imageId: 镜像ID
|
|
95
|
+
:type PathPrefix: String
|
|
96
|
+
:param edgeNodeId: 区域 id, 通过区域列表接口获取
|
|
97
|
+
:type PathPrefix: String
|
|
98
|
+
:param systemDisk: 系统盘大小,单位 GB
|
|
99
|
+
:type PathPrefix: Int
|
|
100
|
+
:param dataDisk: 如果不需数据盘,传输 0 即可
|
|
101
|
+
:type PathPrefix: Int
|
|
102
|
+
:param billType: 计费模式
|
|
103
|
+
1: 包年包月
|
|
104
|
+
87: 按量付费
|
|
105
|
+
5:按量付费(按日月结)
|
|
106
|
+
:type PathPrefix: Int
|
|
107
|
+
:param duration: 单位:月, 仅 billType 为包年包月时填写
|
|
108
|
+
|
|
109
|
+
:type PathPrefix: Int
|
|
110
|
+
:param securityGroupId: 策略 id
|
|
111
|
+
|
|
112
|
+
:type PathPrefix: String
|
|
113
|
+
:param gpu: gpu类型:0,FPGA,vGPU 1G,vGPU 2G,3060 12G独显,2080Ti 2G
|
|
114
|
+
默认是套餐编码对应的gpu
|
|
115
|
+
:type PathPrefix: String
|
|
116
|
+
:param quantity: 默认1,创建实例台数
|
|
117
|
+
:type PathPrefix: Int
|
|
118
|
+
:param uniqueSuffix: 是否为HostName和InstanceName添加有序后缀。有序后缀从001开始递增,最大不能超过999。例如:LocalHost001,LocalHost002和MyInstance001,MyInstance002。
|
|
119
|
+
:type PathPrefix: Boolean
|
|
120
|
+
"""
|
|
121
|
+
self.instanceName = None
|
|
122
|
+
self.instanceType = None
|
|
123
|
+
self.imageId = None
|
|
124
|
+
self.edgeNodeId = None
|
|
125
|
+
self.systemDisk = None
|
|
126
|
+
self.dataDisk = None
|
|
127
|
+
self.billType = None
|
|
128
|
+
self.duration = None
|
|
129
|
+
self.securityGroupId = None
|
|
130
|
+
self.gpu = None
|
|
131
|
+
self.quantity = None
|
|
132
|
+
self.uniqueSuffix = None
|
|
133
|
+
|
|
134
|
+
def _deserialize(self, params):
|
|
135
|
+
if params.get("instanceName"):
|
|
136
|
+
self.instanceName = params.get("instanceName")
|
|
137
|
+
if params.get("instanceType"):
|
|
138
|
+
self.instanceType = params.get("instanceType")
|
|
139
|
+
if params.get("imageId"):
|
|
140
|
+
self.imageId = params.get("imageId")
|
|
141
|
+
if params.get("edgeNodeId"):
|
|
142
|
+
self.edgeNodeId = params.get("edgeNodeId")
|
|
143
|
+
if params.get("systemDisk"):
|
|
144
|
+
self.systemDisk = params.get("systemDisk")
|
|
145
|
+
if params.get("dataDisk"):
|
|
146
|
+
self.dataDisk = params.get("dataDisk")
|
|
147
|
+
if params.get("billType"):
|
|
148
|
+
self.billType = params.get("billType")
|
|
149
|
+
if params.get("duration"):
|
|
150
|
+
self.duration = params.get("duration")
|
|
151
|
+
if params.get("securityGroupId"):
|
|
152
|
+
self.securityGroupId = params.get("securityGroupId")
|
|
153
|
+
if params.get("gpu"):
|
|
154
|
+
self.gpu = params.get("gpu")
|
|
155
|
+
if params.get("quantity"):
|
|
156
|
+
self.quantity = params.get("quantity")
|
|
157
|
+
if params.get("uniqueSuffix"):
|
|
158
|
+
self.uniqueSuffix = params.get("uniqueSuffix")
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
class CloudDesklistRequest(AbstractModel):
|
|
162
|
+
"""CloudDesklist请求参数结构体
|
|
163
|
+
"""
|
|
164
|
+
|
|
165
|
+
def __init__(self):
|
|
166
|
+
r"""该接口用于获取用户所拥有的所有云电脑实例的列表,支持分页查询,并能根据连接状态过滤结果。
|
|
167
|
+
:param page:
|
|
168
|
+
:type PathPrefix: Int
|
|
169
|
+
:param size:
|
|
170
|
+
:type PathPrefix: Int
|
|
171
|
+
:param connected: 连接状态 on off
|
|
172
|
+
:type PathPrefix: String
|
|
173
|
+
:param labelIds: 云电脑已绑定的标签id,多个id使用英文逗号分隔
|
|
174
|
+
:type PathPrefix: String
|
|
175
|
+
:param name: 云电脑名称或实例id
|
|
176
|
+
:type PathPrefix: String
|
|
177
|
+
:param userName: 云电脑已绑定的用户名
|
|
178
|
+
:type PathPrefix: String
|
|
179
|
+
"""
|
|
180
|
+
self.page = None
|
|
181
|
+
self.size = None
|
|
182
|
+
self.connected = None
|
|
183
|
+
self.labelIds = None
|
|
184
|
+
self.name = None
|
|
185
|
+
self.userName = None
|
|
186
|
+
|
|
187
|
+
def _deserialize(self, params):
|
|
188
|
+
if params.get("page"):
|
|
189
|
+
self.page = params.get("page")
|
|
190
|
+
if params.get("size"):
|
|
191
|
+
self.size = params.get("size")
|
|
192
|
+
if params.get("connected"):
|
|
193
|
+
self.connected = params.get("connected")
|
|
194
|
+
if params.get("labelIds"):
|
|
195
|
+
self.labelIds = params.get("labelIds")
|
|
196
|
+
if params.get("name"):
|
|
197
|
+
self.name = params.get("name")
|
|
198
|
+
if params.get("userName"):
|
|
199
|
+
self.userName = params.get("userName")
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
class StrategyruleeditRequest(AbstractModel):
|
|
203
|
+
"""Strategyruleedit请求参数结构体
|
|
204
|
+
"""
|
|
205
|
+
|
|
206
|
+
def __init__(self):
|
|
207
|
+
r"""修改已有的策略安全组规则。
|
|
208
|
+
:param securityGroupId: 策略组 id
|
|
209
|
+
|
|
210
|
+
:type PathPrefix: String
|
|
211
|
+
:param policies:
|
|
212
|
+
:type PathPrefix: Array
|
|
213
|
+
"""
|
|
214
|
+
self.securityGroupId = None
|
|
215
|
+
self.policies = None
|
|
216
|
+
|
|
217
|
+
def _deserialize(self, params):
|
|
218
|
+
if params.get("securityGroupId"):
|
|
219
|
+
self.securityGroupId = params.get("securityGroupId")
|
|
220
|
+
if params.get("policies"):
|
|
221
|
+
self.policies = params.get("policies")
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
class StrategyrulecreateRequest(AbstractModel):
|
|
225
|
+
"""Strategyrulecreate请求参数结构体
|
|
226
|
+
"""
|
|
227
|
+
|
|
228
|
+
def __init__(self):
|
|
229
|
+
r"""创建一个新的策略安全组规则。
|
|
230
|
+
:param name: 策略名称
|
|
231
|
+
:type PathPrefix: String
|
|
232
|
+
:param description: 策略描述
|
|
233
|
+
:type PathPrefix: String
|
|
234
|
+
:param policies: 安全组出站规则
|
|
235
|
+
:type PathPrefix: Array
|
|
236
|
+
"""
|
|
237
|
+
self.name = None
|
|
238
|
+
self.description = None
|
|
239
|
+
self.policies = None
|
|
240
|
+
|
|
241
|
+
def _deserialize(self, params):
|
|
242
|
+
if params.get("name"):
|
|
243
|
+
self.name = params.get("name")
|
|
244
|
+
if params.get("description"):
|
|
245
|
+
self.description = params.get("description")
|
|
246
|
+
if params.get("policies"):
|
|
247
|
+
self.policies = params.get("policies")
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
class StrategyunboundRequest(AbstractModel):
|
|
251
|
+
"""Strategyunbound请求参数结构体
|
|
252
|
+
"""
|
|
253
|
+
|
|
254
|
+
def __init__(self):
|
|
255
|
+
r"""解除当前云电脑与安全组的绑定关系。
|
|
256
|
+
:param securityGroupId: 策略组id
|
|
257
|
+
:type PathPrefix: String
|
|
258
|
+
:param instanceId: 云电脑id
|
|
259
|
+
:type PathPrefix: String
|
|
260
|
+
"""
|
|
261
|
+
self.securityGroupId = None
|
|
262
|
+
self.instanceId = None
|
|
263
|
+
|
|
264
|
+
def _deserialize(self, params):
|
|
265
|
+
if params.get("securityGroupId"):
|
|
266
|
+
self.securityGroupId = params.get("securityGroupId")
|
|
267
|
+
if params.get("instanceId"):
|
|
268
|
+
self.instanceId = params.get("instanceId")
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
class StrategyboundRequest(AbstractModel):
|
|
272
|
+
"""Strategybound请求参数结构体
|
|
273
|
+
"""
|
|
274
|
+
|
|
275
|
+
def __init__(self):
|
|
276
|
+
r"""将指定云电脑与策略安全组绑定。
|
|
277
|
+
:param securityGroupId: 策略组 id
|
|
278
|
+
|
|
279
|
+
:type PathPrefix: String
|
|
280
|
+
:param instanceId: 云电脑 id
|
|
281
|
+
:type PathPrefix: String
|
|
282
|
+
"""
|
|
283
|
+
self.securityGroupId = None
|
|
284
|
+
self.instanceId = None
|
|
285
|
+
|
|
286
|
+
def _deserialize(self, params):
|
|
287
|
+
if params.get("securityGroupId"):
|
|
288
|
+
self.securityGroupId = params.get("securityGroupId")
|
|
289
|
+
if params.get("instanceId"):
|
|
290
|
+
self.instanceId = params.get("instanceId")
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
class StrategydeleteRequest(AbstractModel):
|
|
294
|
+
"""Strategydelete请求参数结构体
|
|
295
|
+
"""
|
|
296
|
+
|
|
297
|
+
def __init__(self):
|
|
298
|
+
r"""删除指定的策略安全组。
|
|
299
|
+
:param id: 策略组 id 列表
|
|
300
|
+
|
|
301
|
+
:type PathPrefix: Array
|
|
302
|
+
"""
|
|
303
|
+
self.id = None
|
|
304
|
+
|
|
305
|
+
def _deserialize(self, params):
|
|
306
|
+
if params.get("id"):
|
|
307
|
+
self.id = params.get("id")
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
class StrategyeditRequest(AbstractModel):
|
|
311
|
+
"""Strategyedit请求参数结构体
|
|
312
|
+
"""
|
|
313
|
+
|
|
314
|
+
def __init__(self):
|
|
315
|
+
r"""修改现有策略安全组的信息。
|
|
316
|
+
:param securityGroupId: 策略组唯一 id
|
|
317
|
+
|
|
318
|
+
:type PathPrefix: String
|
|
319
|
+
:param name: 策略组名称
|
|
320
|
+
:type PathPrefix: String
|
|
321
|
+
:param description: 描述信息
|
|
322
|
+
|
|
323
|
+
:type PathPrefix: String
|
|
324
|
+
"""
|
|
325
|
+
self.securityGroupId = None
|
|
326
|
+
self.name = None
|
|
327
|
+
self.description = None
|
|
328
|
+
|
|
329
|
+
def _deserialize(self, params):
|
|
330
|
+
if params.get("securityGroupId"):
|
|
331
|
+
self.securityGroupId = params.get("securityGroupId")
|
|
332
|
+
if params.get("name"):
|
|
333
|
+
self.name = params.get("name")
|
|
334
|
+
if params.get("description"):
|
|
335
|
+
self.description = params.get("description")
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
class StrategycreateRequest(AbstractModel):
|
|
339
|
+
"""Strategycreate请求参数结构体
|
|
340
|
+
"""
|
|
341
|
+
|
|
342
|
+
def __init__(self):
|
|
343
|
+
r"""创建一个新的策略安全组。
|
|
344
|
+
:param name: 策略组名称
|
|
345
|
+
:type PathPrefix: String
|
|
346
|
+
:param description: 描述信息
|
|
347
|
+
:type PathPrefix: String
|
|
348
|
+
"""
|
|
349
|
+
self.name = None
|
|
350
|
+
self.description = None
|
|
351
|
+
|
|
352
|
+
def _deserialize(self, params):
|
|
353
|
+
if params.get("name"):
|
|
354
|
+
self.name = params.get("name")
|
|
355
|
+
if params.get("description"):
|
|
356
|
+
self.description = params.get("description")
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
class StrategylistRequest(AbstractModel):
|
|
360
|
+
"""Strategylist请求参数结构体
|
|
361
|
+
"""
|
|
362
|
+
|
|
363
|
+
def __init__(self):
|
|
364
|
+
r"""获取特定云电脑的安全组列表。
|
|
365
|
+
:param size: 每页条数
|
|
366
|
+
:type PathPrefix: Int
|
|
367
|
+
:param page: 页码数
|
|
368
|
+
:type PathPrefix: Int
|
|
369
|
+
:param name: 根据名称模糊查询
|
|
370
|
+
:type PathPrefix: String
|
|
371
|
+
"""
|
|
372
|
+
self.size = None
|
|
373
|
+
self.page = None
|
|
374
|
+
self.name = None
|
|
375
|
+
|
|
376
|
+
def _deserialize(self, params):
|
|
377
|
+
if params.get("size"):
|
|
378
|
+
self.size = params.get("size")
|
|
379
|
+
if params.get("page"):
|
|
380
|
+
self.page = params.get("page")
|
|
381
|
+
if params.get("name"):
|
|
382
|
+
self.name = params.get("name")
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
class RolesdeleteRequest(AbstractModel):
|
|
386
|
+
"""Rolesdelete请求参数结构体
|
|
387
|
+
"""
|
|
388
|
+
|
|
389
|
+
def __init__(self):
|
|
390
|
+
r"""删除指定角色。
|
|
391
|
+
:param id: 角色主键 id
|
|
392
|
+
:type PathPrefix: Int
|
|
393
|
+
"""
|
|
394
|
+
self.id = None
|
|
395
|
+
|
|
396
|
+
def _deserialize(self, params):
|
|
397
|
+
if params.get("id"):
|
|
398
|
+
self.id = params.get("id")
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
class RoleseditRequest(AbstractModel):
|
|
402
|
+
"""Rolesedit请求参数结构体
|
|
403
|
+
"""
|
|
404
|
+
|
|
405
|
+
def __init__(self):
|
|
406
|
+
r"""更新角色属性。
|
|
407
|
+
:param id: 主键 id
|
|
408
|
+
:type PathPrefix: Int
|
|
409
|
+
:param name: 角色名称
|
|
410
|
+
:type PathPrefix: String
|
|
411
|
+
:param description: 描述信息
|
|
412
|
+
:type PathPrefix: String
|
|
413
|
+
:param fileTransfer: 远程文件
|
|
414
|
+
0: 禁用
|
|
415
|
+
1:启用
|
|
416
|
+
|
|
417
|
+
:type PathPrefix: Int
|
|
418
|
+
:param clipboard: 共享剪贴板
|
|
419
|
+
0: 禁用
|
|
420
|
+
1:启用
|
|
421
|
+
:type PathPrefix: Int
|
|
422
|
+
:param disk: 硬盘挂载
|
|
423
|
+
0: 禁用
|
|
424
|
+
1:启用
|
|
425
|
+
|
|
426
|
+
:type PathPrefix: Int
|
|
427
|
+
:param usb: usb 挂载
|
|
428
|
+
0: 禁用
|
|
429
|
+
1:启用
|
|
430
|
+
:type PathPrefix: Int
|
|
431
|
+
"""
|
|
432
|
+
self.id = None
|
|
433
|
+
self.name = None
|
|
434
|
+
self.description = None
|
|
435
|
+
self.fileTransfer = None
|
|
436
|
+
self.clipboard = None
|
|
437
|
+
self.disk = None
|
|
438
|
+
self.usb = None
|
|
439
|
+
|
|
440
|
+
def _deserialize(self, params):
|
|
441
|
+
if params.get("id"):
|
|
442
|
+
self.id = params.get("id")
|
|
443
|
+
if params.get("name"):
|
|
444
|
+
self.name = params.get("name")
|
|
445
|
+
if params.get("description"):
|
|
446
|
+
self.description = params.get("description")
|
|
447
|
+
if params.get("fileTransfer"):
|
|
448
|
+
self.fileTransfer = params.get("fileTransfer")
|
|
449
|
+
if params.get("clipboard"):
|
|
450
|
+
self.clipboard = params.get("clipboard")
|
|
451
|
+
if params.get("disk"):
|
|
452
|
+
self.disk = params.get("disk")
|
|
453
|
+
if params.get("usb"):
|
|
454
|
+
self.usb = params.get("usb")
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
class RolescreateRequest(AbstractModel):
|
|
458
|
+
"""Rolescreate请求参数结构体
|
|
459
|
+
"""
|
|
460
|
+
|
|
461
|
+
def __init__(self):
|
|
462
|
+
r"""创建新角色,支持配置相应权限。
|
|
463
|
+
:param name: 角色名称
|
|
464
|
+
:type PathPrefix: String
|
|
465
|
+
:param description: 描述信息
|
|
466
|
+
:type PathPrefix: String
|
|
467
|
+
:param fileTransfer: 远程文件
|
|
468
|
+
0: 禁用
|
|
469
|
+
1:启用
|
|
470
|
+
:type PathPrefix: Int
|
|
471
|
+
:param clipboard: 共享剪贴板
|
|
472
|
+
0: 禁用
|
|
473
|
+
1:启用
|
|
474
|
+
:type PathPrefix: Int
|
|
475
|
+
:param disk: 硬盘挂载
|
|
476
|
+
0: 禁用
|
|
477
|
+
1:启用
|
|
478
|
+
|
|
479
|
+
:type PathPrefix: Int
|
|
480
|
+
:param usb: usb 挂载
|
|
481
|
+
0: 禁用
|
|
482
|
+
1:启用
|
|
483
|
+
:type PathPrefix: Int
|
|
484
|
+
"""
|
|
485
|
+
self.name = None
|
|
486
|
+
self.description = None
|
|
487
|
+
self.fileTransfer = None
|
|
488
|
+
self.clipboard = None
|
|
489
|
+
self.disk = None
|
|
490
|
+
self.usb = None
|
|
491
|
+
|
|
492
|
+
def _deserialize(self, params):
|
|
493
|
+
if params.get("name"):
|
|
494
|
+
self.name = params.get("name")
|
|
495
|
+
if params.get("description"):
|
|
496
|
+
self.description = params.get("description")
|
|
497
|
+
if params.get("fileTransfer"):
|
|
498
|
+
self.fileTransfer = params.get("fileTransfer")
|
|
499
|
+
if params.get("clipboard"):
|
|
500
|
+
self.clipboard = params.get("clipboard")
|
|
501
|
+
if params.get("disk"):
|
|
502
|
+
self.disk = params.get("disk")
|
|
503
|
+
if params.get("usb"):
|
|
504
|
+
self.usb = params.get("usb")
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
class RoleslistRequest(AbstractModel):
|
|
508
|
+
"""Roleslist请求参数结构体
|
|
509
|
+
"""
|
|
510
|
+
|
|
511
|
+
def __init__(self):
|
|
512
|
+
r"""显示所有角色列表及其详细信息。
|
|
513
|
+
:param size: 每页条数
|
|
514
|
+
:type PathPrefix: Int
|
|
515
|
+
:param page: 页码数
|
|
516
|
+
|
|
517
|
+
:type PathPrefix: Int
|
|
518
|
+
:param name: 根据名称模糊查询
|
|
519
|
+
:type PathPrefix: String
|
|
520
|
+
"""
|
|
521
|
+
self.size = None
|
|
522
|
+
self.page = None
|
|
523
|
+
self.name = None
|
|
524
|
+
|
|
525
|
+
def _deserialize(self, params):
|
|
526
|
+
if params.get("size"):
|
|
527
|
+
self.size = params.get("size")
|
|
528
|
+
if params.get("page"):
|
|
529
|
+
self.page = params.get("page")
|
|
530
|
+
if params.get("name"):
|
|
531
|
+
self.name = params.get("name")
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
class ImagedeleteRequest(AbstractModel):
|
|
535
|
+
"""Imagedelete请求参数结构体
|
|
536
|
+
"""
|
|
537
|
+
|
|
538
|
+
def __init__(self):
|
|
539
|
+
r"""删除指定的镜像。
|
|
540
|
+
:param imageId: 镜像 id
|
|
541
|
+
:type PathPrefix: String
|
|
542
|
+
"""
|
|
543
|
+
self.imageId = None
|
|
544
|
+
|
|
545
|
+
def _deserialize(self, params):
|
|
546
|
+
if params.get("imageId"):
|
|
547
|
+
self.imageId = params.get("imageId")
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
class ImageeditRequest(AbstractModel):
|
|
551
|
+
"""Imageedit请求参数结构体
|
|
552
|
+
"""
|
|
553
|
+
|
|
554
|
+
def __init__(self):
|
|
555
|
+
r"""编辑已有镜像的信息。
|
|
556
|
+
:param id: 镜像主键 id
|
|
557
|
+
:type PathPrefix: Int
|
|
558
|
+
:param imageId: 镜像 id
|
|
559
|
+
|
|
560
|
+
:type PathPrefix: String
|
|
561
|
+
:param imageName: 镜像名称
|
|
562
|
+
:type PathPrefix: String
|
|
563
|
+
:param description: 镜像描述信息
|
|
564
|
+
:type PathPrefix: String
|
|
565
|
+
"""
|
|
566
|
+
self.id = None
|
|
567
|
+
self.imageId = None
|
|
568
|
+
self.imageName = None
|
|
569
|
+
self.description = None
|
|
570
|
+
|
|
571
|
+
def _deserialize(self, params):
|
|
572
|
+
if params.get("id"):
|
|
573
|
+
self.id = params.get("id")
|
|
574
|
+
if params.get("imageId"):
|
|
575
|
+
self.imageId = params.get("imageId")
|
|
576
|
+
if params.get("imageName"):
|
|
577
|
+
self.imageName = params.get("imageName")
|
|
578
|
+
if params.get("description"):
|
|
579
|
+
self.description = params.get("description")
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
class ImagecreateRequest(AbstractModel):
|
|
583
|
+
"""Imagecreate请求参数结构体
|
|
584
|
+
"""
|
|
585
|
+
|
|
586
|
+
def __init__(self):
|
|
587
|
+
r"""创建自定义镜像。
|
|
588
|
+
:param imageName: 镜像名称
|
|
589
|
+
|
|
590
|
+
:type PathPrefix: String
|
|
591
|
+
:param description: 描述信息
|
|
592
|
+
:type PathPrefix: String
|
|
593
|
+
:param instanceId: 云电脑id
|
|
594
|
+
:type PathPrefix: String
|
|
595
|
+
"""
|
|
596
|
+
self.imageName = None
|
|
597
|
+
self.description = None
|
|
598
|
+
self.instanceId = None
|
|
599
|
+
|
|
600
|
+
def _deserialize(self, params):
|
|
601
|
+
if params.get("imageName"):
|
|
602
|
+
self.imageName = params.get("imageName")
|
|
603
|
+
if params.get("description"):
|
|
604
|
+
self.description = params.get("description")
|
|
605
|
+
if params.get("instanceId"):
|
|
606
|
+
self.instanceId = params.get("instanceId")
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
class ImagelistRequest(AbstractModel):
|
|
610
|
+
"""Imagelist请求参数结构体
|
|
611
|
+
"""
|
|
612
|
+
|
|
613
|
+
def __init__(self):
|
|
614
|
+
r"""列出所有可用的镜像资源列表。
|
|
615
|
+
:param size: 每条页数
|
|
616
|
+
:type PathPrefix: Int
|
|
617
|
+
:param page: 页码数
|
|
618
|
+
:type PathPrefix: Int
|
|
619
|
+
:param name: 根据名称模糊查询
|
|
620
|
+
:type PathPrefix: String
|
|
621
|
+
"""
|
|
622
|
+
self.size = None
|
|
623
|
+
self.page = None
|
|
624
|
+
self.name = None
|
|
625
|
+
|
|
626
|
+
def _deserialize(self, params):
|
|
627
|
+
if params.get("size"):
|
|
628
|
+
self.size = params.get("size")
|
|
629
|
+
if params.get("page"):
|
|
630
|
+
self.page = params.get("page")
|
|
631
|
+
if params.get("name"):
|
|
632
|
+
self.name = params.get("name")
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
class StrategyrulebatchEditRequest(AbstractModel):
|
|
636
|
+
"""StrategyrulebatchEdit请求参数结构体
|
|
637
|
+
"""
|
|
638
|
+
|
|
639
|
+
def __init__(self):
|
|
640
|
+
r"""批量删除策略安全组规则。
|
|
641
|
+
:param securityGroupIds: 安全组id
|
|
642
|
+
:type PathPrefix: Array
|
|
643
|
+
"""
|
|
644
|
+
self.securityGroupIds = None
|
|
645
|
+
|
|
646
|
+
def _deserialize(self, params):
|
|
647
|
+
if params.get("securityGroupIds"):
|
|
648
|
+
self.securityGroupIds = params.get("securityGroupIds")
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
class MonitorregionsRequest(AbstractModel):
|
|
652
|
+
"""Monitorregions请求参数结构体
|
|
653
|
+
"""
|
|
654
|
+
|
|
655
|
+
def __init__(self):
|
|
656
|
+
r"""返回系统支持的所有地理区域的列表,包括其显示名称和对应的值。
|
|
657
|
+
"""
|
|
658
|
+
|
|
659
|
+
def _deserialize(self, params):
|
|
660
|
+
return
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
class UsersinstancebindRequest(AbstractModel):
|
|
664
|
+
"""Usersinstancebind请求参数结构体
|
|
665
|
+
"""
|
|
666
|
+
|
|
667
|
+
def __init__(self):
|
|
668
|
+
r"""将云电脑分配给指定用户。
|
|
669
|
+
:param id: 用户 id
|
|
670
|
+
:type PathPrefix: Int
|
|
671
|
+
:param instanceId: 云电脑 id
|
|
672
|
+
:type PathPrefix: String
|
|
673
|
+
"""
|
|
674
|
+
self.id = None
|
|
675
|
+
self.instanceId = None
|
|
676
|
+
|
|
677
|
+
def _deserialize(self, params):
|
|
678
|
+
if params.get("id"):
|
|
679
|
+
self.id = params.get("id")
|
|
680
|
+
if params.get("instanceId"):
|
|
681
|
+
self.instanceId = params.get("instanceId")
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
class UserspasswordresetRequest(AbstractModel):
|
|
685
|
+
"""Userspasswordreset请求参数结构体
|
|
686
|
+
"""
|
|
687
|
+
|
|
688
|
+
def __init__(self):
|
|
689
|
+
r"""重新设置用户密码。
|
|
690
|
+
:param id: 主键 id
|
|
691
|
+
:type PathPrefix: Int
|
|
692
|
+
:param password: base64 加密后的密码
|
|
693
|
+
|
|
694
|
+
:type PathPrefix: String
|
|
695
|
+
"""
|
|
696
|
+
self.id = None
|
|
697
|
+
self.password = None
|
|
698
|
+
|
|
699
|
+
def _deserialize(self, params):
|
|
700
|
+
if params.get("id"):
|
|
701
|
+
self.id = params.get("id")
|
|
702
|
+
if params.get("password"):
|
|
703
|
+
self.password = params.get("password")
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
class UsersdeleteRequest(AbstractModel):
|
|
707
|
+
"""Usersdelete请求参数结构体
|
|
708
|
+
"""
|
|
709
|
+
|
|
710
|
+
def __init__(self):
|
|
711
|
+
r"""删除指定用户账户。
|
|
712
|
+
:param id: 用户主键 id
|
|
713
|
+
:type PathPrefix: Int
|
|
714
|
+
"""
|
|
715
|
+
self.id = None
|
|
716
|
+
|
|
717
|
+
def _deserialize(self, params):
|
|
718
|
+
if params.get("id"):
|
|
719
|
+
self.id = params.get("id")
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
class UserseditRequest(AbstractModel):
|
|
723
|
+
"""Usersedit请求参数结构体
|
|
724
|
+
"""
|
|
725
|
+
|
|
726
|
+
def __init__(self):
|
|
727
|
+
r"""更改相关用户资料。
|
|
728
|
+
:param id: 主键 id
|
|
729
|
+
|
|
730
|
+
:type PathPrefix: Int
|
|
731
|
+
:param name: 用户名
|
|
732
|
+
:type PathPrefix: String
|
|
733
|
+
:param phoneOrEmail: 电话或邮箱
|
|
734
|
+
:type PathPrefix: String
|
|
735
|
+
:param nickName: 昵称
|
|
736
|
+
:type PathPrefix: String
|
|
737
|
+
:param status: 1: 启用/0: 禁用
|
|
738
|
+
不传递或者传递 null 时不修改
|
|
739
|
+
:type PathPrefix: Int
|
|
740
|
+
"""
|
|
741
|
+
self.id = None
|
|
742
|
+
self.name = None
|
|
743
|
+
self.phoneOrEmail = None
|
|
744
|
+
self.nickName = None
|
|
745
|
+
self.status = None
|
|
746
|
+
|
|
747
|
+
def _deserialize(self, params):
|
|
748
|
+
if params.get("id"):
|
|
749
|
+
self.id = params.get("id")
|
|
750
|
+
if params.get("name"):
|
|
751
|
+
self.name = params.get("name")
|
|
752
|
+
if params.get("phoneOrEmail"):
|
|
753
|
+
self.phoneOrEmail = params.get("phoneOrEmail")
|
|
754
|
+
if params.get("nickName"):
|
|
755
|
+
self.nickName = params.get("nickName")
|
|
756
|
+
if params.get("status"):
|
|
757
|
+
self.status = params.get("status")
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
class UserscreateRequest(AbstractModel):
|
|
761
|
+
"""Userscreate请求参数结构体
|
|
762
|
+
"""
|
|
763
|
+
|
|
764
|
+
def __init__(self):
|
|
765
|
+
r"""注册新用户。
|
|
766
|
+
:param name: 用户名
|
|
767
|
+
:type PathPrefix: String
|
|
768
|
+
:param password: 密码,请使用 base64 加密后传输
|
|
769
|
+
:type PathPrefix: String
|
|
770
|
+
:param phoneOrEmail: 手机号码或者邮箱
|
|
771
|
+
:type PathPrefix: String
|
|
772
|
+
:param roleId: 角色 id
|
|
773
|
+
:type PathPrefix: Int
|
|
774
|
+
"""
|
|
775
|
+
self.name = None
|
|
776
|
+
self.password = None
|
|
777
|
+
self.phoneOrEmail = None
|
|
778
|
+
self.roleId = None
|
|
779
|
+
|
|
780
|
+
def _deserialize(self, params):
|
|
781
|
+
if params.get("name"):
|
|
782
|
+
self.name = params.get("name")
|
|
783
|
+
if params.get("password"):
|
|
784
|
+
self.password = params.get("password")
|
|
785
|
+
if params.get("phoneOrEmail"):
|
|
786
|
+
self.phoneOrEmail = params.get("phoneOrEmail")
|
|
787
|
+
if params.get("roleId"):
|
|
788
|
+
self.roleId = params.get("roleId")
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
class UserslistRequest(AbstractModel):
|
|
792
|
+
"""Userslist请求参数结构体
|
|
793
|
+
"""
|
|
794
|
+
|
|
795
|
+
def __init__(self):
|
|
796
|
+
r"""查看所有用户的概览信息。
|
|
797
|
+
:param size: 每页条数
|
|
798
|
+
|
|
799
|
+
:type PathPrefix: Int
|
|
800
|
+
:param page: 页码数
|
|
801
|
+
:type PathPrefix: Int
|
|
802
|
+
:param username: 用户名
|
|
803
|
+
:type PathPrefix: String
|
|
804
|
+
:param phone: 手机号
|
|
805
|
+
:type PathPrefix: String
|
|
806
|
+
:param email: 邮箱
|
|
807
|
+
:type PathPrefix: String
|
|
808
|
+
"""
|
|
809
|
+
self.size = None
|
|
810
|
+
self.page = None
|
|
811
|
+
self.username = None
|
|
812
|
+
self.phone = None
|
|
813
|
+
self.email = None
|
|
814
|
+
|
|
815
|
+
def _deserialize(self, params):
|
|
816
|
+
if params.get("size"):
|
|
817
|
+
self.size = params.get("size")
|
|
818
|
+
if params.get("page"):
|
|
819
|
+
self.page = params.get("page")
|
|
820
|
+
if params.get("username"):
|
|
821
|
+
self.username = params.get("username")
|
|
822
|
+
if params.get("phone"):
|
|
823
|
+
self.phone = params.get("phone")
|
|
824
|
+
if params.get("email"):
|
|
825
|
+
self.email = params.get("email")
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
class CloudDeskgetDesktopUrlRequest(AbstractModel):
|
|
829
|
+
"""CloudDeskgetDesktopUrl请求参数结构体
|
|
830
|
+
"""
|
|
831
|
+
|
|
832
|
+
def __init__(self):
|
|
833
|
+
r"""根据授权toen生成一个可以直接进入云电脑的URL
|
|
834
|
+
:param token: 访问token
|
|
835
|
+
:type PathPrefix: String
|
|
836
|
+
:param instanceId: 实例id
|
|
837
|
+
:type PathPrefix: String
|
|
838
|
+
"""
|
|
839
|
+
self.token = None
|
|
840
|
+
self.instanceId = None
|
|
841
|
+
|
|
842
|
+
def _deserialize(self, params):
|
|
843
|
+
if params.get("token"):
|
|
844
|
+
self.token = params.get("token")
|
|
845
|
+
if params.get("instanceId"):
|
|
846
|
+
self.instanceId = params.get("instanceId")
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
class QueryCloudDesksubmitShellRequest(AbstractModel):
|
|
850
|
+
"""QueryCloudDesksubmitShell请求参数结构体
|
|
851
|
+
"""
|
|
852
|
+
|
|
853
|
+
def __init__(self):
|
|
854
|
+
r"""提交一个可执行的脚本,支持ps1,bat脚本,请注意脚本的后缀,".ps1"的后缀会使用powershell 执行
|
|
855
|
+
:param instanceIds:
|
|
856
|
+
:type PathPrefix: Array
|
|
857
|
+
:param name:
|
|
858
|
+
:type PathPrefix: String
|
|
859
|
+
:param shellContent: 脚本内容需要base64转下
|
|
860
|
+
:type PathPrefix: String
|
|
861
|
+
"""
|
|
862
|
+
self.instanceIds = None
|
|
863
|
+
self.name = None
|
|
864
|
+
self.shellContent = None
|
|
865
|
+
|
|
866
|
+
def _deserialize(self, params):
|
|
867
|
+
if params.get("instanceIds"):
|
|
868
|
+
self.instanceIds = params.get("instanceIds")
|
|
869
|
+
if params.get("name"):
|
|
870
|
+
self.name = params.get("name")
|
|
871
|
+
if params.get("shellContent"):
|
|
872
|
+
self.shellContent = params.get("shellContent")
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
class CreateCloudDeskgetTokenRequest(AbstractModel):
|
|
876
|
+
"""CreateCloudDeskgetToken请求参数结构体
|
|
877
|
+
"""
|
|
878
|
+
|
|
879
|
+
def __init__(self):
|
|
880
|
+
r"""KOP鉴权通过之后,使用此接口可生成一个token用于快速登录云电脑
|
|
881
|
+
:param username: 已分配的云电脑用户名
|
|
882
|
+
:type PathPrefix: String
|
|
883
|
+
:param password: 密码请使用 base64 加密后传输
|
|
884
|
+
:type PathPrefix: String
|
|
885
|
+
"""
|
|
886
|
+
self.username = None
|
|
887
|
+
self.password = None
|
|
888
|
+
|
|
889
|
+
def _deserialize(self, params):
|
|
890
|
+
if params.get("username"):
|
|
891
|
+
self.username = params.get("username")
|
|
892
|
+
if params.get("password"):
|
|
893
|
+
self.password = params.get("password")
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
class QueryShellStatusRequest(AbstractModel):
|
|
897
|
+
"""QueryShellStatus请求参数结构体
|
|
898
|
+
"""
|
|
899
|
+
|
|
900
|
+
def __init__(self):
|
|
901
|
+
r"""查询下发的脚本运行状态
|
|
902
|
+
:param instanceIds: 云电脑 id,多个使用英文逗号分隔
|
|
903
|
+
:type PathPrefix: String
|
|
904
|
+
:param planId: 任务id
|
|
905
|
+
:type PathPrefix: Int
|
|
906
|
+
"""
|
|
907
|
+
self.instanceIds = None
|
|
908
|
+
self.planId = None
|
|
909
|
+
|
|
910
|
+
def _deserialize(self, params):
|
|
911
|
+
if params.get("instanceIds"):
|
|
912
|
+
self.instanceIds = params.get("instanceIds")
|
|
913
|
+
if params.get("planId"):
|
|
914
|
+
self.planId = params.get("planId")
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
class SetProxyIpRequest(AbstractModel):
|
|
918
|
+
"""SetProxyIp请求参数结构体
|
|
919
|
+
"""
|
|
920
|
+
|
|
921
|
+
def __init__(self):
|
|
922
|
+
r"""支持在云电脑里配置出口代理
|
|
923
|
+
:param instanceIds: 云电脑id
|
|
924
|
+
:type PathPrefix: Array
|
|
925
|
+
:param province: 省份:湖北 湖南 江西 山东 江苏 安徽 浙江 福建 上海 广东 广西 海南 云南 贵州 西藏 重庆 宁夏 新疆 青海 陕西 甘肃 北京 天津 河北 山西 内蒙古 辽宁 吉林 黑龙江 四川
|
|
926
|
+
:type PathPrefix: String
|
|
927
|
+
:param isp: 运营商:电信、联通、移动
|
|
928
|
+
:type PathPrefix: String
|
|
929
|
+
:param city: 城市
|
|
930
|
+
:type PathPrefix: String
|
|
931
|
+
"""
|
|
932
|
+
self.instanceIds = None
|
|
933
|
+
self.province = None
|
|
934
|
+
self.isp = None
|
|
935
|
+
self.city = None
|
|
936
|
+
|
|
937
|
+
def _deserialize(self, params):
|
|
938
|
+
if params.get("instanceIds"):
|
|
939
|
+
self.instanceIds = params.get("instanceIds")
|
|
940
|
+
if params.get("province"):
|
|
941
|
+
self.province = params.get("province")
|
|
942
|
+
if params.get("isp"):
|
|
943
|
+
self.isp = params.get("isp")
|
|
944
|
+
if params.get("city"):
|
|
945
|
+
self.city = params.get("city")
|
|
946
|
+
|
|
947
|
+
|
|
948
|
+
class GetProxyConfigRequest(AbstractModel):
|
|
949
|
+
"""GetProxyConfig请求参数结构体
|
|
950
|
+
"""
|
|
951
|
+
|
|
952
|
+
def __init__(self):
|
|
953
|
+
r"""查询出口代理ip
|
|
954
|
+
:param instanceId: 云电脑 id
|
|
955
|
+
:type PathPrefix: String
|
|
956
|
+
"""
|
|
957
|
+
self.instanceId = None
|
|
958
|
+
|
|
959
|
+
def _deserialize(self, params):
|
|
960
|
+
if params.get("instanceId"):
|
|
961
|
+
self.instanceId = params.get("instanceId")
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
class QueryRuledetailRequest(AbstractModel):
|
|
965
|
+
"""QueryRuledetail请求参数结构体
|
|
966
|
+
"""
|
|
967
|
+
|
|
968
|
+
def __init__(self):
|
|
969
|
+
r"""根据策略组id查询策略规则详情
|
|
970
|
+
:param securityGroupId: 策略组 id
|
|
971
|
+
:type PathPrefix: String
|
|
972
|
+
"""
|
|
973
|
+
self.securityGroupId = None
|
|
974
|
+
|
|
975
|
+
def _deserialize(self, params):
|
|
976
|
+
if params.get("securityGroupId"):
|
|
977
|
+
self.securityGroupId = params.get("securityGroupId")
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
class QueryUsersinfoRequest(AbstractModel):
|
|
981
|
+
"""QueryUsersinfo请求参数结构体
|
|
982
|
+
"""
|
|
983
|
+
|
|
984
|
+
def __init__(self):
|
|
985
|
+
r"""查询注册时的用户账号信息,不支持模糊查询
|
|
986
|
+
:param username: 用户名
|
|
987
|
+
:type PathPrefix: String
|
|
988
|
+
:param phone: 手机号
|
|
989
|
+
:type PathPrefix: String
|
|
990
|
+
:param email: 邮箱
|
|
991
|
+
:type PathPrefix: String
|
|
992
|
+
"""
|
|
993
|
+
self.username = None
|
|
994
|
+
self.phone = None
|
|
995
|
+
self.email = None
|
|
996
|
+
|
|
997
|
+
def _deserialize(self, params):
|
|
998
|
+
if params.get("username"):
|
|
999
|
+
self.username = params.get("username")
|
|
1000
|
+
if params.get("phone"):
|
|
1001
|
+
self.phone = params.get("phone")
|
|
1002
|
+
if params.get("email"):
|
|
1003
|
+
self.email = params.get("email")
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
class GetDetailRequest(AbstractModel):
|
|
1007
|
+
"""GetDetail请求参数结构体
|
|
1008
|
+
"""
|
|
1009
|
+
|
|
1010
|
+
def __init__(self):
|
|
1011
|
+
r"""查询云电脑实例详情信息
|
|
1012
|
+
:param instanceId: 实例id
|
|
1013
|
+
:type PathPrefix: String
|
|
1014
|
+
"""
|
|
1015
|
+
self.instanceId = None
|
|
1016
|
+
|
|
1017
|
+
def _deserialize(self, params):
|
|
1018
|
+
if params.get("instanceId"):
|
|
1019
|
+
self.instanceId = params.get("instanceId")
|
|
1020
|
+
|
|
1021
|
+
|
|
1022
|
+
class ListLabelRequest(AbstractModel):
|
|
1023
|
+
"""ListLabel请求参数结构体
|
|
1024
|
+
"""
|
|
1025
|
+
|
|
1026
|
+
def __init__(self):
|
|
1027
|
+
r"""查询所有标签
|
|
1028
|
+
:param name: 标签名
|
|
1029
|
+
:type PathPrefix: String
|
|
1030
|
+
"""
|
|
1031
|
+
self.name = None
|
|
1032
|
+
|
|
1033
|
+
def _deserialize(self, params):
|
|
1034
|
+
if params.get("name"):
|
|
1035
|
+
self.name = params.get("name")
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
class CancelInstanceLabelRequest(AbstractModel):
|
|
1039
|
+
"""CancelInstanceLabel请求参数结构体
|
|
1040
|
+
"""
|
|
1041
|
+
|
|
1042
|
+
def __init__(self):
|
|
1043
|
+
r"""解绑云电脑已绑定的标签
|
|
1044
|
+
:param labelId: 标签id
|
|
1045
|
+
:type PathPrefix: Array
|
|
1046
|
+
:param instanceId: 实例id
|
|
1047
|
+
:type PathPrefix: String
|
|
1048
|
+
"""
|
|
1049
|
+
self.labelId = None
|
|
1050
|
+
self.instanceId = None
|
|
1051
|
+
|
|
1052
|
+
def _deserialize(self, params):
|
|
1053
|
+
if params.get("labelId"):
|
|
1054
|
+
self.labelId = params.get("labelId")
|
|
1055
|
+
if params.get("instanceId"):
|
|
1056
|
+
self.instanceId = params.get("instanceId")
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
class UpdateInstanceLabelRequest(AbstractModel):
|
|
1060
|
+
"""UpdateInstanceLabel请求参数结构体
|
|
1061
|
+
"""
|
|
1062
|
+
|
|
1063
|
+
def __init__(self):
|
|
1064
|
+
r"""绑定标签到云电脑
|
|
1065
|
+
:param labelId: 标签id
|
|
1066
|
+
:type PathPrefix: Array
|
|
1067
|
+
:param instanceId: 云桌面实例id
|
|
1068
|
+
:type PathPrefix: String
|
|
1069
|
+
"""
|
|
1070
|
+
self.labelId = None
|
|
1071
|
+
self.instanceId = None
|
|
1072
|
+
|
|
1073
|
+
def _deserialize(self, params):
|
|
1074
|
+
if params.get("labelId"):
|
|
1075
|
+
self.labelId = params.get("labelId")
|
|
1076
|
+
if params.get("instanceId"):
|
|
1077
|
+
self.instanceId = params.get("instanceId")
|
|
1078
|
+
|
|
1079
|
+
|
|
1080
|
+
class DeleteLabelRequest(AbstractModel):
|
|
1081
|
+
"""DeleteLabel请求参数结构体
|
|
1082
|
+
"""
|
|
1083
|
+
|
|
1084
|
+
def __init__(self):
|
|
1085
|
+
r"""删除一个或多个标签,删除标签后,已绑定过此标签的云桌面上的标签都将被删除
|
|
1086
|
+
:param id: 标签id
|
|
1087
|
+
:type PathPrefix: Array
|
|
1088
|
+
"""
|
|
1089
|
+
self.id = None
|
|
1090
|
+
|
|
1091
|
+
def _deserialize(self, params):
|
|
1092
|
+
if params.get("id"):
|
|
1093
|
+
self.id = params.get("id")
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
class UpdateLabelRequest(AbstractModel):
|
|
1097
|
+
"""UpdateLabel请求参数结构体
|
|
1098
|
+
"""
|
|
1099
|
+
|
|
1100
|
+
def __init__(self):
|
|
1101
|
+
r"""修改标签名
|
|
1102
|
+
:param id: 标签id
|
|
1103
|
+
:type PathPrefix: Int
|
|
1104
|
+
:param name: 标签名
|
|
1105
|
+
:type PathPrefix: String
|
|
1106
|
+
"""
|
|
1107
|
+
self.id = None
|
|
1108
|
+
self.name = None
|
|
1109
|
+
|
|
1110
|
+
def _deserialize(self, params):
|
|
1111
|
+
if params.get("id"):
|
|
1112
|
+
self.id = params.get("id")
|
|
1113
|
+
if params.get("name"):
|
|
1114
|
+
self.name = params.get("name")
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
class CreateLabelRequest(AbstractModel):
|
|
1118
|
+
"""CreateLabel请求参数结构体
|
|
1119
|
+
"""
|
|
1120
|
+
|
|
1121
|
+
def __init__(self):
|
|
1122
|
+
r"""创建一个标签,用于分类管理云桌面
|
|
1123
|
+
:param name: 标签名
|
|
1124
|
+
:type PathPrefix: String
|
|
1125
|
+
"""
|
|
1126
|
+
self.name = None
|
|
1127
|
+
|
|
1128
|
+
def _deserialize(self, params):
|
|
1129
|
+
if params.get("name"):
|
|
1130
|
+
self.name = params.get("name")
|
|
1131
|
+
|
|
1132
|
+
|