ucloud-sdk-python3 0.11.81__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.
- ucloud/__init__.py +0 -0
- ucloud/client.py +469 -0
- ucloud/core/__init__.py +0 -0
- ucloud/core/auth/__init__.py +3 -0
- ucloud/core/auth/_cfg.py +72 -0
- ucloud/core/client/__init__.py +8 -0
- ucloud/core/client/_cfg.py +96 -0
- ucloud/core/client/_client.py +176 -0
- ucloud/core/exc/__init__.py +9 -0
- ucloud/core/exc/_exc.py +94 -0
- ucloud/core/transport/__init__.py +4 -0
- ucloud/core/transport/_requests.py +135 -0
- ucloud/core/transport/http.py +120 -0
- ucloud/core/transport/utils.py +40 -0
- ucloud/core/typesystem/__init__.py +0 -0
- ucloud/core/typesystem/abstract.py +60 -0
- ucloud/core/typesystem/encoder.py +33 -0
- ucloud/core/typesystem/fields.py +149 -0
- ucloud/core/typesystem/schema.py +97 -0
- ucloud/core/utils/__init__.py +0 -0
- ucloud/core/utils/compat.py +15 -0
- ucloud/core/utils/deco.py +31 -0
- ucloud/core/utils/log.py +29 -0
- ucloud/core/utils/middleware.py +63 -0
- ucloud/helpers/__init__.py +0 -0
- ucloud/helpers/utils.py +90 -0
- ucloud/helpers/wait.py +108 -0
- ucloud/services/__init__.py +0 -0
- ucloud/services/cube/__init__.py +0 -0
- ucloud/services/cube/client.py +618 -0
- ucloud/services/cube/schemas/__init__.py +0 -0
- ucloud/services/cube/schemas/apis.py +548 -0
- ucloud/services/cube/schemas/models.py +58 -0
- ucloud/services/iam/__init__.py +0 -0
- ucloud/services/iam/client.py +1078 -0
- ucloud/services/iam/schemas/__init__.py +0 -0
- ucloud/services/iam/schemas/apis.py +973 -0
- ucloud/services/iam/schemas/models.py +127 -0
- ucloud/services/ipsecvpn/__init__.py +0 -0
- ucloud/services/ipsecvpn/client.py +522 -0
- ucloud/services/ipsecvpn/schemas/__init__.py +0 -0
- ucloud/services/ipsecvpn/schemas/apis.py +455 -0
- ucloud/services/ipsecvpn/schemas/models.py +134 -0
- ucloud/services/ipv6gw/__init__.py +0 -0
- ucloud/services/ipv6gw/client.py +44 -0
- ucloud/services/ipv6gw/schemas/__init__.py +0 -0
- ucloud/services/ipv6gw/schemas/apis.py +34 -0
- ucloud/services/ipv6gw/schemas/models.py +3 -0
- ucloud/services/isms/__init__.py +0 -0
- ucloud/services/isms/client.py +330 -0
- ucloud/services/isms/schemas/__init__.py +0 -0
- ucloud/services/isms/schemas/apis.py +272 -0
- ucloud/services/isms/schemas/models.py +50 -0
- ucloud/services/pathx/__init__.py +0 -0
- ucloud/services/pathx/client.py +1656 -0
- ucloud/services/pathx/schemas/__init__.py +0 -0
- ucloud/services/pathx/schemas/apis.py +1289 -0
- ucloud/services/pathx/schemas/models.py +420 -0
- ucloud/services/stepflow/__init__.py +0 -0
- ucloud/services/stepflow/client.py +98 -0
- ucloud/services/stepflow/schemas/__init__.py +0 -0
- ucloud/services/stepflow/schemas/apis.py +67 -0
- ucloud/services/stepflow/schemas/models.py +37 -0
- ucloud/services/sts/__init__.py +0 -0
- ucloud/services/sts/client.py +46 -0
- ucloud/services/sts/schemas/__init__.py +0 -0
- ucloud/services/sts/schemas/apis.py +35 -0
- ucloud/services/sts/schemas/models.py +16 -0
- ucloud/services/tidb/__init__.py +0 -0
- ucloud/services/tidb/client.py +120 -0
- ucloud/services/tidb/schemas/__init__.py +0 -0
- ucloud/services/tidb/schemas/apis.py +103 -0
- ucloud/services/tidb/schemas/models.py +11 -0
- ucloud/services/uaaa/__init__.py +0 -0
- ucloud/services/uaaa/client.py +311 -0
- ucloud/services/uaaa/schemas/__init__.py +0 -0
- ucloud/services/uaaa/schemas/apis.py +252 -0
- ucloud/services/uaaa/schemas/models.py +47 -0
- ucloud/services/uaccount/__init__.py +0 -0
- ucloud/services/uaccount/client.py +547 -0
- ucloud/services/uaccount/schemas/__init__.py +0 -0
- ucloud/services/uaccount/schemas/apis.py +442 -0
- ucloud/services/uaccount/schemas/models.py +128 -0
- ucloud/services/uads/__init__.py +0 -0
- ucloud/services/uads/client.py +1148 -0
- ucloud/services/uads/schemas/__init__.py +0 -0
- ucloud/services/uads/schemas/apis.py +983 -0
- ucloud/services/uads/schemas/models.py +199 -0
- ucloud/services/ubill/__init__.py +0 -0
- ucloud/services/ubill/client.py +248 -0
- ucloud/services/ubill/schemas/__init__.py +0 -0
- ucloud/services/ubill/schemas/apis.py +183 -0
- ucloud/services/ubill/schemas/models.py +107 -0
- ucloud/services/ucdn/__init__.py +0 -0
- ucloud/services/ucdn/client.py +1964 -0
- ucloud/services/ucdn/schemas/__init__.py +0 -0
- ucloud/services/ucdn/schemas/apis.py +1395 -0
- ucloud/services/ucdn/schemas/models.py +576 -0
- ucloud/services/ucloudstack/__init__.py +0 -0
- ucloud/services/ucloudstack/client.py +3352 -0
- ucloud/services/ucloudstack/schemas/__init__.py +0 -0
- ucloud/services/ucloudstack/schemas/apis.py +2887 -0
- ucloud/services/ucloudstack/schemas/models.py +560 -0
- ucloud/services/ucompshare/__init__.py +0 -0
- ucloud/services/ucompshare/client.py +820 -0
- ucloud/services/ucompshare/schemas/__init__.py +0 -0
- ucloud/services/ucompshare/schemas/apis.py +623 -0
- ucloud/services/ucompshare/schemas/models.py +241 -0
- ucloud/services/udb/__init__.py +0 -0
- ucloud/services/udb/client.py +2463 -0
- ucloud/services/udb/schemas/__init__.py +0 -0
- ucloud/services/udb/schemas/apis.py +2053 -0
- ucloud/services/udb/schemas/models.py +319 -0
- ucloud/services/udbproxy/__init__.py +0 -0
- ucloud/services/udbproxy/client.py +67 -0
- ucloud/services/udbproxy/schemas/__init__.py +0 -0
- ucloud/services/udbproxy/schemas/apis.py +38 -0
- ucloud/services/udbproxy/schemas/models.py +31 -0
- ucloud/services/uddb/__init__.py +0 -0
- ucloud/services/uddb/client.py +456 -0
- ucloud/services/uddb/schemas/__init__.py +0 -0
- ucloud/services/uddb/schemas/apis.py +520 -0
- ucloud/services/uddb/schemas/models.py +96 -0
- ucloud/services/udi/__init__.py +0 -0
- ucloud/services/udi/client.py +250 -0
- ucloud/services/udi/schemas/__init__.py +0 -0
- ucloud/services/udi/schemas/apis.py +205 -0
- ucloud/services/udi/schemas/models.py +58 -0
- ucloud/services/udisk/__init__.py +0 -0
- ucloud/services/udisk/client.py +832 -0
- ucloud/services/udisk/schemas/__init__.py +0 -0
- ucloud/services/udisk/schemas/apis.py +741 -0
- ucloud/services/udisk/schemas/models.py +100 -0
- ucloud/services/udns/__init__.py +0 -0
- ucloud/services/udns/client.py +380 -0
- ucloud/services/udns/schemas/__init__.py +0 -0
- ucloud/services/udns/schemas/apis.py +293 -0
- ucloud/services/udns/schemas/models.py +58 -0
- ucloud/services/udpn/__init__.py +0 -0
- ucloud/services/udpn/client.py +240 -0
- ucloud/services/udpn/schemas/__init__.py +0 -0
- ucloud/services/udpn/schemas/apis.py +203 -0
- ucloud/services/udpn/schemas/models.py +29 -0
- ucloud/services/udts/__init__.py +0 -0
- ucloud/services/udts/client.py +410 -0
- ucloud/services/udts/schemas/__init__.py +0 -0
- ucloud/services/udts/schemas/apis.py +403 -0
- ucloud/services/udts/schemas/models.py +93 -0
- ucloud/services/uec/__init__.py +0 -0
- ucloud/services/uec/client.py +1510 -0
- ucloud/services/uec/schemas/__init__.py +0 -0
- ucloud/services/uec/schemas/apis.py +1195 -0
- ucloud/services/uec/schemas/models.py +316 -0
- ucloud/services/ufile/__init__.py +0 -0
- ucloud/services/ufile/client.py +698 -0
- ucloud/services/ufile/schemas/__init__.py +0 -0
- ucloud/services/ufile/schemas/apis.py +542 -0
- ucloud/services/ufile/schemas/models.py +139 -0
- ucloud/services/ufs/__init__.py +0 -0
- ucloud/services/ufs/client.py +328 -0
- ucloud/services/ufs/schemas/__init__.py +0 -0
- ucloud/services/ufs/schemas/apis.py +265 -0
- ucloud/services/ufs/schemas/models.py +52 -0
- ucloud/services/ugn/__init__.py +0 -0
- ucloud/services/ugn/client.py +857 -0
- ucloud/services/ugn/schemas/__init__.py +0 -0
- ucloud/services/ugn/schemas/apis.py +678 -0
- ucloud/services/ugn/schemas/models.py +191 -0
- ucloud/services/uhost/__init__.py +0 -0
- ucloud/services/uhost/client.py +1647 -0
- ucloud/services/uhost/schemas/__init__.py +0 -0
- ucloud/services/uhost/schemas/apis.py +1483 -0
- ucloud/services/uhost/schemas/models.py +427 -0
- ucloud/services/uhub/__init__.py +0 -0
- ucloud/services/uhub/client.py +229 -0
- ucloud/services/uhub/schemas/__init__.py +0 -0
- ucloud/services/uhub/schemas/apis.py +194 -0
- ucloud/services/uhub/schemas/models.py +39 -0
- ucloud/services/uk8s/__init__.py +0 -0
- ucloud/services/uk8s/client.py +729 -0
- ucloud/services/uk8s/schemas/__init__.py +0 -0
- ucloud/services/uk8s/schemas/apis.py +639 -0
- ucloud/services/uk8s/schemas/models.py +179 -0
- ucloud/services/ulb/__init__.py +0 -0
- ucloud/services/ulb/client.py +2285 -0
- ucloud/services/ulb/schemas/__init__.py +0 -0
- ucloud/services/ulb/schemas/apis.py +1678 -0
- ucloud/services/ulb/schemas/models.py +591 -0
- ucloud/services/ulighthost/__init__.py +0 -0
- ucloud/services/ulighthost/client.py +576 -0
- ucloud/services/ulighthost/schemas/__init__.py +0 -0
- ucloud/services/ulighthost/schemas/apis.py +445 -0
- ucloud/services/ulighthost/schemas/models.py +133 -0
- ucloud/services/umem/__init__.py +0 -0
- ucloud/services/umem/client.py +1829 -0
- ucloud/services/umem/schemas/__init__.py +0 -0
- ucloud/services/umem/schemas/apis.py +1477 -0
- ucloud/services/umem/schemas/models.py +327 -0
- ucloud/services/umongodb/__init__.py +0 -0
- ucloud/services/umongodb/client.py +752 -0
- ucloud/services/umongodb/schemas/__init__.py +0 -0
- ucloud/services/umongodb/schemas/apis.py +567 -0
- ucloud/services/umongodb/schemas/models.py +220 -0
- ucloud/services/unet/__init__.py +0 -0
- ucloud/services/unet/client.py +1278 -0
- ucloud/services/unet/schemas/__init__.py +0 -0
- ucloud/services/unet/schemas/apis.py +1006 -0
- ucloud/services/unet/schemas/models.py +275 -0
- ucloud/services/unvs/__init__.py +0 -0
- ucloud/services/unvs/client.py +87 -0
- ucloud/services/unvs/schemas/__init__.py +0 -0
- ucloud/services/unvs/schemas/apis.py +66 -0
- ucloud/services/unvs/schemas/models.py +19 -0
- ucloud/services/upfs/__init__.py +0 -0
- ucloud/services/upfs/client.py +252 -0
- ucloud/services/upfs/schemas/__init__.py +0 -0
- ucloud/services/upfs/schemas/apis.py +204 -0
- ucloud/services/upfs/schemas/models.py +36 -0
- ucloud/services/upgsql/__init__.py +0 -0
- ucloud/services/upgsql/client.py +1007 -0
- ucloud/services/upgsql/schemas/__init__.py +0 -0
- ucloud/services/upgsql/schemas/apis.py +827 -0
- ucloud/services/upgsql/schemas/models.py +158 -0
- ucloud/services/uphone/__init__.py +0 -0
- ucloud/services/uphone/client.py +2122 -0
- ucloud/services/uphone/schemas/__init__.py +0 -0
- ucloud/services/uphone/schemas/apis.py +1799 -0
- ucloud/services/uphone/schemas/models.py +357 -0
- ucloud/services/uphost/__init__.py +0 -0
- ucloud/services/uphost/client.py +847 -0
- ucloud/services/uphost/schemas/__init__.py +0 -0
- ucloud/services/uphost/schemas/apis.py +689 -0
- ucloud/services/uphost/schemas/models.py +175 -0
- ucloud/services/urocketmq/__init__.py +0 -0
- ucloud/services/urocketmq/client.py +117 -0
- ucloud/services/urocketmq/schemas/__init__.py +0 -0
- ucloud/services/urocketmq/schemas/apis.py +92 -0
- ucloud/services/urocketmq/schemas/models.py +14 -0
- ucloud/services/uslk/__init__.py +0 -0
- ucloud/services/uslk/client.py +249 -0
- ucloud/services/uslk/schemas/__init__.py +0 -0
- ucloud/services/uslk/schemas/apis.py +191 -0
- ucloud/services/uslk/schemas/models.py +74 -0
- ucloud/services/usms/__init__.py +0 -0
- ucloud/services/usms/client.py +759 -0
- ucloud/services/usms/schemas/__init__.py +0 -0
- ucloud/services/usms/schemas/apis.py +653 -0
- ucloud/services/usms/schemas/models.py +215 -0
- ucloud/services/utsdb/__init__.py +0 -0
- ucloud/services/utsdb/client.py +604 -0
- ucloud/services/utsdb/schemas/__init__.py +0 -0
- ucloud/services/utsdb/schemas/apis.py +515 -0
- ucloud/services/utsdb/schemas/models.py +61 -0
- ucloud/services/uvms/__init__.py +0 -0
- ucloud/services/uvms/client.py +119 -0
- ucloud/services/uvms/schemas/__init__.py +0 -0
- ucloud/services/uvms/schemas/apis.py +88 -0
- ucloud/services/uvms/schemas/models.py +40 -0
- ucloud/services/vpc/__init__.py +0 -0
- ucloud/services/vpc/client.py +3233 -0
- ucloud/services/vpc/schemas/__init__.py +0 -0
- ucloud/services/vpc/schemas/apis.py +2529 -0
- ucloud/services/vpc/schemas/models.py +651 -0
- ucloud/testing/__init__.py +0 -0
- ucloud/testing/driver/__init__.py +5 -0
- ucloud/testing/driver/_scenario.py +93 -0
- ucloud/testing/driver/_specification.py +57 -0
- ucloud/testing/driver/_step.py +166 -0
- ucloud/testing/env.py +28 -0
- ucloud/testing/exc.py +18 -0
- ucloud/testing/funcs.py +68 -0
- ucloud/testing/mock.py +28 -0
- ucloud/testing/op.py +177 -0
- ucloud/testing/utest.py +195 -0
- ucloud/version.py +1 -0
- ucloud_sdk_python3-0.11.81.dist-info/LICENSE +202 -0
- ucloud_sdk_python3-0.11.81.dist-info/METADATA +71 -0
- ucloud_sdk_python3-0.11.81.dist-info/RECORD +280 -0
- ucloud_sdk_python3-0.11.81.dist-info/WHEEL +5 -0
- ucloud_sdk_python3-0.11.81.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,1289 @@
|
|
|
1
|
+
""" Code is generated by ucloud-model, DO NOT EDIT IT. """
|
|
2
|
+
|
|
3
|
+
from ucloud.core.typesystem import schema, fields
|
|
4
|
+
from ucloud.services.pathx.schemas import models
|
|
5
|
+
|
|
6
|
+
""" PathX API Schema
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
API: BindPathXSSL
|
|
12
|
+
|
|
13
|
+
绑定PathX SSL证书
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class BindPathXSSLRequestSchema(schema.RequestSchema):
|
|
18
|
+
"""BindPathXSSL - 绑定PathX SSL证书"""
|
|
19
|
+
|
|
20
|
+
fields = {
|
|
21
|
+
"Port": fields.List(fields.Int()),
|
|
22
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
23
|
+
"SSLId": fields.Str(required=True, dump_to="SSLId"),
|
|
24
|
+
"UGAId": fields.Str(required=True, dump_to="UGAId"),
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class BindPathXSSLResponseSchema(schema.ResponseSchema):
|
|
29
|
+
"""BindPathXSSL - 绑定PathX SSL证书"""
|
|
30
|
+
|
|
31
|
+
fields = {}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
"""
|
|
35
|
+
API: CreateGlobalSSHInstance
|
|
36
|
+
|
|
37
|
+
创建GlobalSSH实例
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class CreateGlobalSSHInstanceRequestSchema(schema.RequestSchema):
|
|
42
|
+
"""CreateGlobalSSHInstance - 创建GlobalSSH实例"""
|
|
43
|
+
|
|
44
|
+
fields = {
|
|
45
|
+
"Area": fields.Str(required=True, dump_to="Area"),
|
|
46
|
+
"AreaCode": fields.Str(required=True, dump_to="AreaCode"),
|
|
47
|
+
"BandwidthPackage": fields.Int(
|
|
48
|
+
required=False, dump_to="BandwidthPackage"
|
|
49
|
+
),
|
|
50
|
+
"ChargeType": fields.Str(required=False, dump_to="ChargeType"),
|
|
51
|
+
"CouponId": fields.Str(required=False, dump_to="CouponId"),
|
|
52
|
+
"ForwardRegion": fields.Str(required=False, dump_to="ForwardRegion"),
|
|
53
|
+
"InstanceType": fields.Str(required=False, dump_to="InstanceType"),
|
|
54
|
+
"Port": fields.Int(required=True, dump_to="Port"),
|
|
55
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
56
|
+
"Quantity": fields.Int(required=False, dump_to="Quantity"),
|
|
57
|
+
"Remark": fields.Str(required=False, dump_to="Remark"),
|
|
58
|
+
"TargetIP": fields.Str(required=True, dump_to="TargetIP"),
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class CreateGlobalSSHInstanceResponseSchema(schema.ResponseSchema):
|
|
63
|
+
"""CreateGlobalSSHInstance - 创建GlobalSSH实例"""
|
|
64
|
+
|
|
65
|
+
fields = {
|
|
66
|
+
"AcceleratingDomain": fields.Str(
|
|
67
|
+
required=False, load_from="AcceleratingDomain"
|
|
68
|
+
),
|
|
69
|
+
"InstanceId": fields.Str(required=True, load_from="InstanceId"),
|
|
70
|
+
"Message": fields.Str(
|
|
71
|
+
required=False, load_from="Message"
|
|
72
|
+
), # Deprecated, will be removed at 1.0
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
"""
|
|
77
|
+
API: CreatePathXSSL
|
|
78
|
+
|
|
79
|
+
创建SSL证书,可以把整个 Pem 证书内容传到SSLContent,或者把证书、私钥、CA证书分别传过来
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
class CreatePathXSSLRequestSchema(schema.RequestSchema):
|
|
84
|
+
"""CreatePathXSSL - 创建SSL证书,可以把整个 Pem 证书内容传到SSLContent,或者把证书、私钥、CA证书分别传过来"""
|
|
85
|
+
|
|
86
|
+
fields = {
|
|
87
|
+
"CACert": fields.Str(required=False, dump_to="CACert"),
|
|
88
|
+
"PrivateKey": fields.Str(required=False, dump_to="PrivateKey"),
|
|
89
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
90
|
+
"SSLContent": fields.Str(required=False, dump_to="SSLContent"),
|
|
91
|
+
"SSLName": fields.Str(required=True, dump_to="SSLName"),
|
|
92
|
+
"SSLType": fields.Str(required=False, dump_to="SSLType"),
|
|
93
|
+
"UserCert": fields.Str(required=False, dump_to="UserCert"),
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
class CreatePathXSSLResponseSchema(schema.ResponseSchema):
|
|
98
|
+
"""CreatePathXSSL - 创建SSL证书,可以把整个 Pem 证书内容传到SSLContent,或者把证书、私钥、CA证书分别传过来"""
|
|
99
|
+
|
|
100
|
+
fields = {
|
|
101
|
+
"SSLId": fields.Str(required=True, load_from="SSLId"),
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
"""
|
|
106
|
+
API: CreateUGA3Instance
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
"""
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
class CreateUGA3InstanceRequestSchema(schema.RequestSchema):
|
|
113
|
+
"""CreateUGA3Instance -"""
|
|
114
|
+
|
|
115
|
+
fields = {
|
|
116
|
+
"AccelerationArea": fields.Str(
|
|
117
|
+
required=False, dump_to="AccelerationArea"
|
|
118
|
+
),
|
|
119
|
+
"AreaCode": fields.Str(required=False, dump_to="AreaCode"),
|
|
120
|
+
"Bandwidth": fields.Int(required=True, dump_to="Bandwidth"),
|
|
121
|
+
"ChargeType": fields.Str(required=False, dump_to="ChargeType"),
|
|
122
|
+
"CouponId": fields.Str(required=False, dump_to="CouponId"),
|
|
123
|
+
"Name": fields.Str(required=False, dump_to="Name"),
|
|
124
|
+
"OriginDomain": fields.Str(required=False, dump_to="OriginDomain"),
|
|
125
|
+
"OriginIPList": fields.Str(required=False, dump_to="OriginIPList"),
|
|
126
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
127
|
+
"Quantity": fields.Int(required=False, dump_to="Quantity"),
|
|
128
|
+
"Remark": fields.Str(required=False, dump_to="Remark"),
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
class CreateUGA3InstanceResponseSchema(schema.ResponseSchema):
|
|
133
|
+
"""CreateUGA3Instance -"""
|
|
134
|
+
|
|
135
|
+
fields = {
|
|
136
|
+
"CName": fields.Str(required=False, load_from="CName"),
|
|
137
|
+
"InstanceId": fields.Str(required=True, load_from="InstanceId"),
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
"""
|
|
142
|
+
API: CreateUGA3Port
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
"""
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
class CreateUGA3PortRequestSchema(schema.RequestSchema):
|
|
149
|
+
"""CreateUGA3Port -"""
|
|
150
|
+
|
|
151
|
+
fields = {
|
|
152
|
+
"InstanceId": fields.Str(required=True, dump_to="InstanceId"),
|
|
153
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
154
|
+
"TCP": fields.List(fields.Int()),
|
|
155
|
+
"TCPRS": fields.List(fields.Int()),
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
class CreateUGA3PortResponseSchema(schema.ResponseSchema):
|
|
160
|
+
"""CreateUGA3Port -"""
|
|
161
|
+
|
|
162
|
+
fields = {
|
|
163
|
+
"Message": fields.Str(required=True, load_from="Message"),
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
"""
|
|
168
|
+
API: CreateUGAForwarder
|
|
169
|
+
|
|
170
|
+
创建加速实例转发器,支持HTTPS接入HTTPS回源、HTTPS接入HTTP回源、HTTP接入HTTP回源、TCP接入TCP回源、UDP接入UDP回源、 支持WSS接入WSS回源、WSS接入WS回源、WS接入WS回源
|
|
171
|
+
"""
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
class CreateUGAForwarderRequestSchema(schema.RequestSchema):
|
|
175
|
+
"""CreateUGAForwarder - 创建加速实例转发器,支持HTTPS接入HTTPS回源、HTTPS接入HTTP回源、HTTP接入HTTP回源、TCP接入TCP回源、UDP接入UDP回源、 支持WSS接入WSS回源、WSS接入WS回源、WS接入WS回源"""
|
|
176
|
+
|
|
177
|
+
fields = {
|
|
178
|
+
"HTTPHTTP": fields.List(fields.Int()),
|
|
179
|
+
"HTTPHTTPRS": fields.List(fields.Int()),
|
|
180
|
+
"HTTPSHTTP": fields.List(fields.Int()),
|
|
181
|
+
"HTTPSHTTPRS": fields.List(fields.Int()),
|
|
182
|
+
"HTTPSHTTPS": fields.List(fields.Int()),
|
|
183
|
+
"HTTPSHTTPSRS": fields.List(fields.Int()),
|
|
184
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
185
|
+
"TCP": fields.List(fields.Int()),
|
|
186
|
+
"TCPRS": fields.List(fields.Int()),
|
|
187
|
+
"UDP": fields.List(fields.Int()),
|
|
188
|
+
"UDPRS": fields.List(fields.Int()),
|
|
189
|
+
"UGAId": fields.Str(required=True, dump_to="UGAId"),
|
|
190
|
+
"WSSWS": fields.List(fields.Int()),
|
|
191
|
+
"WSSWSRS": fields.List(fields.Int()),
|
|
192
|
+
"WSSWSS": fields.List(fields.Int()),
|
|
193
|
+
"WSSWSSRS": fields.List(fields.Int()),
|
|
194
|
+
"WSWS": fields.List(fields.Int()),
|
|
195
|
+
"WSWSRS": fields.List(fields.Int()),
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
class CreateUGAForwarderResponseSchema(schema.ResponseSchema):
|
|
200
|
+
"""CreateUGAForwarder - 创建加速实例转发器,支持HTTPS接入HTTPS回源、HTTPS接入HTTP回源、HTTP接入HTTP回源、TCP接入TCP回源、UDP接入UDP回源、 支持WSS接入WSS回源、WSS接入WS回源、WS接入WS回源"""
|
|
201
|
+
|
|
202
|
+
fields = {
|
|
203
|
+
"Message": fields.Str(
|
|
204
|
+
required=True, load_from="Message"
|
|
205
|
+
), # Deprecated, will be removed at 1.0
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
"""
|
|
210
|
+
API: CreateUGAInstance
|
|
211
|
+
|
|
212
|
+
创建全球加速配置项
|
|
213
|
+
"""
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
class CreateUGAInstanceRequestSchema(schema.RequestSchema):
|
|
217
|
+
"""CreateUGAInstance - 创建全球加速配置项"""
|
|
218
|
+
|
|
219
|
+
fields = {
|
|
220
|
+
"Domain": fields.Str(required=False, dump_to="Domain"),
|
|
221
|
+
"IPList": fields.Str(required=False, dump_to="IPList"),
|
|
222
|
+
"Name": fields.Str(required=True, dump_to="Name"),
|
|
223
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
224
|
+
"TCP": fields.List(fields.Str()),
|
|
225
|
+
"UDP": fields.List(fields.Str()),
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
class CreateUGAInstanceResponseSchema(schema.ResponseSchema):
|
|
230
|
+
"""CreateUGAInstance - 创建全球加速配置项"""
|
|
231
|
+
|
|
232
|
+
fields = {
|
|
233
|
+
"CName": fields.Str(required=False, load_from="CName"),
|
|
234
|
+
"Message": fields.Str(required=False, load_from="Message"),
|
|
235
|
+
"UGAId": fields.Str(required=True, load_from="UGAId"),
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
"""
|
|
240
|
+
API: CreateUPath
|
|
241
|
+
|
|
242
|
+
创建UPath
|
|
243
|
+
"""
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
class CreateUPathRequestSchema(schema.RequestSchema):
|
|
247
|
+
"""CreateUPath - 创建UPath"""
|
|
248
|
+
|
|
249
|
+
fields = {
|
|
250
|
+
"Bandwidth": fields.Int(required=True, dump_to="Bandwidth"),
|
|
251
|
+
"ChargeType": fields.Str(required=False, dump_to="ChargeType"),
|
|
252
|
+
"CouponId": fields.Str(required=False, dump_to="CouponId"),
|
|
253
|
+
"LineId": fields.Str(required=True, dump_to="LineId"),
|
|
254
|
+
"Name": fields.Str(required=True, dump_to="Name"),
|
|
255
|
+
"PathType": fields.Str(required=False, dump_to="PathType"),
|
|
256
|
+
"PostPaid": fields.Bool(required=False, dump_to="PostPaid"),
|
|
257
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
258
|
+
"Quantity": fields.Int(required=False, dump_to="Quantity"),
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
class CreateUPathResponseSchema(schema.ResponseSchema):
|
|
263
|
+
"""CreateUPath - 创建UPath"""
|
|
264
|
+
|
|
265
|
+
fields = {
|
|
266
|
+
"PathId": fields.Str(required=True, load_from="PathId"),
|
|
267
|
+
"UPathId": fields.Str(
|
|
268
|
+
required=True, load_from="UPathId"
|
|
269
|
+
), # Deprecated, will be removed at 1.0
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
"""
|
|
274
|
+
API: DeleteGlobalSSHInstance
|
|
275
|
+
|
|
276
|
+
删除GlobalSSH实例
|
|
277
|
+
"""
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
class DeleteGlobalSSHInstanceRequestSchema(schema.RequestSchema):
|
|
281
|
+
"""DeleteGlobalSSHInstance - 删除GlobalSSH实例"""
|
|
282
|
+
|
|
283
|
+
fields = {
|
|
284
|
+
"InstanceId": fields.Str(required=True, dump_to="InstanceId"),
|
|
285
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
class DeleteGlobalSSHInstanceResponseSchema(schema.ResponseSchema):
|
|
290
|
+
"""DeleteGlobalSSHInstance - 删除GlobalSSH实例"""
|
|
291
|
+
|
|
292
|
+
fields = {
|
|
293
|
+
"Message": fields.Str(required=False, load_from="Message"),
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
"""
|
|
298
|
+
API: DeletePathXSSL
|
|
299
|
+
|
|
300
|
+
删除PathX SSL证书
|
|
301
|
+
"""
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
class DeletePathXSSLRequestSchema(schema.RequestSchema):
|
|
305
|
+
"""DeletePathXSSL - 删除PathX SSL证书"""
|
|
306
|
+
|
|
307
|
+
fields = {
|
|
308
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
309
|
+
"SSLId": fields.Str(required=True, dump_to="SSLId"),
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
class DeletePathXSSLResponseSchema(schema.ResponseSchema):
|
|
314
|
+
"""DeletePathXSSL - 删除PathX SSL证书"""
|
|
315
|
+
|
|
316
|
+
fields = {}
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
"""
|
|
320
|
+
API: DeleteUGA3Instance
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
"""
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
class DeleteUGA3InstanceRequestSchema(schema.RequestSchema):
|
|
327
|
+
"""DeleteUGA3Instance -"""
|
|
328
|
+
|
|
329
|
+
fields = {
|
|
330
|
+
"InstanceId": fields.Str(required=True, dump_to="InstanceId"),
|
|
331
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
class DeleteUGA3InstanceResponseSchema(schema.ResponseSchema):
|
|
336
|
+
"""DeleteUGA3Instance -"""
|
|
337
|
+
|
|
338
|
+
fields = {
|
|
339
|
+
"Message": fields.Str(required=False, load_from="Message"),
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
"""
|
|
344
|
+
API: DeleteUGA3Port
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
"""
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
class DeleteUGA3PortRequestSchema(schema.RequestSchema):
|
|
351
|
+
"""DeleteUGA3Port -"""
|
|
352
|
+
|
|
353
|
+
fields = {
|
|
354
|
+
"InstanceId": fields.Str(required=True, dump_to="InstanceId"),
|
|
355
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
356
|
+
"TCP": fields.List(fields.Int()),
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
class DeleteUGA3PortResponseSchema(schema.ResponseSchema):
|
|
361
|
+
"""DeleteUGA3Port -"""
|
|
362
|
+
|
|
363
|
+
fields = {
|
|
364
|
+
"Message": fields.Str(required=True, load_from="Message"),
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
"""
|
|
369
|
+
API: DeleteUGAForwarder
|
|
370
|
+
|
|
371
|
+
删除加速实例转发器 按接入端口删除
|
|
372
|
+
"""
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
class DeleteUGAForwarderRequestSchema(schema.RequestSchema):
|
|
376
|
+
"""DeleteUGAForwarder - 删除加速实例转发器 按接入端口删除"""
|
|
377
|
+
|
|
378
|
+
fields = {
|
|
379
|
+
"HTTPHTTP": fields.List(fields.Int()),
|
|
380
|
+
"HTTPSHTTP": fields.List(fields.Int()),
|
|
381
|
+
"HTTPSHTTPS": fields.List(fields.Int()),
|
|
382
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
383
|
+
"TCP": fields.List(fields.Int()),
|
|
384
|
+
"UDP": fields.List(fields.Int()),
|
|
385
|
+
"UGAId": fields.Str(required=True, dump_to="UGAId"),
|
|
386
|
+
"WSSWS": fields.List(fields.Int()),
|
|
387
|
+
"WSSWSS": fields.List(fields.Int()),
|
|
388
|
+
"WSWS": fields.List(fields.Int()),
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
class DeleteUGAForwarderResponseSchema(schema.ResponseSchema):
|
|
393
|
+
"""DeleteUGAForwarder - 删除加速实例转发器 按接入端口删除"""
|
|
394
|
+
|
|
395
|
+
fields = {
|
|
396
|
+
"Message": fields.Str(
|
|
397
|
+
required=True, load_from="Message"
|
|
398
|
+
), # Deprecated, will be removed at 1.0
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
"""
|
|
403
|
+
API: DeleteUGAInstance
|
|
404
|
+
|
|
405
|
+
删除全球加速服务加速配置
|
|
406
|
+
"""
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
class DeleteUGAInstanceRequestSchema(schema.RequestSchema):
|
|
410
|
+
"""DeleteUGAInstance - 删除全球加速服务加速配置"""
|
|
411
|
+
|
|
412
|
+
fields = {
|
|
413
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
414
|
+
"UGAId": fields.Str(required=True, dump_to="UGAId"),
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
class DeleteUGAInstanceResponseSchema(schema.ResponseSchema):
|
|
419
|
+
"""DeleteUGAInstance - 删除全球加速服务加速配置"""
|
|
420
|
+
|
|
421
|
+
fields = {
|
|
422
|
+
"Message": fields.Str(required=False, load_from="Message"),
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
"""
|
|
427
|
+
API: DeleteUPath
|
|
428
|
+
|
|
429
|
+
删除UPath
|
|
430
|
+
"""
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
class DeleteUPathRequestSchema(schema.RequestSchema):
|
|
434
|
+
"""DeleteUPath - 删除UPath"""
|
|
435
|
+
|
|
436
|
+
fields = {
|
|
437
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
438
|
+
"UPathId": fields.Str(required=True, dump_to="UPathId"),
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
class DeleteUPathResponseSchema(schema.ResponseSchema):
|
|
443
|
+
"""DeleteUPath - 删除UPath"""
|
|
444
|
+
|
|
445
|
+
fields = {}
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
"""
|
|
449
|
+
API: DescribeGlobalSSHArea
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
"""
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
class DescribeGlobalSSHAreaRequestSchema(schema.RequestSchema):
|
|
456
|
+
"""DescribeGlobalSSHArea -"""
|
|
457
|
+
|
|
458
|
+
fields = {
|
|
459
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
460
|
+
"Region": fields.Str(required=False, dump_to="Region"),
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
class DescribeGlobalSSHAreaResponseSchema(schema.ResponseSchema):
|
|
465
|
+
"""DescribeGlobalSSHArea -"""
|
|
466
|
+
|
|
467
|
+
fields = {
|
|
468
|
+
"AreaSet": fields.List(
|
|
469
|
+
models.GlobalSSHAreaSchema(), required=False, load_from="AreaSet"
|
|
470
|
+
),
|
|
471
|
+
"Message": fields.Str(required=False, load_from="Message"),
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
"""
|
|
476
|
+
API: DescribeGlobalSSHInstance
|
|
477
|
+
|
|
478
|
+
获取GlobalSSH实例列表(传实例ID获取单个实例信息,不传获取项目下全部实例)
|
|
479
|
+
"""
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
class DescribeGlobalSSHInstanceRequestSchema(schema.RequestSchema):
|
|
483
|
+
"""DescribeGlobalSSHInstance - 获取GlobalSSH实例列表(传实例ID获取单个实例信息,不传获取项目下全部实例)"""
|
|
484
|
+
|
|
485
|
+
fields = {
|
|
486
|
+
"InstanceId": fields.Str(required=False, dump_to="InstanceId"),
|
|
487
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
class DescribeGlobalSSHInstanceResponseSchema(schema.ResponseSchema):
|
|
492
|
+
"""DescribeGlobalSSHInstance - 获取GlobalSSH实例列表(传实例ID获取单个实例信息,不传获取项目下全部实例)"""
|
|
493
|
+
|
|
494
|
+
fields = {
|
|
495
|
+
"InstanceSet": fields.List(
|
|
496
|
+
models.GlobalSSHInfoSchema(),
|
|
497
|
+
required=False,
|
|
498
|
+
load_from="InstanceSet",
|
|
499
|
+
),
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
"""
|
|
504
|
+
API: DescribePathXLineConfig
|
|
505
|
+
|
|
506
|
+
获取全球加速线路信息
|
|
507
|
+
"""
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
class DescribePathXLineConfigRequestSchema(schema.RequestSchema):
|
|
511
|
+
"""DescribePathXLineConfig - 获取全球加速线路信息"""
|
|
512
|
+
|
|
513
|
+
fields = {
|
|
514
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
class DescribePathXLineConfigResponseSchema(schema.ResponseSchema):
|
|
519
|
+
"""DescribePathXLineConfig - 获取全球加速线路信息"""
|
|
520
|
+
|
|
521
|
+
fields = {
|
|
522
|
+
"LineSet": fields.List(
|
|
523
|
+
models.UGAALineSchema(), required=False, load_from="LineSet"
|
|
524
|
+
),
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
"""
|
|
529
|
+
API: DescribePathXSSL
|
|
530
|
+
|
|
531
|
+
获取SSL证书信息,支持分页,支持按证书名称 证书域名模糊搜索
|
|
532
|
+
"""
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
class DescribePathXSSLRequestSchema(schema.RequestSchema):
|
|
536
|
+
"""DescribePathXSSL - 获取SSL证书信息,支持分页,支持按证书名称 证书域名模糊搜索"""
|
|
537
|
+
|
|
538
|
+
fields = {
|
|
539
|
+
"Limit": fields.Int(required=False, dump_to="Limit"),
|
|
540
|
+
"Offset": fields.Int(required=False, dump_to="Offset"),
|
|
541
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
542
|
+
"SSLId": fields.Str(required=False, dump_to="SSLId"),
|
|
543
|
+
"SearchValue": fields.Str(required=False, dump_to="SearchValue"),
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
class DescribePathXSSLResponseSchema(schema.ResponseSchema):
|
|
548
|
+
"""DescribePathXSSL - 获取SSL证书信息,支持分页,支持按证书名称 证书域名模糊搜索"""
|
|
549
|
+
|
|
550
|
+
fields = {
|
|
551
|
+
"DataSet": fields.List(
|
|
552
|
+
models.PathXSSLSetSchema(), required=False, load_from="DataSet"
|
|
553
|
+
),
|
|
554
|
+
"TotalCount": fields.Int(required=False, load_from="TotalCount"),
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
"""
|
|
559
|
+
API: DescribeUGA3Area
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
"""
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
class DescribeUGA3AreaRequestSchema(schema.RequestSchema):
|
|
566
|
+
"""DescribeUGA3Area -"""
|
|
567
|
+
|
|
568
|
+
fields = {
|
|
569
|
+
"Domain": fields.Str(required=False, dump_to="Domain"),
|
|
570
|
+
"IPList": fields.Str(required=False, dump_to="IPList"),
|
|
571
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
class DescribeUGA3AreaResponseSchema(schema.ResponseSchema):
|
|
576
|
+
"""DescribeUGA3Area -"""
|
|
577
|
+
|
|
578
|
+
fields = {
|
|
579
|
+
"AreaSet": fields.List(
|
|
580
|
+
models.ForwardAreaSchema(), required=False, load_from="AreaSet"
|
|
581
|
+
),
|
|
582
|
+
"Message": fields.Str(required=False, load_from="Message"),
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
"""
|
|
587
|
+
API: DescribeUGA3Instance
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
"""
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
class DescribeUGA3InstanceRequestSchema(schema.RequestSchema):
|
|
594
|
+
"""DescribeUGA3Instance -"""
|
|
595
|
+
|
|
596
|
+
fields = {
|
|
597
|
+
"InstanceId": fields.Str(required=False, dump_to="InstanceId"),
|
|
598
|
+
"Limit": fields.Int(required=False, dump_to="Limit"),
|
|
599
|
+
"Offset": fields.Int(required=False, dump_to="Offset"),
|
|
600
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
class DescribeUGA3InstanceResponseSchema(schema.ResponseSchema):
|
|
605
|
+
"""DescribeUGA3Instance -"""
|
|
606
|
+
|
|
607
|
+
fields = {
|
|
608
|
+
"ForwardInstanceInfos": fields.List(
|
|
609
|
+
models.ForwardInfoSchema(),
|
|
610
|
+
required=False,
|
|
611
|
+
load_from="ForwardInstanceInfos",
|
|
612
|
+
),
|
|
613
|
+
"TotalCount": fields.Int(required=False, load_from="TotalCount"),
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
"""
|
|
618
|
+
API: DescribeUGA3Optimization
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
"""
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
class DescribeUGA3OptimizationRequestSchema(schema.RequestSchema):
|
|
625
|
+
"""DescribeUGA3Optimization -"""
|
|
626
|
+
|
|
627
|
+
fields = {
|
|
628
|
+
"AccelerationArea": fields.Str(
|
|
629
|
+
required=False, dump_to="AccelerationArea"
|
|
630
|
+
),
|
|
631
|
+
"AreaCode": fields.Str(required=True, dump_to="AreaCode"),
|
|
632
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
633
|
+
"TimeRange": fields.Str(required=False, dump_to="TimeRange"),
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
class DescribeUGA3OptimizationResponseSchema(schema.ResponseSchema):
|
|
638
|
+
"""DescribeUGA3Optimization -"""
|
|
639
|
+
|
|
640
|
+
fields = {
|
|
641
|
+
"AccelerationInfos": fields.List(
|
|
642
|
+
models.AccelerationInfoSchema(),
|
|
643
|
+
required=False,
|
|
644
|
+
load_from="AccelerationInfos",
|
|
645
|
+
),
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
"""
|
|
650
|
+
API: DescribeUGAInstance
|
|
651
|
+
|
|
652
|
+
获取全球加速服务加速配置信息,指定实例ID返回单个实例。未指定实例ID时 指定分页参数 则按创建时间降序 返回记录
|
|
653
|
+
"""
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
class DescribeUGAInstanceRequestSchema(schema.RequestSchema):
|
|
657
|
+
"""DescribeUGAInstance - 获取全球加速服务加速配置信息,指定实例ID返回单个实例。未指定实例ID时 指定分页参数 则按创建时间降序 返回记录"""
|
|
658
|
+
|
|
659
|
+
fields = {
|
|
660
|
+
"Limit": fields.Int(required=False, dump_to="Limit"),
|
|
661
|
+
"Offset": fields.Int(required=False, dump_to="Offset"),
|
|
662
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
663
|
+
"UGAId": fields.Str(required=False, dump_to="UGAId"),
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
class DescribeUGAInstanceResponseSchema(schema.ResponseSchema):
|
|
668
|
+
"""DescribeUGAInstance - 获取全球加速服务加速配置信息,指定实例ID返回单个实例。未指定实例ID时 指定分页参数 则按创建时间降序 返回记录"""
|
|
669
|
+
|
|
670
|
+
fields = {
|
|
671
|
+
"TotalCount": fields.Int(required=False, load_from="TotalCount"),
|
|
672
|
+
"UGAList": fields.List(
|
|
673
|
+
models.UGAAInfoSchema(), required=False, load_from="UGAList"
|
|
674
|
+
),
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
"""
|
|
679
|
+
API: DescribeUPath
|
|
680
|
+
|
|
681
|
+
获取加速线路信息
|
|
682
|
+
"""
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
class DescribeUPathRequestSchema(schema.RequestSchema):
|
|
686
|
+
"""DescribeUPath - 获取加速线路信息"""
|
|
687
|
+
|
|
688
|
+
fields = {
|
|
689
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
690
|
+
"UPathId": fields.Str(required=False, dump_to="UPathId"),
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
class DescribeUPathResponseSchema(schema.ResponseSchema):
|
|
695
|
+
"""DescribeUPath - 获取加速线路信息"""
|
|
696
|
+
|
|
697
|
+
fields = {
|
|
698
|
+
"UPathSet": fields.List(
|
|
699
|
+
models.UPathInfoSchema(), required=True, load_from="UPathSet"
|
|
700
|
+
),
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
"""
|
|
705
|
+
API: DescribeUPathTemplate
|
|
706
|
+
|
|
707
|
+
查询UPath的监控模板
|
|
708
|
+
"""
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
class DescribeUPathTemplateRequestSchema(schema.RequestSchema):
|
|
712
|
+
"""DescribeUPathTemplate - 查询UPath的监控模板"""
|
|
713
|
+
|
|
714
|
+
fields = {
|
|
715
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
716
|
+
"UPathId": fields.Str(required=True, dump_to="UPathId"),
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
class DescribeUPathTemplateResponseSchema(schema.ResponseSchema):
|
|
721
|
+
"""DescribeUPathTemplate - 查询UPath的监控模板"""
|
|
722
|
+
|
|
723
|
+
fields = {
|
|
724
|
+
"DataSet": fields.List(
|
|
725
|
+
models.AlarmRulerSchema(), required=True, load_from="DataSet"
|
|
726
|
+
),
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
"""
|
|
731
|
+
API: GetGlobalSSHPrice
|
|
732
|
+
|
|
733
|
+
获取GlobalSSH价格
|
|
734
|
+
"""
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
class GetGlobalSSHPriceRequestSchema(schema.RequestSchema):
|
|
738
|
+
"""GetGlobalSSHPrice - 获取GlobalSSH价格"""
|
|
739
|
+
|
|
740
|
+
fields = {
|
|
741
|
+
"ChargeType": fields.Str(required=False, dump_to="ChargeType"),
|
|
742
|
+
"InstanceType": fields.Str(required=False, dump_to="InstanceType"),
|
|
743
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
744
|
+
"Quantity": fields.Int(required=False, dump_to="Quantity"),
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
class GetGlobalSSHPriceResponseSchema(schema.ResponseSchema):
|
|
749
|
+
"""GetGlobalSSHPrice - 获取GlobalSSH价格"""
|
|
750
|
+
|
|
751
|
+
fields = {
|
|
752
|
+
"Price": fields.Float(required=False, load_from="Price"),
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
"""
|
|
757
|
+
API: GetGlobalSSHTraffic
|
|
758
|
+
|
|
759
|
+
获取GlobalSSH流量统计数据
|
|
760
|
+
"""
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
class GetGlobalSSHTrafficRequestSchema(schema.RequestSchema):
|
|
764
|
+
"""GetGlobalSSHTraffic - 获取GlobalSSH流量统计数据"""
|
|
765
|
+
|
|
766
|
+
fields = {
|
|
767
|
+
"BeginTime": fields.Int(required=True, dump_to="BeginTime"),
|
|
768
|
+
"EndTime": fields.Int(required=True, dump_to="EndTime"),
|
|
769
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
770
|
+
"UGAId": fields.Str(required=True, dump_to="UGAId"),
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
class GetGlobalSSHTrafficResponseSchema(schema.ResponseSchema):
|
|
775
|
+
"""GetGlobalSSHTraffic - 获取GlobalSSH流量统计数据"""
|
|
776
|
+
|
|
777
|
+
fields = {
|
|
778
|
+
"DataSet": fields.List(
|
|
779
|
+
models.TrafficDailySchema(), required=True, load_from="DataSet"
|
|
780
|
+
),
|
|
781
|
+
"TrafficDailyRecently": fields.List(
|
|
782
|
+
models.TrafficDailyRecentlySchema(),
|
|
783
|
+
required=False,
|
|
784
|
+
load_from="TrafficDailyRecently",
|
|
785
|
+
),
|
|
786
|
+
"UGAId": fields.Str(required=True, load_from="UGAId"),
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
"""
|
|
791
|
+
API: GetGlobalSSHUpdatePrice
|
|
792
|
+
|
|
793
|
+
获取GlobalSSH升级价格
|
|
794
|
+
"""
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
class GetGlobalSSHUpdatePriceRequestSchema(schema.RequestSchema):
|
|
798
|
+
"""GetGlobalSSHUpdatePrice - 获取GlobalSSH升级价格"""
|
|
799
|
+
|
|
800
|
+
fields = {
|
|
801
|
+
"ChargeType": fields.Str(required=False, dump_to="ChargeType"),
|
|
802
|
+
"InstanceId": fields.Str(required=False, dump_to="InstanceId"),
|
|
803
|
+
"InstanceType": fields.Str(required=True, dump_to="InstanceType"),
|
|
804
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
805
|
+
"Quantity": fields.Int(required=False, dump_to="Quantity"),
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
class GetGlobalSSHUpdatePriceResponseSchema(schema.ResponseSchema):
|
|
810
|
+
"""GetGlobalSSHUpdatePrice - 获取GlobalSSH升级价格"""
|
|
811
|
+
|
|
812
|
+
fields = {
|
|
813
|
+
"Price": fields.Float(required=False, load_from="Price"),
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
"""
|
|
818
|
+
API: GetPathXMetric
|
|
819
|
+
|
|
820
|
+
获取全球加速监控信息
|
|
821
|
+
"""
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
class GetPathXMetricRequestSchema(schema.RequestSchema):
|
|
825
|
+
"""GetPathXMetric - 获取全球加速监控信息"""
|
|
826
|
+
|
|
827
|
+
fields = {
|
|
828
|
+
"BeginTime": fields.Int(required=True, dump_to="BeginTime"),
|
|
829
|
+
"EndTime": fields.Int(required=True, dump_to="EndTime"),
|
|
830
|
+
"LineId": fields.Str(required=True, dump_to="LineId"),
|
|
831
|
+
"MetricName": fields.List(fields.Str()),
|
|
832
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
833
|
+
"ResourceId": fields.Str(required=True, dump_to="ResourceId"),
|
|
834
|
+
"ResourceType": fields.Str(required=True, dump_to="ResourceType"),
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
class GetPathXMetricResponseSchema(schema.ResponseSchema):
|
|
839
|
+
"""GetPathXMetric - 获取全球加速监控信息"""
|
|
840
|
+
|
|
841
|
+
fields = {
|
|
842
|
+
"DataSet": models.MetricPeriodSchema(),
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
"""
|
|
847
|
+
API: GetUGA3Metric
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
"""
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
class GetUGA3MetricRequestSchema(schema.RequestSchema):
|
|
854
|
+
"""GetUGA3Metric -"""
|
|
855
|
+
|
|
856
|
+
fields = {
|
|
857
|
+
"AreaCode": fields.Str(required=False, dump_to="AreaCode"),
|
|
858
|
+
"BeginTime": fields.Int(required=True, dump_to="BeginTime"),
|
|
859
|
+
"EndTime": fields.Int(required=True, dump_to="EndTime"),
|
|
860
|
+
"InstanceId": fields.Str(required=True, dump_to="InstanceId"),
|
|
861
|
+
"IsSubline": fields.Bool(required=False, dump_to="IsSubline"),
|
|
862
|
+
"MetricName": fields.List(fields.Str()),
|
|
863
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
class GetUGA3MetricResponseSchema(schema.ResponseSchema):
|
|
868
|
+
"""GetUGA3Metric -"""
|
|
869
|
+
|
|
870
|
+
fields = {
|
|
871
|
+
"DataSet": models.UGA3MetricSchema(required=False, load_from="DataSet"),
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
"""
|
|
876
|
+
API: GetUGA3Price
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
"""
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
class GetUGA3PriceRequestSchema(schema.RequestSchema):
|
|
883
|
+
"""GetUGA3Price -"""
|
|
884
|
+
|
|
885
|
+
fields = {
|
|
886
|
+
"AccelerationArea": fields.Str(
|
|
887
|
+
required=False, dump_to="AccelerationArea"
|
|
888
|
+
),
|
|
889
|
+
"AreaCode": fields.Str(required=True, dump_to="AreaCode"),
|
|
890
|
+
"Bandwidth": fields.Int(required=True, dump_to="Bandwidth"),
|
|
891
|
+
"ChargeType": fields.Str(required=False, dump_to="ChargeType"),
|
|
892
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
893
|
+
"Quantity": fields.Int(required=False, dump_to="Quantity"),
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
class GetUGA3PriceResponseSchema(schema.ResponseSchema):
|
|
898
|
+
"""GetUGA3Price -"""
|
|
899
|
+
|
|
900
|
+
fields = {
|
|
901
|
+
"UGA3Price": fields.List(
|
|
902
|
+
models.UGA3PriceSchema(), required=True, load_from="UGA3Price"
|
|
903
|
+
),
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
"""
|
|
908
|
+
API: GetUGA3UpdatePrice
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
"""
|
|
912
|
+
|
|
913
|
+
|
|
914
|
+
class GetUGA3UpdatePriceRequestSchema(schema.RequestSchema):
|
|
915
|
+
"""GetUGA3UpdatePrice -"""
|
|
916
|
+
|
|
917
|
+
fields = {
|
|
918
|
+
"AccelerationArea": fields.Str(
|
|
919
|
+
required=False, dump_to="AccelerationArea"
|
|
920
|
+
),
|
|
921
|
+
"AreaCode": fields.Str(required=False, dump_to="AreaCode"),
|
|
922
|
+
"Bandwidth": fields.Int(required=False, dump_to="Bandwidth"),
|
|
923
|
+
"InstanceId": fields.Str(required=True, dump_to="InstanceId"),
|
|
924
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
class GetUGA3UpdatePriceResponseSchema(schema.ResponseSchema):
|
|
929
|
+
"""GetUGA3UpdatePrice -"""
|
|
930
|
+
|
|
931
|
+
fields = {
|
|
932
|
+
"Price": fields.Float(required=True, load_from="Price"),
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
|
|
936
|
+
"""
|
|
937
|
+
API: ModifyGlobalSSHOriginInfo
|
|
938
|
+
|
|
939
|
+
修改GlobalSSH 源站信息
|
|
940
|
+
"""
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
class ModifyGlobalSSHOriginInfoRequestSchema(schema.RequestSchema):
|
|
944
|
+
"""ModifyGlobalSSHOriginInfo - 修改GlobalSSH 源站信息"""
|
|
945
|
+
|
|
946
|
+
fields = {
|
|
947
|
+
"Area": fields.Str(required=False, dump_to="Area"),
|
|
948
|
+
"AreaCode": fields.Str(required=False, dump_to="AreaCode"),
|
|
949
|
+
"InstanceId": fields.Str(required=True, dump_to="InstanceId"),
|
|
950
|
+
"InstanceType": fields.Str(required=True, dump_to="InstanceType"),
|
|
951
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
952
|
+
"RsIP": fields.Str(required=True, dump_to="RsIP"),
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
class ModifyGlobalSSHOriginInfoResponseSchema(schema.ResponseSchema):
|
|
957
|
+
"""ModifyGlobalSSHOriginInfo - 修改GlobalSSH 源站信息"""
|
|
958
|
+
|
|
959
|
+
fields = {
|
|
960
|
+
"Message": fields.Str(required=False, load_from="Message"),
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
"""
|
|
965
|
+
API: ModifyGlobalSSHPort
|
|
966
|
+
|
|
967
|
+
修改GlobalSSH端口
|
|
968
|
+
"""
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
class ModifyGlobalSSHPortRequestSchema(schema.RequestSchema):
|
|
972
|
+
"""ModifyGlobalSSHPort - 修改GlobalSSH端口"""
|
|
973
|
+
|
|
974
|
+
fields = {
|
|
975
|
+
"InstanceId": fields.Str(required=True, dump_to="InstanceId"),
|
|
976
|
+
"Port": fields.Int(required=True, dump_to="Port"),
|
|
977
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
|
|
981
|
+
class ModifyGlobalSSHPortResponseSchema(schema.ResponseSchema):
|
|
982
|
+
"""ModifyGlobalSSHPort - 修改GlobalSSH端口"""
|
|
983
|
+
|
|
984
|
+
fields = {
|
|
985
|
+
"Message": fields.Str(required=False, load_from="Message"),
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
|
|
989
|
+
"""
|
|
990
|
+
API: ModifyGlobalSSHRemark
|
|
991
|
+
|
|
992
|
+
修改GlobalSSH备注
|
|
993
|
+
"""
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
class ModifyGlobalSSHRemarkRequestSchema(schema.RequestSchema):
|
|
997
|
+
"""ModifyGlobalSSHRemark - 修改GlobalSSH备注"""
|
|
998
|
+
|
|
999
|
+
fields = {
|
|
1000
|
+
"InstanceId": fields.Str(required=True, dump_to="InstanceId"),
|
|
1001
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
1002
|
+
"Remark": fields.Str(required=False, dump_to="Remark"),
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
class ModifyGlobalSSHRemarkResponseSchema(schema.ResponseSchema):
|
|
1007
|
+
"""ModifyGlobalSSHRemark - 修改GlobalSSH备注"""
|
|
1008
|
+
|
|
1009
|
+
fields = {
|
|
1010
|
+
"Message": fields.Str(required=False, load_from="Message"),
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
"""
|
|
1015
|
+
API: ModifyGlobalSSHType
|
|
1016
|
+
|
|
1017
|
+
修改GlobalSSH实例类型,仅支持低版本升级到高版本,不支持高版本降级到低版本
|
|
1018
|
+
"""
|
|
1019
|
+
|
|
1020
|
+
|
|
1021
|
+
class ModifyGlobalSSHTypeRequestSchema(schema.RequestSchema):
|
|
1022
|
+
"""ModifyGlobalSSHType - 修改GlobalSSH实例类型,仅支持低版本升级到高版本,不支持高版本降级到低版本"""
|
|
1023
|
+
|
|
1024
|
+
fields = {
|
|
1025
|
+
"ChargeType": fields.Str(required=False, dump_to="ChargeType"),
|
|
1026
|
+
"CouponId": fields.Str(required=False, dump_to="CouponId"),
|
|
1027
|
+
"InstanceId": fields.Str(required=True, dump_to="InstanceId"),
|
|
1028
|
+
"InstanceType": fields.Str(required=True, dump_to="InstanceType"),
|
|
1029
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
1030
|
+
"Quantity": fields.Str(required=False, dump_to="Quantity"),
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
|
|
1034
|
+
class ModifyGlobalSSHTypeResponseSchema(schema.ResponseSchema):
|
|
1035
|
+
"""ModifyGlobalSSHType - 修改GlobalSSH实例类型,仅支持低版本升级到高版本,不支持高版本降级到低版本"""
|
|
1036
|
+
|
|
1037
|
+
fields = {
|
|
1038
|
+
"Message": fields.Str(required=False, load_from="Message"),
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
"""
|
|
1043
|
+
API: ModifyUGA3Bandwidth
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
"""
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
class ModifyUGA3BandwidthRequestSchema(schema.RequestSchema):
|
|
1050
|
+
"""ModifyUGA3Bandwidth -"""
|
|
1051
|
+
|
|
1052
|
+
fields = {
|
|
1053
|
+
"Bandwidth": fields.Int(required=False, dump_to="Bandwidth"),
|
|
1054
|
+
"CouponId": fields.Str(required=False, dump_to="CouponId"),
|
|
1055
|
+
"InstanceId": fields.Str(required=True, dump_to="InstanceId"),
|
|
1056
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
class ModifyUGA3BandwidthResponseSchema(schema.ResponseSchema):
|
|
1061
|
+
"""ModifyUGA3Bandwidth -"""
|
|
1062
|
+
|
|
1063
|
+
fields = {
|
|
1064
|
+
"Message": fields.Str(required=False, load_from="Message"),
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
"""
|
|
1069
|
+
API: ModifyUGA3Instance
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
"""
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
class ModifyUGA3InstanceRequestSchema(schema.RequestSchema):
|
|
1076
|
+
"""ModifyUGA3Instance -"""
|
|
1077
|
+
|
|
1078
|
+
fields = {
|
|
1079
|
+
"InstanceId": fields.Str(required=True, dump_to="InstanceId"),
|
|
1080
|
+
"Name": fields.Str(required=False, dump_to="Name"),
|
|
1081
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
1082
|
+
"Remark": fields.Str(required=False, dump_to="Remark"),
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
class ModifyUGA3InstanceResponseSchema(schema.ResponseSchema):
|
|
1087
|
+
"""ModifyUGA3Instance -"""
|
|
1088
|
+
|
|
1089
|
+
fields = {
|
|
1090
|
+
"Message": fields.Str(required=False, load_from="Message"),
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
|
|
1094
|
+
"""
|
|
1095
|
+
API: ModifyUGA3OriginInfo
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
"""
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
class ModifyUGA3OriginInfoRequestSchema(schema.RequestSchema):
|
|
1102
|
+
"""ModifyUGA3OriginInfo -"""
|
|
1103
|
+
|
|
1104
|
+
fields = {
|
|
1105
|
+
"InstanceId": fields.Str(required=True, dump_to="InstanceId"),
|
|
1106
|
+
"OriginDomain": fields.Str(required=True, dump_to="OriginDomain"),
|
|
1107
|
+
"OriginIPList": fields.Str(required=True, dump_to="OriginIPList"),
|
|
1108
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
|
|
1112
|
+
class ModifyUGA3OriginInfoResponseSchema(schema.ResponseSchema):
|
|
1113
|
+
"""ModifyUGA3OriginInfo -"""
|
|
1114
|
+
|
|
1115
|
+
fields = {
|
|
1116
|
+
"Message": fields.Str(required=False, load_from="Message"),
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
"""
|
|
1121
|
+
API: ModifyUGA3Port
|
|
1122
|
+
|
|
1123
|
+
|
|
1124
|
+
"""
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
class ModifyUGA3PortRequestSchema(schema.RequestSchema):
|
|
1128
|
+
"""ModifyUGA3Port -"""
|
|
1129
|
+
|
|
1130
|
+
fields = {
|
|
1131
|
+
"InstanceId": fields.Str(required=True, dump_to="InstanceId"),
|
|
1132
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
1133
|
+
"TCP": fields.List(fields.Int()),
|
|
1134
|
+
"TCPRS": fields.List(fields.Int()),
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
|
|
1138
|
+
class ModifyUGA3PortResponseSchema(schema.ResponseSchema):
|
|
1139
|
+
"""ModifyUGA3Port -"""
|
|
1140
|
+
|
|
1141
|
+
fields = {
|
|
1142
|
+
"Message": fields.Str(required=True, load_from="Message"),
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
"""
|
|
1147
|
+
API: ModifyUPathBandwidth
|
|
1148
|
+
|
|
1149
|
+
修改加速线路带宽
|
|
1150
|
+
"""
|
|
1151
|
+
|
|
1152
|
+
|
|
1153
|
+
class ModifyUPathBandwidthRequestSchema(schema.RequestSchema):
|
|
1154
|
+
"""ModifyUPathBandwidth - 修改加速线路带宽"""
|
|
1155
|
+
|
|
1156
|
+
fields = {
|
|
1157
|
+
"Bandwidth": fields.Int(required=True, dump_to="Bandwidth"),
|
|
1158
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
1159
|
+
"UPathId": fields.Str(required=True, dump_to="UPathId"),
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
class ModifyUPathBandwidthResponseSchema(schema.ResponseSchema):
|
|
1164
|
+
"""ModifyUPathBandwidth - 修改加速线路带宽"""
|
|
1165
|
+
|
|
1166
|
+
fields = {}
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
"""
|
|
1170
|
+
API: ModifyUPathTemplate
|
|
1171
|
+
|
|
1172
|
+
修改UPath监控告警项
|
|
1173
|
+
"""
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
class ModifyUPathTemplateRequestSchema(schema.RequestSchema):
|
|
1177
|
+
"""ModifyUPathTemplate - 修改UPath监控告警项"""
|
|
1178
|
+
|
|
1179
|
+
fields = {
|
|
1180
|
+
"AlarmFrequency": fields.List(fields.Int()),
|
|
1181
|
+
"AlarmStrategy": fields.List(fields.Str()),
|
|
1182
|
+
"Compare": fields.List(fields.Str()),
|
|
1183
|
+
"ContactGroupId": fields.List(fields.Int()),
|
|
1184
|
+
"MetricName": fields.List(fields.Str()),
|
|
1185
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
1186
|
+
"Threshold": fields.List(fields.Int()),
|
|
1187
|
+
"TriggerCount": fields.List(fields.Int()),
|
|
1188
|
+
"UPathId": fields.Str(required=True, dump_to="UPathId"),
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
class ModifyUPathTemplateResponseSchema(schema.ResponseSchema):
|
|
1193
|
+
"""ModifyUPathTemplate - 修改UPath监控告警项"""
|
|
1194
|
+
|
|
1195
|
+
fields = {}
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
"""
|
|
1199
|
+
API: UGABindUPath
|
|
1200
|
+
|
|
1201
|
+
UGA绑定UPath
|
|
1202
|
+
"""
|
|
1203
|
+
|
|
1204
|
+
|
|
1205
|
+
class UGABindUPathRequestSchema(schema.RequestSchema):
|
|
1206
|
+
"""UGABindUPath - UGA绑定UPath"""
|
|
1207
|
+
|
|
1208
|
+
fields = {
|
|
1209
|
+
"CouponId": fields.Str(required=False, dump_to="CouponId"),
|
|
1210
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
1211
|
+
"UGAId": fields.Str(required=True, dump_to="UGAId"),
|
|
1212
|
+
"UPathId": fields.Str(required=True, dump_to="UPathId"),
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
class UGABindUPathResponseSchema(schema.ResponseSchema):
|
|
1217
|
+
"""UGABindUPath - UGA绑定UPath"""
|
|
1218
|
+
|
|
1219
|
+
fields = {}
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
"""
|
|
1223
|
+
API: UGAUnBindUPath
|
|
1224
|
+
|
|
1225
|
+
UGA与UPath解绑
|
|
1226
|
+
"""
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
class UGAUnBindUPathRequestSchema(schema.RequestSchema):
|
|
1230
|
+
"""UGAUnBindUPath - UGA与UPath解绑"""
|
|
1231
|
+
|
|
1232
|
+
fields = {
|
|
1233
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
1234
|
+
"UGAId": fields.Str(required=True, dump_to="UGAId"),
|
|
1235
|
+
"UPathId": fields.Str(required=True, dump_to="UPathId"),
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
|
|
1239
|
+
class UGAUnBindUPathResponseSchema(schema.ResponseSchema):
|
|
1240
|
+
"""UGAUnBindUPath - UGA与UPath解绑"""
|
|
1241
|
+
|
|
1242
|
+
fields = {}
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
"""
|
|
1246
|
+
API: UnBindPathXSSL
|
|
1247
|
+
|
|
1248
|
+
解绑PathX SSL 证书
|
|
1249
|
+
"""
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
class UnBindPathXSSLRequestSchema(schema.RequestSchema):
|
|
1253
|
+
"""UnBindPathXSSL - 解绑PathX SSL 证书"""
|
|
1254
|
+
|
|
1255
|
+
fields = {
|
|
1256
|
+
"Port": fields.List(fields.Int()),
|
|
1257
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
1258
|
+
"SSLId": fields.Str(required=True, dump_to="SSLId"),
|
|
1259
|
+
"UGAId": fields.Str(required=True, dump_to="UGAId"),
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
class UnBindPathXSSLResponseSchema(schema.ResponseSchema):
|
|
1264
|
+
"""UnBindPathXSSL - 解绑PathX SSL 证书"""
|
|
1265
|
+
|
|
1266
|
+
fields = {}
|
|
1267
|
+
|
|
1268
|
+
|
|
1269
|
+
"""
|
|
1270
|
+
API: UpdatePathXWhitelist
|
|
1271
|
+
|
|
1272
|
+
更新入口白名单,仅限GlobalSSH 实例使用。其他uga-实例不生效
|
|
1273
|
+
"""
|
|
1274
|
+
|
|
1275
|
+
|
|
1276
|
+
class UpdatePathXWhitelistRequestSchema(schema.RequestSchema):
|
|
1277
|
+
"""UpdatePathXWhitelist - 更新入口白名单,仅限GlobalSSH 实例使用。其他uga-实例不生效"""
|
|
1278
|
+
|
|
1279
|
+
fields = {
|
|
1280
|
+
"InstanceId": fields.Str(required=True, dump_to="InstanceId"),
|
|
1281
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
1282
|
+
"Whitelist": fields.List(fields.Str()),
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
class UpdatePathXWhitelistResponseSchema(schema.ResponseSchema):
|
|
1287
|
+
"""UpdatePathXWhitelist - 更新入口白名单,仅限GlobalSSH 实例使用。其他uga-实例不生效"""
|
|
1288
|
+
|
|
1289
|
+
fields = {}
|