tencentcloud-sdk-python 3.0.1050__py2.py3-none-any.whl → 3.0.1051__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cdwdoris/__init__.py +0 -0
- tencentcloud/cdwdoris/v20211228/__init__.py +0 -0
- tencentcloud/cdwdoris/v20211228/cdwdoris_client.py +95 -0
- tencentcloud/cdwdoris/v20211228/errorcodes.py +18 -0
- tencentcloud/cdwdoris/v20211228/models.py +1396 -0
- tencentcloud/csip/v20221121/csip_client.py +23 -0
- tencentcloud/csip/v20221121/models.py +486 -0
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/models.py +28 -15
- tencentcloud/essbasic/v20210526/essbasic_client.py +5 -2
- tencentcloud/essbasic/v20210526/models.py +61 -44
- tencentcloud/lcic/v20220817/models.py +14 -1
- tencentcloud/monitor/v20180724/models.py +27 -18
- tencentcloud/monitor/v20180724/monitor_client.py +5 -5
- tencentcloud/privatedns/v20201028/models.py +1 -1
- tencentcloud/pts/v20210728/models.py +25 -25
- tencentcloud/ssm/v20190923/models.py +11 -5
- tencentcloud/tcr/v20190924/models.py +0 -270
- tencentcloud/tcr/v20190924/tcr_client.py +0 -25
- tencentcloud/teo/v20220901/errorcodes.py +18 -0
- tencentcloud/tke/v20180525/errorcodes.py +18 -0
- tencentcloud/tke/v20180525/models.py +189 -0
- tencentcloud/tke/v20180525/tke_client.py +46 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +4 -4
- {tencentcloud_sdk_python-3.0.1050.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1050.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/RECORD +31 -26
- {tencentcloud_sdk_python-3.0.1050.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1050.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1050.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/top_level.txt +0 -0
|
@@ -1207,7 +1207,7 @@ class DescribeSecretResponse(AbstractModel):
|
|
|
1207
1207
|
:type DeleteTime: int
|
|
1208
1208
|
:param _CreateTime: 创建日期。
|
|
1209
1209
|
:type CreateTime: int
|
|
1210
|
-
:param _SecretType: 0 -- 用户自定义凭据类型;1 -- 数据库凭据类型;2 -- SSH
|
|
1210
|
+
:param _SecretType: 0 -- 用户自定义凭据类型;1 -- 数据库凭据类型;2 -- SSH密钥对凭据类型;3 -- 云API密钥(AKSK)凭据类型(使用此功能需要联系云助手单独开启白名单);4 -- Redis类型凭据。
|
|
1211
1211
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1212
1212
|
:type SecretType: int
|
|
1213
1213
|
:param _ProductName: 云产品名称。
|
|
@@ -1438,7 +1438,12 @@ class DescribeSupportedProductsResponse(AbstractModel):
|
|
|
1438
1438
|
|
|
1439
1439
|
def __init__(self):
|
|
1440
1440
|
r"""
|
|
1441
|
-
:param _Products:
|
|
1441
|
+
:param _Products: 支持的所有云产品列表。
|
|
1442
|
+
每种云产品与凭据类型的对应关系如下:
|
|
1443
|
+
当SecretType为1时,支持的云产品列表包括:Mysql、Tdsql-mysql、Tdsql_C_Mysql;
|
|
1444
|
+
当SecretType为2时,支持的产品列表为:Cvm;
|
|
1445
|
+
当SecretType为3时,支持的产品列表为:Cam(此功能的使用需要联系云助手单独开始白名单);
|
|
1446
|
+
当SecretType为4时,支持的产品列表为:Redis。
|
|
1442
1447
|
:type Products: list of str
|
|
1443
1448
|
:param _TotalCount: 支持的产品个数
|
|
1444
1449
|
:type TotalCount: int
|
|
@@ -2117,9 +2122,10 @@ class ListSecretsRequest(AbstractModel):
|
|
|
2117
2122
|
:type SecretType: int
|
|
2118
2123
|
:param _ProductName: 此参数仅在SecretType参数值为1时生效,
|
|
2119
2124
|
当SecretType值为1时:
|
|
2120
|
-
如果ProductName
|
|
2121
|
-
如果ProductName
|
|
2122
|
-
如果ProductName
|
|
2125
|
+
如果ProductName值为空,则表示查询所有类型的云产品凭据;
|
|
2126
|
+
如果ProductName值为某个指定的云产品值如Mysql时,则表示查询Mysql数据库凭据;
|
|
2127
|
+
如果ProductName值为多个云产品值,如:Mysql,Tdsql-mysql,Tdsql_C_Mysql(多个值以英文逗号,分隔开)则表示查询三种云产品类型的凭据;
|
|
2128
|
+
支持的云产品列表请通过接口:DescribeSupportedProducts进行查询。
|
|
2123
2129
|
:type ProductName: str
|
|
2124
2130
|
"""
|
|
2125
2131
|
self._Offset = None
|
|
@@ -2866,123 +2866,6 @@ class CreateWebhookTriggerResponse(AbstractModel):
|
|
|
2866
2866
|
self._RequestId = params.get("RequestId")
|
|
2867
2867
|
|
|
2868
2868
|
|
|
2869
|
-
class CustomAccount(AbstractModel):
|
|
2870
|
-
"""自定义账户
|
|
2871
|
-
|
|
2872
|
-
"""
|
|
2873
|
-
|
|
2874
|
-
def __init__(self):
|
|
2875
|
-
r"""
|
|
2876
|
-
:param _Name: 自定义账户名
|
|
2877
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2878
|
-
:type Name: str
|
|
2879
|
-
:param _Description: 描述
|
|
2880
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2881
|
-
:type Description: str
|
|
2882
|
-
:param _Disable: 是否禁用
|
|
2883
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2884
|
-
:type Disable: bool
|
|
2885
|
-
:param _ExpiresAt: 过期时间
|
|
2886
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2887
|
-
:type ExpiresAt: int
|
|
2888
|
-
:param _CreateTime: 创建时间
|
|
2889
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2890
|
-
:type CreateTime: str
|
|
2891
|
-
:param _UpdateTime: 更新时间
|
|
2892
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2893
|
-
:type UpdateTime: str
|
|
2894
|
-
:param _Permissions: 策略
|
|
2895
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2896
|
-
:type Permissions: list of Permission
|
|
2897
|
-
"""
|
|
2898
|
-
self._Name = None
|
|
2899
|
-
self._Description = None
|
|
2900
|
-
self._Disable = None
|
|
2901
|
-
self._ExpiresAt = None
|
|
2902
|
-
self._CreateTime = None
|
|
2903
|
-
self._UpdateTime = None
|
|
2904
|
-
self._Permissions = None
|
|
2905
|
-
|
|
2906
|
-
@property
|
|
2907
|
-
def Name(self):
|
|
2908
|
-
return self._Name
|
|
2909
|
-
|
|
2910
|
-
@Name.setter
|
|
2911
|
-
def Name(self, Name):
|
|
2912
|
-
self._Name = Name
|
|
2913
|
-
|
|
2914
|
-
@property
|
|
2915
|
-
def Description(self):
|
|
2916
|
-
return self._Description
|
|
2917
|
-
|
|
2918
|
-
@Description.setter
|
|
2919
|
-
def Description(self, Description):
|
|
2920
|
-
self._Description = Description
|
|
2921
|
-
|
|
2922
|
-
@property
|
|
2923
|
-
def Disable(self):
|
|
2924
|
-
return self._Disable
|
|
2925
|
-
|
|
2926
|
-
@Disable.setter
|
|
2927
|
-
def Disable(self, Disable):
|
|
2928
|
-
self._Disable = Disable
|
|
2929
|
-
|
|
2930
|
-
@property
|
|
2931
|
-
def ExpiresAt(self):
|
|
2932
|
-
return self._ExpiresAt
|
|
2933
|
-
|
|
2934
|
-
@ExpiresAt.setter
|
|
2935
|
-
def ExpiresAt(self, ExpiresAt):
|
|
2936
|
-
self._ExpiresAt = ExpiresAt
|
|
2937
|
-
|
|
2938
|
-
@property
|
|
2939
|
-
def CreateTime(self):
|
|
2940
|
-
return self._CreateTime
|
|
2941
|
-
|
|
2942
|
-
@CreateTime.setter
|
|
2943
|
-
def CreateTime(self, CreateTime):
|
|
2944
|
-
self._CreateTime = CreateTime
|
|
2945
|
-
|
|
2946
|
-
@property
|
|
2947
|
-
def UpdateTime(self):
|
|
2948
|
-
return self._UpdateTime
|
|
2949
|
-
|
|
2950
|
-
@UpdateTime.setter
|
|
2951
|
-
def UpdateTime(self, UpdateTime):
|
|
2952
|
-
self._UpdateTime = UpdateTime
|
|
2953
|
-
|
|
2954
|
-
@property
|
|
2955
|
-
def Permissions(self):
|
|
2956
|
-
return self._Permissions
|
|
2957
|
-
|
|
2958
|
-
@Permissions.setter
|
|
2959
|
-
def Permissions(self, Permissions):
|
|
2960
|
-
self._Permissions = Permissions
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
def _deserialize(self, params):
|
|
2964
|
-
self._Name = params.get("Name")
|
|
2965
|
-
self._Description = params.get("Description")
|
|
2966
|
-
self._Disable = params.get("Disable")
|
|
2967
|
-
self._ExpiresAt = params.get("ExpiresAt")
|
|
2968
|
-
self._CreateTime = params.get("CreateTime")
|
|
2969
|
-
self._UpdateTime = params.get("UpdateTime")
|
|
2970
|
-
if params.get("Permissions") is not None:
|
|
2971
|
-
self._Permissions = []
|
|
2972
|
-
for item in params.get("Permissions"):
|
|
2973
|
-
obj = Permission()
|
|
2974
|
-
obj._deserialize(item)
|
|
2975
|
-
self._Permissions.append(obj)
|
|
2976
|
-
memeber_set = set(params.keys())
|
|
2977
|
-
for name, value in vars(self).items():
|
|
2978
|
-
property_name = name[1:]
|
|
2979
|
-
if property_name in memeber_set:
|
|
2980
|
-
memeber_set.remove(property_name)
|
|
2981
|
-
if len(memeber_set) > 0:
|
|
2982
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
2869
|
class CustomizedDomainInfo(AbstractModel):
|
|
2987
2870
|
"""自定义域名信息
|
|
2988
2871
|
|
|
@@ -5150,159 +5033,6 @@ class DescribeChartDownloadInfoResponse(AbstractModel):
|
|
|
5150
5033
|
self._RequestId = params.get("RequestId")
|
|
5151
5034
|
|
|
5152
5035
|
|
|
5153
|
-
class DescribeCustomAccountsRequest(AbstractModel):
|
|
5154
|
-
"""DescribeCustomAccounts请求参数结构体
|
|
5155
|
-
|
|
5156
|
-
"""
|
|
5157
|
-
|
|
5158
|
-
def __init__(self):
|
|
5159
|
-
r"""
|
|
5160
|
-
:param _RegistryId: 实例Id
|
|
5161
|
-
:type RegistryId: str
|
|
5162
|
-
:param _All: 列出所有自定义账户
|
|
5163
|
-
:type All: bool
|
|
5164
|
-
:param _EmbedPermission: 填充策略
|
|
5165
|
-
:type EmbedPermission: bool
|
|
5166
|
-
:param _Filters: 过滤条件
|
|
5167
|
-
:type Filters: list of Filter
|
|
5168
|
-
:param _Offset: 偏移量,默认0
|
|
5169
|
-
:type Offset: int
|
|
5170
|
-
:param _Limit: 最大输出条数,默认20,最大为100
|
|
5171
|
-
:type Limit: int
|
|
5172
|
-
"""
|
|
5173
|
-
self._RegistryId = None
|
|
5174
|
-
self._All = None
|
|
5175
|
-
self._EmbedPermission = None
|
|
5176
|
-
self._Filters = None
|
|
5177
|
-
self._Offset = None
|
|
5178
|
-
self._Limit = None
|
|
5179
|
-
|
|
5180
|
-
@property
|
|
5181
|
-
def RegistryId(self):
|
|
5182
|
-
return self._RegistryId
|
|
5183
|
-
|
|
5184
|
-
@RegistryId.setter
|
|
5185
|
-
def RegistryId(self, RegistryId):
|
|
5186
|
-
self._RegistryId = RegistryId
|
|
5187
|
-
|
|
5188
|
-
@property
|
|
5189
|
-
def All(self):
|
|
5190
|
-
return self._All
|
|
5191
|
-
|
|
5192
|
-
@All.setter
|
|
5193
|
-
def All(self, All):
|
|
5194
|
-
self._All = All
|
|
5195
|
-
|
|
5196
|
-
@property
|
|
5197
|
-
def EmbedPermission(self):
|
|
5198
|
-
return self._EmbedPermission
|
|
5199
|
-
|
|
5200
|
-
@EmbedPermission.setter
|
|
5201
|
-
def EmbedPermission(self, EmbedPermission):
|
|
5202
|
-
self._EmbedPermission = EmbedPermission
|
|
5203
|
-
|
|
5204
|
-
@property
|
|
5205
|
-
def Filters(self):
|
|
5206
|
-
return self._Filters
|
|
5207
|
-
|
|
5208
|
-
@Filters.setter
|
|
5209
|
-
def Filters(self, Filters):
|
|
5210
|
-
self._Filters = Filters
|
|
5211
|
-
|
|
5212
|
-
@property
|
|
5213
|
-
def Offset(self):
|
|
5214
|
-
return self._Offset
|
|
5215
|
-
|
|
5216
|
-
@Offset.setter
|
|
5217
|
-
def Offset(self, Offset):
|
|
5218
|
-
self._Offset = Offset
|
|
5219
|
-
|
|
5220
|
-
@property
|
|
5221
|
-
def Limit(self):
|
|
5222
|
-
return self._Limit
|
|
5223
|
-
|
|
5224
|
-
@Limit.setter
|
|
5225
|
-
def Limit(self, Limit):
|
|
5226
|
-
self._Limit = Limit
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
def _deserialize(self, params):
|
|
5230
|
-
self._RegistryId = params.get("RegistryId")
|
|
5231
|
-
self._All = params.get("All")
|
|
5232
|
-
self._EmbedPermission = params.get("EmbedPermission")
|
|
5233
|
-
if params.get("Filters") is not None:
|
|
5234
|
-
self._Filters = []
|
|
5235
|
-
for item in params.get("Filters"):
|
|
5236
|
-
obj = Filter()
|
|
5237
|
-
obj._deserialize(item)
|
|
5238
|
-
self._Filters.append(obj)
|
|
5239
|
-
self._Offset = params.get("Offset")
|
|
5240
|
-
self._Limit = params.get("Limit")
|
|
5241
|
-
memeber_set = set(params.keys())
|
|
5242
|
-
for name, value in vars(self).items():
|
|
5243
|
-
property_name = name[1:]
|
|
5244
|
-
if property_name in memeber_set:
|
|
5245
|
-
memeber_set.remove(property_name)
|
|
5246
|
-
if len(memeber_set) > 0:
|
|
5247
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
class DescribeCustomAccountsResponse(AbstractModel):
|
|
5252
|
-
"""DescribeCustomAccounts返回参数结构体
|
|
5253
|
-
|
|
5254
|
-
"""
|
|
5255
|
-
|
|
5256
|
-
def __init__(self):
|
|
5257
|
-
r"""
|
|
5258
|
-
:param _CustomAccounts: 自定义账户列表
|
|
5259
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5260
|
-
:type CustomAccounts: list of CustomAccount
|
|
5261
|
-
:param _TotalCount: 自定义账户数量
|
|
5262
|
-
:type TotalCount: int
|
|
5263
|
-
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5264
|
-
:type RequestId: str
|
|
5265
|
-
"""
|
|
5266
|
-
self._CustomAccounts = None
|
|
5267
|
-
self._TotalCount = None
|
|
5268
|
-
self._RequestId = None
|
|
5269
|
-
|
|
5270
|
-
@property
|
|
5271
|
-
def CustomAccounts(self):
|
|
5272
|
-
return self._CustomAccounts
|
|
5273
|
-
|
|
5274
|
-
@CustomAccounts.setter
|
|
5275
|
-
def CustomAccounts(self, CustomAccounts):
|
|
5276
|
-
self._CustomAccounts = CustomAccounts
|
|
5277
|
-
|
|
5278
|
-
@property
|
|
5279
|
-
def TotalCount(self):
|
|
5280
|
-
return self._TotalCount
|
|
5281
|
-
|
|
5282
|
-
@TotalCount.setter
|
|
5283
|
-
def TotalCount(self, TotalCount):
|
|
5284
|
-
self._TotalCount = TotalCount
|
|
5285
|
-
|
|
5286
|
-
@property
|
|
5287
|
-
def RequestId(self):
|
|
5288
|
-
return self._RequestId
|
|
5289
|
-
|
|
5290
|
-
@RequestId.setter
|
|
5291
|
-
def RequestId(self, RequestId):
|
|
5292
|
-
self._RequestId = RequestId
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
def _deserialize(self, params):
|
|
5296
|
-
if params.get("CustomAccounts") is not None:
|
|
5297
|
-
self._CustomAccounts = []
|
|
5298
|
-
for item in params.get("CustomAccounts"):
|
|
5299
|
-
obj = CustomAccount()
|
|
5300
|
-
obj._deserialize(item)
|
|
5301
|
-
self._CustomAccounts.append(obj)
|
|
5302
|
-
self._TotalCount = params.get("TotalCount")
|
|
5303
|
-
self._RequestId = params.get("RequestId")
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
5036
|
class DescribeExternalEndpointStatusRequest(AbstractModel):
|
|
5307
5037
|
"""DescribeExternalEndpointStatus请求参数结构体
|
|
5308
5038
|
|
|
@@ -1178,31 +1178,6 @@ class TcrClient(AbstractClient):
|
|
|
1178
1178
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1179
1179
|
|
|
1180
1180
|
|
|
1181
|
-
def DescribeCustomAccounts(self, request):
|
|
1182
|
-
"""接口未使用
|
|
1183
|
-
|
|
1184
|
-
查询自定义账号
|
|
1185
|
-
|
|
1186
|
-
:param request: Request instance for DescribeCustomAccounts.
|
|
1187
|
-
:type request: :class:`tencentcloud.tcr.v20190924.models.DescribeCustomAccountsRequest`
|
|
1188
|
-
:rtype: :class:`tencentcloud.tcr.v20190924.models.DescribeCustomAccountsResponse`
|
|
1189
|
-
|
|
1190
|
-
"""
|
|
1191
|
-
try:
|
|
1192
|
-
params = request._serialize()
|
|
1193
|
-
headers = request.headers
|
|
1194
|
-
body = self.call("DescribeCustomAccounts", params, headers=headers)
|
|
1195
|
-
response = json.loads(body)
|
|
1196
|
-
model = models.DescribeCustomAccountsResponse()
|
|
1197
|
-
model._deserialize(response["Response"])
|
|
1198
|
-
return model
|
|
1199
|
-
except Exception as e:
|
|
1200
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1201
|
-
raise
|
|
1202
|
-
else:
|
|
1203
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
1181
|
def DescribeExternalEndpointStatus(self, request):
|
|
1207
1182
|
"""查询实例公网访问入口状态
|
|
1208
1183
|
|
|
@@ -191,6 +191,9 @@ INVALIDPARAMETER_ERRINVALIDACTIONTYPE = 'InvalidParameter.ErrInvalidActionType'
|
|
|
191
191
|
# 非法条件。
|
|
192
192
|
INVALIDPARAMETER_ERRINVALIDCONDITION = 'InvalidParameter.ErrInvalidCondition'
|
|
193
193
|
|
|
194
|
+
# 修改源站操作不能仅配置host匹配类型。
|
|
195
|
+
INVALIDPARAMETER_ERRINVALIDCONDITIONCANNOTONLYCONTAINHOSTWHENMODIFYORIGINACTIONCONFIGURED = 'InvalidParameter.ErrInvalidConditionCannotOnlyContainHostWhenModifyOriginActionConfigured'
|
|
196
|
+
|
|
194
197
|
# 修改源站操作仅支持配置一个host匹配类型。
|
|
195
198
|
INVALIDPARAMETER_ERRINVALIDCONDITIONHOSTTOOMANYWHENMODIFYORIGINACTIONCONFIGURED = 'InvalidParameter.ErrInvalidConditionHostTooManyWhenModifyOriginActionConfigured'
|
|
196
199
|
|
|
@@ -482,6 +485,12 @@ INVALIDPARAMETER_OCDIRECTORIGINREQUIRESSMARTROUTING = 'InvalidParameter.OCDirect
|
|
|
482
485
|
# 源站是内网IP。
|
|
483
486
|
INVALIDPARAMETER_ORIGINISINNERIP = 'InvalidParameter.OriginIsInnerIp'
|
|
484
487
|
|
|
488
|
+
# 四层代理禁止IP域名混填。
|
|
489
|
+
INVALIDPARAMETER_ORIGINL4RECORDIPV4MIXDOMAIN = 'InvalidParameter.OriginL4RecordIPV4MixDomain'
|
|
490
|
+
|
|
491
|
+
# 四层代理禁止使用多域名源站。
|
|
492
|
+
INVALIDPARAMETER_ORIGINL4RECORDMULTIDOMAIN = 'InvalidParameter.OriginL4RecordMultiDomain'
|
|
493
|
+
|
|
485
494
|
# 源站组名称已经存在。
|
|
486
495
|
INVALIDPARAMETER_ORIGINNAMEEXISTS = 'InvalidParameter.OriginNameExists'
|
|
487
496
|
|
|
@@ -509,6 +518,12 @@ INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = 'InvalidParameter.PostMaxSizeLimitEx
|
|
|
509
518
|
# 实例名称重复。
|
|
510
519
|
INVALIDPARAMETER_PROXYNAMEDUPLICATING = 'InvalidParameter.ProxyNameDuplicating'
|
|
511
520
|
|
|
521
|
+
# 实例名称可输入1-50个字符,允许的字符为a-z、0-9、-,- 不能单独注册或连续使用,不能放在开头或结尾。
|
|
522
|
+
INVALIDPARAMETER_PROXYNAMENOTMATCHED = 'InvalidParameter.ProxyNameNotMatched'
|
|
523
|
+
|
|
524
|
+
# 无效的响应头header。
|
|
525
|
+
INVALIDPARAMETER_RESPONSEHEADERCACHECONTROLNOTALLOWDELETE = 'InvalidParameter.ResponseHeaderCacheControlNotAllowDelete'
|
|
526
|
+
|
|
512
527
|
# 规则源站信息格式错误。
|
|
513
528
|
INVALIDPARAMETER_RULEORIGINFORMATERROR = 'InvalidParameter.RuleOriginFormatError'
|
|
514
529
|
|
|
@@ -704,6 +719,9 @@ OPERATIONDENIED_INVALIDADVANCEDDEFENSESECURITYTYPE = 'OperationDenied.InvalidAdv
|
|
|
704
719
|
# 开启高防必须保证站点加速区域是国内。
|
|
705
720
|
OPERATIONDENIED_INVALIDADVANCEDDEFENSEZONEAREA = 'OperationDenied.InvalidAdvancedDefenseZoneArea'
|
|
706
721
|
|
|
722
|
+
# 四层实例资源售卖火爆,已售罄,正在加紧补货中,当前无法新增四层代理,请您耐心等待。
|
|
723
|
+
OPERATIONDENIED_L4LACKOFRESOURCES = 'OperationDenied.L4LackOfResources'
|
|
724
|
+
|
|
707
725
|
# 4层代理资源处于封禁中,禁止操作。
|
|
708
726
|
OPERATIONDENIED_L4PROXYINBANNEDSTATUS = 'OperationDenied.L4ProxyInBannedStatus'
|
|
709
727
|
|
|
@@ -14,6 +14,9 @@
|
|
|
14
14
|
# limitations under the License.
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
# CAM签名/鉴权错误。
|
|
18
|
+
AUTHFAILURE = 'AuthFailure'
|
|
19
|
+
|
|
17
20
|
# 操作失败。
|
|
18
21
|
FAILEDOPERATION = 'FailedOperation'
|
|
19
22
|
|
|
@@ -101,6 +104,9 @@ FAILEDOPERATION_ENABLEVPCCNIFAILED = 'FailedOperation.EnableVPCCNIFailed'
|
|
|
101
104
|
# 获取CLS采集配置失败。
|
|
102
105
|
FAILEDOPERATION_GETCLSCONFIG = 'FailedOperation.GetClsConfig'
|
|
103
106
|
|
|
107
|
+
# 获取CLS采集配置绑定的机器组失败。
|
|
108
|
+
FAILEDOPERATION_GETCLSCONFIGMACHINEGROUPS = 'FailedOperation.GetClsConfigMachineGroups'
|
|
109
|
+
|
|
104
110
|
# 获取CLS索引配置失败。
|
|
105
111
|
FAILEDOPERATION_GETCLSINDEX = 'FailedOperation.GetClsIndex'
|
|
106
112
|
|
|
@@ -110,9 +116,15 @@ FAILEDOPERATION_GETCLSLOGSET = 'FailedOperation.GetClsLogSet'
|
|
|
110
116
|
# 获取CLS机器组失败。
|
|
111
117
|
FAILEDOPERATION_GETCLSMACHINEGROUP = 'FailedOperation.GetClsMachineGroup'
|
|
112
118
|
|
|
119
|
+
# 获取CLS机器组绑定的采集配置失败。
|
|
120
|
+
FAILEDOPERATION_GETCLSMACHINEGROUPCONFIGS = 'FailedOperation.GetClsMachineGroupConfigs'
|
|
121
|
+
|
|
113
122
|
# 获取CLS日志主题失败。
|
|
114
123
|
FAILEDOPERATION_GETCLSTOPIC = 'FailedOperation.GetClsTopic'
|
|
115
124
|
|
|
125
|
+
# Kubernetes client建立失败。
|
|
126
|
+
FAILEDOPERATION_K8SCLIENTBUILDERROR = 'FailedOperation.K8sClientBuildError'
|
|
127
|
+
|
|
116
128
|
# 通过配置文件创建集群Client错误。
|
|
117
129
|
FAILEDOPERATION_KUBECLIENTCONF = 'FailedOperation.KubeClientConf'
|
|
118
130
|
|
|
@@ -152,9 +164,15 @@ FAILEDOPERATION_MARKETGETAUTHFAILED = 'FailedOperation.MarketGetAuthFailed'
|
|
|
152
164
|
# 操作应用Release失败。
|
|
153
165
|
FAILEDOPERATION_MARKETRELEASEOPERATION = 'FailedOperation.MarketReleaseOperation'
|
|
154
166
|
|
|
167
|
+
# 修改CLS采集配置失败。
|
|
168
|
+
FAILEDOPERATION_MODIFYCLSCONFIG = 'FailedOperation.ModifyClsConfig'
|
|
169
|
+
|
|
155
170
|
# 修改CLS索引失败。
|
|
156
171
|
FAILEDOPERATION_MODIFYCLSINDEX = 'FailedOperation.ModifyClsIndex'
|
|
157
172
|
|
|
173
|
+
# 修改CLS日志主题失败。
|
|
174
|
+
FAILEDOPERATION_MODIFYCLSTOPIC = 'FailedOperation.ModifyClsTopic'
|
|
175
|
+
|
|
158
176
|
# 网络扩展错误。
|
|
159
177
|
FAILEDOPERATION_NETWORKSCALEERROR = 'FailedOperation.NetworkScaleError'
|
|
160
178
|
|
|
@@ -4351,6 +4351,100 @@ class CreateBackupStorageLocationResponse(AbstractModel):
|
|
|
4351
4351
|
self._RequestId = params.get("RequestId")
|
|
4352
4352
|
|
|
4353
4353
|
|
|
4354
|
+
class CreateCLSLogConfigRequest(AbstractModel):
|
|
4355
|
+
"""CreateCLSLogConfig请求参数结构体
|
|
4356
|
+
|
|
4357
|
+
"""
|
|
4358
|
+
|
|
4359
|
+
def __init__(self):
|
|
4360
|
+
r"""
|
|
4361
|
+
:param _LogConfig: 日志采集配置的json表达
|
|
4362
|
+
:type LogConfig: str
|
|
4363
|
+
:param _ClusterId: 集群ID
|
|
4364
|
+
:type ClusterId: str
|
|
4365
|
+
:param _LogsetId: CLS日志集ID
|
|
4366
|
+
:type LogsetId: str
|
|
4367
|
+
:param _ClusterType: 当前集群类型支持tke、eks
|
|
4368
|
+
:type ClusterType: str
|
|
4369
|
+
"""
|
|
4370
|
+
self._LogConfig = None
|
|
4371
|
+
self._ClusterId = None
|
|
4372
|
+
self._LogsetId = None
|
|
4373
|
+
self._ClusterType = None
|
|
4374
|
+
|
|
4375
|
+
@property
|
|
4376
|
+
def LogConfig(self):
|
|
4377
|
+
return self._LogConfig
|
|
4378
|
+
|
|
4379
|
+
@LogConfig.setter
|
|
4380
|
+
def LogConfig(self, LogConfig):
|
|
4381
|
+
self._LogConfig = LogConfig
|
|
4382
|
+
|
|
4383
|
+
@property
|
|
4384
|
+
def ClusterId(self):
|
|
4385
|
+
return self._ClusterId
|
|
4386
|
+
|
|
4387
|
+
@ClusterId.setter
|
|
4388
|
+
def ClusterId(self, ClusterId):
|
|
4389
|
+
self._ClusterId = ClusterId
|
|
4390
|
+
|
|
4391
|
+
@property
|
|
4392
|
+
def LogsetId(self):
|
|
4393
|
+
return self._LogsetId
|
|
4394
|
+
|
|
4395
|
+
@LogsetId.setter
|
|
4396
|
+
def LogsetId(self, LogsetId):
|
|
4397
|
+
self._LogsetId = LogsetId
|
|
4398
|
+
|
|
4399
|
+
@property
|
|
4400
|
+
def ClusterType(self):
|
|
4401
|
+
return self._ClusterType
|
|
4402
|
+
|
|
4403
|
+
@ClusterType.setter
|
|
4404
|
+
def ClusterType(self, ClusterType):
|
|
4405
|
+
self._ClusterType = ClusterType
|
|
4406
|
+
|
|
4407
|
+
|
|
4408
|
+
def _deserialize(self, params):
|
|
4409
|
+
self._LogConfig = params.get("LogConfig")
|
|
4410
|
+
self._ClusterId = params.get("ClusterId")
|
|
4411
|
+
self._LogsetId = params.get("LogsetId")
|
|
4412
|
+
self._ClusterType = params.get("ClusterType")
|
|
4413
|
+
memeber_set = set(params.keys())
|
|
4414
|
+
for name, value in vars(self).items():
|
|
4415
|
+
property_name = name[1:]
|
|
4416
|
+
if property_name in memeber_set:
|
|
4417
|
+
memeber_set.remove(property_name)
|
|
4418
|
+
if len(memeber_set) > 0:
|
|
4419
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4420
|
+
|
|
4421
|
+
|
|
4422
|
+
|
|
4423
|
+
class CreateCLSLogConfigResponse(AbstractModel):
|
|
4424
|
+
"""CreateCLSLogConfig返回参数结构体
|
|
4425
|
+
|
|
4426
|
+
"""
|
|
4427
|
+
|
|
4428
|
+
def __init__(self):
|
|
4429
|
+
r"""
|
|
4430
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4431
|
+
:type RequestId: str
|
|
4432
|
+
"""
|
|
4433
|
+
self._RequestId = None
|
|
4434
|
+
|
|
4435
|
+
@property
|
|
4436
|
+
def RequestId(self):
|
|
4437
|
+
return self._RequestId
|
|
4438
|
+
|
|
4439
|
+
@RequestId.setter
|
|
4440
|
+
def RequestId(self, RequestId):
|
|
4441
|
+
self._RequestId = RequestId
|
|
4442
|
+
|
|
4443
|
+
|
|
4444
|
+
def _deserialize(self, params):
|
|
4445
|
+
self._RequestId = params.get("RequestId")
|
|
4446
|
+
|
|
4447
|
+
|
|
4354
4448
|
class CreateClusterEndpointRequest(AbstractModel):
|
|
4355
4449
|
"""CreateClusterEndpoint请求参数结构体
|
|
4356
4450
|
|
|
@@ -6758,6 +6852,101 @@ class CreateEdgeLogConfigResponse(AbstractModel):
|
|
|
6758
6852
|
self._RequestId = params.get("RequestId")
|
|
6759
6853
|
|
|
6760
6854
|
|
|
6855
|
+
class CreateEksLogConfigRequest(AbstractModel):
|
|
6856
|
+
"""CreateEksLogConfig请求参数结构体
|
|
6857
|
+
|
|
6858
|
+
"""
|
|
6859
|
+
|
|
6860
|
+
def __init__(self):
|
|
6861
|
+
r"""
|
|
6862
|
+
:param _ClusterId: 集群ID
|
|
6863
|
+
:type ClusterId: str
|
|
6864
|
+
:param _LogConfig: 日志采集配置的json表达
|
|
6865
|
+
:type LogConfig: str
|
|
6866
|
+
:param _LogsetId: 日志集ID
|
|
6867
|
+
:type LogsetId: str
|
|
6868
|
+
"""
|
|
6869
|
+
self._ClusterId = None
|
|
6870
|
+
self._LogConfig = None
|
|
6871
|
+
self._LogsetId = None
|
|
6872
|
+
|
|
6873
|
+
@property
|
|
6874
|
+
def ClusterId(self):
|
|
6875
|
+
return self._ClusterId
|
|
6876
|
+
|
|
6877
|
+
@ClusterId.setter
|
|
6878
|
+
def ClusterId(self, ClusterId):
|
|
6879
|
+
self._ClusterId = ClusterId
|
|
6880
|
+
|
|
6881
|
+
@property
|
|
6882
|
+
def LogConfig(self):
|
|
6883
|
+
return self._LogConfig
|
|
6884
|
+
|
|
6885
|
+
@LogConfig.setter
|
|
6886
|
+
def LogConfig(self, LogConfig):
|
|
6887
|
+
self._LogConfig = LogConfig
|
|
6888
|
+
|
|
6889
|
+
@property
|
|
6890
|
+
def LogsetId(self):
|
|
6891
|
+
return self._LogsetId
|
|
6892
|
+
|
|
6893
|
+
@LogsetId.setter
|
|
6894
|
+
def LogsetId(self, LogsetId):
|
|
6895
|
+
self._LogsetId = LogsetId
|
|
6896
|
+
|
|
6897
|
+
|
|
6898
|
+
def _deserialize(self, params):
|
|
6899
|
+
self._ClusterId = params.get("ClusterId")
|
|
6900
|
+
self._LogConfig = params.get("LogConfig")
|
|
6901
|
+
self._LogsetId = params.get("LogsetId")
|
|
6902
|
+
memeber_set = set(params.keys())
|
|
6903
|
+
for name, value in vars(self).items():
|
|
6904
|
+
property_name = name[1:]
|
|
6905
|
+
if property_name in memeber_set:
|
|
6906
|
+
memeber_set.remove(property_name)
|
|
6907
|
+
if len(memeber_set) > 0:
|
|
6908
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6909
|
+
|
|
6910
|
+
|
|
6911
|
+
|
|
6912
|
+
class CreateEksLogConfigResponse(AbstractModel):
|
|
6913
|
+
"""CreateEksLogConfig返回参数结构体
|
|
6914
|
+
|
|
6915
|
+
"""
|
|
6916
|
+
|
|
6917
|
+
def __init__(self):
|
|
6918
|
+
r"""
|
|
6919
|
+
:param _TopicId: 日志采集topicid
|
|
6920
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6921
|
+
:type TopicId: str
|
|
6922
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6923
|
+
:type RequestId: str
|
|
6924
|
+
"""
|
|
6925
|
+
self._TopicId = None
|
|
6926
|
+
self._RequestId = None
|
|
6927
|
+
|
|
6928
|
+
@property
|
|
6929
|
+
def TopicId(self):
|
|
6930
|
+
return self._TopicId
|
|
6931
|
+
|
|
6932
|
+
@TopicId.setter
|
|
6933
|
+
def TopicId(self, TopicId):
|
|
6934
|
+
self._TopicId = TopicId
|
|
6935
|
+
|
|
6936
|
+
@property
|
|
6937
|
+
def RequestId(self):
|
|
6938
|
+
return self._RequestId
|
|
6939
|
+
|
|
6940
|
+
@RequestId.setter
|
|
6941
|
+
def RequestId(self, RequestId):
|
|
6942
|
+
self._RequestId = RequestId
|
|
6943
|
+
|
|
6944
|
+
|
|
6945
|
+
def _deserialize(self, params):
|
|
6946
|
+
self._TopicId = params.get("TopicId")
|
|
6947
|
+
self._RequestId = params.get("RequestId")
|
|
6948
|
+
|
|
6949
|
+
|
|
6761
6950
|
class CreateImageCacheRequest(AbstractModel):
|
|
6762
6951
|
"""CreateImageCache请求参数结构体
|
|
6763
6952
|
|