Skip to content

Commit

Permalink
release 3.0.1242.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tencentcloudapi committed Dec 30, 2024
1 parent a4584ca commit ee51352
Show file tree
Hide file tree
Showing 235 changed files with 7,063 additions and 3,422 deletions.
477 changes: 477 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

785 changes: 651 additions & 134 deletions SERVICE_CHANGELOG.md

Large diffs are not rendered by default.

76 changes: 38 additions & 38 deletions products.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exclude = ["tccli/examples"]

[project]
name = "tccli"
version = "3.0.1241.1"
version = "3.0.1242.1"
authors = [
{ name="tencentcloudapi", email="tencentcloudapi@tencent.com" },
]
Expand All @@ -24,7 +24,7 @@ classifiers = [
dependencies = [
"jmespath==0.10.0",
"six==1.16.0",
"tencentcloud-sdk-python>=3.0.1241",
"tencentcloud-sdk-python>=3.0.1242",
]

[project.urls]
Expand Down
2 changes: 1 addition & 1 deletion tccli/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '3.0.1241.1'
__version__ = '3.0.1242.1'
4 changes: 2 additions & 2 deletions tccli/examples/apm/v20210622/DescribeApmInstances.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**Example 1: 拉取APM实例列表**
**Example 1: 拉取 APM 业务系统列表**

拉取APM实例列表
拉取 APM 业务系统列表

Input:

Expand Down
10 changes: 5 additions & 5 deletions tccli/examples/apm/v20210622/DescribeGeneralSpanList.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**Example 1: 通用查询调用链列表**

根据traceId列表批量查询span,Filters查询参数中将Type设置为in,将traceId列表通过,隔开
根据 Trace ID 列表批量查询 Span,Filters 查询参数中将 Type 设置为 in ,将 Trace ID 列表通过,隔开

Input:

Expand Down Expand Up @@ -76,7 +76,7 @@ Output:

**Example 2: 通用查询调用链列表2**

指定tag过滤条件拿到span列表。
指定 Tag 过滤条件拿到 Span 列表

Input:

Expand Down Expand Up @@ -108,7 +108,7 @@ Output:
"Timestamp": 0,
"Fields": [
{
"Type": "test",
"Type": "job",
"Value": "=",
"Key": "test1"
}
Expand All @@ -126,14 +126,14 @@ Output:
"ServiceName": "java-order-service",
"Tags": [
{
"Type": "test",
"Type": "job",
"Value": "=",
"Key": "test2"
}
]
},
"Timestamp": 0,
"OperationName": "/test",
"OperationName": "/testOperation",
"References": [
{
"RefType": "1",
Expand Down
4 changes: 2 additions & 2 deletions tccli/examples/bh/v20230418/DescribeAcls.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Output:
"Department": {
"Id": "1.3.14",
"Name": "云鼎实验室",
"Managers": null
"Managers": []
}
}
],
Expand Down Expand Up @@ -99,7 +99,7 @@ Output:
"Department": {
"Id": "1.3.14",
"Name": "云鼎实验室",
"Managers": null
"Managers": []
}
}
],
Expand Down
8 changes: 4 additions & 4 deletions tccli/examples/cfs/v20190719/DescribeMountTargets.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ Output:
"CidrBlock": "10.0.0.0/24",
"CcnID": "ccn-123456",
"NetworkInterface": "vpc",
"SubnetName": "test",
"FileSystemId": "cfs-12345",
"VpcName": "12345",
"SubnetName": "test_subnet",
"FileSystemId": "cfs-1gag2345",
"VpcName": "defaultvpc",
"LifeCycleState": "available",
"SubnetId": "subnet-12345",
"IpAddress": "10.0.0.10",
"FSID": "12345"
"FSID": "bb1234"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion tccli/examples/cfs/v20190719/DescribeUserQuota.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Output:
"CapacityHardLimit": 10,
"FileHardLimit": 10000,
"Status": "available",
"DirectoryPath": "abc",
"DirectoryPath": "/cfs/abc",
"CapacityUsed": 1,
"FileUsed": 1
}
Expand Down
4 changes: 2 additions & 2 deletions tccli/examples/cfs/v20190719/UpdateCfsFileSystemName.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Output:
{
"Response": {
"RequestId": "fjo8aejo-fjei-32eu-2je9-fhue83nd81",
"CreationToken": "test",
"FsName": "test",
"CreationToken": "defaultcfs",
"FsName": "defaultcfs",
"FileSystemId": "cfs-12345"
}
}
Expand Down
6 changes: 3 additions & 3 deletions tccli/examples/cfs/v20190719/UpdateCfsSnapshotAttribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Input:

```
tccli cfs UpdateCfsSnapshotAttribute --cli-unfold-argument \
--SnapshotId abc \
--SnapshotName abc \
--SnapshotId snapcfs-agabg \
--SnapshotName defaultsnapshot \
--AliveDays 1
```

Expand All @@ -16,7 +16,7 @@ Output:
{
"Response": {
"RequestId": "fjo8aejo-fjei-32eu-2je9-fhue83nd81",
"SnapshotId": "snapcfs-12345"
"SnapshotId": "snapcfs-agabg"
}
}
```
Expand Down
38 changes: 25 additions & 13 deletions tccli/examples/cls/v20201016/CreateAlarm.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,39 @@ Input:

```
tccli cls CreateAlarm --cli-unfold-argument \
--AlarmNoticeIds notice-b02af159-f67b-44c3-877c-a55343f874c3 \
--Name test \
--TriggerCount 1 \
--AlarmPeriod 0 \
--MonitorTime.Type Period \
--MonitorTime.Time 10 \
--AlarmTargets.0.TopicId be3d88bb-a9cb-4d29-b697-0fcfbfd601ef \
--Name test-p0 告警策略 \
--AlarmTargets.0.Query level:error | select count(*) as cnt limit 100 \
--AlarmTargets.0.Number 1 \
--AlarmTargets.0.Query * | select count(*) as count \
--AlarmTargets.0.StartTimeOffset -15 \
--AlarmTargets.0.EndTimeOffset 0 \
--AlarmTargets.0.StartTimeOffset 0 \
--AlarmTargets.0.LogsetId fe3d45bb-a9cb-4d29-b697-0fcfbfd601ef \
--Condition $1.count > 10
--AlarmTargets.0.SyntaxRule 1 \
--AlarmTargets.0.LogsetId ad5a574c-xxxx-xxxx-bb67-990d0cb9747a \
--AlarmTargets.0.TopicId test-cos-1254111111 \
--MonitorTime.Type Period \
--MonitorTime.Time 1 \
--TriggerCount 1 \
--AlarmPeriod 15 \
--AlarmNoticeIds notice-1a2c6c17-xxxx-xxxx-81be-25248ada5a4c \
--Status True \
--MessageTemplate {{.Label}} \
--CallBack.Body \
--Analysis.0.Name 自定义检索分析 \
--Analysis.0.Type query \
--Analysis.0.Content level:error | select err limit 100 \
--Analysis.0.ConfigInfo.0.Key SyntaxRule \
--Analysis.0.ConfigInfo.0.Value 1 \
--GroupTriggerStatus False \
--MonitorObjectType 0 \
--MultiConditions.0.Condition [$1.__QUERYCOUNT__]> 10000 \
--MultiConditions.0.AlarmLevel 0
```

Output:
```
{
"Response": {
"AlarmId": "alarm-479dec34-4a59-11eb-b378-0242ac130002",
"RequestId": "6ef60bec-0242-43af-bb20-270359fb54a7"
"AlarmId": "alarm-37cd7e19-xxxx-xxxx-82cc-00713ef449f6",
"RequestId": "ab6b1233-xxxx-xxxx-91f5-c6fad91966fe"
}
}
```
Expand Down
16 changes: 8 additions & 8 deletions tccli/examples/cls/v20201016/CreateConsumer.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ Input:

```
tccli cls CreateConsumer --cli-unfold-argument \
--TopicId xxx-xxx-xxx-xxx \
--Ckafka.Vip 10.123.123.123 \
--Ckafka.Vport 8888 \
--Ckafka.InstanceId xxxxx \
--Ckafka.InstanceName myname \
--Ckafka.TopicId xxxxx \
--Ckafka.TopicName xxxxx \
--TopicId 3c38e5b1-xxxx-xxxx-8963-3af704e22e73 \
--Ckafka.Vip 10.0.0.0 \
--Ckafka.Vport 8080 \
--Ckafka.InstanceId ckafka-xxxx \
--Ckafka.InstanceName ckafka_test \
--Ckafka.TopicId topic-xxxx \
--Ckafka.TopicName topic_test \
--Content.EnableTag True \
--Content.MetaFields __SOURCE__ \
--NeedContent True \
Expand All @@ -23,7 +23,7 @@ Output:
```
{
"Response": {
"RequestId": "6ef60xxx-0xxx-4xxx-bxxx-270359fb5xxx"
"RequestId": "6ef60xxx-xxxx-xxxx-bxxx-270359fb5xxx"
}
}
```
Expand Down
13 changes: 7 additions & 6 deletions tccli/examples/cls/v20201016/CreateCosRecharge.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Input:

```
tccli cls CreateCosRecharge --cli-unfold-argument \
--TopicId ae13f7db-00b5-41ac-916e-407802axxxxx \
--LogsetId 0af7e6bb-fc91-4ee8-ad24-1129e9cxxxxx \
--TopicId ae13f7db-xxxx-xxxx-916e-407802axxxxx \
--LogsetId 0af7e6bb-xxxx-xxxx-ad24-1129e9cxxxxx \
--Name test_name \
--Bucket examplebucket-1250000000 \
--BucketRegion ap-guangzhou \
Expand All @@ -20,8 +20,9 @@ tccli cls CreateCosRecharge --cli-unfold-argument \
--ExtractRuleInfo.LogRegex .* \
--ExtractRuleInfo.BeginRegex ^ \
--ExtractRuleInfo.Keys date content \
--ExtractRuleInfo.FilterKeyRegex.0.Key xxx \
--ExtractRuleInfo.FilterKeyRegex.0.Regex ssss \
--ExtractRuleInfo.AdvanceFilterRules.0.Key response_code \
--ExtractRuleInfo.AdvanceFilterRules.0.Rule 0 \
--ExtractRuleInfo.AdvanceFilterRules.0.Value 400|500 \
--ExtractRuleInfo.UnMatchLogKey testlog \
--ExtractRuleInfo.UnMatchUpLoadSwitch True \
--ExtractRuleInfo.Backtracking -1
Expand All @@ -31,8 +32,8 @@ Output:
```
{
"Response": {
"Id": "ca092608-98e8-4ad9-83c5-a6b3bbexxxxx",
"RequestId": "dc78ee34-237b-41c7-8fcd-601a99b271f6"
"Id": "ca092608-98e8-xxxx-xxxx-a6b3bbexxxxx",
"RequestId": "dc78ee34-xxxx-xxxx-8fcd-601a99b271f6"
}
}
```
Expand Down
8 changes: 4 additions & 4 deletions tccli/examples/cls/v20201016/CreateDashboardSubscribe.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Input:
```
tccli cls CreateDashboardSubscribe --cli-unfold-argument \
--Name 每月最后一天早晨10点 \
--DashboardId xxx-xxxxxx-xxxxxxx-xxxxxxxx \
--Cron 0 0 10 L * ? \
--DashboardId dashboard-0d954d68-xxxx-xxxx-95a6-f9eff0db370f \
--Cron 0 40 20 * * ? \
--SubscribeData.DashboardTime 2022-05-01T00:00:00.000 2022-05-31T23:59:59.999 \
--SubscribeData.TemplateVariables.0.Key name \
--SubscribeData.TemplateVariables.0.Values abc \
--SubscribeData.TemplateVariables.0.Values zhangsan \
--SubscribeData.NoticeModes.0.ReceiverType Uin \
--SubscribeData.NoticeModes.0.Values 168053 \
--SubscribeData.NoticeModes.0.ReceiverChannels Sms \
Expand All @@ -26,7 +26,7 @@ Output:
```
{
"Response": {
"RequestId": "6ef60bec-0242-43af-bb20-270359fb54a7"
"RequestId": "6ef60bec-xxxx-xxxx-bb20-270359fb54a7"
}
}
```
Expand Down
10 changes: 6 additions & 4 deletions tccli/examples/cls/v20201016/CreateIndex.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,26 @@ tccli cls CreateIndex --cli-unfold-argument \
--TopicId 3edc8551-111b-473b-9fc4-ed66e20dfa8a \
--Status True \
--Rule.FullText.CaseSensitive True \
--Rule.FullText.Tokenizer * \
--Rule.FullText.Tokenizer @&?|#()='",;:<>[]{}/
\ \
--Rule.KeyValue.CaseSensitive True \
--Rule.KeyValue.KeyValues.0.Key age \
--Rule.KeyValue.KeyValues.0.Value.Type long \
--Rule.KeyValue.KeyValues.0.Value.Tokenizer _ \
--Rule.KeyValue.KeyValues.0.Value.Tokenizer \
--Rule.KeyValue.KeyValues.0.Value.SqlFlag False \
--Rule.Tag.CaseSensitive True \
--Rule.Tag.KeyValues.0.Key tag \
--Rule.Tag.KeyValues.0.Value.Type string \
--Rule.Tag.KeyValues.0.Value.Tokenizer ** \
--Rule.Tag.KeyValues.0.Value.Tokenizer @&?|#()='",;:<>[]{}/
\ \
--Rule.Tag.KeyValues.0.Value.SqlFlag False
```

Output:
```
{
"Response": {
"RequestId": "6ef60bec-0242-43af-bb20-270359fb54a7"
"RequestId": "6ef60bec-xxxx-xxxx-bb20-270359fb54a7"
}
}
```
Expand Down
10 changes: 5 additions & 5 deletions tccli/examples/cls/v20201016/CreateScheduledSql.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ Input:
tccli cls CreateScheduledSql --cli-unfold-argument \
--EnableFlag 1 \
--ProcessStartTime 1690515360000 \
--Name test \
--DstResource.TopicId 6ef60bec-0242-43af-bb20-270359fbxxxx \
--Name scheduler_sql_delete_task \
--DstResource.TopicId 6ef60bec-xxxx-xxxx-bb20-270359fbxxxx \
--DstResource.Region ap-guangzhou \
--DstResource.BizType 1 \
--DstResource.MetricName pv \
--ProcessTimeWindow @m-15m,@m \
--ProcessPeriod 5 \
--ScheduledSqlContent * | select count(*) as pv \
--SrcTopicId 6ef60bec-0242-43af-bb20-270359fbxxxxx \
--SrcTopicId 6ef60bec-xxxx-xxxx-bb20-270359fbxxxxx \
--ProcessDelay 0 \
--ProcessType 1 \
--SrcTopicRegion ap-guangzhou \
Expand All @@ -27,8 +27,8 @@ Output:
```
{
"Response": {
"TaskId": "abdcebec-0242-43af-bb20-270359fb54a7",
"RequestId": "6ef60bec-0242-43af-bb20-270359fb54a7"
"TaskId": "abdcebec-xxxx-xxxx-bb20-270359fb54a7",
"RequestId": "6ef60bec-xxxx-xxxx-bb20-270359fb54a7"
}
}
```
Expand Down
30 changes: 18 additions & 12 deletions tccli/examples/cls/v20201016/CreateShipper.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,32 @@ Input:

```
tccli cls CreateShipper --cli-unfold-argument \
--TopicId xxxx-xx-xx-xx-xxxxxxxx \
--Bucket test-1250000001 \
--Prefix test \
--ShipperName myname \
--TopicId fadcc986-xxxx-xxxx-b766-9ce9c193da32 \
--Bucket examplebucket-1250000000 \
--Prefix bow-test-1250000000 \
--ShipperName bow-投递任务 \
--Interval 300 \
--MaxSize 256 \
--Partition %Y%m%d \
--MaxSize 5 \
--FilenameMode 1 \
--FilterRules.0.Key http \
--FilterRules.0.Regex ^(\d+\.\d+)\..* \
--FilterRules.0.Value 172.16 \
--Partition /%Y/%m/%d/%H/ \
--Compress.Format none \
--FilterRules.0.Key \
--FilterRules.0.Regex \
--FilterRules.0.Value \
--FilenameMode 0
--Content.Format json \
--Content.Json.EnableTag True \
--Content.Json.MetaFields __SOURCE__ __FILENAME__ __HOSTNAME__ __TIMESTAMP__ \
--Content.Json.JsonType 1 \
--StartTime 1735544418 \
--EndTime 0
```

Output:
```
{
"Response": {
"ShipperId": "xxxx-xx-xx-xx-xxxxxxxx",
"RequestId": "6ef60bec-0242-43af-bb20-270359fb54a7"
"RequestId": "3d8b7942-xxxx-xxxx-8c14-7c665344223c",
"ShipperId": "a851ee81-xxxx-xxxx-852d-55fa5ac58269"
}
}
```
Expand Down
Loading

0 comments on commit ee51352

Please sign in to comment.