tencentcloud-sdk-python 3.0.1408__py2.py3-none-any.whl → 3.0.1410__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/bh/v20230418/bh_client.py +138 -0
- tencentcloud/bh/v20230418/errorcodes.py +3 -0
- tencentcloud/bh/v20230418/models.py +1006 -67
- tencentcloud/ccc/v20200210/models.py +2 -2
- tencentcloud/cdb/v20170320/cdb_client.py +25 -19
- tencentcloud/cdb/v20170320/errorcodes.py +0 -3
- tencentcloud/cdb/v20170320/models.py +274 -202
- tencentcloud/common/credential.py +2 -3
- tencentcloud/csip/v20221121/models.py +45 -4
- tencentcloud/cvm/v20170312/models.py +15 -0
- tencentcloud/cwp/v20180228/models.py +165 -0
- tencentcloud/cynosdb/v20190107/models.py +45 -0
- tencentcloud/dsgc/v20190723/dsgc_client.py +1 -3
- tencentcloud/dsgc/v20190723/models.py +342 -15
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/models.py +500 -0
- tencentcloud/es/v20180416/errorcodes.py +42 -0
- tencentcloud/ess/v20201111/errorcodes.py +24 -0
- tencentcloud/ess/v20201111/ess_client.py +1 -0
- tencentcloud/ess/v20201111/models.py +33 -4
- tencentcloud/essbasic/v20210526/errorcodes.py +24 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -0
- tencentcloud/gs/v20191118/models.py +15 -0
- tencentcloud/kms/v20190118/errorcodes.py +36 -0
- tencentcloud/kms/v20190118/kms_client.py +345 -0
- tencentcloud/kms/v20190118/models.py +3437 -1534
- tencentcloud/lighthouse/v20200324/errorcodes.py +21 -0
- tencentcloud/live/v20180801/models.py +15 -0
- tencentcloud/lke/v20231130/lke_client.py +92 -0
- tencentcloud/lke/v20231130/models.py +2702 -572
- tencentcloud/mqtt/v20240516/models.py +120 -0
- tencentcloud/organization/v20210331/models.py +15 -0
- tencentcloud/partners/v20180321/models.py +4 -4
- tencentcloud/postgres/v20170312/models.py +4 -0
- tencentcloud/ses/v20201002/models.py +0 -8
- tencentcloud/tcss/v20201101/models.py +15 -0
- tencentcloud/thpc/v20230321/models.py +47 -2
- tencentcloud/tione/v20211111/models.py +15 -0
- tencentcloud/trocket/v20230308/models.py +476 -238
- tencentcloud/trocket/v20230308/trocket_client.py +58 -17
- tencentcloud/vpc/v20170312/models.py +15 -0
- tencentcloud/waf/v20180125/models.py +110 -18
- tencentcloud/wedata/v20210820/models.py +764 -4
- tencentcloud/wedata/v20210820/wedata_client.py +48 -2
- {tencentcloud_sdk_python-3.0.1408.dist-info → tencentcloud_sdk_python-3.0.1410.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1408.dist-info → tencentcloud_sdk_python-3.0.1410.dist-info}/RECORD +50 -50
- {tencentcloud_sdk_python-3.0.1408.dist-info → tencentcloud_sdk_python-3.0.1410.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1408.dist-info → tencentcloud_sdk_python-3.0.1410.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1408.dist-info → tencentcloud_sdk_python-3.0.1410.dist-info}/top_level.txt +0 -0
@@ -257,7 +257,7 @@ class TrocketClient(AbstractClient):
|
|
257
257
|
|
258
258
|
|
259
259
|
def DeleteInstance(self, request):
|
260
|
-
"""删除 RocketMQ 5.x
|
260
|
+
"""删除 RocketMQ 5.x 集群,删除前请先删除正在使用的主题、消费组和角色信息。
|
261
261
|
|
262
262
|
:param request: Request instance for DeleteInstance.
|
263
263
|
:type request: :class:`tencentcloud.trocket.v20230308.models.DeleteInstanceRequest`
|
@@ -463,6 +463,29 @@ class TrocketClient(AbstractClient):
|
|
463
463
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
464
464
|
|
465
465
|
|
466
|
+
def DescribeConsumerClientList(self, request):
|
467
|
+
"""查询消费组下的客户端连接列表。
|
468
|
+
|
469
|
+
:param request: Request instance for DescribeConsumerClientList.
|
470
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.DescribeConsumerClientListRequest`
|
471
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.DescribeConsumerClientListResponse`
|
472
|
+
|
473
|
+
"""
|
474
|
+
try:
|
475
|
+
params = request._serialize()
|
476
|
+
headers = request.headers
|
477
|
+
body = self.call("DescribeConsumerClientList", params, headers=headers)
|
478
|
+
response = json.loads(body)
|
479
|
+
model = models.DescribeConsumerClientListResponse()
|
480
|
+
model._deserialize(response["Response"])
|
481
|
+
return model
|
482
|
+
except Exception as e:
|
483
|
+
if isinstance(e, TencentCloudSDKException):
|
484
|
+
raise
|
485
|
+
else:
|
486
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
487
|
+
|
488
|
+
|
466
489
|
def DescribeConsumerGroup(self, request):
|
467
490
|
"""查询消费组详情
|
468
491
|
|
@@ -994,12 +1017,18 @@ class TrocketClient(AbstractClient):
|
|
994
1017
|
|
995
1018
|
|
996
1019
|
def DescribeMigratingTopicList(self, request):
|
997
|
-
"""查询Topic
|
1020
|
+
"""查询Topic迁移状态列表。
|
998
1021
|
|
999
1022
|
Filters字段为查询过滤器,支持以下条件:
|
1000
|
-
TopicName
|
1001
|
-
MigrationStatus 迁移状态,可参考MigratingTopic
|
1002
|
-
Namespace 命名空间,仅4.x
|
1023
|
+
* TopicName 主题名称,支持模糊查询
|
1024
|
+
* MigrationStatus 迁移状态,可参考[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构
|
1025
|
+
* Namespace 命名空间,仅4.x集群有效
|
1026
|
+
|
1027
|
+
Filters示例:
|
1028
|
+
[{
|
1029
|
+
"Name": "TopicName",
|
1030
|
+
"Values": ["topic-a"]
|
1031
|
+
}]
|
1003
1032
|
|
1004
1033
|
:param request: Request instance for DescribeMigratingTopicList.
|
1005
1034
|
:type request: :class:`tencentcloud.trocket.v20230308.models.DescribeMigratingTopicListRequest`
|
@@ -1121,13 +1150,19 @@ class TrocketClient(AbstractClient):
|
|
1121
1150
|
|
1122
1151
|
|
1123
1152
|
def DescribeSmoothMigrationTaskList(self, request):
|
1124
|
-
"""
|
1153
|
+
"""用于查询平滑迁移任务列表。
|
1125
1154
|
|
1126
1155
|
查询参数Filters, 支持的字段如下:
|
1127
|
-
TaskStatus, 任务状态,支持多选
|
1128
|
-
ConnectionType
|
1129
|
-
InstanceId,实例ID,精确搜索
|
1130
|
-
TaskName,任务名称,支持模糊搜索
|
1156
|
+
* TaskStatus, 任务状态,支持多选
|
1157
|
+
* ConnectionType,网络连接类型,支持多选,参考[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)的说明
|
1158
|
+
* InstanceId,实例ID,精确搜索
|
1159
|
+
* TaskName,任务名称,支持模糊搜索
|
1160
|
+
|
1161
|
+
Filters示例:
|
1162
|
+
[{
|
1163
|
+
"Name": "InstanceId",
|
1164
|
+
"Values": ["rmq-1gzecldfg"]
|
1165
|
+
}]
|
1131
1166
|
|
1132
1167
|
:param request: Request instance for DescribeSmoothMigrationTaskList.
|
1133
1168
|
:type request: :class:`tencentcloud.trocket.v20230308.models.DescribeSmoothMigrationTaskListRequest`
|
@@ -1150,13 +1185,19 @@ class TrocketClient(AbstractClient):
|
|
1150
1185
|
|
1151
1186
|
|
1152
1187
|
def DescribeSourceClusterGroupList(self, request):
|
1153
|
-
"""平滑迁移过程获取源集群group
|
1188
|
+
"""平滑迁移过程获取源集群group列表接口。
|
1154
1189
|
|
1155
1190
|
Filters字段为查询过滤器,支持以下字段:
|
1156
|
-
GroupName
|
1157
|
-
Imported,是否已导入
|
1158
|
-
ImportStatus
|
1159
|
-
Namespace
|
1191
|
+
* GroupName,消费组名称,支持模糊搜索
|
1192
|
+
* Imported,是否已导入
|
1193
|
+
* ImportStatus,导入状态,参考[SourceClusterGroupConfig](https://cloud.tencent.com/document/api/1493/96031#SourceClusterGroupConfig)的说明
|
1194
|
+
* Namespace,命名空间,仅4.x集群有效
|
1195
|
+
|
1196
|
+
Filters示例:
|
1197
|
+
[{
|
1198
|
+
"Name": "GroupName",
|
1199
|
+
"Values": ["group-a"]
|
1200
|
+
}]
|
1160
1201
|
|
1161
1202
|
:param request: Request instance for DescribeSourceClusterGroupList.
|
1162
1203
|
:type request: :class:`tencentcloud.trocket.v20230308.models.DescribeSourceClusterGroupListRequest`
|
@@ -1347,7 +1388,7 @@ class TrocketClient(AbstractClient):
|
|
1347
1388
|
|
1348
1389
|
|
1349
1390
|
def ModifyInstance(self, request):
|
1350
|
-
"""修改 RocketMQ 5.x
|
1391
|
+
"""修改 RocketMQ 5.x 集群属性,仅支持修改运行中的集群。
|
1351
1392
|
|
1352
1393
|
:param request: Request instance for ModifyInstance.
|
1353
1394
|
:type request: :class:`tencentcloud.trocket.v20230308.models.ModifyInstanceRequest`
|
@@ -1370,7 +1411,7 @@ class TrocketClient(AbstractClient):
|
|
1370
1411
|
|
1371
1412
|
|
1372
1413
|
def ModifyInstanceEndpoint(self, request):
|
1373
|
-
"""修改 RocketMQ 5.x
|
1414
|
+
"""修改 RocketMQ 5.x 集群接入点,操作前请先确认接入点已存在。
|
1374
1415
|
|
1375
1416
|
:param request: Request instance for ModifyInstanceEndpoint.
|
1376
1417
|
:type request: :class:`tencentcloud.trocket.v20230308.models.ModifyInstanceEndpointRequest`
|
@@ -3683,12 +3683,15 @@ class AssociateIPv6AddressRequest(AbstractModel):
|
|
3683
3683
|
r"""
|
3684
3684
|
:param _IPv6AddressId: 弹性公网IPv6唯一ID,EIPv6 唯一 ID 形如:eipv6-11112222。可以使用[DescribeIPv6Addresses](https://cloud.tencent.com/document/api/215/113677)接口获取IPv6AddressId。
|
3685
3685
|
:type IPv6AddressId: str
|
3686
|
+
:param _InstanceId: 要绑定的实例 ID。实例 ID 形如:ins-djflxkvi。可通过登录控制台查询,也可通过 DescribeInstances 接口返回值中的InstanceId获取。
|
3687
|
+
:type InstanceId: str
|
3686
3688
|
:param _NetworkInterfaceId: 要绑定的弹性网卡 ID。 弹性网卡 ID 形如:eni-11112222。NetworkInterfaceId 与 InstanceId 不可同时指定。弹性网卡 ID 可通过登录[控制台](https://console.cloud.tencent.com/vpc/eni?rid=1)查询,也可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/api/215/15817)接口返回值中的networkInterfaceId获取。
|
3687
3689
|
:type NetworkInterfaceId: str
|
3688
3690
|
:param _PrivateIPv6Address: 要绑定的内网 IPv6。如果指定了 NetworkInterfaceId 则也必须指定 PrivateIPv6Address ,表示将 EIP 绑定到指定弹性网卡的指定内网 IP 上。同时要确保指定的 PrivateIPv6Address 是指定的 NetworkInterfaceId 上的一个内网 IPv6。指定弹性网卡的内网 IPv6 可通过登录[控制台](https://console.cloud.tencent.com/vpc/eni?rid=1)查询,也可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/api/215/15817)接口返回值中的Ipv6AddressSet.Address获取。
|
3689
3691
|
:type PrivateIPv6Address: str
|
3690
3692
|
"""
|
3691
3693
|
self._IPv6AddressId = None
|
3694
|
+
self._InstanceId = None
|
3692
3695
|
self._NetworkInterfaceId = None
|
3693
3696
|
self._PrivateIPv6Address = None
|
3694
3697
|
|
@@ -3703,6 +3706,17 @@ class AssociateIPv6AddressRequest(AbstractModel):
|
|
3703
3706
|
def IPv6AddressId(self, IPv6AddressId):
|
3704
3707
|
self._IPv6AddressId = IPv6AddressId
|
3705
3708
|
|
3709
|
+
@property
|
3710
|
+
def InstanceId(self):
|
3711
|
+
"""要绑定的实例 ID。实例 ID 形如:ins-djflxkvi。可通过登录控制台查询,也可通过 DescribeInstances 接口返回值中的InstanceId获取。
|
3712
|
+
:rtype: str
|
3713
|
+
"""
|
3714
|
+
return self._InstanceId
|
3715
|
+
|
3716
|
+
@InstanceId.setter
|
3717
|
+
def InstanceId(self, InstanceId):
|
3718
|
+
self._InstanceId = InstanceId
|
3719
|
+
|
3706
3720
|
@property
|
3707
3721
|
def NetworkInterfaceId(self):
|
3708
3722
|
"""要绑定的弹性网卡 ID。 弹性网卡 ID 形如:eni-11112222。NetworkInterfaceId 与 InstanceId 不可同时指定。弹性网卡 ID 可通过登录[控制台](https://console.cloud.tencent.com/vpc/eni?rid=1)查询,也可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/api/215/15817)接口返回值中的networkInterfaceId获取。
|
@@ -3728,6 +3742,7 @@ class AssociateIPv6AddressRequest(AbstractModel):
|
|
3728
3742
|
|
3729
3743
|
def _deserialize(self, params):
|
3730
3744
|
self._IPv6AddressId = params.get("IPv6AddressId")
|
3745
|
+
self._InstanceId = params.get("InstanceId")
|
3731
3746
|
self._NetworkInterfaceId = params.get("NetworkInterfaceId")
|
3732
3747
|
self._PrivateIPv6Address = params.get("PrivateIPv6Address")
|
3733
3748
|
memeber_set = set(params.keys())
|
@@ -2142,7 +2142,7 @@ UpstreamProtocol:与Protocol相同
|
|
2142
2142
|
:type PrivateKey: str
|
2143
2143
|
:param _SSLId: CertType为2时,需要填充此参数,表示腾讯云SSL平台托管的证书id
|
2144
2144
|
:type SSLId: str
|
2145
|
-
:param _ResourceId:
|
2145
|
+
:param _ResourceId: Waf的资源ID。
|
2146
2146
|
:type ResourceId: str
|
2147
2147
|
:param _IpHeaders: IsCdn为3时,需要填此参数,表示自定义header
|
2148
2148
|
:type IpHeaders: list of str
|
@@ -2152,9 +2152,9 @@ https:使用https协议回源
|
|
2152
2152
|
:type UpstreamScheme: str
|
2153
2153
|
:param _HttpsUpstreamPort: HTTPS回源端口,仅UpstreamScheme为http时需要填当前字段
|
2154
2154
|
:type HttpsUpstreamPort: str
|
2155
|
-
:param _IsGray:
|
2155
|
+
:param _IsGray: 是否开启灰度,0表示不开启灰度。
|
2156
2156
|
:type IsGray: int
|
2157
|
-
:param _GrayAreas:
|
2157
|
+
:param _GrayAreas: 灰度的地区
|
2158
2158
|
:type GrayAreas: list of str
|
2159
2159
|
:param _HttpsRewrite: 必填项,是否开启HTTP强制跳转到HTTPS。
|
2160
2160
|
0:不强制跳转
|
@@ -2168,12 +2168,12 @@ https:使用https协议回源
|
|
2168
2168
|
0:关闭
|
2169
2169
|
1:开启
|
2170
2170
|
:type IsHttp2: int
|
2171
|
-
:param _Edition:
|
2171
|
+
:param _Edition: WAF实例类型。
|
2172
2172
|
sparta-waf:SAAS型WAF
|
2173
2173
|
clb-waf:负载均衡型WAF
|
2174
2174
|
cdn-waf:CDN上的Web防护能力
|
2175
2175
|
:type Edition: str
|
2176
|
-
:param _Anycast:
|
2176
|
+
:param _Anycast: 目前填0即可。anycast IP类型开关: 0 普通IP 1 Anycast IP
|
2177
2177
|
:type Anycast: int
|
2178
2178
|
:param _Weights: 回源IP列表各IP的权重,和SrcList一一对应。当且仅当UpstreamType为0,并且SrcList有多个IP,并且LoadBalance为2时需要填写,否则填 []
|
2179
2179
|
:type Weights: list of int
|
@@ -2231,6 +2231,8 @@ cdn-waf:CDN上的Web防护能力
|
|
2231
2231
|
:type UpstreamPolicy: int
|
2232
2232
|
:param _UpstreamRules: 分流回源时生效,分流回源的规则。
|
2233
2233
|
:type UpstreamRules: list of UpstreamRule
|
2234
|
+
:param _UseCase: 业务场景。0:默认值,表示常规业务场景 1:大模型业务场景
|
2235
|
+
:type UseCase: int
|
2234
2236
|
"""
|
2235
2237
|
self._Domain = None
|
2236
2238
|
self._CertType = None
|
@@ -2279,6 +2281,7 @@ cdn-waf:CDN上的Web防护能力
|
|
2279
2281
|
self._GmSSLId = None
|
2280
2282
|
self._UpstreamPolicy = None
|
2281
2283
|
self._UpstreamRules = None
|
2284
|
+
self._UseCase = None
|
2282
2285
|
|
2283
2286
|
@property
|
2284
2287
|
def Domain(self):
|
@@ -2435,13 +2438,17 @@ UpstreamProtocol:与Protocol相同
|
|
2435
2438
|
|
2436
2439
|
@property
|
2437
2440
|
def ResourceId(self):
|
2438
|
-
""
|
2441
|
+
warnings.warn("parameter `ResourceId` is deprecated", DeprecationWarning)
|
2442
|
+
|
2443
|
+
"""Waf的资源ID。
|
2439
2444
|
:rtype: str
|
2440
2445
|
"""
|
2441
2446
|
return self._ResourceId
|
2442
2447
|
|
2443
2448
|
@ResourceId.setter
|
2444
2449
|
def ResourceId(self, ResourceId):
|
2450
|
+
warnings.warn("parameter `ResourceId` is deprecated", DeprecationWarning)
|
2451
|
+
|
2445
2452
|
self._ResourceId = ResourceId
|
2446
2453
|
|
2447
2454
|
@property
|
@@ -2481,24 +2488,32 @@ https:使用https协议回源
|
|
2481
2488
|
|
2482
2489
|
@property
|
2483
2490
|
def IsGray(self):
|
2484
|
-
""
|
2491
|
+
warnings.warn("parameter `IsGray` is deprecated", DeprecationWarning)
|
2492
|
+
|
2493
|
+
"""是否开启灰度,0表示不开启灰度。
|
2485
2494
|
:rtype: int
|
2486
2495
|
"""
|
2487
2496
|
return self._IsGray
|
2488
2497
|
|
2489
2498
|
@IsGray.setter
|
2490
2499
|
def IsGray(self, IsGray):
|
2500
|
+
warnings.warn("parameter `IsGray` is deprecated", DeprecationWarning)
|
2501
|
+
|
2491
2502
|
self._IsGray = IsGray
|
2492
2503
|
|
2493
2504
|
@property
|
2494
2505
|
def GrayAreas(self):
|
2495
|
-
""
|
2506
|
+
warnings.warn("parameter `GrayAreas` is deprecated", DeprecationWarning)
|
2507
|
+
|
2508
|
+
"""灰度的地区
|
2496
2509
|
:rtype: list of str
|
2497
2510
|
"""
|
2498
2511
|
return self._GrayAreas
|
2499
2512
|
|
2500
2513
|
@GrayAreas.setter
|
2501
2514
|
def GrayAreas(self, GrayAreas):
|
2515
|
+
warnings.warn("parameter `GrayAreas` is deprecated", DeprecationWarning)
|
2516
|
+
|
2502
2517
|
self._GrayAreas = GrayAreas
|
2503
2518
|
|
2504
2519
|
@property
|
@@ -2551,7 +2566,9 @@ https:使用https协议回源
|
|
2551
2566
|
|
2552
2567
|
@property
|
2553
2568
|
def Edition(self):
|
2554
|
-
""
|
2569
|
+
warnings.warn("parameter `Edition` is deprecated", DeprecationWarning)
|
2570
|
+
|
2571
|
+
"""WAF实例类型。
|
2555
2572
|
sparta-waf:SAAS型WAF
|
2556
2573
|
clb-waf:负载均衡型WAF
|
2557
2574
|
cdn-waf:CDN上的Web防护能力
|
@@ -2561,17 +2578,23 @@ cdn-waf:CDN上的Web防护能力
|
|
2561
2578
|
|
2562
2579
|
@Edition.setter
|
2563
2580
|
def Edition(self, Edition):
|
2581
|
+
warnings.warn("parameter `Edition` is deprecated", DeprecationWarning)
|
2582
|
+
|
2564
2583
|
self._Edition = Edition
|
2565
2584
|
|
2566
2585
|
@property
|
2567
2586
|
def Anycast(self):
|
2568
|
-
"
|
2587
|
+
warnings.warn("parameter `Anycast` is deprecated", DeprecationWarning)
|
2588
|
+
|
2589
|
+
"""目前填0即可。anycast IP类型开关: 0 普通IP 1 Anycast IP
|
2569
2590
|
:rtype: int
|
2570
2591
|
"""
|
2571
2592
|
return self._Anycast
|
2572
2593
|
|
2573
2594
|
@Anycast.setter
|
2574
2595
|
def Anycast(self, Anycast):
|
2596
|
+
warnings.warn("parameter `Anycast` is deprecated", DeprecationWarning)
|
2597
|
+
|
2575
2598
|
self._Anycast = Anycast
|
2576
2599
|
|
2577
2600
|
@property
|
@@ -2837,6 +2860,17 @@ cdn-waf:CDN上的Web防护能力
|
|
2837
2860
|
def UpstreamRules(self, UpstreamRules):
|
2838
2861
|
self._UpstreamRules = UpstreamRules
|
2839
2862
|
|
2863
|
+
@property
|
2864
|
+
def UseCase(self):
|
2865
|
+
"""业务场景。0:默认值,表示常规业务场景 1:大模型业务场景
|
2866
|
+
:rtype: int
|
2867
|
+
"""
|
2868
|
+
return self._UseCase
|
2869
|
+
|
2870
|
+
@UseCase.setter
|
2871
|
+
def UseCase(self, UseCase):
|
2872
|
+
self._UseCase = UseCase
|
2873
|
+
|
2840
2874
|
|
2841
2875
|
def _deserialize(self, params):
|
2842
2876
|
self._Domain = params.get("Domain")
|
@@ -2896,6 +2930,7 @@ cdn-waf:CDN上的Web防护能力
|
|
2896
2930
|
obj = UpstreamRule()
|
2897
2931
|
obj._deserialize(item)
|
2898
2932
|
self._UpstreamRules.append(obj)
|
2933
|
+
self._UseCase = params.get("UseCase")
|
2899
2934
|
memeber_set = set(params.keys())
|
2900
2935
|
for name, value in vars(self).items():
|
2901
2936
|
property_name = name[1:]
|
@@ -7142,6 +7177,8 @@ class ClbDomainsInfo(AbstractModel):
|
|
7142
7177
|
:type Note: str
|
7143
7178
|
:param _Labels: 域名标签
|
7144
7179
|
:type Labels: list of str
|
7180
|
+
:param _AccessStatus: clbwaf接入状态,0代表“尚无流量接入”,1代表“流量接入”,2代表“CLB监听器已注销”,3代表“配置生效中”,4代表“配置下发失败中”
|
7181
|
+
:type AccessStatus: int
|
7145
7182
|
"""
|
7146
7183
|
self._Domain = None
|
7147
7184
|
self._DomainId = None
|
@@ -7158,6 +7195,7 @@ class ClbDomainsInfo(AbstractModel):
|
|
7158
7195
|
self._CloudType = None
|
7159
7196
|
self._Note = None
|
7160
7197
|
self._Labels = None
|
7198
|
+
self._AccessStatus = None
|
7161
7199
|
|
7162
7200
|
@property
|
7163
7201
|
def Domain(self):
|
@@ -7324,6 +7362,17 @@ class ClbDomainsInfo(AbstractModel):
|
|
7324
7362
|
def Labels(self, Labels):
|
7325
7363
|
self._Labels = Labels
|
7326
7364
|
|
7365
|
+
@property
|
7366
|
+
def AccessStatus(self):
|
7367
|
+
"""clbwaf接入状态,0代表“尚无流量接入”,1代表“流量接入”,2代表“CLB监听器已注销”,3代表“配置生效中”,4代表“配置下发失败中”
|
7368
|
+
:rtype: int
|
7369
|
+
"""
|
7370
|
+
return self._AccessStatus
|
7371
|
+
|
7372
|
+
@AccessStatus.setter
|
7373
|
+
def AccessStatus(self, AccessStatus):
|
7374
|
+
self._AccessStatus = AccessStatus
|
7375
|
+
|
7327
7376
|
|
7328
7377
|
def _deserialize(self, params):
|
7329
7378
|
self._Domain = params.get("Domain")
|
@@ -7346,6 +7395,7 @@ class ClbDomainsInfo(AbstractModel):
|
|
7346
7395
|
self._CloudType = params.get("CloudType")
|
7347
7396
|
self._Note = params.get("Note")
|
7348
7397
|
self._Labels = params.get("Labels")
|
7398
|
+
self._AccessStatus = params.get("AccessStatus")
|
7349
7399
|
memeber_set = set(params.keys())
|
7350
7400
|
for name, value in vars(self).items():
|
7351
7401
|
property_name = name[1:]
|
@@ -22444,7 +22494,7 @@ public:公有云域名
|
|
22444
22494
|
:type UpstreamDomainList: list of str
|
22445
22495
|
:param _SgID: 安全组ID
|
22446
22496
|
:type SgID: str
|
22447
|
-
:param _AccessStatus: clbwaf
|
22497
|
+
:param _AccessStatus: clbwaf接入状态,0代表“尚无流量接入”,1代表“流量接入”,2代表“CLB监听器已注销”,3代表“配置生效中”,4代表“配置下发失败中”
|
22448
22498
|
:type AccessStatus: int
|
22449
22499
|
:param _Labels: 域名标签
|
22450
22500
|
:type Labels: list of str
|
@@ -22939,7 +22989,7 @@ public:公有云域名
|
|
22939
22989
|
|
22940
22990
|
@property
|
22941
22991
|
def AccessStatus(self):
|
22942
|
-
"""clbwaf
|
22992
|
+
"""clbwaf接入状态,0代表“尚无流量接入”,1代表“流量接入”,2代表“CLB监听器已注销”,3代表“配置生效中”,4代表“配置下发失败中”
|
22943
22993
|
:rtype: int
|
22944
22994
|
"""
|
22945
22995
|
return self._AccessStatus
|
@@ -23272,7 +23322,7 @@ class DomainsPartInfo(AbstractModel):
|
|
23272
23322
|
2:有部署代理服务,waf将使用remote_addr获取客户端IP
|
23273
23323
|
3:有部署代理服务,waf将使用ip_headers中的自定义header获取客户端IP
|
23274
23324
|
:type IsCdn: int
|
23275
|
-
:param _IsGray:
|
23325
|
+
:param _IsGray: 是否开启灰度。
|
23276
23326
|
:type IsGray: int
|
23277
23327
|
:param _IsHttp2: 是否开启HTTP2,需要开启HTTPS协议支持。
|
23278
23328
|
0:关闭
|
@@ -23390,6 +23440,8 @@ https:使用https协议回源
|
|
23390
23440
|
:type UpstreamPolicy: int
|
23391
23441
|
:param _UpstreamRules: 分流回源策略
|
23392
23442
|
:type UpstreamRules: list of UpstreamRule
|
23443
|
+
:param _UseCase: 业务场景。0:默认值,表示常规业务场景 1:大模型业务场景
|
23444
|
+
:type UseCase: int
|
23393
23445
|
"""
|
23394
23446
|
self._Domain = None
|
23395
23447
|
self._DomainId = None
|
@@ -23444,6 +23496,7 @@ https:使用https协议回源
|
|
23444
23496
|
self._ProbeStatus = None
|
23445
23497
|
self._UpstreamPolicy = None
|
23446
23498
|
self._UpstreamRules = None
|
23499
|
+
self._UseCase = None
|
23447
23500
|
|
23448
23501
|
@property
|
23449
23502
|
def Domain(self):
|
@@ -23581,13 +23634,17 @@ https:使用https协议回源
|
|
23581
23634
|
|
23582
23635
|
@property
|
23583
23636
|
def IsGray(self):
|
23584
|
-
""
|
23637
|
+
warnings.warn("parameter `IsGray` is deprecated", DeprecationWarning)
|
23638
|
+
|
23639
|
+
"""是否开启灰度。
|
23585
23640
|
:rtype: int
|
23586
23641
|
"""
|
23587
23642
|
return self._IsGray
|
23588
23643
|
|
23589
23644
|
@IsGray.setter
|
23590
23645
|
def IsGray(self, IsGray):
|
23646
|
+
warnings.warn("parameter `IsGray` is deprecated", DeprecationWarning)
|
23647
|
+
|
23591
23648
|
self._IsGray = IsGray
|
23592
23649
|
|
23593
23650
|
@property
|
@@ -24075,6 +24132,17 @@ https:使用https协议回源
|
|
24075
24132
|
def UpstreamRules(self, UpstreamRules):
|
24076
24133
|
self._UpstreamRules = UpstreamRules
|
24077
24134
|
|
24135
|
+
@property
|
24136
|
+
def UseCase(self):
|
24137
|
+
"""业务场景。0:默认值,表示常规业务场景 1:大模型业务场景
|
24138
|
+
:rtype: int
|
24139
|
+
"""
|
24140
|
+
return self._UseCase
|
24141
|
+
|
24142
|
+
@UseCase.setter
|
24143
|
+
def UseCase(self, UseCase):
|
24144
|
+
self._UseCase = UseCase
|
24145
|
+
|
24078
24146
|
|
24079
24147
|
def _deserialize(self, params):
|
24080
24148
|
self._Domain = params.get("Domain")
|
@@ -24140,6 +24208,7 @@ https:使用https协议回源
|
|
24140
24208
|
obj = UpstreamRule()
|
24141
24209
|
obj._deserialize(item)
|
24142
24210
|
self._UpstreamRules.append(obj)
|
24211
|
+
self._UseCase = params.get("UseCase")
|
24143
24212
|
memeber_set = set(params.keys())
|
24144
24213
|
for name, value in vars(self).items():
|
24145
24214
|
property_name = name[1:]
|
@@ -35173,7 +35242,7 @@ https:使用https协议回源
|
|
35173
35242
|
:type IsWebsocket: int
|
35174
35243
|
:param _LoadBalance: 回源负载均衡策略。0:轮询1:IP hash2:加权轮询
|
35175
35244
|
:type LoadBalance: int
|
35176
|
-
:param _IsGray:
|
35245
|
+
:param _IsGray: 是否开启灰度,0表示不开启灰度。
|
35177
35246
|
:type IsGray: int
|
35178
35247
|
:param _Edition: 域名所属实例类型
|
35179
35248
|
:type Edition: str
|
@@ -35181,7 +35250,7 @@ https:使用https协议回源
|
|
35181
35250
|
:type Ports: list of SpartaProtectionPort
|
35182
35251
|
:param _IsKeepAlive: 是否开启长连接。0: 短连接1: 长连接
|
35183
35252
|
:type IsKeepAlive: str
|
35184
|
-
:param _Anycast:
|
35253
|
+
:param _Anycast: 目前填0即可。anycast IP类型开关: 0 普通IP 1 Anycast IP
|
35185
35254
|
:type Anycast: int
|
35186
35255
|
:param _Weights: 回源IP列表各IP的权重,和SrcList一一对应。当且仅当UpstreamType为0,并且SrcList有多个IP,并且LoadBalance为2时需要填写,否则填 []
|
35187
35256
|
:type Weights: list of int
|
@@ -35235,6 +35304,8 @@ https:使用https协议回源
|
|
35235
35304
|
:type UpstreamPolicy: int
|
35236
35305
|
:param _UpstreamRules: 分流回源时生效,分流回源的规则。
|
35237
35306
|
:type UpstreamRules: list of UpstreamRule
|
35307
|
+
:param _UseCase: 业务场景。0:默认值,表示常规业务场景 1:大模型业务场景
|
35308
|
+
:type UseCase: int
|
35238
35309
|
"""
|
35239
35310
|
self._Domain = None
|
35240
35311
|
self._DomainId = None
|
@@ -35282,6 +35353,7 @@ https:使用https协议回源
|
|
35282
35353
|
self._GmSSLId = None
|
35283
35354
|
self._UpstreamPolicy = None
|
35284
35355
|
self._UpstreamRules = None
|
35356
|
+
self._UseCase = None
|
35285
35357
|
|
35286
35358
|
@property
|
35287
35359
|
def Domain(self):
|
@@ -35474,13 +35546,17 @@ https:使用https协议回源
|
|
35474
35546
|
|
35475
35547
|
@property
|
35476
35548
|
def IsGray(self):
|
35477
|
-
""
|
35549
|
+
warnings.warn("parameter `IsGray` is deprecated", DeprecationWarning)
|
35550
|
+
|
35551
|
+
"""是否开启灰度,0表示不开启灰度。
|
35478
35552
|
:rtype: int
|
35479
35553
|
"""
|
35480
35554
|
return self._IsGray
|
35481
35555
|
|
35482
35556
|
@IsGray.setter
|
35483
35557
|
def IsGray(self, IsGray):
|
35558
|
+
warnings.warn("parameter `IsGray` is deprecated", DeprecationWarning)
|
35559
|
+
|
35484
35560
|
self._IsGray = IsGray
|
35485
35561
|
|
35486
35562
|
@property
|
@@ -35518,13 +35594,17 @@ https:使用https协议回源
|
|
35518
35594
|
|
35519
35595
|
@property
|
35520
35596
|
def Anycast(self):
|
35521
|
-
"
|
35597
|
+
warnings.warn("parameter `Anycast` is deprecated", DeprecationWarning)
|
35598
|
+
|
35599
|
+
"""目前填0即可。anycast IP类型开关: 0 普通IP 1 Anycast IP
|
35522
35600
|
:rtype: int
|
35523
35601
|
"""
|
35524
35602
|
return self._Anycast
|
35525
35603
|
|
35526
35604
|
@Anycast.setter
|
35527
35605
|
def Anycast(self, Anycast):
|
35606
|
+
warnings.warn("parameter `Anycast` is deprecated", DeprecationWarning)
|
35607
|
+
|
35528
35608
|
self._Anycast = Anycast
|
35529
35609
|
|
35530
35610
|
@property
|
@@ -35795,6 +35875,17 @@ https:使用https协议回源
|
|
35795
35875
|
def UpstreamRules(self, UpstreamRules):
|
35796
35876
|
self._UpstreamRules = UpstreamRules
|
35797
35877
|
|
35878
|
+
@property
|
35879
|
+
def UseCase(self):
|
35880
|
+
"""业务场景。0:默认值,表示常规业务场景 1:大模型业务场景
|
35881
|
+
:rtype: int
|
35882
|
+
"""
|
35883
|
+
return self._UseCase
|
35884
|
+
|
35885
|
+
@UseCase.setter
|
35886
|
+
def UseCase(self, UseCase):
|
35887
|
+
self._UseCase = UseCase
|
35888
|
+
|
35798
35889
|
|
35799
35890
|
def _deserialize(self, params):
|
35800
35891
|
self._Domain = params.get("Domain")
|
@@ -35853,6 +35944,7 @@ https:使用https协议回源
|
|
35853
35944
|
obj = UpstreamRule()
|
35854
35945
|
obj._deserialize(item)
|
35855
35946
|
self._UpstreamRules.append(obj)
|
35947
|
+
self._UseCase = params.get("UseCase")
|
35856
35948
|
memeber_set = set(params.keys())
|
35857
35949
|
for name, value in vars(self).items():
|
35858
35950
|
property_name = name[1:]
|