kingsoftcloud-sdk-python 1.5.8.46__py2.py3-none-any.whl → 1.5.8.48__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.46.dist-info → kingsoftcloud_sdk_python-1.5.8.48.dist-info}/METADATA +24 -13
- {kingsoftcloud_sdk_python-1.5.8.46.dist-info → kingsoftcloud_sdk_python-1.5.8.48.dist-info}/RECORD +112 -116
- {kingsoftcloud_sdk_python-1.5.8.46.dist-info → kingsoftcloud_sdk_python-1.5.8.48.dist-info}/WHEEL +1 -1
- ksyun/__init__.py +1 -1
- ksyun/client/actiontrail/v20190401/client.py +1 -3
- ksyun/client/aicp/v20240612/client.py +168 -53
- ksyun/client/aicp/v20240612/models.py +185 -0
- ksyun/client/aicp/v20251212/client.py +2 -2
- ksyun/client/bill/v20180601/client.py +3 -5
- ksyun/client/bill/v20220601/client.py +2 -4
- ksyun/client/bill_union/v20200101/client.py +9 -11
- ksyun/client/bill_union/v20200101/models.py +5 -5
- ksyun/client/bill_union/v20221222/client.py +6 -8
- ksyun/client/bill_union/v20250801/client.py +2 -4
- ksyun/client/bill_union/v20250801/models.py +1 -1
- ksyun/client/bws/v20160304/client.py +7 -9
- ksyun/client/cdn/v20160901/client.py +3 -5
- ksyun/client/cdn/v20200630/client.py +17 -19
- ksyun/client/cdn/v20200901/client.py +7 -9
- ksyun/client/cdn/v20211201/client.py +1 -3
- ksyun/client/cdn/v3/client.py +43 -45
- ksyun/client/cdn/v3/models.py +11 -11
- ksyun/client/cen/v20160304/client.py +26 -28
- ksyun/client/clickhouse/v20210101/client.py +39 -41
- ksyun/client/cloud_advisor/v20250610/client.py +3 -5
- ksyun/client/dmp/v20240101/client.py +20 -22
- ksyun/client/dts/v20180108/client.py +19 -21
- ksyun/client/ebs/v20160304/client.py +28 -30
- ksyun/client/ebs/v20160304/models.py +1 -1
- ksyun/client/eip/v20160304/client.py +12 -14
- ksyun/client/epc/v20151101/client.py +104 -106
- ksyun/client/iam/v20151101/client.py +65 -67
- ksyun/client/iam/v20240513/client.py +1 -3
- ksyun/client/iam/v20240703/client.py +1 -3
- ksyun/client/influxdb/v20191010/client.py +27 -29
- ksyun/client/kad/v20161122/client.py +8 -10
- ksyun/client/kce/v20180314/client.py +17 -19
- ksyun/client/kce/v20190806/client.py +34 -36
- ksyun/client/kce/v20201231/client.py +1 -3
- ksyun/client/kce/v20230101/client.py +9 -11
- ksyun/client/kce/v20230306/client.py +22 -24
- ksyun/client/kce/v20231115/client.py +2 -4
- ksyun/client/kce2/v20230101/client.py +15 -17
- ksyun/client/kcf/v20211215/client.py +9 -11
- ksyun/client/kci/v20200702/client.py +15 -17
- ksyun/client/kci/v20200702/models.py +1 -1
- ksyun/client/kcm/v20160304/client.py +10 -12
- ksyun/client/kcrs/v20211109/client.py +44 -46
- ksyun/client/kcs/v20160701/client.py +66 -68
- ksyun/client/kcs/v20170401/client.py +1 -3
- ksyun/client/kcs/v20240701/client.py +1 -3
- ksyun/client/kead/v20200101/client.py +3 -5
- ksyun/client/kec/v20160304/client.py +565 -105
- ksyun/client/kec/v20160304/models.py +689 -22
- ksyun/client/ked/v1/client.py +44 -46
- ksyun/client/kes/v20201215/client.py +8 -10
- ksyun/client/ket/v20170101/client.py +8 -10
- ksyun/client/kfw/v20160304/client.py +648 -12
- ksyun/client/kfw/v20160304/models.py +1003 -9
- ksyun/client/kingpay/v1/client.py +1 -3
- ksyun/client/kkms/v20160304/client.py +8 -10
- ksyun/client/klog/v20200731/client.py +16 -18
- ksyun/client/kls/v20170101/client.py +8 -10
- ksyun/client/kmr/v20210902/client.py +23 -25
- ksyun/client/kmr/v20231231/client.py +7 -9
- ksyun/client/kmr/v20240814/client.py +19 -21
- ksyun/client/knad/v20230323/client.py +17 -19
- ksyun/client/krds/v20160701/client.py +91 -93
- ksyun/client/krds/v20200825/client.py +10 -12
- ksyun/client/memcached/v20180627/client.py +13 -15
- ksyun/client/milvus/v20231010/client.py +19 -21
- ksyun/client/mongodb/v20170101/client.py +44 -46
- ksyun/client/mongodb/v20250101/client.py +1 -3
- ksyun/client/monitor/v20100525/client.py +2 -4
- ksyun/client/monitor/v20181114/client.py +1 -3
- ksyun/client/monitor/v20210101/client.py +12 -14
- ksyun/client/monitor/v20220101/client.py +2 -4
- ksyun/client/monitor/v20250101/client.py +45 -3
- ksyun/client/monitor/v20250101/models.py +34 -2
- ksyun/client/pdns/v20160304/client.py +35 -37
- ksyun/client/postgresql/v20181225/client.py +50 -52
- ksyun/client/postgresql/v20181225/models.py +1 -1
- ksyun/client/rabbitmq/v20191017/client.py +19 -21
- ksyun/client/relyt/v20240117/client.py +1 -3
- ksyun/client/resourcemanager/v20210320/client.py +8 -10
- ksyun/client/sks/v20151101/client.py +5 -7
- ksyun/client/slb/v20160304/client.py +93 -95
- ksyun/client/slb/v20160304/models.py +5 -5
- ksyun/client/slb/v20250430/client.py +35 -37
- ksyun/client/sqlserver/v20190425/client.py +46 -48
- ksyun/client/sts/v20151101/client.py +2 -4
- ksyun/client/tagv2/v20200901/client.py +10 -12
- ksyun/client/ter/v20240415/client.py +5 -7
- ksyun/client/tidb/v20210520/client.py +40 -42
- ksyun/client/trade/v20200114/client.py +1 -3
- ksyun/client/trade/v20200831/client.py +1 -3
- ksyun/client/trade/v20250220/client.py +4 -6
- ksyun/client/trade/v20250321/client.py +4 -6
- ksyun/client/trade/v20250828/client.py +1 -3
- ksyun/client/trade/v20250828/models.py +1 -1
- ksyun/client/vpc/v20160304/client.py +132 -134
- ksyun/client/waf/v20200707/client.py +20 -22
- ksyun/common/abstract_client.py +15 -3
- 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 +2 -0
- ksyun/common/profile/client_profile.py +3 -0
- ksyun/common/profile/http_profile.py +2 -0
- ksyun/client/kpfs/__init__.py +0 -0
- ksyun/client/kpfs/v20240930/__init__.py +0 -0
- ksyun/client/kpfs/v20240930/client.py +0 -217
- ksyun/client/kpfs/v20240930/models.py +0 -191
- {kingsoftcloud_sdk_python-1.5.8.46.dist-info → kingsoftcloud_sdk_python-1.5.8.48.dist-info}/licenses/LICENSE +0 -0
- {kingsoftcloud_sdk_python-1.5.8.46.dist-info → kingsoftcloud_sdk_python-1.5.8.48.dist-info}/top_level.txt +0 -0
|
@@ -416,6 +416,170 @@ class CreateNotebookRequest(AbstractModel):
|
|
|
416
416
|
self.RunOnCPU = params.get("RunOnCPU")
|
|
417
417
|
|
|
418
418
|
|
|
419
|
+
class CreateImageRequest(AbstractModel):
|
|
420
|
+
"""CreateImage请求参数结构体
|
|
421
|
+
"""
|
|
422
|
+
|
|
423
|
+
def __init__(self):
|
|
424
|
+
r"""新建自定义镜像
|
|
425
|
+
:param ImageName: 自定义镜像名称
|
|
426
|
+
:type PathPrefix: String
|
|
427
|
+
:param Description: 描述信息
|
|
428
|
+
:type PathPrefix: String
|
|
429
|
+
:param ImageType: 镜像类型
|
|
430
|
+
:type PathPrefix: String
|
|
431
|
+
:param Namespace: 命名空间
|
|
432
|
+
:type PathPrefix: String
|
|
433
|
+
:param NamespacePermission: 命名空间权限
|
|
434
|
+
:type PathPrefix: String
|
|
435
|
+
:param ImageRepo: 镜像仓库
|
|
436
|
+
:type PathPrefix: String
|
|
437
|
+
:param ImageVersion: 镜像版本
|
|
438
|
+
:type PathPrefix: String
|
|
439
|
+
:param OfficialInstance: 企业镜像实例,当ImageType=Official不能为空
|
|
440
|
+
:type PathPrefix: String
|
|
441
|
+
:param UserName: 用户名,当ImageType=Official不能为空
|
|
442
|
+
:type PathPrefix: String
|
|
443
|
+
:param Password: 密码,当ImageType=Official不能为空
|
|
444
|
+
:type PathPrefix: String
|
|
445
|
+
:param ImagePermission: 镜像权限
|
|
446
|
+
:type PathPrefix: String
|
|
447
|
+
"""
|
|
448
|
+
self.ImageName = None
|
|
449
|
+
self.Description = None
|
|
450
|
+
self.ImageType = None
|
|
451
|
+
self.Namespace = None
|
|
452
|
+
self.NamespacePermission = None
|
|
453
|
+
self.ImageRepo = None
|
|
454
|
+
self.ImageVersion = None
|
|
455
|
+
self.OfficialInstance = None
|
|
456
|
+
self.UserName = None
|
|
457
|
+
self.Password = None
|
|
458
|
+
self.ImagePermission = None
|
|
459
|
+
|
|
460
|
+
def _deserialize(self, params):
|
|
461
|
+
if params.get("ImageName"):
|
|
462
|
+
self.ImageName = params.get("ImageName")
|
|
463
|
+
if params.get("Description"):
|
|
464
|
+
self.Description = params.get("Description")
|
|
465
|
+
if params.get("ImageType"):
|
|
466
|
+
self.ImageType = params.get("ImageType")
|
|
467
|
+
if params.get("Namespace"):
|
|
468
|
+
self.Namespace = params.get("Namespace")
|
|
469
|
+
if params.get("NamespacePermission"):
|
|
470
|
+
self.NamespacePermission = params.get("NamespacePermission")
|
|
471
|
+
if params.get("ImageRepo"):
|
|
472
|
+
self.ImageRepo = params.get("ImageRepo")
|
|
473
|
+
if params.get("ImageVersion"):
|
|
474
|
+
self.ImageVersion = params.get("ImageVersion")
|
|
475
|
+
if params.get("OfficialInstance"):
|
|
476
|
+
self.OfficialInstance = params.get("OfficialInstance")
|
|
477
|
+
if params.get("UserName"):
|
|
478
|
+
self.UserName = params.get("UserName")
|
|
479
|
+
if params.get("Password"):
|
|
480
|
+
self.Password = params.get("Password")
|
|
481
|
+
if params.get("ImagePermission"):
|
|
482
|
+
self.ImagePermission = params.get("ImagePermission")
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
class DeleteImageRequest(AbstractModel):
|
|
486
|
+
"""DeleteImage请求参数结构体
|
|
487
|
+
"""
|
|
488
|
+
|
|
489
|
+
def __init__(self):
|
|
490
|
+
r"""删除自定义镜像
|
|
491
|
+
:param ImageId: 自定义镜像ID
|
|
492
|
+
:type PathPrefix: String
|
|
493
|
+
"""
|
|
494
|
+
self.ImageId = None
|
|
495
|
+
|
|
496
|
+
def _deserialize(self, params):
|
|
497
|
+
if params.get("ImageId"):
|
|
498
|
+
self.ImageId = params.get("ImageId")
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
class ModifyImageRequest(AbstractModel):
|
|
502
|
+
"""ModifyImage请求参数结构体
|
|
503
|
+
"""
|
|
504
|
+
|
|
505
|
+
def __init__(self):
|
|
506
|
+
r"""修改自定义镜像
|
|
507
|
+
:param ImageId: 自定义镜像ID
|
|
508
|
+
:type PathPrefix: String
|
|
509
|
+
:param ImageName: 镜像名称
|
|
510
|
+
:type PathPrefix: String
|
|
511
|
+
:param ImagePermission: 镜像权限
|
|
512
|
+
:type PathPrefix: String
|
|
513
|
+
"""
|
|
514
|
+
self.ImageId = None
|
|
515
|
+
self.ImageName = None
|
|
516
|
+
self.ImagePermission = None
|
|
517
|
+
|
|
518
|
+
def _deserialize(self, params):
|
|
519
|
+
if params.get("ImageId"):
|
|
520
|
+
self.ImageId = params.get("ImageId")
|
|
521
|
+
if params.get("ImageName"):
|
|
522
|
+
self.ImageName = params.get("ImageName")
|
|
523
|
+
if params.get("ImagePermission"):
|
|
524
|
+
self.ImagePermission = params.get("ImagePermission")
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
class DescribeImagesRequest(AbstractModel):
|
|
528
|
+
"""DescribeImages请求参数结构体
|
|
529
|
+
"""
|
|
530
|
+
|
|
531
|
+
def __init__(self):
|
|
532
|
+
r"""查询镜像列表
|
|
533
|
+
:param Page: 页码
|
|
534
|
+
:type PathPrefix: Int
|
|
535
|
+
:param PageSize: 单次调用可返回的最大条目数量
|
|
536
|
+
:type PathPrefix: Int
|
|
537
|
+
:param ImageSource: 镜像来源
|
|
538
|
+
:type PathPrefix: String
|
|
539
|
+
:param ImageStatus: 镜像状态
|
|
540
|
+
:type PathPrefix: String
|
|
541
|
+
:param ImageType: 镜像类型
|
|
542
|
+
:type PathPrefix: String
|
|
543
|
+
:param ApplicationScenario: 适用场景
|
|
544
|
+
:type PathPrefix: String
|
|
545
|
+
:param ImageId: 镜像ID
|
|
546
|
+
:type PathPrefix: Filter
|
|
547
|
+
:param ImageName: 镜像名称
|
|
548
|
+
:type PathPrefix: String
|
|
549
|
+
:param Filter: 筛选Filter
|
|
550
|
+
:type PathPrefix: Filter
|
|
551
|
+
"""
|
|
552
|
+
self.Page = None
|
|
553
|
+
self.PageSize = None
|
|
554
|
+
self.ImageSource = None
|
|
555
|
+
self.ImageStatus = None
|
|
556
|
+
self.ImageType = None
|
|
557
|
+
self.ApplicationScenario = None
|
|
558
|
+
self.ImageId = None
|
|
559
|
+
self.ImageName = None
|
|
560
|
+
self.Filter = None
|
|
561
|
+
|
|
562
|
+
def _deserialize(self, params):
|
|
563
|
+
if params.get("Page"):
|
|
564
|
+
self.Page = params.get("Page")
|
|
565
|
+
if params.get("PageSize"):
|
|
566
|
+
self.PageSize = params.get("PageSize")
|
|
567
|
+
if params.get("ImageSource"):
|
|
568
|
+
self.ImageSource = params.get("ImageSource")
|
|
569
|
+
if params.get("ImageStatus"):
|
|
570
|
+
self.ImageStatus = params.get("ImageStatus")
|
|
571
|
+
if params.get("ImageType"):
|
|
572
|
+
self.ImageType = params.get("ImageType")
|
|
573
|
+
if params.get("ApplicationScenario"):
|
|
574
|
+
self.ApplicationScenario = params.get("ApplicationScenario")
|
|
575
|
+
if params.get("ImageId"):
|
|
576
|
+
self.ImageId = params.get("ImageId")
|
|
577
|
+
if params.get("ImageName"):
|
|
578
|
+
self.ImageName = params.get("ImageName")
|
|
579
|
+
if params.get("Filter"):
|
|
580
|
+
self.Filter = params.get("Filter")
|
|
581
|
+
|
|
582
|
+
|
|
419
583
|
class StopNotebookRequest(AbstractModel):
|
|
420
584
|
"""StopNotebook请求参数结构体
|
|
421
585
|
"""
|
|
@@ -1776,3 +1940,24 @@ class DisableEndpointRateLimitRequest(AbstractModel):
|
|
|
1776
1940
|
self.EndpointId = params.get("EndpointId")
|
|
1777
1941
|
|
|
1778
1942
|
|
|
1943
|
+
class SetKcrPersonalTokenRequest(AbstractModel):
|
|
1944
|
+
"""SetKcrPersonalToken请求参数结构体
|
|
1945
|
+
"""
|
|
1946
|
+
|
|
1947
|
+
def __init__(self):
|
|
1948
|
+
r"""配置个人版镜像仓库访问凭证
|
|
1949
|
+
:param UserName: 用户名
|
|
1950
|
+
:type PathPrefix: String
|
|
1951
|
+
:param Password: 密码
|
|
1952
|
+
:type PathPrefix: String
|
|
1953
|
+
"""
|
|
1954
|
+
self.UserName = None
|
|
1955
|
+
self.Password = None
|
|
1956
|
+
|
|
1957
|
+
def _deserialize(self, params):
|
|
1958
|
+
if params.get("UserName"):
|
|
1959
|
+
self.UserName = params.get("UserName")
|
|
1960
|
+
if params.get("Password"):
|
|
1961
|
+
self.Password = params.get("Password")
|
|
1962
|
+
|
|
1963
|
+
|
|
@@ -28,7 +28,7 @@ class AicpClient(AbstractClient):
|
|
|
28
28
|
if isinstance(e, KsyunSDKException):
|
|
29
29
|
raise
|
|
30
30
|
else:
|
|
31
|
-
raise KsyunSDKException(
|
|
31
|
+
raise KsyunSDKException(message=str(e))
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
def DescribeTrainJobs(self, request):
|
|
@@ -51,6 +51,6 @@ class AicpClient(AbstractClient):
|
|
|
51
51
|
if isinstance(e, KsyunSDKException):
|
|
52
52
|
raise
|
|
53
53
|
else:
|
|
54
|
-
raise KsyunSDKException(
|
|
54
|
+
raise KsyunSDKException(message=str(e))
|
|
55
55
|
|
|
56
56
|
|
|
@@ -28,7 +28,7 @@ class BillClient(AbstractClient):
|
|
|
28
28
|
if isinstance(e, KsyunSDKException):
|
|
29
29
|
raise
|
|
30
30
|
else:
|
|
31
|
-
raise KsyunSDKException(
|
|
31
|
+
raise KsyunSDKException(message=str(e))
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
def GetPostpayDetailBill(self, request):
|
|
@@ -51,7 +51,7 @@ class BillClient(AbstractClient):
|
|
|
51
51
|
if isinstance(e, KsyunSDKException):
|
|
52
52
|
raise
|
|
53
53
|
else:
|
|
54
|
-
raise KsyunSDKException(
|
|
54
|
+
raise KsyunSDKException(message=str(e))
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
def GetProductCode(self, request):
|
|
@@ -74,6 +74,4 @@ class BillClient(AbstractClient):
|
|
|
74
74
|
if isinstance(e, KsyunSDKException):
|
|
75
75
|
raise
|
|
76
76
|
else:
|
|
77
|
-
raise KsyunSDKException(
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
raise KsyunSDKException(message=str(e))
|
|
@@ -28,7 +28,7 @@ class BillClient(AbstractClient):
|
|
|
28
28
|
if isinstance(e, KsyunSDKException):
|
|
29
29
|
raise
|
|
30
30
|
else:
|
|
31
|
-
raise KsyunSDKException(
|
|
31
|
+
raise KsyunSDKException(message=str(e))
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
def GetPostpayDetailConsume(self, request):
|
|
@@ -51,6 +51,4 @@ class BillClient(AbstractClient):
|
|
|
51
51
|
if isinstance(e, KsyunSDKException):
|
|
52
52
|
raise
|
|
53
53
|
else:
|
|
54
|
-
raise KsyunSDKException(
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
raise KsyunSDKException(message=str(e))
|
|
@@ -28,7 +28,7 @@ class Bill_unionClient(AbstractClient):
|
|
|
28
28
|
if isinstance(e, KsyunSDKException):
|
|
29
29
|
raise
|
|
30
30
|
else:
|
|
31
|
-
raise KsyunSDKException(
|
|
31
|
+
raise KsyunSDKException(message=str(e))
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
def DescribeBillSummaryByProduct(self, request):
|
|
@@ -51,7 +51,7 @@ class Bill_unionClient(AbstractClient):
|
|
|
51
51
|
if isinstance(e, KsyunSDKException):
|
|
52
52
|
raise
|
|
53
53
|
else:
|
|
54
|
-
raise KsyunSDKException(
|
|
54
|
+
raise KsyunSDKException(message=str(e))
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
def DescribeBillSummaryByProject(self, request):
|
|
@@ -74,7 +74,7 @@ class Bill_unionClient(AbstractClient):
|
|
|
74
74
|
if isinstance(e, KsyunSDKException):
|
|
75
75
|
raise
|
|
76
76
|
else:
|
|
77
|
-
raise KsyunSDKException(
|
|
77
|
+
raise KsyunSDKException(message=str(e))
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
def DescribeInstanceSummaryBills(self, request):
|
|
@@ -97,7 +97,7 @@ class Bill_unionClient(AbstractClient):
|
|
|
97
97
|
if isinstance(e, KsyunSDKException):
|
|
98
98
|
raise
|
|
99
99
|
else:
|
|
100
|
-
raise KsyunSDKException(
|
|
100
|
+
raise KsyunSDKException(message=str(e))
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
def DescribeProductCode(self, request):
|
|
@@ -120,7 +120,7 @@ class Bill_unionClient(AbstractClient):
|
|
|
120
120
|
if isinstance(e, KsyunSDKException):
|
|
121
121
|
raise
|
|
122
122
|
else:
|
|
123
|
-
raise KsyunSDKException(
|
|
123
|
+
raise KsyunSDKException(message=str(e))
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
def DescribeSplitItemBillDetails(self, request):
|
|
@@ -143,7 +143,7 @@ class Bill_unionClient(AbstractClient):
|
|
|
143
143
|
if isinstance(e, KsyunSDKException):
|
|
144
144
|
raise
|
|
145
145
|
else:
|
|
146
|
-
raise KsyunSDKException(
|
|
146
|
+
raise KsyunSDKException(message=str(e))
|
|
147
147
|
|
|
148
148
|
|
|
149
149
|
def DescribeMiItemBills(self, request):
|
|
@@ -166,7 +166,7 @@ class Bill_unionClient(AbstractClient):
|
|
|
166
166
|
if isinstance(e, KsyunSDKException):
|
|
167
167
|
raise
|
|
168
168
|
else:
|
|
169
|
-
raise KsyunSDKException(
|
|
169
|
+
raise KsyunSDKException(message=str(e))
|
|
170
170
|
|
|
171
171
|
|
|
172
172
|
def DescribeSplitItemDayBillDetails(self, request):
|
|
@@ -189,7 +189,7 @@ class Bill_unionClient(AbstractClient):
|
|
|
189
189
|
if isinstance(e, KsyunSDKException):
|
|
190
190
|
raise
|
|
191
191
|
else:
|
|
192
|
-
raise KsyunSDKException(
|
|
192
|
+
raise KsyunSDKException(message=str(e))
|
|
193
193
|
|
|
194
194
|
|
|
195
195
|
def ListProductGroups(self, request):
|
|
@@ -212,6 +212,4 @@ class Bill_unionClient(AbstractClient):
|
|
|
212
212
|
if isinstance(e, KsyunSDKException):
|
|
213
213
|
raise
|
|
214
214
|
else:
|
|
215
|
-
raise KsyunSDKException(
|
|
216
|
-
|
|
217
|
-
|
|
215
|
+
raise KsyunSDKException(message=str(e))
|
|
@@ -11,7 +11,7 @@ class DescribeBillSummaryByPayModeRequest(AbstractModel):
|
|
|
11
11
|
:param BillEndMonth: 账单结束时间
|
|
12
12
|
:type PathPrefix: String
|
|
13
13
|
:param SubAccount: 成员账账号Id,非必填
|
|
14
|
-
:type PathPrefix:
|
|
14
|
+
:type PathPrefix: Long
|
|
15
15
|
:param FetchAllFinanceRelationData: 非必传,默认值为 False。
|
|
16
16
|
是否吐出全部财务关系数据。
|
|
17
17
|
值为true时,同时吐出财务管理和财务托管账号数据。
|
|
@@ -45,7 +45,7 @@ class DescribeBillSummaryByProductRequest(AbstractModel):
|
|
|
45
45
|
:param BillEndMonth: 账单结束时间
|
|
46
46
|
:type PathPrefix: String
|
|
47
47
|
:param SubAccount: 成员账号Id
|
|
48
|
-
:type PathPrefix:
|
|
48
|
+
:type PathPrefix: Long
|
|
49
49
|
:param FetchAllFinanceRelationData: 非必传,默认值为 False。
|
|
50
50
|
是否吐出全部财务关系数据。
|
|
51
51
|
值为true时,同时吐出财务管理和财务托管账号数据。
|
|
@@ -79,7 +79,7 @@ class DescribeBillSummaryByProjectRequest(AbstractModel):
|
|
|
79
79
|
:param BillEndMonth: 账单结束月份
|
|
80
80
|
:type PathPrefix: String
|
|
81
81
|
:param SubAccount: 成员账号Id
|
|
82
|
-
:type PathPrefix:
|
|
82
|
+
:type PathPrefix: Long
|
|
83
83
|
:param FetchAllFinanceRelationData: 非必传,默认值为 False。
|
|
84
84
|
是否吐出全部财务关系数据。
|
|
85
85
|
值为true时,同时吐出财务管理和财务托管账号数据。
|
|
@@ -160,7 +160,7 @@ class DescribeSplitItemBillDetailsRequest(AbstractModel):
|
|
|
160
160
|
:param PayType: 计费类别
|
|
161
161
|
:type PathPrefix: Int
|
|
162
162
|
:param SubAccountId: 主账号所托管的账号Id
|
|
163
|
-
:type PathPrefix:
|
|
163
|
+
:type PathPrefix: Long
|
|
164
164
|
:param Page: 第几页
|
|
165
165
|
:type PathPrefix: Int
|
|
166
166
|
:param Size: 每页条数
|
|
@@ -224,7 +224,7 @@ class DescribeSplitItemDayBillDetailsRequest(AbstractModel):
|
|
|
224
224
|
:type PathPrefix: Int
|
|
225
225
|
:param SubAccountId: 主账号所托管的账号Id
|
|
226
226
|
|
|
227
|
-
:type PathPrefix:
|
|
227
|
+
:type PathPrefix: Long
|
|
228
228
|
:param Page: 第几页
|
|
229
229
|
:type PathPrefix: Int
|
|
230
230
|
:param Size: 每页条数
|
|
@@ -28,7 +28,7 @@ class Bill_unionClient(AbstractClient):
|
|
|
28
28
|
if isinstance(e, KsyunSDKException):
|
|
29
29
|
raise
|
|
30
30
|
else:
|
|
31
|
-
raise KsyunSDKException(
|
|
31
|
+
raise KsyunSDKException(message=str(e))
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
def QueryProjectConsume(self, request):
|
|
@@ -51,7 +51,7 @@ class Bill_unionClient(AbstractClient):
|
|
|
51
51
|
if isinstance(e, KsyunSDKException):
|
|
52
52
|
raise
|
|
53
53
|
else:
|
|
54
|
-
raise KsyunSDKException(
|
|
54
|
+
raise KsyunSDKException(message=str(e))
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
def QueryProductConsume(self, request):
|
|
@@ -74,7 +74,7 @@ class Bill_unionClient(AbstractClient):
|
|
|
74
74
|
if isinstance(e, KsyunSDKException):
|
|
75
75
|
raise
|
|
76
76
|
else:
|
|
77
|
-
raise KsyunSDKException(
|
|
77
|
+
raise KsyunSDKException(message=str(e))
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
def QueryFinanceUnitConsume(self, request):
|
|
@@ -97,7 +97,7 @@ class Bill_unionClient(AbstractClient):
|
|
|
97
97
|
if isinstance(e, KsyunSDKException):
|
|
98
98
|
raise
|
|
99
99
|
else:
|
|
100
|
-
raise KsyunSDKException(
|
|
100
|
+
raise KsyunSDKException(message=str(e))
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
def QueryFinanceUnitConsumeOfMonth(self, request):
|
|
@@ -120,7 +120,7 @@ class Bill_unionClient(AbstractClient):
|
|
|
120
120
|
if isinstance(e, KsyunSDKException):
|
|
121
121
|
raise
|
|
122
122
|
else:
|
|
123
|
-
raise KsyunSDKException(
|
|
123
|
+
raise KsyunSDKException(message=str(e))
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
def QueryUserConsume(self, request):
|
|
@@ -143,6 +143,4 @@ class Bill_unionClient(AbstractClient):
|
|
|
143
143
|
if isinstance(e, KsyunSDKException):
|
|
144
144
|
raise
|
|
145
145
|
else:
|
|
146
|
-
raise KsyunSDKException(
|
|
147
|
-
|
|
148
|
-
|
|
146
|
+
raise KsyunSDKException(message=str(e))
|
|
@@ -28,7 +28,7 @@ class Bill_unionClient(AbstractClient):
|
|
|
28
28
|
if isinstance(e, KsyunSDKException):
|
|
29
29
|
raise
|
|
30
30
|
else:
|
|
31
|
-
raise KsyunSDKException(
|
|
31
|
+
raise KsyunSDKException(message=str(e))
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
def QueryProductTypes(self, request):
|
|
@@ -51,6 +51,4 @@ class Bill_unionClient(AbstractClient):
|
|
|
51
51
|
if isinstance(e, KsyunSDKException):
|
|
52
52
|
raise
|
|
53
53
|
else:
|
|
54
|
-
raise KsyunSDKException(
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
raise KsyunSDKException(message=str(e))
|
|
@@ -15,7 +15,7 @@ class QueryItemBillsRequest(AbstractModel):
|
|
|
15
15
|
:param InstanceId: 实例ID
|
|
16
16
|
:type PathPrefix: String
|
|
17
17
|
:param SubAccountId: 托管子账号ID
|
|
18
|
-
:type PathPrefix:
|
|
18
|
+
:type PathPrefix: Long
|
|
19
19
|
:param Size: 查询条数,最大值1000
|
|
20
20
|
:type PathPrefix: Int
|
|
21
21
|
:param LastSortValue: 上次查询排序值LastSortValue,基于es search_after;
|
|
@@ -28,7 +28,7 @@ class BwsClient(AbstractClient):
|
|
|
28
28
|
if isinstance(e, KsyunSDKException):
|
|
29
29
|
raise
|
|
30
30
|
else:
|
|
31
|
-
raise KsyunSDKException(
|
|
31
|
+
raise KsyunSDKException(message=str(e))
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
def DescribeBandWidthShares(self, request):
|
|
@@ -51,7 +51,7 @@ class BwsClient(AbstractClient):
|
|
|
51
51
|
if isinstance(e, KsyunSDKException):
|
|
52
52
|
raise
|
|
53
53
|
else:
|
|
54
|
-
raise KsyunSDKException(
|
|
54
|
+
raise KsyunSDKException(message=str(e))
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
def AssociateBandWidthShare(self, request):
|
|
@@ -74,7 +74,7 @@ class BwsClient(AbstractClient):
|
|
|
74
74
|
if isinstance(e, KsyunSDKException):
|
|
75
75
|
raise
|
|
76
76
|
else:
|
|
77
|
-
raise KsyunSDKException(
|
|
77
|
+
raise KsyunSDKException(message=str(e))
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
def DisassociateBandWidthShare(self, request):
|
|
@@ -97,7 +97,7 @@ class BwsClient(AbstractClient):
|
|
|
97
97
|
if isinstance(e, KsyunSDKException):
|
|
98
98
|
raise
|
|
99
99
|
else:
|
|
100
|
-
raise KsyunSDKException(
|
|
100
|
+
raise KsyunSDKException(message=str(e))
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
def ModifyBandWidthShare(self, request):
|
|
@@ -120,7 +120,7 @@ class BwsClient(AbstractClient):
|
|
|
120
120
|
if isinstance(e, KsyunSDKException):
|
|
121
121
|
raise
|
|
122
122
|
else:
|
|
123
|
-
raise KsyunSDKException(
|
|
123
|
+
raise KsyunSDKException(message=str(e))
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
def DeleteBandWidthShare(self, request):
|
|
@@ -143,7 +143,7 @@ class BwsClient(AbstractClient):
|
|
|
143
143
|
if isinstance(e, KsyunSDKException):
|
|
144
144
|
raise
|
|
145
145
|
else:
|
|
146
|
-
raise KsyunSDKException(
|
|
146
|
+
raise KsyunSDKException(message=str(e))
|
|
147
147
|
|
|
148
148
|
|
|
149
149
|
def QueryBwsTopEipMonitor(self, request):
|
|
@@ -166,6 +166,4 @@ class BwsClient(AbstractClient):
|
|
|
166
166
|
if isinstance(e, KsyunSDKException):
|
|
167
167
|
raise
|
|
168
168
|
else:
|
|
169
|
-
raise KsyunSDKException(
|
|
170
|
-
|
|
171
|
-
|
|
169
|
+
raise KsyunSDKException(message=str(e))
|
|
@@ -28,7 +28,7 @@ class CdnClient(AbstractClient):
|
|
|
28
28
|
if isinstance(e, KsyunSDKException):
|
|
29
29
|
raise
|
|
30
30
|
else:
|
|
31
|
-
raise KsyunSDKException(
|
|
31
|
+
raise KsyunSDKException(message=str(e))
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
def RefreshCaches(self, request):
|
|
@@ -51,7 +51,7 @@ class CdnClient(AbstractClient):
|
|
|
51
51
|
if isinstance(e, KsyunSDKException):
|
|
52
52
|
raise
|
|
53
53
|
else:
|
|
54
|
-
raise KsyunSDKException(
|
|
54
|
+
raise KsyunSDKException(message=str(e))
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
def GetDomainPidDimensionUsageData(self, request):
|
|
@@ -74,6 +74,4 @@ class CdnClient(AbstractClient):
|
|
|
74
74
|
if isinstance(e, KsyunSDKException):
|
|
75
75
|
raise
|
|
76
76
|
else:
|
|
77
|
-
raise KsyunSDKException(
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
raise KsyunSDKException(message=str(e))
|