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,1395 @@
|
|
|
1
|
+
""" Code is generated by ucloud-model, DO NOT EDIT IT. """
|
|
2
|
+
|
|
3
|
+
from ucloud.core.typesystem import schema, fields
|
|
4
|
+
from ucloud.services.ucdn.schemas import models
|
|
5
|
+
|
|
6
|
+
""" UCDN API Schema
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
API: AddCertificate
|
|
12
|
+
|
|
13
|
+
添加证书
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class AddCertificateRequestSchema(schema.RequestSchema):
|
|
18
|
+
"""AddCertificate - 添加证书"""
|
|
19
|
+
|
|
20
|
+
fields = {
|
|
21
|
+
"CaCert": fields.Str(required=False, dump_to="CaCert"),
|
|
22
|
+
"CertName": fields.Str(required=True, dump_to="CertName"),
|
|
23
|
+
"PrivateKey": fields.Str(required=True, dump_to="PrivateKey"),
|
|
24
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
25
|
+
"UserCert": fields.Str(required=True, dump_to="UserCert"),
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class AddCertificateResponseSchema(schema.ResponseSchema):
|
|
30
|
+
"""AddCertificate - 添加证书"""
|
|
31
|
+
|
|
32
|
+
fields = {}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
"""
|
|
36
|
+
API: BatchDescribeNewUcdnDomain
|
|
37
|
+
|
|
38
|
+
批量获取加速域名配置
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class BatchDescribeNewUcdnDomainRequestSchema(schema.RequestSchema):
|
|
43
|
+
"""BatchDescribeNewUcdnDomain - 批量获取加速域名配置"""
|
|
44
|
+
|
|
45
|
+
fields = {
|
|
46
|
+
"ChannelType": fields.Str(required=False, dump_to="ChannelType"),
|
|
47
|
+
"DomainId": fields.List(fields.Str()),
|
|
48
|
+
"Limit": fields.Int(required=False, dump_to="Limit"),
|
|
49
|
+
"Offset": fields.Int(required=False, dump_to="Offset"),
|
|
50
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
class BatchDescribeNewUcdnDomainResponseSchema(schema.ResponseSchema):
|
|
55
|
+
"""BatchDescribeNewUcdnDomain - 批量获取加速域名配置"""
|
|
56
|
+
|
|
57
|
+
fields = {
|
|
58
|
+
"Arrearage": fields.List(
|
|
59
|
+
fields.Str(), required=False, load_from="Arrearage"
|
|
60
|
+
),
|
|
61
|
+
"ChargeType": fields.Int(required=False, load_from="ChargeType"),
|
|
62
|
+
"DomainSet": fields.List(
|
|
63
|
+
models.DomainInfoSchema(), required=False, load_from="DomainSet"
|
|
64
|
+
),
|
|
65
|
+
"LastChargeType": fields.Int(
|
|
66
|
+
required=False, load_from="LastChargeType"
|
|
67
|
+
),
|
|
68
|
+
"MaxDomainNum": fields.Int(required=False, load_from="MaxDomainNum"),
|
|
69
|
+
"TotalCount": fields.Int(required=False, load_from="TotalCount"),
|
|
70
|
+
"Vip": fields.Str(required=False, load_from="Vip"),
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
"""
|
|
75
|
+
API: BatchRefreshNewUcdnDomainCache
|
|
76
|
+
|
|
77
|
+
批量刷新缓存
|
|
78
|
+
"""
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
class BatchRefreshNewUcdnDomainCacheRequestSchema(schema.RequestSchema):
|
|
82
|
+
"""BatchRefreshNewUcdnDomainCache - 批量刷新缓存"""
|
|
83
|
+
|
|
84
|
+
fields = {
|
|
85
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
86
|
+
"Type": fields.Str(required=True, dump_to="Type"),
|
|
87
|
+
"UrlList": fields.Str(required=True, dump_to="UrlList"),
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
class BatchRefreshNewUcdnDomainCacheResponseSchema(schema.ResponseSchema):
|
|
92
|
+
"""BatchRefreshNewUcdnDomainCache - 批量刷新缓存"""
|
|
93
|
+
|
|
94
|
+
fields = {
|
|
95
|
+
"TaskId": fields.Str(required=False, load_from="TaskId"),
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
"""
|
|
100
|
+
API: ControlUcdnDomainCacheAccess
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
class ControlUcdnDomainCacheAccessRequestSchema(schema.RequestSchema):
|
|
107
|
+
"""ControlUcdnDomainCacheAccess -"""
|
|
108
|
+
|
|
109
|
+
fields = {
|
|
110
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
111
|
+
"Type": fields.Str(required=True, dump_to="Type"),
|
|
112
|
+
"UrlList": fields.List(fields.Str()),
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
class ControlUcdnDomainCacheAccessResponseSchema(schema.ResponseSchema):
|
|
117
|
+
"""ControlUcdnDomainCacheAccess -"""
|
|
118
|
+
|
|
119
|
+
fields = {}
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
"""
|
|
123
|
+
API: DeleteCertificate
|
|
124
|
+
|
|
125
|
+
删除证书
|
|
126
|
+
"""
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
class DeleteCertificateRequestSchema(schema.RequestSchema):
|
|
130
|
+
"""DeleteCertificate - 删除证书"""
|
|
131
|
+
|
|
132
|
+
fields = {
|
|
133
|
+
"CertName": fields.Str(required=True, dump_to="CertName"),
|
|
134
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
class DeleteCertificateResponseSchema(schema.ResponseSchema):
|
|
139
|
+
"""DeleteCertificate - 删除证书"""
|
|
140
|
+
|
|
141
|
+
fields = {}
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
"""
|
|
145
|
+
API: DescribeNewUcdnPrefetchCacheTask
|
|
146
|
+
|
|
147
|
+
获取预取任务状态
|
|
148
|
+
"""
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
class DescribeNewUcdnPrefetchCacheTaskRequestSchema(schema.RequestSchema):
|
|
152
|
+
"""DescribeNewUcdnPrefetchCacheTask - 获取预取任务状态"""
|
|
153
|
+
|
|
154
|
+
fields = {
|
|
155
|
+
"BeginTime": fields.Int(required=False, dump_to="BeginTime"),
|
|
156
|
+
"EndTime": fields.Int(required=False, dump_to="EndTime"),
|
|
157
|
+
"IsDcdn": fields.Bool(required=False, dump_to="IsDcdn"),
|
|
158
|
+
"Limit": fields.Int(required=False, dump_to="Limit"),
|
|
159
|
+
"Offset": fields.Int(required=False, dump_to="Offset"),
|
|
160
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
161
|
+
"Status": fields.Str(required=False, dump_to="Status"),
|
|
162
|
+
"TaskId": fields.List(fields.Str()),
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
class DescribeNewUcdnPrefetchCacheTaskResponseSchema(schema.ResponseSchema):
|
|
167
|
+
"""DescribeNewUcdnPrefetchCacheTask - 获取预取任务状态"""
|
|
168
|
+
|
|
169
|
+
fields = {
|
|
170
|
+
"TaskList": fields.List(
|
|
171
|
+
models.TaskInfoSchema(), required=False, load_from="TaskList"
|
|
172
|
+
),
|
|
173
|
+
"TotalCount": fields.Int(required=False, load_from="TotalCount"),
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
"""
|
|
178
|
+
API: DescribeNewUcdnRefreshCacheTask
|
|
179
|
+
|
|
180
|
+
获取域名刷新任务状态
|
|
181
|
+
"""
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
class DescribeNewUcdnRefreshCacheTaskRequestSchema(schema.RequestSchema):
|
|
185
|
+
"""DescribeNewUcdnRefreshCacheTask - 获取域名刷新任务状态"""
|
|
186
|
+
|
|
187
|
+
fields = {
|
|
188
|
+
"BeginTime": fields.Int(required=False, dump_to="BeginTime"),
|
|
189
|
+
"EndTime": fields.Int(required=False, dump_to="EndTime"),
|
|
190
|
+
"IsDcdn": fields.Bool(required=False, dump_to="IsDcdn"),
|
|
191
|
+
"Limit": fields.Int(required=False, dump_to="Limit"),
|
|
192
|
+
"Offset": fields.Int(required=False, dump_to="Offset"),
|
|
193
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
194
|
+
"Status": fields.Str(required=False, dump_to="Status"),
|
|
195
|
+
"TaskId": fields.List(fields.Str()),
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
class DescribeNewUcdnRefreshCacheTaskResponseSchema(schema.ResponseSchema):
|
|
200
|
+
"""DescribeNewUcdnRefreshCacheTask - 获取域名刷新任务状态"""
|
|
201
|
+
|
|
202
|
+
fields = {
|
|
203
|
+
"TaskList": fields.List(
|
|
204
|
+
models.TaskInfoSchema(), required=False, load_from="TaskList"
|
|
205
|
+
),
|
|
206
|
+
"TotalCount": fields.Int(required=False, load_from="TotalCount"),
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
"""
|
|
211
|
+
API: GetAuthConfig
|
|
212
|
+
|
|
213
|
+
接口获取鉴权信息(非标使用)
|
|
214
|
+
"""
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
class GetAuthConfigRequestSchema(schema.RequestSchema):
|
|
218
|
+
"""GetAuthConfig - 接口获取鉴权信息(非标使用)"""
|
|
219
|
+
|
|
220
|
+
fields = {
|
|
221
|
+
"Domain": fields.Str(required=False, dump_to="Domain"),
|
|
222
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
223
|
+
"Region": fields.Str(required=True, dump_to="Region"),
|
|
224
|
+
"Zone": fields.Str(required=True, dump_to="Zone"),
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
class GetAuthConfigResponseSchema(schema.ResponseSchema):
|
|
229
|
+
"""GetAuthConfig - 接口获取鉴权信息(非标使用)"""
|
|
230
|
+
|
|
231
|
+
fields = {
|
|
232
|
+
"AuthConfigs": fields.List(
|
|
233
|
+
models.KwaiDomainAuthConfigSchema(),
|
|
234
|
+
required=False,
|
|
235
|
+
load_from="AuthConfigs",
|
|
236
|
+
),
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
"""
|
|
241
|
+
API: GetCertificateV2
|
|
242
|
+
|
|
243
|
+
获取证书列表(新)
|
|
244
|
+
"""
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
class GetCertificateV2RequestSchema(schema.RequestSchema):
|
|
248
|
+
"""GetCertificateV2 - 获取证书列表(新)"""
|
|
249
|
+
|
|
250
|
+
fields = {
|
|
251
|
+
"CdnDomain": fields.Str(required=False, dump_to="CdnDomain"),
|
|
252
|
+
"Limit": fields.Int(required=False, dump_to="Limit"),
|
|
253
|
+
"Offset": fields.Int(required=False, dump_to="Offset"),
|
|
254
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
class GetCertificateV2ResponseSchema(schema.ResponseSchema):
|
|
259
|
+
"""GetCertificateV2 - 获取证书列表(新)"""
|
|
260
|
+
|
|
261
|
+
fields = {
|
|
262
|
+
"CertList": fields.List(
|
|
263
|
+
models.CertListSchema(), required=True, load_from="CertList"
|
|
264
|
+
),
|
|
265
|
+
"TotalCount": fields.Int(required=True, load_from="TotalCount"),
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
"""
|
|
270
|
+
API: GetNewUcdnDomainBandwidth
|
|
271
|
+
|
|
272
|
+
获取域名带宽数据
|
|
273
|
+
"""
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
class GetNewUcdnDomainBandwidthRequestSchema(schema.RequestSchema):
|
|
277
|
+
"""GetNewUcdnDomainBandwidth - 获取域名带宽数据"""
|
|
278
|
+
|
|
279
|
+
fields = {
|
|
280
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
281
|
+
"BeginTime": fields.Int(required=False, dump_to="BeginTime"),
|
|
282
|
+
"DomainId": fields.List(fields.Str()),
|
|
283
|
+
"EndTime": fields.Int(required=False, dump_to="EndTime"),
|
|
284
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
285
|
+
"Type": fields.Int(required=True, dump_to="Type"),
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
class GetNewUcdnDomainBandwidthResponseSchema(schema.ResponseSchema):
|
|
290
|
+
"""GetNewUcdnDomainBandwidth - 获取域名带宽数据"""
|
|
291
|
+
|
|
292
|
+
fields = {
|
|
293
|
+
"BandwidthList": fields.List(
|
|
294
|
+
models.BandwidthInfoSchema(),
|
|
295
|
+
required=False,
|
|
296
|
+
load_from="BandwidthList",
|
|
297
|
+
),
|
|
298
|
+
"Traffic": fields.Float(required=False, load_from="Traffic"),
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
"""
|
|
303
|
+
API: GetNewUcdnDomainHitRate
|
|
304
|
+
|
|
305
|
+
获取域名命中率
|
|
306
|
+
"""
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
class GetNewUcdnDomainHitRateRequestSchema(schema.RequestSchema):
|
|
310
|
+
"""GetNewUcdnDomainHitRate - 获取域名命中率"""
|
|
311
|
+
|
|
312
|
+
fields = {
|
|
313
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
314
|
+
"BeginTime": fields.Int(required=False, dump_to="BeginTime"),
|
|
315
|
+
"DomainId": fields.List(fields.Str()),
|
|
316
|
+
"EndTime": fields.Int(required=False, dump_to="EndTime"),
|
|
317
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
318
|
+
"Type": fields.Int(required=False, dump_to="Type"),
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
class GetNewUcdnDomainHitRateResponseSchema(schema.ResponseSchema):
|
|
323
|
+
"""GetNewUcdnDomainHitRate - 获取域名命中率"""
|
|
324
|
+
|
|
325
|
+
fields = {
|
|
326
|
+
"HitRateList": fields.List(
|
|
327
|
+
models.HitRateInfoSchema(), required=False, load_from="HitRateList"
|
|
328
|
+
),
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
"""
|
|
333
|
+
API: GetNewUcdnDomainHttpCode
|
|
334
|
+
|
|
335
|
+
获取域名状态码监控
|
|
336
|
+
"""
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
class GetNewUcdnDomainHttpCodeRequestSchema(schema.RequestSchema):
|
|
340
|
+
"""GetNewUcdnDomainHttpCode - 获取域名状态码监控"""
|
|
341
|
+
|
|
342
|
+
fields = {
|
|
343
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
344
|
+
"BeginTime": fields.Int(required=False, dump_to="BeginTime"),
|
|
345
|
+
"DomainId": fields.List(fields.Str()),
|
|
346
|
+
"EndTime": fields.Int(required=False, dump_to="EndTime"),
|
|
347
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
348
|
+
"Type": fields.Int(required=True, dump_to="Type"),
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
class GetNewUcdnDomainHttpCodeResponseSchema(schema.ResponseSchema):
|
|
353
|
+
"""GetNewUcdnDomainHttpCode - 获取域名状态码监控"""
|
|
354
|
+
|
|
355
|
+
fields = {
|
|
356
|
+
"HttpCodeDetail": fields.List(
|
|
357
|
+
models.HttpCodeInfoSchema(),
|
|
358
|
+
required=False,
|
|
359
|
+
load_from="HttpCodeDetail",
|
|
360
|
+
),
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
"""
|
|
365
|
+
API: GetNewUcdnDomainHttpCodeV2
|
|
366
|
+
|
|
367
|
+
获取域名详细状态码监控
|
|
368
|
+
"""
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
class GetNewUcdnDomainHttpCodeV2RequestSchema(schema.RequestSchema):
|
|
372
|
+
"""GetNewUcdnDomainHttpCodeV2 - 获取域名详细状态码监控"""
|
|
373
|
+
|
|
374
|
+
fields = {
|
|
375
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
376
|
+
"BeginTime": fields.Int(required=True, dump_to="BeginTime"),
|
|
377
|
+
"DomainId": fields.List(fields.Str()),
|
|
378
|
+
"EndTime": fields.Int(required=True, dump_to="EndTime"),
|
|
379
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
380
|
+
"Type": fields.Int(required=True, dump_to="Type"),
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
class GetNewUcdnDomainHttpCodeV2ResponseSchema(schema.ResponseSchema):
|
|
385
|
+
"""GetNewUcdnDomainHttpCodeV2 - 获取域名详细状态码监控"""
|
|
386
|
+
|
|
387
|
+
fields = {
|
|
388
|
+
"HttpCodeV2Detail": fields.List(
|
|
389
|
+
models.HttpCodeV2DetailSchema(),
|
|
390
|
+
required=False,
|
|
391
|
+
load_from="HttpCodeV2Detail",
|
|
392
|
+
),
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
"""
|
|
397
|
+
API: GetNewUcdnDomainRequestNum
|
|
398
|
+
|
|
399
|
+
获取域名请求数
|
|
400
|
+
"""
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
class GetNewUcdnDomainRequestNumRequestSchema(schema.RequestSchema):
|
|
404
|
+
"""GetNewUcdnDomainRequestNum - 获取域名请求数"""
|
|
405
|
+
|
|
406
|
+
fields = {
|
|
407
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
408
|
+
"BeginTime": fields.Int(required=False, dump_to="BeginTime"),
|
|
409
|
+
"DomainId": fields.List(fields.Str()),
|
|
410
|
+
"EndTime": fields.Int(required=False, dump_to="EndTime"),
|
|
411
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
412
|
+
"Type": fields.Int(required=True, dump_to="Type"),
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
class GetNewUcdnDomainRequestNumResponseSchema(schema.ResponseSchema):
|
|
417
|
+
"""GetNewUcdnDomainRequestNum - 获取域名请求数"""
|
|
418
|
+
|
|
419
|
+
fields = {
|
|
420
|
+
"RequestList": fields.List(
|
|
421
|
+
models.RequestInfoSchema(), required=False, load_from="RequestList"
|
|
422
|
+
),
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
"""
|
|
427
|
+
API: GetNewUcdnLogClientIpStatistics
|
|
428
|
+
|
|
429
|
+
获取日志客户端ip统计
|
|
430
|
+
"""
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
class GetNewUcdnLogClientIpStatisticsRequestSchema(schema.RequestSchema):
|
|
434
|
+
"""GetNewUcdnLogClientIpStatistics - 获取日志客户端ip统计"""
|
|
435
|
+
|
|
436
|
+
fields = {
|
|
437
|
+
"BeginTime": fields.Int(required=False, dump_to="BeginTime"),
|
|
438
|
+
"DomainId": fields.Str(required=True, dump_to="DomainId"),
|
|
439
|
+
"Limit": fields.Str(required=False, dump_to="Limit"),
|
|
440
|
+
"OrderBy": fields.Int(required=False, dump_to="OrderBy"),
|
|
441
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
442
|
+
"Type": fields.Int(required=False, dump_to="Type"),
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
class GetNewUcdnLogClientIpStatisticsResponseSchema(schema.ResponseSchema):
|
|
447
|
+
"""GetNewUcdnLogClientIpStatistics - 获取日志客户端ip统计"""
|
|
448
|
+
|
|
449
|
+
fields = {
|
|
450
|
+
"Action": fields.Str(required=True, load_from="Action"),
|
|
451
|
+
"ClientIpStatisticsList": fields.List(
|
|
452
|
+
models.ClientIpStatisticsListSchema(),
|
|
453
|
+
required=False,
|
|
454
|
+
load_from="ClientIpStatisticsList",
|
|
455
|
+
),
|
|
456
|
+
"RetCode": fields.Int(required=True, load_from="RetCode"),
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
"""
|
|
461
|
+
API: GetNewUcdnLogRefererStatistics
|
|
462
|
+
|
|
463
|
+
获取热点referer统计
|
|
464
|
+
"""
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
class GetNewUcdnLogRefererStatisticsRequestSchema(schema.RequestSchema):
|
|
468
|
+
"""GetNewUcdnLogRefererStatistics - 获取热点referer统计"""
|
|
469
|
+
|
|
470
|
+
fields = {
|
|
471
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
472
|
+
"BeginTime": fields.Int(required=False, dump_to="BeginTime"),
|
|
473
|
+
"DomainId": fields.Str(required=False, dump_to="DomainId"),
|
|
474
|
+
"EndTime": fields.Int(required=False, dump_to="EndTime"),
|
|
475
|
+
"Limit": fields.Int(required=False, dump_to="Limit"),
|
|
476
|
+
"OrderBy": fields.Int(required=False, dump_to="OrderBy"),
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
class GetNewUcdnLogRefererStatisticsResponseSchema(schema.ResponseSchema):
|
|
481
|
+
"""GetNewUcdnLogRefererStatistics - 获取热点referer统计"""
|
|
482
|
+
|
|
483
|
+
fields = {
|
|
484
|
+
"RefererStatistics": fields.List(
|
|
485
|
+
models.RefererStatisticsSchema(),
|
|
486
|
+
required=False,
|
|
487
|
+
load_from="RefererStatistics",
|
|
488
|
+
),
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
"""
|
|
493
|
+
API: GetNewUcdnLogUrlStatistics
|
|
494
|
+
|
|
495
|
+
获取日志url统计
|
|
496
|
+
"""
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
class GetNewUcdnLogUrlStatisticsRequestSchema(schema.RequestSchema):
|
|
500
|
+
"""GetNewUcdnLogUrlStatistics - 获取日志url统计"""
|
|
501
|
+
|
|
502
|
+
fields = {
|
|
503
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
504
|
+
"BeginTime": fields.Int(required=False, dump_to="BeginTime"),
|
|
505
|
+
"DomainId": fields.Str(required=True, dump_to="DomainId"),
|
|
506
|
+
"EndTime": fields.Int(required=False, dump_to="EndTime"),
|
|
507
|
+
"Limit": fields.Int(required=False, dump_to="Limit"),
|
|
508
|
+
"OrderBy": fields.Int(required=False, dump_to="OrderBy"),
|
|
509
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
class GetNewUcdnLogUrlStatisticsResponseSchema(schema.ResponseSchema):
|
|
514
|
+
"""GetNewUcdnLogUrlStatistics - 获取日志url统计"""
|
|
515
|
+
|
|
516
|
+
fields = {
|
|
517
|
+
"UrlStatisticsList": fields.List(
|
|
518
|
+
models.UrlStatisticsSchema(),
|
|
519
|
+
required=False,
|
|
520
|
+
load_from="UrlStatisticsList",
|
|
521
|
+
),
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
"""
|
|
526
|
+
API: GetUcdnDomain95BandwidthV2
|
|
527
|
+
|
|
528
|
+
获取域名九五峰值带宽数据
|
|
529
|
+
"""
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
class GetUcdnDomain95BandwidthV2RequestSchema(schema.RequestSchema):
|
|
533
|
+
"""GetUcdnDomain95BandwidthV2 - 获取域名九五峰值带宽数据"""
|
|
534
|
+
|
|
535
|
+
fields = {
|
|
536
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
537
|
+
"BeginTime": fields.Int(required=True, dump_to="BeginTime"),
|
|
538
|
+
"DomainId": fields.List(fields.Str()),
|
|
539
|
+
"EndTime": fields.Int(required=True, dump_to="EndTime"),
|
|
540
|
+
"IsDcdn": fields.Bool(required=False, dump_to="IsDcdn"),
|
|
541
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
class GetUcdnDomain95BandwidthV2ResponseSchema(schema.ResponseSchema):
|
|
546
|
+
"""GetUcdnDomain95BandwidthV2 - 获取域名九五峰值带宽数据"""
|
|
547
|
+
|
|
548
|
+
fields = {
|
|
549
|
+
"CdnBandwidth": fields.Float(required=False, load_from="CdnBandwidth"),
|
|
550
|
+
"Time": fields.Int(required=True, load_from="Time"),
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
"""
|
|
555
|
+
API: GetUcdnDomainBandwidthByIpProtocol
|
|
556
|
+
|
|
557
|
+
获取域名带宽数据按ip协议(新)
|
|
558
|
+
"""
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
class GetUcdnDomainBandwidthByIpProtocolRequestSchema(schema.RequestSchema):
|
|
562
|
+
"""GetUcdnDomainBandwidthByIpProtocol - 获取域名带宽数据按ip协议(新)"""
|
|
563
|
+
|
|
564
|
+
fields = {
|
|
565
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
566
|
+
"BeginTime": fields.Int(required=False, dump_to="BeginTime"),
|
|
567
|
+
"DomainId": fields.List(fields.Str()),
|
|
568
|
+
"EndTime": fields.Int(required=False, dump_to="EndTime"),
|
|
569
|
+
"IpProtocol": fields.Str(required=True, dump_to="IpProtocol"),
|
|
570
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
571
|
+
"Type": fields.Int(required=True, dump_to="Type"),
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
class GetUcdnDomainBandwidthByIpProtocolResponseSchema(schema.ResponseSchema):
|
|
576
|
+
"""GetUcdnDomainBandwidthByIpProtocol - 获取域名带宽数据按ip协议(新)"""
|
|
577
|
+
|
|
578
|
+
fields = {
|
|
579
|
+
"BandwidthTrafficList": fields.List(
|
|
580
|
+
models.BandwidthTrafficInfoSchema(),
|
|
581
|
+
required=False,
|
|
582
|
+
load_from="BandwidthTrafficList",
|
|
583
|
+
),
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
"""
|
|
588
|
+
API: GetUcdnDomainBandwidthV2
|
|
589
|
+
|
|
590
|
+
获取域名带宽数据(新)
|
|
591
|
+
"""
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
class GetUcdnDomainBandwidthV2RequestSchema(schema.RequestSchema):
|
|
595
|
+
"""GetUcdnDomainBandwidthV2 - 获取域名带宽数据(新)"""
|
|
596
|
+
|
|
597
|
+
fields = {
|
|
598
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
599
|
+
"BeginTime": fields.Int(required=False, dump_to="BeginTime"),
|
|
600
|
+
"DomainId": fields.List(fields.Str()),
|
|
601
|
+
"EndTime": fields.Int(required=False, dump_to="EndTime"),
|
|
602
|
+
"IsDcdn": fields.Bool(required=False, dump_to="IsDcdn"),
|
|
603
|
+
"Primeval": fields.Int(required=False, dump_to="Primeval"),
|
|
604
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
605
|
+
"Protocol": fields.Str(required=False, dump_to="Protocol"),
|
|
606
|
+
"Type": fields.Int(required=False, dump_to="Type"),
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
class GetUcdnDomainBandwidthV2ResponseSchema(schema.ResponseSchema):
|
|
611
|
+
"""GetUcdnDomainBandwidthV2 - 获取域名带宽数据(新)"""
|
|
612
|
+
|
|
613
|
+
fields = {
|
|
614
|
+
"BandwidthTrafficList": fields.List(
|
|
615
|
+
models.BandwidthTrafficInfoSchema(),
|
|
616
|
+
required=False,
|
|
617
|
+
load_from="BandwidthTrafficList",
|
|
618
|
+
),
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
"""
|
|
623
|
+
API: GetUcdnDomainConfig
|
|
624
|
+
|
|
625
|
+
批量获取加速域名配置
|
|
626
|
+
"""
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
class GetUcdnDomainConfigRequestSchema(schema.RequestSchema):
|
|
630
|
+
"""GetUcdnDomainConfig - 批量获取加速域名配置"""
|
|
631
|
+
|
|
632
|
+
fields = {
|
|
633
|
+
"ChannelType": fields.Str(required=False, dump_to="ChannelType"),
|
|
634
|
+
"Domain": fields.List(fields.Str()),
|
|
635
|
+
"DomainId": fields.List(fields.Str()),
|
|
636
|
+
"IsDcdn": fields.Bool(required=False, dump_to="IsDcdn"),
|
|
637
|
+
"Limit": fields.Int(required=False, dump_to="Limit"),
|
|
638
|
+
"Offset": fields.Int(required=False, dump_to="Offset"),
|
|
639
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
class GetUcdnDomainConfigResponseSchema(schema.ResponseSchema):
|
|
644
|
+
"""GetUcdnDomainConfig - 批量获取加速域名配置"""
|
|
645
|
+
|
|
646
|
+
fields = {
|
|
647
|
+
"DomainList": fields.List(
|
|
648
|
+
models.DomainConfigInfoSchema(),
|
|
649
|
+
required=True,
|
|
650
|
+
load_from="DomainList",
|
|
651
|
+
),
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
"""
|
|
656
|
+
API: GetUcdnDomainHitRate
|
|
657
|
+
|
|
658
|
+
获取域名命中率
|
|
659
|
+
"""
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
class GetUcdnDomainHitRateRequestSchema(schema.RequestSchema):
|
|
663
|
+
"""GetUcdnDomainHitRate - 获取域名命中率"""
|
|
664
|
+
|
|
665
|
+
fields = {
|
|
666
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
667
|
+
"BeginTime": fields.Int(required=False, dump_to="BeginTime"),
|
|
668
|
+
"DomainId": fields.List(fields.Str()),
|
|
669
|
+
"EndTime": fields.Int(required=False, dump_to="EndTime"),
|
|
670
|
+
"HitType": fields.Int(required=False, dump_to="HitType"),
|
|
671
|
+
"IsDcdn": fields.Bool(required=False, dump_to="IsDcdn"),
|
|
672
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
673
|
+
"Type": fields.Int(required=True, dump_to="Type"),
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
class GetUcdnDomainHitRateResponseSchema(schema.ResponseSchema):
|
|
678
|
+
"""GetUcdnDomainHitRate - 获取域名命中率"""
|
|
679
|
+
|
|
680
|
+
fields = {
|
|
681
|
+
"HitRateList": fields.List(
|
|
682
|
+
models.HitRateInfoV2Schema(),
|
|
683
|
+
required=False,
|
|
684
|
+
load_from="HitRateList",
|
|
685
|
+
),
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
"""
|
|
690
|
+
API: GetUcdnDomainHttpCodeV2
|
|
691
|
+
|
|
692
|
+
获取域名状态码信息
|
|
693
|
+
"""
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
class GetUcdnDomainHttpCodeV2RequestSchema(schema.RequestSchema):
|
|
697
|
+
"""GetUcdnDomainHttpCodeV2 - 获取域名状态码信息"""
|
|
698
|
+
|
|
699
|
+
fields = {
|
|
700
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
701
|
+
"BeginTime": fields.Int(required=False, dump_to="BeginTime"),
|
|
702
|
+
"DomainId": fields.List(fields.Str()),
|
|
703
|
+
"EndTime": fields.Int(required=False, dump_to="EndTime"),
|
|
704
|
+
"IsDcdn": fields.Bool(required=False, dump_to="IsDcdn"),
|
|
705
|
+
"Layer": fields.Str(required=False, dump_to="Layer"),
|
|
706
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
707
|
+
"Type": fields.Int(required=True, dump_to="Type"),
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
class GetUcdnDomainHttpCodeV2ResponseSchema(schema.ResponseSchema):
|
|
712
|
+
"""GetUcdnDomainHttpCodeV2 - 获取域名状态码信息"""
|
|
713
|
+
|
|
714
|
+
fields = {
|
|
715
|
+
"HttpCodeDetail": fields.List(
|
|
716
|
+
models.HttpCodeInfoV2Schema(),
|
|
717
|
+
required=False,
|
|
718
|
+
load_from="HttpCodeDetail",
|
|
719
|
+
),
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
"""
|
|
724
|
+
API: GetUcdnDomainInfoList
|
|
725
|
+
|
|
726
|
+
获取域名基本信息
|
|
727
|
+
"""
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
class GetUcdnDomainInfoListRequestSchema(schema.RequestSchema):
|
|
731
|
+
"""GetUcdnDomainInfoList - 获取域名基本信息"""
|
|
732
|
+
|
|
733
|
+
fields = {
|
|
734
|
+
"PageIndex": fields.Int(required=False, dump_to="PageIndex"),
|
|
735
|
+
"PageSize": fields.Int(required=False, dump_to="PageSize"),
|
|
736
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
737
|
+
"QueryByProject": fields.Bool(required=False, dump_to="QueryByProject"),
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
class GetUcdnDomainInfoListResponseSchema(schema.ResponseSchema):
|
|
742
|
+
"""GetUcdnDomainInfoList - 获取域名基本信息"""
|
|
743
|
+
|
|
744
|
+
fields = {
|
|
745
|
+
"DomainInfoList": fields.List(
|
|
746
|
+
models.DomainBaseInfoSchema(),
|
|
747
|
+
required=True,
|
|
748
|
+
load_from="DomainInfoList",
|
|
749
|
+
),
|
|
750
|
+
"TotalCount": fields.Int(required=True, load_from="TotalCount"),
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
"""
|
|
755
|
+
API: GetUcdnDomainLog
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
"""
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
class GetUcdnDomainLogRequestSchema(schema.RequestSchema):
|
|
762
|
+
"""GetUcdnDomainLog -"""
|
|
763
|
+
|
|
764
|
+
fields = {
|
|
765
|
+
"BeginTime": fields.Int(required=False, dump_to="BeginTime"),
|
|
766
|
+
"DomainId": fields.List(fields.Str()),
|
|
767
|
+
"EndTime": fields.Int(required=False, dump_to="EndTime"),
|
|
768
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
769
|
+
"Type": fields.Int(required=False, dump_to="Type"),
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
class GetUcdnDomainLogResponseSchema(schema.ResponseSchema):
|
|
774
|
+
"""GetUcdnDomainLog -"""
|
|
775
|
+
|
|
776
|
+
fields = {
|
|
777
|
+
"LogSet": fields.List(
|
|
778
|
+
models.LogSetListSchema(), required=False, load_from="LogSet"
|
|
779
|
+
),
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
"""
|
|
784
|
+
API: GetUcdnDomainLogV2
|
|
785
|
+
|
|
786
|
+
获取域名5分钟日志
|
|
787
|
+
"""
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
class GetUcdnDomainLogV2RequestSchema(schema.RequestSchema):
|
|
791
|
+
"""GetUcdnDomainLogV2 - 获取域名5分钟日志"""
|
|
792
|
+
|
|
793
|
+
fields = {
|
|
794
|
+
"BeginTime": fields.Int(required=True, dump_to="BeginTime"),
|
|
795
|
+
"DomainId": fields.List(fields.Str()),
|
|
796
|
+
"EndTime": fields.Int(required=True, dump_to="EndTime"),
|
|
797
|
+
"IsDcdn": fields.Bool(required=False, dump_to="IsDcdn"),
|
|
798
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
class GetUcdnDomainLogV2ResponseSchema(schema.ResponseSchema):
|
|
803
|
+
"""GetUcdnDomainLogV2 - 获取域名5分钟日志"""
|
|
804
|
+
|
|
805
|
+
fields = {
|
|
806
|
+
"DomainLogSet": fields.List(
|
|
807
|
+
models.DomanLogListSchema(), required=True, load_from="DomainLogSet"
|
|
808
|
+
),
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
"""
|
|
813
|
+
API: GetUcdnDomainOriginHttpCode
|
|
814
|
+
|
|
815
|
+
|
|
816
|
+
"""
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
class GetUcdnDomainOriginHttpCodeRequestSchema(schema.RequestSchema):
|
|
820
|
+
"""GetUcdnDomainOriginHttpCode -"""
|
|
821
|
+
|
|
822
|
+
fields = {
|
|
823
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
824
|
+
"BeginTime": fields.Int(required=False, dump_to="BeginTime"),
|
|
825
|
+
"DomainId": fields.List(fields.Str()),
|
|
826
|
+
"EndTime": fields.Int(required=False, dump_to="EndTime"),
|
|
827
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
828
|
+
"Type": fields.Int(required=True, dump_to="Type"),
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
class GetUcdnDomainOriginHttpCodeResponseSchema(schema.ResponseSchema):
|
|
833
|
+
"""GetUcdnDomainOriginHttpCode -"""
|
|
834
|
+
|
|
835
|
+
fields = {
|
|
836
|
+
"HttpCodeDetail": fields.List(
|
|
837
|
+
models.HttpCodeInfoSchema(),
|
|
838
|
+
required=False,
|
|
839
|
+
load_from="HttpCodeDetail",
|
|
840
|
+
),
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
"""
|
|
845
|
+
API: GetUcdnDomainOriginHttpCodeDetail
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
"""
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
class GetUcdnDomainOriginHttpCodeDetailRequestSchema(schema.RequestSchema):
|
|
852
|
+
"""GetUcdnDomainOriginHttpCodeDetail -"""
|
|
853
|
+
|
|
854
|
+
fields = {
|
|
855
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
856
|
+
"BeginTime": fields.Int(required=True, dump_to="BeginTime"),
|
|
857
|
+
"DomainId": fields.List(fields.Str()),
|
|
858
|
+
"EndTime": fields.Int(required=True, dump_to="EndTime"),
|
|
859
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
860
|
+
"Type": fields.Int(required=True, dump_to="Type"),
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
class GetUcdnDomainOriginHttpCodeDetailResponseSchema(schema.ResponseSchema):
|
|
865
|
+
"""GetUcdnDomainOriginHttpCodeDetail -"""
|
|
866
|
+
|
|
867
|
+
fields = {
|
|
868
|
+
"HttpCodeV2Detail": fields.List(
|
|
869
|
+
models.HttpCodeV2DetailSchema(),
|
|
870
|
+
required=False,
|
|
871
|
+
load_from="HttpCodeV2Detail",
|
|
872
|
+
),
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
"""
|
|
877
|
+
API: GetUcdnDomainOriginRequestNum
|
|
878
|
+
|
|
879
|
+
获取域名回源请求数
|
|
880
|
+
"""
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
class GetUcdnDomainOriginRequestNumRequestSchema(schema.RequestSchema):
|
|
884
|
+
"""GetUcdnDomainOriginRequestNum - 获取域名回源请求数"""
|
|
885
|
+
|
|
886
|
+
fields = {
|
|
887
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
888
|
+
"BeginTime": fields.Int(required=True, dump_to="BeginTime"),
|
|
889
|
+
"DomainId": fields.List(fields.Str()),
|
|
890
|
+
"EndTime": fields.Int(required=True, dump_to="EndTime"),
|
|
891
|
+
"IsDcdn": fields.Bool(required=False, dump_to="IsDcdn"),
|
|
892
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
893
|
+
"Type": fields.Int(required=True, dump_to="Type"),
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
class GetUcdnDomainOriginRequestNumResponseSchema(schema.ResponseSchema):
|
|
898
|
+
"""GetUcdnDomainOriginRequestNum - 获取域名回源请求数"""
|
|
899
|
+
|
|
900
|
+
fields = {
|
|
901
|
+
"RequestList": fields.List(
|
|
902
|
+
models.RequestInfoV2Schema(),
|
|
903
|
+
required=False,
|
|
904
|
+
load_from="RequestList",
|
|
905
|
+
),
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
"""
|
|
910
|
+
API: GetUcdnDomainPrefetchEnable
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
"""
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
class GetUcdnDomainPrefetchEnableRequestSchema(schema.RequestSchema):
|
|
917
|
+
"""GetUcdnDomainPrefetchEnable -"""
|
|
918
|
+
|
|
919
|
+
fields = {
|
|
920
|
+
"DomainId": fields.Str(required=True, dump_to="DomainId"),
|
|
921
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
class GetUcdnDomainPrefetchEnableResponseSchema(schema.ResponseSchema):
|
|
926
|
+
"""GetUcdnDomainPrefetchEnable -"""
|
|
927
|
+
|
|
928
|
+
fields = {
|
|
929
|
+
"Enable": fields.Int(required=False, load_from="Enable"),
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
"""
|
|
934
|
+
API: GetUcdnDomainPrefetchRefreshState
|
|
935
|
+
|
|
936
|
+
获取域名预取刷新配额信息
|
|
937
|
+
"""
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
class GetUcdnDomainPrefetchRefreshStateRequestSchema(schema.RequestSchema):
|
|
941
|
+
"""GetUcdnDomainPrefetchRefreshState - 获取域名预取刷新配额信息"""
|
|
942
|
+
|
|
943
|
+
fields = {
|
|
944
|
+
"DomainId": fields.Str(required=True, dump_to="DomainId"),
|
|
945
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
|
|
949
|
+
class GetUcdnDomainPrefetchRefreshStateResponseSchema(schema.ResponseSchema):
|
|
950
|
+
"""GetUcdnDomainPrefetchRefreshState - 获取域名预取刷新配额信息"""
|
|
951
|
+
|
|
952
|
+
fields = {
|
|
953
|
+
"PrefetchQuota": fields.Int(required=False, load_from="PrefetchQuota"),
|
|
954
|
+
"RefreshDirQuota": fields.Int(
|
|
955
|
+
required=False, load_from="RefreshDirQuota"
|
|
956
|
+
),
|
|
957
|
+
"RefreshFileQuota": fields.Int(
|
|
958
|
+
required=False, load_from="RefreshFileQuota"
|
|
959
|
+
),
|
|
960
|
+
"SubmitPrefetchCount": fields.Int(
|
|
961
|
+
required=False, load_from="SubmitPrefetchCount"
|
|
962
|
+
),
|
|
963
|
+
"SubmitRefreshDir": fields.Int(
|
|
964
|
+
required=False, load_from="SubmitRefreshDir"
|
|
965
|
+
),
|
|
966
|
+
"SubmitRefreshFile": fields.Int(
|
|
967
|
+
required=False, load_from="SubmitRefreshFile"
|
|
968
|
+
),
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
"""
|
|
973
|
+
API: GetUcdnDomainRequestNumV2
|
|
974
|
+
|
|
975
|
+
获取域名请求数
|
|
976
|
+
"""
|
|
977
|
+
|
|
978
|
+
|
|
979
|
+
class GetUcdnDomainRequestNumV2RequestSchema(schema.RequestSchema):
|
|
980
|
+
"""GetUcdnDomainRequestNumV2 - 获取域名请求数"""
|
|
981
|
+
|
|
982
|
+
fields = {
|
|
983
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
984
|
+
"BeginTime": fields.Int(required=True, dump_to="BeginTime"),
|
|
985
|
+
"DomainId": fields.List(fields.Str()),
|
|
986
|
+
"EndTime": fields.Int(required=True, dump_to="EndTime"),
|
|
987
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
988
|
+
"Type": fields.Int(required=True, dump_to="Type"),
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
class GetUcdnDomainRequestNumV2ResponseSchema(schema.ResponseSchema):
|
|
993
|
+
"""GetUcdnDomainRequestNumV2 - 获取域名请求数"""
|
|
994
|
+
|
|
995
|
+
fields = {
|
|
996
|
+
"RequestList": fields.List(
|
|
997
|
+
models.RequestInfoSchema(), required=False, load_from="RequestList"
|
|
998
|
+
),
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
|
|
1002
|
+
"""
|
|
1003
|
+
API: GetUcdnDomainRequestNumV3
|
|
1004
|
+
|
|
1005
|
+
获取域名请求数
|
|
1006
|
+
"""
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
class GetUcdnDomainRequestNumV3RequestSchema(schema.RequestSchema):
|
|
1010
|
+
"""GetUcdnDomainRequestNumV3 - 获取域名请求数"""
|
|
1011
|
+
|
|
1012
|
+
fields = {
|
|
1013
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
1014
|
+
"BeginTime": fields.Int(required=True, dump_to="BeginTime"),
|
|
1015
|
+
"DomainId": fields.List(fields.Str()),
|
|
1016
|
+
"EndTime": fields.Int(required=True, dump_to="EndTime"),
|
|
1017
|
+
"IsDcdn": fields.Bool(required=False, dump_to="IsDcdn"),
|
|
1018
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
1019
|
+
"Protocol": fields.Str(required=False, dump_to="Protocol"),
|
|
1020
|
+
"Type": fields.Int(required=True, dump_to="Type"),
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
class GetUcdnDomainRequestNumV3ResponseSchema(schema.ResponseSchema):
|
|
1025
|
+
"""GetUcdnDomainRequestNumV3 - 获取域名请求数"""
|
|
1026
|
+
|
|
1027
|
+
fields = {
|
|
1028
|
+
"RequestList": fields.List(
|
|
1029
|
+
models.RequestInfoV2Schema(),
|
|
1030
|
+
required=False,
|
|
1031
|
+
load_from="RequestList",
|
|
1032
|
+
),
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
|
|
1036
|
+
"""
|
|
1037
|
+
API: GetUcdnDomainTraffic
|
|
1038
|
+
|
|
1039
|
+
获取加速域名流量使用信息
|
|
1040
|
+
"""
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
class GetUcdnDomainTrafficRequestSchema(schema.RequestSchema):
|
|
1044
|
+
"""GetUcdnDomainTraffic - 获取加速域名流量使用信息"""
|
|
1045
|
+
|
|
1046
|
+
fields = {
|
|
1047
|
+
"AccountType": fields.Str(required=False, dump_to="AccountType"),
|
|
1048
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
1049
|
+
"BeginTime": fields.Int(required=False, dump_to="BeginTime"),
|
|
1050
|
+
"DomainId": fields.List(fields.Str()),
|
|
1051
|
+
"EndTime": fields.Int(required=False, dump_to="EndTime"),
|
|
1052
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
class GetUcdnDomainTrafficResponseSchema(schema.ResponseSchema):
|
|
1057
|
+
"""GetUcdnDomainTraffic - 获取加速域名流量使用信息"""
|
|
1058
|
+
|
|
1059
|
+
fields = {
|
|
1060
|
+
"TrafficSet": fields.List(
|
|
1061
|
+
models.UcdnDomainTrafficSetSchema(),
|
|
1062
|
+
required=False,
|
|
1063
|
+
load_from="TrafficSet",
|
|
1064
|
+
),
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
"""
|
|
1069
|
+
API: GetUcdnPassBandwidth
|
|
1070
|
+
|
|
1071
|
+
获取回源带宽数据(cdn回客户源站部分)
|
|
1072
|
+
"""
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
class GetUcdnPassBandwidthRequestSchema(schema.RequestSchema):
|
|
1076
|
+
"""GetUcdnPassBandwidth - 获取回源带宽数据(cdn回客户源站部分)"""
|
|
1077
|
+
|
|
1078
|
+
fields = {
|
|
1079
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
1080
|
+
"BeginTime": fields.Int(required=False, dump_to="BeginTime"),
|
|
1081
|
+
"DomainId": fields.List(fields.Str()),
|
|
1082
|
+
"EndTime": fields.Int(required=False, dump_to="EndTime"),
|
|
1083
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
1084
|
+
"Type": fields.Int(required=True, dump_to="Type"),
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
class GetUcdnPassBandwidthResponseSchema(schema.ResponseSchema):
|
|
1089
|
+
"""GetUcdnPassBandwidth - 获取回源带宽数据(cdn回客户源站部分)"""
|
|
1090
|
+
|
|
1091
|
+
fields = {
|
|
1092
|
+
"BandwidthDetail": fields.List(
|
|
1093
|
+
models.BandwidthInfoDetailSchema(),
|
|
1094
|
+
required=False,
|
|
1095
|
+
load_from="BandwidthDetail",
|
|
1096
|
+
),
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
"""
|
|
1101
|
+
API: GetUcdnPassBandwidthV2
|
|
1102
|
+
|
|
1103
|
+
获取回源带宽数据(cdn回客户源站部分)
|
|
1104
|
+
"""
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
class GetUcdnPassBandwidthV2RequestSchema(schema.RequestSchema):
|
|
1108
|
+
"""GetUcdnPassBandwidthV2 - 获取回源带宽数据(cdn回客户源站部分)"""
|
|
1109
|
+
|
|
1110
|
+
fields = {
|
|
1111
|
+
"Areacode": fields.Str(required=False, dump_to="Areacode"),
|
|
1112
|
+
"BeginTime": fields.Int(required=False, dump_to="BeginTime"),
|
|
1113
|
+
"DomainId": fields.List(fields.Str()),
|
|
1114
|
+
"EndTime": fields.Int(required=False, dump_to="EndTime"),
|
|
1115
|
+
"IsDcdn": fields.Bool(required=False, dump_to="IsDcdn"),
|
|
1116
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
1117
|
+
"Type": fields.Int(required=True, dump_to="Type"),
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
|
|
1121
|
+
class GetUcdnPassBandwidthV2ResponseSchema(schema.ResponseSchema):
|
|
1122
|
+
"""GetUcdnPassBandwidthV2 - 获取回源带宽数据(cdn回客户源站部分)"""
|
|
1123
|
+
|
|
1124
|
+
fields = {
|
|
1125
|
+
"BandwidthList": fields.List(
|
|
1126
|
+
models.BandwidthInfoDetailSchema(),
|
|
1127
|
+
required=False,
|
|
1128
|
+
load_from="BandwidthList",
|
|
1129
|
+
),
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
"""
|
|
1134
|
+
API: GetUcdnProIspBandwidthV2
|
|
1135
|
+
|
|
1136
|
+
按省份运营商获取域名带宽数据
|
|
1137
|
+
"""
|
|
1138
|
+
|
|
1139
|
+
|
|
1140
|
+
class GetUcdnProIspBandwidthV2RequestSchema(schema.RequestSchema):
|
|
1141
|
+
"""GetUcdnProIspBandwidthV2 - 按省份运营商获取域名带宽数据"""
|
|
1142
|
+
|
|
1143
|
+
fields = {
|
|
1144
|
+
"BeginTime": fields.Int(required=True, dump_to="BeginTime"),
|
|
1145
|
+
"DomainId": fields.List(fields.Str()),
|
|
1146
|
+
"EndTime": fields.Int(required=True, dump_to="EndTime"),
|
|
1147
|
+
"Isp": fields.Str(required=False, dump_to="Isp"),
|
|
1148
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
1149
|
+
"Province": fields.List(fields.Str()),
|
|
1150
|
+
"Type": fields.Int(required=True, dump_to="Type"),
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
|
|
1154
|
+
class GetUcdnProIspBandwidthV2ResponseSchema(schema.ResponseSchema):
|
|
1155
|
+
"""GetUcdnProIspBandwidthV2 - 按省份运营商获取域名带宽数据"""
|
|
1156
|
+
|
|
1157
|
+
fields = {
|
|
1158
|
+
"BandwidthSet": fields.List(
|
|
1159
|
+
models.ProIspBandwidthSetSchema(),
|
|
1160
|
+
required=True,
|
|
1161
|
+
load_from="BandwidthSet",
|
|
1162
|
+
),
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
|
|
1166
|
+
"""
|
|
1167
|
+
API: GetUcdnProIspRequestNumV2
|
|
1168
|
+
|
|
1169
|
+
按省份运营商获取域名请求数
|
|
1170
|
+
"""
|
|
1171
|
+
|
|
1172
|
+
|
|
1173
|
+
class GetUcdnProIspRequestNumV2RequestSchema(schema.RequestSchema):
|
|
1174
|
+
"""GetUcdnProIspRequestNumV2 - 按省份运营商获取域名请求数"""
|
|
1175
|
+
|
|
1176
|
+
fields = {
|
|
1177
|
+
"BeginTime": fields.Int(required=True, dump_to="BeginTime"),
|
|
1178
|
+
"DomainId": fields.List(fields.Str()),
|
|
1179
|
+
"EndTime": fields.Int(required=True, dump_to="EndTime"),
|
|
1180
|
+
"Isp": fields.Str(required=False, dump_to="Isp"),
|
|
1181
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
1182
|
+
"Province": fields.List(fields.Str()),
|
|
1183
|
+
"Type": fields.Int(required=False, dump_to="Type"),
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
|
|
1187
|
+
class GetUcdnProIspRequestNumV2ResponseSchema(schema.ResponseSchema):
|
|
1188
|
+
"""GetUcdnProIspRequestNumV2 - 按省份运营商获取域名请求数"""
|
|
1189
|
+
|
|
1190
|
+
fields = {
|
|
1191
|
+
"RequestNumSet": fields.List(
|
|
1192
|
+
models.ProIspRequestNumSetV2Schema(),
|
|
1193
|
+
required=True,
|
|
1194
|
+
load_from="RequestNumSet",
|
|
1195
|
+
),
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
|
|
1199
|
+
"""
|
|
1200
|
+
API: GetUcdnTraffic
|
|
1201
|
+
|
|
1202
|
+
获取流量信息
|
|
1203
|
+
"""
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
class GetUcdnTrafficRequestSchema(schema.RequestSchema):
|
|
1207
|
+
"""GetUcdnTraffic - 获取流量信息"""
|
|
1208
|
+
|
|
1209
|
+
fields = {
|
|
1210
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
class GetUcdnTrafficResponseSchema(schema.ResponseSchema):
|
|
1215
|
+
"""GetUcdnTraffic - 获取流量信息"""
|
|
1216
|
+
|
|
1217
|
+
fields = {
|
|
1218
|
+
"TrafficSet": fields.List(
|
|
1219
|
+
models.TrafficSetSchema(), required=False, load_from="TrafficSet"
|
|
1220
|
+
),
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
|
|
1224
|
+
"""
|
|
1225
|
+
API: GetUcdnTrafficV2
|
|
1226
|
+
|
|
1227
|
+
获取流量信息
|
|
1228
|
+
"""
|
|
1229
|
+
|
|
1230
|
+
|
|
1231
|
+
class GetUcdnTrafficV2RequestSchema(schema.RequestSchema):
|
|
1232
|
+
"""GetUcdnTrafficV2 - 获取流量信息"""
|
|
1233
|
+
|
|
1234
|
+
fields = {
|
|
1235
|
+
"IsDcdn": fields.Bool(required=False, dump_to="IsDcdn"),
|
|
1236
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
|
|
1240
|
+
class GetUcdnTrafficV2ResponseSchema(schema.ResponseSchema):
|
|
1241
|
+
"""GetUcdnTrafficV2 - 获取流量信息"""
|
|
1242
|
+
|
|
1243
|
+
fields = {
|
|
1244
|
+
"TrafficSet": fields.List(
|
|
1245
|
+
models.TrafficSetSchema(), required=False, load_from="TrafficSet"
|
|
1246
|
+
),
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
"""
|
|
1251
|
+
API: PrefetchNewUcdnDomainCache
|
|
1252
|
+
|
|
1253
|
+
提交预取任务
|
|
1254
|
+
"""
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
class PrefetchNewUcdnDomainCacheRequestSchema(schema.RequestSchema):
|
|
1258
|
+
"""PrefetchNewUcdnDomainCache - 提交预取任务"""
|
|
1259
|
+
|
|
1260
|
+
fields = {
|
|
1261
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
1262
|
+
"UrlList": fields.List(fields.Str()),
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
|
|
1266
|
+
class PrefetchNewUcdnDomainCacheResponseSchema(schema.ResponseSchema):
|
|
1267
|
+
"""PrefetchNewUcdnDomainCache - 提交预取任务"""
|
|
1268
|
+
|
|
1269
|
+
fields = {
|
|
1270
|
+
"TaskId": fields.Str(required=False, load_from="TaskId"),
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
|
|
1274
|
+
"""
|
|
1275
|
+
API: QueryIpLocation
|
|
1276
|
+
|
|
1277
|
+
查询IP信息
|
|
1278
|
+
"""
|
|
1279
|
+
|
|
1280
|
+
|
|
1281
|
+
class QueryIpLocationRequestSchema(schema.RequestSchema):
|
|
1282
|
+
"""QueryIpLocation - 查询IP信息"""
|
|
1283
|
+
|
|
1284
|
+
fields = {
|
|
1285
|
+
"Ip": fields.List(fields.Str()),
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
class QueryIpLocationResponseSchema(schema.ResponseSchema):
|
|
1290
|
+
"""QueryIpLocation - 查询IP信息"""
|
|
1291
|
+
|
|
1292
|
+
fields = {
|
|
1293
|
+
"Data": fields.List(
|
|
1294
|
+
models.IpLocationInfoSchema(), required=True, load_from="Data"
|
|
1295
|
+
),
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
|
|
1299
|
+
"""
|
|
1300
|
+
API: RefreshNewUcdnDomainCache
|
|
1301
|
+
|
|
1302
|
+
刷新缓存
|
|
1303
|
+
"""
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
class RefreshNewUcdnDomainCacheRequestSchema(schema.RequestSchema):
|
|
1307
|
+
"""RefreshNewUcdnDomainCache - 刷新缓存"""
|
|
1308
|
+
|
|
1309
|
+
fields = {
|
|
1310
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
1311
|
+
"Type": fields.Str(required=True, dump_to="Type"),
|
|
1312
|
+
"UrlList": fields.List(fields.Str()),
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
|
|
1316
|
+
class RefreshNewUcdnDomainCacheResponseSchema(schema.ResponseSchema):
|
|
1317
|
+
"""RefreshNewUcdnDomainCache - 刷新缓存"""
|
|
1318
|
+
|
|
1319
|
+
fields = {
|
|
1320
|
+
"TaskId": fields.Str(required=False, load_from="TaskId"),
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
|
|
1324
|
+
"""
|
|
1325
|
+
API: SwitchUcdnChargeType
|
|
1326
|
+
|
|
1327
|
+
切换账号计费方式
|
|
1328
|
+
"""
|
|
1329
|
+
|
|
1330
|
+
|
|
1331
|
+
class SwitchUcdnChargeTypeRequestSchema(schema.RequestSchema):
|
|
1332
|
+
"""SwitchUcdnChargeType - 切换账号计费方式"""
|
|
1333
|
+
|
|
1334
|
+
fields = {
|
|
1335
|
+
"ChargeType": fields.Str(required=True, dump_to="ChargeType"),
|
|
1336
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
|
|
1340
|
+
class SwitchUcdnChargeTypeResponseSchema(schema.ResponseSchema):
|
|
1341
|
+
"""SwitchUcdnChargeType - 切换账号计费方式"""
|
|
1342
|
+
|
|
1343
|
+
fields = {}
|
|
1344
|
+
|
|
1345
|
+
|
|
1346
|
+
"""
|
|
1347
|
+
API: UpdateUcdnDomainHttpsConfigV2
|
|
1348
|
+
|
|
1349
|
+
https加速配置,国内,国外一起配置(兼容全站加速域名)
|
|
1350
|
+
"""
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
class UpdateUcdnDomainHttpsConfigV2RequestSchema(schema.RequestSchema):
|
|
1354
|
+
"""UpdateUcdnDomainHttpsConfigV2 - https加速配置,国内,国外一起配置(兼容全站加速域名)"""
|
|
1355
|
+
|
|
1356
|
+
fields = {
|
|
1357
|
+
"CertId": fields.Int(required=False, dump_to="CertId"),
|
|
1358
|
+
"CertName": fields.Str(required=False, dump_to="CertName"),
|
|
1359
|
+
"CertType": fields.Str(required=False, dump_to="CertType"),
|
|
1360
|
+
"DomainId": fields.Str(required=True, dump_to="DomainId"),
|
|
1361
|
+
"HttpsStatusAbroad": fields.Str(
|
|
1362
|
+
required=False, dump_to="HttpsStatusAbroad"
|
|
1363
|
+
),
|
|
1364
|
+
"HttpsStatusCn": fields.Str(required=False, dump_to="HttpsStatusCn"),
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
|
|
1368
|
+
class UpdateUcdnDomainHttpsConfigV2ResponseSchema(schema.ResponseSchema):
|
|
1369
|
+
"""UpdateUcdnDomainHttpsConfigV2 - https加速配置,国内,国外一起配置(兼容全站加速域名)"""
|
|
1370
|
+
|
|
1371
|
+
fields = {}
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
"""
|
|
1375
|
+
API: UpdateUcdnDomainStatus
|
|
1376
|
+
|
|
1377
|
+
更新加速域名状态
|
|
1378
|
+
"""
|
|
1379
|
+
|
|
1380
|
+
|
|
1381
|
+
class UpdateUcdnDomainStatusRequestSchema(schema.RequestSchema):
|
|
1382
|
+
"""UpdateUcdnDomainStatus - 更新加速域名状态"""
|
|
1383
|
+
|
|
1384
|
+
fields = {
|
|
1385
|
+
"DomainId": fields.Str(required=True, dump_to="DomainId"),
|
|
1386
|
+
"IsDcdn": fields.Bool(required=False, dump_to="IsDcdn"),
|
|
1387
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
1388
|
+
"Status": fields.Str(required=True, dump_to="Status"),
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
|
|
1392
|
+
class UpdateUcdnDomainStatusResponseSchema(schema.ResponseSchema):
|
|
1393
|
+
"""UpdateUcdnDomainStatus - 更新加速域名状态"""
|
|
1394
|
+
|
|
1395
|
+
fields = {}
|