Skip to content

Commit

Permalink
release 3.0.473
Browse files Browse the repository at this point in the history
  • Loading branch information
tencentcloudapi committed Aug 30, 2021
1 parent 666db85 commit 46f10bf
Show file tree
Hide file tree
Showing 7 changed files with 213 additions and 39 deletions.
60 changes: 27 additions & 33 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,23 @@
# 本版本更新包含以下内容:

## 云防火墙(cfw) 版本:2019-09-04

### 第 9 次发布

发布时间:2021-08-27 08:11:17

本次发布包含了以下内容:

改善已有的文档。

新增接口:

* [DescribeResourceGroupNew](https://cloud.tencent.com/document/api/1132/60781)



## 物联网开发平台(iotexplorer) 版本:2019-04-23
## 消息队列 Ckafka(ckafka) 版本:2019-08-19

### 第 29 次发布
### 第 18 次发布

发布时间:2021-08-27 08:06:16
发布时间:2021-08-30 08:10:09

本次发布包含了以下内容:

改善已有的文档。

新增接口:

* [DeleteDevices](https://cloud.tencent.com/document/api/1081/60780)
* [UpdateDevicesEnableState](https://cloud.tencent.com/document/api/1081/60779)

修改接口:

* [GetDeviceList](https://cloud.tencent.com/document/api/1081/37653)

* 新增入参:ProjectId

* [DescribeTopicSyncReplica](https://cloud.tencent.com/document/api/597/60811)

新增数据结构:

* [DevicesItem](https://cloud.tencent.com/document/api/1081/34988#DevicesItem)
* [TopicInSyncReplicaInfo](https://cloud.tencent.com/document/api/597/40861#TopicInSyncReplicaInfo)
* [TopicInSyncReplicaResult](https://cloud.tencent.com/document/api/597/40861#TopicInSyncReplicaResult)



Expand Down Expand Up @@ -11007,7 +10984,7 @@

新增接口:

* [[DescribeResourceGroupNew](https://cloud.tencent.com/document/api/1132/60781)](https://cloud.tencent.com/document/api/#/#)
* [DescribeResourceGroupNew](https://cloud.tencent.com/document/api/1132/60781)

### 第 8 次发布

Expand Down Expand Up @@ -11565,6 +11542,23 @@

## 消息队列 Ckafka(ckafka) 版本:2019-08-19

### 第 18 次发布

发布时间:2021-08-30 08:10:09

本次发布包含了以下内容:

改善已有的文档。

新增接口:

* [[DescribeTopicSyncReplica](https://cloud.tencent.com/document/api/597/60811)](https://cloud.tencent.com/document/api/#/#)

新增数据结构:

* [[TopicInSyncReplicaInfo](https://cloud.tencent.com/document/api/597/40861#TopicInSyncReplicaInfo)](https://cloud.tencent.com/document/api/597/40861#[TopicInSyncReplicaInfo](https://cloud.tencent.com/document/api/597/40861#TopicInSyncReplicaInfo))
* [[TopicInSyncReplicaResult](https://cloud.tencent.com/document/api/597/40861#TopicInSyncReplicaResult)](https://cloud.tencent.com/document/api/597/40861#[TopicInSyncReplicaResult](https://cloud.tencent.com/document/api/597/40861#TopicInSyncReplicaResult))

### 第 17 次发布

发布时间:2021-08-24 08:11:48
Expand Down Expand Up @@ -29481,8 +29475,8 @@

新增接口:

* [[DeleteDevices](https://cloud.tencent.com/document/api/1081/60780)](https://cloud.tencent.com/document/api/#/#)
* [[UpdateDevicesEnableState](https://cloud.tencent.com/document/api/1081/60779)](https://cloud.tencent.com/document/api/#/#)
* [DeleteDevices](https://cloud.tencent.com/document/api/1081/60780)
* [UpdateDevicesEnableState](https://cloud.tencent.com/document/api/1081/60779)

修改接口:

Expand All @@ -29493,7 +29487,7 @@

新增数据结构:

* [[DevicesItem](https://cloud.tencent.com/document/api/1081/34988#DevicesItem)](https://cloud.tencent.com/document/api/1081/34988#[DevicesItem](https://cloud.tencent.com/document/api/1081/34988#DevicesItem))
* [DevicesItem](https://cloud.tencent.com/document/api/1081/34988#DevicesItem)

### 第 28 次发布

Expand Down
6 changes: 3 additions & 3 deletions products.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2021-08-24 08:01:43 |
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2021-07-02 08:01:06 |
| ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2021-07-30 08:01:08 |
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2021-08-27 08:03:12 |
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2021-08-30 08:03:11 |
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2021-07-02 08:01:43 |
| billing | [计费相关](https://cloud.tencent.com/document/product/555) | 2021-07-28 08:03:31 |
| bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
Expand All @@ -39,7 +39,7 @@
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2021-08-03 08:12:34 |
| cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
| cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
| ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2021-08-24 08:11:48 |
| ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2021-08-30 08:10:09 |
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2021-08-25 08:04:41 |
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2021-07-21 08:12:08 |
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2021-07-02 08:10:22 |
Expand All @@ -49,7 +49,7 @@
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2021-08-26 08:11:04 |
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2021-08-27 08:04:42 |
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2021-08-30 08:04:42 |
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2021-08-25 08:11:32 |
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2021-08-03 08:01:24 |
Expand Down
2 changes: 1 addition & 1 deletion tencentcloud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
# limitations under the License.


__version__ = '3.0.472'
__version__ = '3.0.473'
2 changes: 1 addition & 1 deletion tencentcloud/batch/v20170312/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4881,7 +4881,7 @@ def __init__(self):
:type VpcId: str
:param SubnetId: 私有网络子网ID,形如`subnet-xxx`。有效的私有网络子网ID可通过登录[控制台](https://console.cloud.tencent.com/vpc/subnet?rid=1)查询;也可以调用接口 [DescribeSubnets](/document/api/215/15784) ,从接口返回中的`unSubnetId`字段获取。若在创建子机时SubnetId与VpcId同时传入`DEFAULT`,则强制使用默认vpc网络。
:type SubnetId: str
:param AsVpcGateway: 是否用作公网网关。公网网关只有在实例拥有公网IP以及处于私有网络下时才能正常使用。取值范围:<br><li>TRUE:表示用作公网网关<br><li>FALSE:表示不用作公网网关<br><br>默认取值:FALSE。
:param AsVpcGateway: 是否用作公网网关。公网网关只有在实例拥有公网IP以及处于私有网络下时才能正常使用。取值范围:<br><li>TRUE:表示用作公网网关<br><li>FALSE:表示不作为公网网关<br><br>默认取值:FALSE。
:type AsVpcGateway: bool
:param PrivateIpAddresses: 私有网络子网 IP 数组,在创建实例、修改实例vpc属性操作中可使用此参数。当前仅批量创建多台实例时支持传入相同子网的多个 IP。
:type PrivateIpAddresses: list of str
Expand Down
28 changes: 28 additions & 0 deletions tencentcloud/ckafka/v20190819/ckafka_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,34 @@ def DescribeTopicSubscribeGroup(self, request):
raise TencentCloudSDKException(e.message, e.message)


def DescribeTopicSyncReplica(self, request):
"""获取Topic 副本详情信息
:param request: Request instance for DescribeTopicSyncReplica.
:type request: :class:`tencentcloud.ckafka.v20190819.models.DescribeTopicSyncReplicaRequest`
:rtype: :class:`tencentcloud.ckafka.v20190819.models.DescribeTopicSyncReplicaResponse`
"""
try:
params = request._serialize()
body = self.call("DescribeTopicSyncReplica", params)
response = json.loads(body)
if "Error" not in response["Response"]:
model = models.DescribeTopicSyncReplicaResponse()
model._deserialize(response["Response"])
return model
else:
code = response["Response"]["Error"]["Code"]
message = response["Response"]["Error"]["Message"]
reqid = response["Response"]["RequestId"]
raise TencentCloudSDKException(code, message, reqid)
except Exception as e:
if isinstance(e, TencentCloudSDKException):
raise
else:
raise TencentCloudSDKException(e.message, e.message)


def DescribeUser(self, request):
"""查询用户信息
Expand Down
152 changes: 152 additions & 0 deletions tencentcloud/ckafka/v20190819/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2191,6 +2191,69 @@ def _deserialize(self, params):
self.RequestId = params.get("RequestId")


class DescribeTopicSyncReplicaRequest(AbstractModel):
"""DescribeTopicSyncReplica请求参数结构体
"""

def __init__(self):
r"""
:param InstanceId: 实例ID
:type InstanceId: str
:param TopicName: 主题名称
:type TopicName: str
:param Offset: 偏移量,不填默认为0
:type Offset: int
:param Limit: 返回数量,不填则默认10,最大值20。
:type Limit: int
:param OutOfSyncReplicaOnly: 仅筛选未同步副本
:type OutOfSyncReplicaOnly: bool
"""
self.InstanceId = None
self.TopicName = None
self.Offset = None
self.Limit = None
self.OutOfSyncReplicaOnly = None


def _deserialize(self, params):
self.InstanceId = params.get("InstanceId")
self.TopicName = params.get("TopicName")
self.Offset = params.get("Offset")
self.Limit = params.get("Limit")
self.OutOfSyncReplicaOnly = params.get("OutOfSyncReplicaOnly")
memeber_set = set(params.keys())
for name, value in vars(self).items():
if name in memeber_set:
memeber_set.remove(name)
if len(memeber_set) > 0:
warnings.warn("%s fileds are useless." % ",".join(memeber_set))



class DescribeTopicSyncReplicaResponse(AbstractModel):
"""DescribeTopicSyncReplica返回参数结构体
"""

def __init__(self):
r"""
:param Result: 返回topic 副本详情
:type Result: :class:`tencentcloud.ckafka.v20190819.models.TopicInSyncReplicaResult`
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.Result = None
self.RequestId = None


def _deserialize(self, params):
if params.get("Result") is not None:
self.Result = TopicInSyncReplicaResult()
self.Result._deserialize(params.get("Result"))
self.RequestId = params.get("RequestId")


class DescribeUserRequest(AbstractModel):
"""DescribeUser请求参数结构体
Expand Down Expand Up @@ -4004,6 +4067,95 @@ def _deserialize(self, params):



class TopicInSyncReplicaInfo(AbstractModel):
"""topic副本及详细信息
"""

def __init__(self):
r"""
:param Partition: 分区名称
:type Partition: str
:param Leader: Leader Id
:type Leader: int
:param Replica: 副本集
:type Replica: str
:param InSyncReplica: ISR
:type InSyncReplica: str
:param BeginOffset: 起始Offset
注意:此字段可能返回 null,表示取不到有效值。
:type BeginOffset: int
:param EndOffset: 末端Offset
注意:此字段可能返回 null,表示取不到有效值。
:type EndOffset: int
:param MessageCount: 消息数
注意:此字段可能返回 null,表示取不到有效值。
:type MessageCount: int
:param OutOfSyncReplica: 未同步副本集
注意:此字段可能返回 null,表示取不到有效值。
:type OutOfSyncReplica: str
"""
self.Partition = None
self.Leader = None
self.Replica = None
self.InSyncReplica = None
self.BeginOffset = None
self.EndOffset = None
self.MessageCount = None
self.OutOfSyncReplica = None


def _deserialize(self, params):
self.Partition = params.get("Partition")
self.Leader = params.get("Leader")
self.Replica = params.get("Replica")
self.InSyncReplica = params.get("InSyncReplica")
self.BeginOffset = params.get("BeginOffset")
self.EndOffset = params.get("EndOffset")
self.MessageCount = params.get("MessageCount")
self.OutOfSyncReplica = params.get("OutOfSyncReplica")
memeber_set = set(params.keys())
for name, value in vars(self).items():
if name in memeber_set:
memeber_set.remove(name)
if len(memeber_set) > 0:
warnings.warn("%s fileds are useless." % ",".join(memeber_set))



class TopicInSyncReplicaResult(AbstractModel):
"""Topic 副本及详情数据集合
"""

def __init__(self):
r"""
:param TopicInSyncReplicaList: Topic详情及副本合集
:type TopicInSyncReplicaList: list of TopicInSyncReplicaInfo
:param TotalCount: 总计个数
:type TotalCount: int
"""
self.TopicInSyncReplicaList = None
self.TotalCount = None


def _deserialize(self, params):
if params.get("TopicInSyncReplicaList") is not None:
self.TopicInSyncReplicaList = []
for item in params.get("TopicInSyncReplicaList"):
obj = TopicInSyncReplicaInfo()
obj._deserialize(item)
self.TopicInSyncReplicaList.append(obj)
self.TotalCount = params.get("TotalCount")
memeber_set = set(params.keys())
for name, value in vars(self).items():
if name in memeber_set:
memeber_set.remove(name)
if len(memeber_set) > 0:
warnings.warn("%s fileds are useless." % ",".join(memeber_set))



class TopicPartitionDO(AbstractModel):
"""分区详情
Expand Down
2 changes: 1 addition & 1 deletion tencentcloud/cvm/v20170312/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -6617,7 +6617,7 @@ def __init__(self):
:type VpcId: str
:param SubnetId: 私有网络子网ID,形如`subnet-xxx`。有效的私有网络子网ID可通过登录[控制台](https://console.cloud.tencent.com/vpc/subnet?rid=1)查询;也可以调用接口 [DescribeSubnets](/document/api/215/15784) ,从接口返回中的`unSubnetId`字段获取。若在创建子机时SubnetId与VpcId同时传入`DEFAULT`,则强制使用默认vpc网络。
:type SubnetId: str
:param AsVpcGateway: 是否用作公网网关。公网网关只有在实例拥有公网IP以及处于私有网络下时才能正常使用。取值范围:<br><li>TRUE:表示用作公网网关<br><li>FALSE:表示不用作公网网关<br><br>默认取值:FALSE。
:param AsVpcGateway: 是否用作公网网关。公网网关只有在实例拥有公网IP以及处于私有网络下时才能正常使用。取值范围:<br><li>TRUE:表示用作公网网关<br><li>FALSE:表示不作为公网网关<br><br>默认取值:FALSE。
:type AsVpcGateway: bool
:param PrivateIpAddresses: 私有网络子网 IP 数组,在创建实例、修改实例vpc属性操作中可使用此参数。当前仅批量创建多台实例时支持传入相同子网的多个 IP。
:type PrivateIpAddresses: list of str
Expand Down

0 comments on commit 46f10bf

Please sign in to comment.