ucloud-sdk-python3 0.11.138__py3-none-any.whl → 0.11.140__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.
@@ -43,17 +43,17 @@ class SESClient(Client):
43
43
 
44
44
  **Request Model**
45
45
 
46
+ **SendSESEmailParamHeaders**
47
+ - **Name** (str) - 邮件头名称,最多 20 个且仅允许字母、数字和 -(正则 ^[A-Za-z0-9-]+$)。禁止使用保留名称:From/To/Cc/Bcc/Subject/Reply-To/Content-Type/Mime-Version,以及 X-SES- 前缀(均不区分大小写)。
48
+ - **Value** (str) - 邮件头值
49
+
50
+
46
51
  **SendSESEmailParamAttachments**
47
52
  - **ContentType** (str) - MIME 类型,如: application/pdf
48
53
  - **Data** (str) - 附件内容(Base64 编码),单次请求最多 10 个附件;总大小不超过 10MB
49
54
  - **Filename** (str) - 附件文件名
50
55
 
51
56
 
52
- **SendSESEmailParamHeaders**
53
- - **Name** (str) - 邮件头名称,最多 20 个且仅允许字母、数字和 -(正则 ^[A-Za-z0-9-]+$)。禁止使用保留名称:From/To/Cc/Bcc/Subject/Reply-To/Content-Type/Mime-Version,以及 X-SES- 前缀(均不区分大小写)。
54
- - **Value** (str) - 邮件头值
55
-
56
-
57
57
  **Response Model**
58
58
 
59
59
  **FailedTargetEmail**
@@ -61,7 +61,7 @@ class SESClient(Client):
61
61
  - **Cc** (list) - 抄送
62
62
  - **EmailAddress** (str) - 收件邮箱
63
63
  - **FailureReason** (str) - 失败原因
64
- - **TemplateVariableParams** (list) - 模版变量
64
+ - **TemplateVariableParams** (list) - 模版变量,variableName{##}variableValue 格式;仅使用模版发送(SendSESEmailTemplate)时返回,未使用模版发送(SendSESEmail)时不返回该字段
65
65
  - **To** (str) - 收件人
66
66
 
67
67
 
@@ -107,12 +107,6 @@ class SESClient(Client):
107
107
 
108
108
  **Request Model**
109
109
 
110
- **SendSESEmailTemplateParamAttachments**
111
- - **ContentType** (str) - MIME 类型,如: application/pdf
112
- - **Data** (str) - 附件内容(Base64 编码),单次请求最多 10 个附件;总大小不超过 10MB
113
- - **Filename** (str) - 附件文件名
114
-
115
-
116
110
  **SendSESEmailTemplateParamEmailContent**
117
111
  - **Bcc** (list) - 密送(抄送+密送总数量不能超过100)
118
112
  - **Cc** (list) - 抄送(抄送+密送总数量不能超过100)
@@ -120,6 +114,12 @@ class SESClient(Client):
120
114
  - **To** (str) - 收件人,最多100条
121
115
 
122
116
 
117
+ **SendSESEmailTemplateParamAttachments**
118
+ - **ContentType** (str) - MIME 类型,如: application/pdf
119
+ - **Data** (str) - 附件内容(Base64 编码),单次请求最多 10 个附件;总大小不超过 10MB
120
+ - **Filename** (str) - 附件文件名
121
+
122
+
123
123
  **SendSESEmailTemplateParamHeaders**
124
124
  - **Name** (str) - 邮件头名称,最多 20 个且仅允许字母、数字和 -(正则 ^[A-Za-z0-9-]+$)。禁止使用保留名称:From/To/Cc/Bcc/Subject/Reply-To/Content-Type/Mime-Version,以及 X-SES- 前缀(均不区分大小写)。
125
125
  - **Value** (str) - 邮件头值
@@ -14,22 +14,22 @@ API: SendSESEmail
14
14
  """
15
15
 
16
16
 
17
- class SendSESEmailParamAttachmentsSchema(schema.RequestSchema):
18
- """SendSESEmailParamAttachments -"""
17
+ class SendSESEmailParamHeadersSchema(schema.RequestSchema):
18
+ """SendSESEmailParamHeaders -"""
19
19
 
20
20
  fields = {
21
- "ContentType": fields.Str(required=False, dump_to="ContentType"),
22
- "Data": fields.Str(required=False, dump_to="Data"),
23
- "Filename": fields.Str(required=False, dump_to="Filename"),
21
+ "Name": fields.Str(required=False, dump_to="Name"),
22
+ "Value": fields.Str(required=False, dump_to="Value"),
24
23
  }
25
24
 
26
25
 
27
- class SendSESEmailParamHeadersSchema(schema.RequestSchema):
28
- """SendSESEmailParamHeaders -"""
26
+ class SendSESEmailParamAttachmentsSchema(schema.RequestSchema):
27
+ """SendSESEmailParamAttachments -"""
29
28
 
30
29
  fields = {
31
- "Name": fields.Str(required=False, dump_to="Name"),
32
- "Value": fields.Str(required=False, dump_to="Value"),
30
+ "ContentType": fields.Str(required=False, dump_to="ContentType"),
31
+ "Data": fields.Str(required=False, dump_to="Data"),
32
+ "Filename": fields.Str(required=False, dump_to="Filename"),
33
33
  }
34
34
 
35
35
 
@@ -75,16 +75,6 @@ API: SendSESEmailTemplate
75
75
  """
76
76
 
77
77
 
78
- class SendSESEmailTemplateParamAttachmentsSchema(schema.RequestSchema):
79
- """SendSESEmailTemplateParamAttachments -"""
80
-
81
- fields = {
82
- "ContentType": fields.Str(required=False, dump_to="ContentType"),
83
- "Data": fields.Str(required=False, dump_to="Data"),
84
- "Filename": fields.Str(required=False, dump_to="Filename"),
85
- }
86
-
87
-
88
78
  class SendSESEmailTemplateParamEmailContentSchema(schema.RequestSchema):
89
79
  """SendSESEmailTemplateParamEmailContent -"""
90
80
 
@@ -96,6 +86,16 @@ class SendSESEmailTemplateParamEmailContentSchema(schema.RequestSchema):
96
86
  }
97
87
 
98
88
 
89
+ class SendSESEmailTemplateParamAttachmentsSchema(schema.RequestSchema):
90
+ """SendSESEmailTemplateParamAttachments -"""
91
+
92
+ fields = {
93
+ "ContentType": fields.Str(required=False, dump_to="ContentType"),
94
+ "Data": fields.Str(required=False, dump_to="Data"),
95
+ "Filename": fields.Str(required=False, dump_to="Filename"),
96
+ }
97
+
98
+
99
99
  class SendSESEmailTemplateParamHeadersSchema(schema.RequestSchema):
100
100
  """SendSESEmailTemplateParamHeaders -"""
101
101
 
@@ -358,23 +358,15 @@ class UAI_ModelverseClient(Client):
358
358
 
359
359
  **Response Model**
360
360
 
361
- **InferenceRegionInfo**
362
- - **ModelId** (str) - 地域模型ID (例如: deepseek-v4-flash-sg)
363
- - **RegionCode** (str) - 地域代码: sg(新加坡)/us(美国)/hk(香港)
364
- - **RegionName** (str) - 地域名称: 新加坡/美国/香港
365
- - **RegionNameEn** (str) - 地域名称(英文): Singapore/United States/Hong Kong
366
- - **SquareModelId** (str) - 广场模型ID (umodel-xxx)
367
- - **Status** (str) - 状态: published(已发布)/unpublished(未发布)
368
-
369
-
370
- **ModelTypeMap**
371
- - **ImageToImage** (bool) - 图生图模型
372
- - **ImageToVideo** (bool) - 图生视频模型
373
- - **Inference** (bool) - 微调模型
374
- - **Sensitive** (bool) - 海外模型
375
- - **TextGeneration** (bool) - 文生文模型,true 表示是文生文模型,下同
376
- - **TextToImage** (bool) - 文生图模型
377
- - **TextToVideo** (bool) - 文生视频模型
361
+ **ModelCapabilities**
362
+ - **BatchInference** (bool) - 是否支持批量推理
363
+ - **ContextCaching** (bool) - 是否支持上下文缓存
364
+ - **Experience** (bool) - 是否支持体验
365
+ - **FunctionCall** (bool) - 是否支持函数调用
366
+ - **KnowledgeBase** (bool) - 是否支持知识库
367
+ - **Mcp** (bool) - 是否支持MCP
368
+ - **StructuredOutput** (bool) - 是否支持结构化输出
369
+ - **WebSearch** (bool) - 是否支持联网搜索
378
370
 
379
371
 
380
372
  **Pricing**
@@ -387,6 +379,16 @@ class UAI_ModelverseClient(Client):
387
379
  - **Video** (str) - 生视频定价
388
380
 
389
381
 
382
+ **ModelTypeMap**
383
+ - **ImageToImage** (bool) - 图生图模型
384
+ - **ImageToVideo** (bool) - 图生视频模型
385
+ - **Inference** (bool) - 微调模型
386
+ - **Sensitive** (bool) - 海外模型
387
+ - **TextGeneration** (bool) - 文生文模型,true 表示是文生文模型,下同
388
+ - **TextToImage** (bool) - 文生图模型
389
+ - **TextToVideo** (bool) - 文生视频模型
390
+
391
+
390
392
  **PriceRate**
391
393
  - **ChargeItem** (str) - 收费项:input/output/thinking/tool...
392
394
  - **ChargeItemDescription** (str) - 收费项描述
@@ -397,22 +399,13 @@ class UAI_ModelverseClient(Client):
397
399
  - **UnitEn** (str) - 计价单位英文
398
400
 
399
401
 
400
- **ApiProtocols**
401
- - **Anthropic** (bool) - 是否支持Anthropic协议
402
- - **ChatCompletions** (bool) - 是否支持chat协议
403
- - **Gemini** (bool) - 是否支持gemini协议
404
- - **Responses** (bool) - 是否支持responses协议
405
-
406
-
407
- **ModelCapabilities**
408
- - **BatchInference** (bool) - 是否支持批量推理
409
- - **ContextCaching** (bool) - 是否支持上下文缓存
410
- - **Experience** (bool) - 是否支持体验
411
- - **FunctionCall** (bool) - 是否支持函数调用
412
- - **KnowledgeBase** (bool) - 是否支持知识库
413
- - **Mcp** (bool) - 是否支持MCP
414
- - **StructuredOutput** (bool) - 是否支持结构化输出
415
- - **WebSearch** (bool) - 是否支持联网搜索
402
+ **InferenceRegionInfo**
403
+ - **ModelId** (str) - 地域模型ID (例如: deepseek-v4-flash-sg)
404
+ - **RegionCode** (str) - 地域代码: sg(新加坡)/us(美国)/hk(香港)
405
+ - **RegionName** (str) - 地域名称: 新加坡/美国/香港
406
+ - **RegionNameEn** (str) - 地域名称(英文): Singapore/United States/Hong Kong
407
+ - **SquareModelId** (str) - 广场模型ID (umodel-xxx)
408
+ - **Status** (str) - 状态: published(已发布)/unpublished(未发布)
416
409
 
417
410
 
418
411
  **PriceTier**
@@ -422,6 +415,13 @@ class UAI_ModelverseClient(Client):
422
415
  - **Rates** (list) - 见 **PriceRate** 模型定义
423
416
 
424
417
 
418
+ **ApiProtocols**
419
+ - **Anthropic** (bool) - 是否支持Anthropic协议
420
+ - **ChatCompletions** (bool) - 是否支持chat协议
421
+ - **Gemini** (bool) - 是否支持gemini协议
422
+ - **Responses** (bool) - 是否支持responses协议
423
+
424
+
425
425
  **SquareModel**
426
426
  - **ApiProtocols** (dict) - 见 **ApiProtocols** 模型定义
427
427
  - **BatchName** (str) - 关联的 batch 模型名称
@@ -492,7 +492,7 @@ class UAI_ModelverseClient(Client):
492
492
  - **ChargeItemDescription** (str) - 收费项描述
493
493
  - **ChargeItemDescriptionEn** (str) - 收费项描述英文描述
494
494
  - **Currency** (str) - 货币单位
495
- - **Price** (str) - 价格
495
+ - **Price** (int) - 价格
496
496
  - **Unit** (str) - 计价单位
497
497
  - **UnitEn** (str) - 计价单位英文
498
498
 
@@ -842,16 +842,6 @@ class UAI_ModelverseClient(Client):
842
842
 
843
843
  **Response Model**
844
844
 
845
- **Pricing**
846
- - **Completion** (float) - 输出定价
847
- - **Currency** (str) - 币种
848
- - **Image** (float) - 生图定价
849
- - **Prompt** (float) - 提示词定价
850
- - **Unit** (str) - 单位(中文),如“次” “百万”
851
- - **UnitEn** (str) - 单位(English),如“Time” “Million”
852
- - **Video** (str) - 生视频定价
853
-
854
-
855
845
  **PriceRate**
856
846
  - **ChargeItem** (str) - 收费项:input/output/thinking/tool...
857
847
  - **ChargeItemDescription** (str) - 收费项描述
@@ -862,6 +852,16 @@ class UAI_ModelverseClient(Client):
862
852
  - **UnitEn** (str) - 计价单位英文
863
853
 
864
854
 
855
+ **Pricing**
856
+ - **Completion** (float) - 输出定价
857
+ - **Currency** (str) - 币种
858
+ - **Image** (float) - 生图定价
859
+ - **Prompt** (float) - 提示词定价
860
+ - **Unit** (str) - 单位(中文),如“次” “百万”
861
+ - **UnitEn** (str) - 单位(English),如“Time” “Million”
862
+ - **Video** (str) - 生视频定价
863
+
864
+
865
865
  **PriceTier**
866
866
  - **Condition** (str) - 档位/条件(例如 "32k"、"128k")
867
867
  - **Description** (str) - 档位描述(例如 "标准上下文 32k")
@@ -74,35 +74,6 @@ class FilterOptionStringSchema(schema.ResponseSchema):
74
74
  }
75
75
 
76
76
 
77
- class PriceRateSchema(schema.ResponseSchema):
78
- """PriceRate - 该档位下的收费列表(有序数组)"""
79
-
80
- fields = {
81
- "ChargeItem": fields.Str(required=False, load_from="ChargeItem"),
82
- "ChargeItemDescription": fields.Str(
83
- required=False, load_from="ChargeItemDescription"
84
- ),
85
- "ChargeItemDescriptionEn": fields.Str(
86
- required=True, load_from="ChargeItemDescriptionEn"
87
- ),
88
- "Currency": fields.Str(required=True, load_from="Currency"),
89
- "Price": fields.Str(required=False, load_from="Price"),
90
- "Unit": fields.Str(required=True, load_from="Unit"),
91
- "UnitEn": fields.Str(required=True, load_from="UnitEn"),
92
- }
93
-
94
-
95
- class PriceTierSchema(schema.ResponseSchema):
96
- """PriceTier - 价格阶梯"""
97
-
98
- fields = {
99
- "Condition": fields.Str(required=False, load_from="Condition"),
100
- "Description": fields.Str(required=False, load_from="Description"),
101
- "DescriptionEn": fields.Str(required=True, load_from="DescriptionEn"),
102
- "Rates": fields.List(PriceRateSchema()),
103
- }
104
-
105
-
106
77
  class ModelTypeMapSchema(schema.ResponseSchema):
107
78
  """ModelTypeMap - ModelTypeMap"""
108
79
 
@@ -133,16 +104,21 @@ class PricingSchema(schema.ResponseSchema):
133
104
  }
134
105
 
135
106
 
136
- class ApiProtocolsSchema(schema.ResponseSchema):
137
- """ApiProtocols - ApiProtocols"""
107
+ class PriceRateSchema(schema.ResponseSchema):
108
+ """PriceRate - 该档位下的收费列表(有序数组)"""
138
109
 
139
110
  fields = {
140
- "Anthropic": fields.Bool(required=False, load_from="Anthropic"),
141
- "ChatCompletions": fields.Bool(
142
- required=False, load_from="ChatCompletions"
111
+ "ChargeItem": fields.Str(required=False, load_from="ChargeItem"),
112
+ "ChargeItemDescription": fields.Str(
113
+ required=False, load_from="ChargeItemDescription"
143
114
  ),
144
- "Gemini": fields.Bool(required=False, load_from="Gemini"),
145
- "Responses": fields.Bool(required=False, load_from="Responses"),
115
+ "ChargeItemDescriptionEn": fields.Str(
116
+ required=True, load_from="ChargeItemDescriptionEn"
117
+ ),
118
+ "Currency": fields.Str(required=True, load_from="Currency"),
119
+ "Price": fields.Str(required=False, load_from="Price"),
120
+ "Unit": fields.Str(required=True, load_from="Unit"),
121
+ "UnitEn": fields.Str(required=True, load_from="UnitEn"),
146
122
  }
147
123
 
148
124
 
@@ -167,6 +143,19 @@ class ModelCapabilitiesSchema(schema.ResponseSchema):
167
143
  }
168
144
 
169
145
 
146
+ class ApiProtocolsSchema(schema.ResponseSchema):
147
+ """ApiProtocols - ApiProtocols"""
148
+
149
+ fields = {
150
+ "Anthropic": fields.Bool(required=False, load_from="Anthropic"),
151
+ "ChatCompletions": fields.Bool(
152
+ required=False, load_from="ChatCompletions"
153
+ ),
154
+ "Gemini": fields.Bool(required=False, load_from="Gemini"),
155
+ "Responses": fields.Bool(required=False, load_from="Responses"),
156
+ }
157
+
158
+
170
159
  class InferenceRegionInfoSchema(schema.ResponseSchema):
171
160
  """InferenceRegionInfo - 地域推理模型信息"""
172
161
 
@@ -180,6 +169,17 @@ class InferenceRegionInfoSchema(schema.ResponseSchema):
180
169
  }
181
170
 
182
171
 
172
+ class PriceTierSchema(schema.ResponseSchema):
173
+ """PriceTier - 价格阶梯"""
174
+
175
+ fields = {
176
+ "Condition": fields.Str(required=False, load_from="Condition"),
177
+ "Description": fields.Str(required=False, load_from="Description"),
178
+ "DescriptionEn": fields.Str(required=True, load_from="DescriptionEn"),
179
+ "Rates": fields.List(PriceRateSchema()),
180
+ }
181
+
182
+
183
183
  class SquareModelSchema(schema.ResponseSchema):
184
184
  """SquareModel - 广场模型"""
185
185
 
@@ -469,11 +469,13 @@ class ULogServiceClient(Client):
469
469
  **Response**
470
470
 
471
471
  - **Data** (list) - 见 **LogSetInfo** 模型定义
472
+ - **TotalCount** (int) - 日志集数量
472
473
 
473
474
  **Response Model**
474
475
 
475
476
  **LogSetInfo**
476
477
  - **CreateTime** (int) - 创建时间
478
+ - **LogSetId** (str) - 日志集ID
477
479
  - **LogSetName** (str) - 日志集名称
478
480
  - **LogSetRemark** (str) - 日志集备注
479
481
  - **TopicCount** (int) - 日志集下主题数量
@@ -597,11 +599,6 @@ class ULogServiceClient(Client):
597
599
 
598
600
  **Response Model**
599
601
 
600
- **AnalysisField**
601
- - **Name** (str) - 字段名
602
- - **Type** (str) - 字段类型
603
-
604
-
605
602
  **LogContent**
606
603
  - **FileName** (str) - 日志文件路径
607
604
  - **HostName** (str) - 日志来源主机
@@ -610,6 +607,11 @@ class ULogServiceClient(Client):
610
607
  - **Timestamp** (int) - 日志时间
611
608
 
612
609
 
610
+ **AnalysisField**
611
+ - **Name** (str) - 字段名
612
+ - **Type** (str) - 字段类型
613
+
614
+
613
615
  **LogQueryResult**
614
616
  - **AnalysisRecords** (list) - 当使用SQL语句查询时,数据通过该字段返回
615
617
  - **Columns** (list) - 见 **AnalysisField** 模型定义
@@ -378,6 +378,7 @@ class ListULogServiceLogSetResponseSchema(schema.ResponseSchema):
378
378
  "Data": fields.List(
379
379
  models.LogSetInfoSchema(), required=False, load_from="Data"
380
380
  ),
381
+ "TotalCount": fields.Int(required=False, load_from="TotalCount"),
381
382
  }
382
383
 
383
384
 
@@ -84,10 +84,11 @@ class CollectConfSchema(schema.ResponseSchema):
84
84
 
85
85
 
86
86
  class LogSetInfoSchema(schema.ResponseSchema):
87
- """LogSetInfo -"""
87
+ """LogSetInfo - 日志集信息"""
88
88
 
89
89
  fields = {
90
90
  "CreateTime": fields.Int(required=False, load_from="CreateTime"),
91
+ "LogSetId": fields.Str(required=False, load_from="LogSetId"),
91
92
  "LogSetName": fields.Str(required=False, load_from="LogSetName"),
92
93
  "LogSetRemark": fields.Str(required=False, load_from="LogSetRemark"),
93
94
  "TopicCount": fields.Int(required=False, load_from="TopicCount"),
@@ -108,15 +109,6 @@ class TopicInfoSchema(schema.ResponseSchema):
108
109
  }
109
110
 
110
111
 
111
- class AnalysisFieldSchema(schema.ResponseSchema):
112
- """AnalysisField - 统计分析结果字段头"""
113
-
114
- fields = {
115
- "Name": fields.Str(required=True, load_from="Name"),
116
- "Type": fields.Str(required=True, load_from="Type"),
117
- }
118
-
119
-
120
112
  class LogContentSchema(schema.ResponseSchema):
121
113
  """LogContent - 日志内容"""
122
114
 
@@ -129,6 +121,15 @@ class LogContentSchema(schema.ResponseSchema):
129
121
  }
130
122
 
131
123
 
124
+ class AnalysisFieldSchema(schema.ResponseSchema):
125
+ """AnalysisField - 统计分析结果字段头"""
126
+
127
+ fields = {
128
+ "Name": fields.Str(required=True, load_from="Name"),
129
+ "Type": fields.Str(required=True, load_from="Type"),
130
+ }
131
+
132
+
132
133
  class LogQueryResultSchema(schema.ResponseSchema):
133
134
  """LogQueryResult - 日志检索结果"""
134
135
 
@@ -1590,12 +1590,6 @@ class VPCClient(Client):
1590
1590
 
1591
1591
  **Response Model**
1592
1592
 
1593
- **NatGatewaySubnetSet**
1594
- - **Subnet** (str) - 子网网段
1595
- - **SubnetName** (str) - 子网名字
1596
- - **SubnetworkId** (str) - 子网id
1597
-
1598
-
1599
1593
  **NatGWIPResInfo**
1600
1594
  - **EIP** (str) - 外网IP
1601
1595
  - **OperatorName** (str) - IP的运营商信息
@@ -1609,6 +1603,12 @@ class VPCClient(Client):
1609
1603
  - **Weight** (int) - 权重为100的为出口
1610
1604
 
1611
1605
 
1606
+ **NatGatewaySubnetSet**
1607
+ - **Subnet** (str) - 子网网段
1608
+ - **SubnetName** (str) - 子网名字
1609
+ - **SubnetworkId** (str) - 子网id
1610
+
1611
+
1612
1612
  **NatGatewayDataSet**
1613
1613
  - **CreateTime** (int) - natgw创建时间
1614
1614
  - **FirewallId** (str) - 绑定的防火墙Id
@@ -1912,16 +1912,6 @@ class VPCClient(Client):
1912
1912
 
1913
1913
  **Response Model**
1914
1914
 
1915
- **UNIIpInfo**
1916
- - **IpAddr** (list) - ip 地址
1917
- - **IpType** (str) - ip类型 SecondaryIp/PrimaryIp
1918
-
1919
-
1920
- **FwInfo**
1921
- - **Id** (str) - 防火墙资源 ID
1922
- - **Name** (str) - 防火墙资源名称
1923
-
1924
-
1925
1915
  **SimpleIPv6AddressInfo**
1926
1916
  - **Attribute** (str) - 属性
1927
1917
  - **IPv6Address** (str) - IPv6 地址
@@ -1939,6 +1929,16 @@ class VPCClient(Client):
1939
1929
  - **SecGroupId** (str) - 安全组ID
1940
1930
 
1941
1931
 
1932
+ **FwInfo**
1933
+ - **Id** (str) - 防火墙资源 ID
1934
+ - **Name** (str) - 防火墙资源名称
1935
+
1936
+
1937
+ **UNIIpInfo**
1938
+ - **IpAddr** (list) - ip 地址
1939
+ - **IpType** (str) - ip类型 SecondaryIp/PrimaryIp
1940
+
1941
+
1942
1942
  **NetworkInterface**
1943
1943
  - **AttachInstanceId** (str) - 绑定实例资源ID
1944
1944
  - **CreateTime** (int) - 创建时间
@@ -3446,7 +3446,7 @@ class VPCClient(Client):
3446
3446
 
3447
3447
  - **ProjectId** (str) - (Config) 项目ID。不填写为默认项目,子帐号必须填写。 请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list>`_
3448
3448
  - **Region** (str) - (Config) 地域。 参见 `地域和可用区列表 <https://docs.ucloud.cn/api/summary/regionlist>`_
3449
- - **SecGroupId** (str) - (Required) 安全组资源ID数组。不支持 .n 格式。Type 为 string 数组。
3449
+ - **SecGroupId** (list) - (Required) 安全组资源ID数组。不支持 .n 格式。Type 为 string 数组。
3450
3450
  - **Name** (str) - 安全组名称,默认为空,为空则不做修改。Name,Tag,Remark必须填写1个及以上
3451
3451
  - **Remark** (str) - 安全组备注,默认为空,为空则不做修改。Name,Tag,Remark必须填写1个及以上
3452
3452
 
@@ -2704,7 +2704,7 @@ class UpdateSecGroupRequestSchema(schema.RequestSchema):
2704
2704
  "ProjectId": fields.Str(required=False, dump_to="ProjectId"),
2705
2705
  "Region": fields.Str(required=True, dump_to="Region"),
2706
2706
  "Remark": fields.Str(required=False, dump_to="Remark"),
2707
- "SecGroupId": fields.Str(required=True, dump_to="SecGroupId"),
2707
+ "SecGroupId": fields.List(fields.Str()),
2708
2708
  }
2709
2709
 
2710
2710
 
@@ -121,16 +121,6 @@ class NatGWIPResInfoSchema(schema.ResponseSchema):
121
121
  }
122
122
 
123
123
 
124
- class NatGatewaySubnetSetSchema(schema.ResponseSchema):
125
- """NatGatewaySubnetSet - natgw里面的子网信息"""
126
-
127
- fields = {
128
- "Subnet": fields.Str(required=True, load_from="Subnet"),
129
- "SubnetName": fields.Str(required=False, load_from="SubnetName"),
130
- "SubnetworkId": fields.Str(required=False, load_from="SubnetworkId"),
131
- }
132
-
133
-
134
124
  class NatGatewayIPSetSchema(schema.ResponseSchema):
135
125
  """NatGatewayIPSet - IPSet信息"""
136
126
 
@@ -143,6 +133,16 @@ class NatGatewayIPSetSchema(schema.ResponseSchema):
143
133
  }
144
134
 
145
135
 
136
+ class NatGatewaySubnetSetSchema(schema.ResponseSchema):
137
+ """NatGatewaySubnetSet - natgw里面的子网信息"""
138
+
139
+ fields = {
140
+ "Subnet": fields.Str(required=True, load_from="Subnet"),
141
+ "SubnetName": fields.Str(required=False, load_from="SubnetName"),
142
+ "SubnetworkId": fields.Str(required=False, load_from="SubnetworkId"),
143
+ }
144
+
145
+
146
146
  class NatGatewayDataSetSchema(schema.ResponseSchema):
147
147
  """NatGatewayDataSet - natgw的信息"""
148
148
 
@@ -235,29 +235,6 @@ class AclInfoSchema(schema.ResponseSchema):
235
235
  }
236
236
 
237
237
 
238
- class SimpleIPv6AddressInfoSchema(schema.ResponseSchema):
239
- """SimpleIPv6AddressInfo -"""
240
-
241
- fields = {
242
- "Attribute": fields.Str(required=False, load_from="Attribute"),
243
- "IPv6Address": fields.Str(required=False, load_from="IPv6Address"),
244
- "IPv6Id": fields.Str(required=False, load_from="IPv6Id"),
245
- }
246
-
247
-
248
- class UNIQuotaInfoSchema(schema.ResponseSchema):
249
- """UNIQuotaInfo - 虚拟网卡内网IP配额使用情况"""
250
-
251
- fields = {
252
- "PrivateIpCount": fields.Int(
253
- required=False, load_from="PrivateIpCount"
254
- ),
255
- "PrivateIpQuota": fields.Int(
256
- required=False, load_from="PrivateIpQuota"
257
- ),
258
- }
259
-
260
-
261
238
  class UNIIpInfoSchema(schema.ResponseSchema):
262
239
  """UNIIpInfo - 虚拟网卡内网IP信息"""
263
240
 
@@ -286,6 +263,29 @@ class FwInfoSchema(schema.ResponseSchema):
286
263
  }
287
264
 
288
265
 
266
+ class UNIQuotaInfoSchema(schema.ResponseSchema):
267
+ """UNIQuotaInfo - 虚拟网卡内网IP配额使用情况"""
268
+
269
+ fields = {
270
+ "PrivateIpCount": fields.Int(
271
+ required=False, load_from="PrivateIpCount"
272
+ ),
273
+ "PrivateIpQuota": fields.Int(
274
+ required=False, load_from="PrivateIpQuota"
275
+ ),
276
+ }
277
+
278
+
279
+ class SimpleIPv6AddressInfoSchema(schema.ResponseSchema):
280
+ """SimpleIPv6AddressInfo -"""
281
+
282
+ fields = {
283
+ "Attribute": fields.Str(required=False, load_from="Attribute"),
284
+ "IPv6Address": fields.Str(required=False, load_from="IPv6Address"),
285
+ "IPv6Id": fields.Str(required=False, load_from="IPv6Id"),
286
+ }
287
+
288
+
289
289
  class NetworkInterfaceSchema(schema.ResponseSchema):
290
290
  """NetworkInterface - 虚拟网卡信息"""
291
291
 
@@ -325,6 +325,17 @@ class NetworkInterfaceSchema(schema.ResponseSchema):
325
325
  }
326
326
 
327
327
 
328
+ class BindingSecGroupInfoSchema(schema.ResponseSchema):
329
+ """BindingSecGroupInfo -"""
330
+
331
+ fields = {
332
+ "Name": fields.Str(required=False, load_from="Name"),
333
+ "Priority": fields.Int(required=False, load_from="Priority"),
334
+ "SecGroupId": fields.Str(required=False, load_from="SecGroupId"),
335
+ "VPCId": fields.Str(required=False, load_from="VPCId"),
336
+ }
337
+
338
+
328
339
  class SecGroupSimpleInfoSchema(schema.ResponseSchema):
329
340
  """SecGroupSimpleInfo - 安全组简略信息"""
330
341
 
@@ -361,17 +372,6 @@ class ResourceExInfoSchema(schema.ResponseSchema):
361
372
  }
362
373
 
363
374
 
364
- class BindingSecGroupInfoSchema(schema.ResponseSchema):
365
- """BindingSecGroupInfo -"""
366
-
367
- fields = {
368
- "Name": fields.Str(required=False, load_from="Name"),
369
- "Priority": fields.Int(required=False, load_from="Priority"),
370
- "SecGroupId": fields.Str(required=False, load_from="SecGroupId"),
371
- "VPCId": fields.Str(required=False, load_from="VPCId"),
372
- }
373
-
374
-
375
375
  class ResourceSecgroupInfoExSchema(schema.ResponseSchema):
376
376
  """ResourceSecgroupInfoEx - 资源绑定的安全组信息。ResourceSecgroupInfoEx 中如果资源是非网卡资源(如云主机)且绑定虚拟网卡,
377
377
  则该资源不会绑定安全组,安全组只会绑定到虚拟网卡上;故 Count 为 0,Uni 非空,
ucloud/version.py CHANGED
@@ -1 +1 @@
1
- version = "0.11.138"
1
+ version = "0.11.140"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ucloud-sdk-python3
3
- Version: 0.11.138
3
+ Version: 0.11.140
4
4
  Summary: UCloud Service Development Kit - Python
5
5
  Home-page: https://github.com/ucloud/ucloud-sdk-python3
6
6
  Author: ucloud
@@ -22,20 +22,20 @@ Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
23
  Requires-Dist: requests
24
24
  Provides-Extra: ci
25
+ Requires-Dist: requests; extra == "ci"
25
26
  Requires-Dist: sphinx; extra == "ci"
26
27
  Requires-Dist: requests-mock; extra == "ci"
27
28
  Requires-Dist: pytest-cov; extra == "ci"
28
- Requires-Dist: pytest>=4.6; extra == "ci"
29
- Requires-Dist: requests; extra == "ci"
30
29
  Requires-Dist: flake8>=3.6.0; extra == "ci"
30
+ Requires-Dist: pytest>=4.6; extra == "ci"
31
31
  Provides-Extra: dev
32
- Requires-Dist: black; extra == "dev"
32
+ Requires-Dist: requests; extra == "dev"
33
33
  Requires-Dist: sphinx; extra == "dev"
34
34
  Requires-Dist: requests-mock; extra == "dev"
35
35
  Requires-Dist: pytest-cov; extra == "dev"
36
- Requires-Dist: pytest>=4.6; extra == "dev"
37
- Requires-Dist: requests; extra == "dev"
38
36
  Requires-Dist: flake8>=3.6.0; extra == "dev"
37
+ Requires-Dist: black; extra == "dev"
38
+ Requires-Dist: pytest>=4.6; extra == "dev"
39
39
  Provides-Extra: doc
40
40
  Requires-Dist: requests; extra == "doc"
41
41
  Requires-Dist: sphinx; extra == "doc"
@@ -1,6 +1,6 @@
1
1
  ucloud/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  ucloud/client.py,sha256=-BJGM-ulXMVFaj_-fHQkZlB5tu7f3bpZPxpUqFDuii8,14782
3
- ucloud/version.py,sha256=-WSjt_Jo4twVZEPGpszk8WOkQ-fG4J24aj0pZItq93I,21
3
+ ucloud/version.py,sha256=q9TiWICOPZYOSbkK9olFgFB0coQGniu5WSEEAYofMTo,21
4
4
  ucloud/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  ucloud/core/auth/__init__.py,sha256=yO69G6m3hTfWQZzqFmZJEe0-JXw6JKTHTDJu7goX_QU,71
6
6
  ucloud/core/auth/_cfg.py,sha256=7Zsv7bKxJ6NtxeR_VE9jldLh-iIy0ERvkr2AuvLESZY,2115
@@ -73,9 +73,9 @@ ucloud/services/sandbox/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
73
73
  ucloud/services/sandbox/schemas/apis.py,sha256=cBKsHFFgS_mwQzNBlEFfAkONu3q2-Xu3Veo0osZk3dM,5850
74
74
  ucloud/services/sandbox/schemas/models.py,sha256=n9CW8Tirs7aHrn6bNb2ETRU6aOYscaQ4RZUeEDIhL8U,1665
75
75
  ucloud/services/ses/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
76
- ucloud/services/ses/client.py,sha256=VsGOOkOeVEavNW3X9ltnuSnMmXl8z1_8pj_mnbqZaUM,7236
76
+ ucloud/services/ses/client.py,sha256=tuit4ZHx03WMuAbOqhuNht_W7bC0twBivxqdNtY0KrU,7395
77
77
  ucloud/services/ses/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
78
- ucloud/services/ses/schemas/apis.py,sha256=6557ym9iAA4BIGnnOv9xZR1y4wlufV9MOy-VrURf7Us,5501
78
+ ucloud/services/ses/schemas/apis.py,sha256=L6S-Nps-MrFvERrZqF3SBZWv0H1uIC3-AaRc8db2rrk,5501
79
79
  ucloud/services/ses/schemas/models.py,sha256=0jRyQxTUQjcp_K9oPzAOueNrm_sdsQRmoylqZBtZNXE,600
80
80
  ucloud/services/stepflow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
81
81
  ucloud/services/stepflow/client.py,sha256=Gh_GwF9v7OOGZo8q7kG7aHyV4e4k7f1A-LGYjIGV4HY,4012
@@ -108,10 +108,10 @@ ucloud/services/uads/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
108
108
  ucloud/services/uads/schemas/apis.py,sha256=Uyety2W0wHk4WGyri2zNUPY_rOfd5XhaOnBw2cvGoFs,29043
109
109
  ucloud/services/uads/schemas/models.py,sha256=W6rqAJ8Xp_ltV4EQz5Nkb2BP9mO9K2wSVyad6PxDy0A,7707
110
110
  ucloud/services/uai_modelverse/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
111
- ucloud/services/uai_modelverse/client.py,sha256=wVu15UmkZkZcUsk3oI4NcKbXQ1Ymx_JSLpFNKqtv7B8,58240
111
+ ucloud/services/uai_modelverse/client.py,sha256=FknoZ9mKeIVwQOtIGW6V3b2jzybbCucbXw2aUoH3qJo,58240
112
112
  ucloud/services/uai_modelverse/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
113
113
  ucloud/services/uai_modelverse/schemas/apis.py,sha256=sBCEuIov0GXz13NB7j3lsZztFzEldomZ3qZwR1QDK-s,28426
114
- ucloud/services/uai_modelverse/schemas/models.py,sha256=47GDI8FGoQ9Wvs1IU6LbJZpuW5MbIfxCFkPCvxIom0I,23779
114
+ ucloud/services/uai_modelverse/schemas/models.py,sha256=IB0YBQgm9L2vvogswp6wPIDJc5RwD7svIhue5f4dcc4,23779
115
115
  ucloud/services/uas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
116
116
  ucloud/services/uas/client.py,sha256=Mv7k0nmFhd083h_hbSt-hAVVAY9mlqam1fv4bVQew4k,2704
117
117
  ucloud/services/uas/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -253,10 +253,10 @@ ucloud/services/ulighthost/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
253
253
  ucloud/services/ulighthost/schemas/apis.py,sha256=d071A6P8Hh5gSs64XH1As6soKEfkzpRysF3SPBZqFV0,13695
254
254
  ucloud/services/ulighthost/schemas/models.py,sha256=H25HU6VWGlMLJcMABWtOJLcbhLyBT9YkVD7JBoPpTVo,5994
255
255
  ucloud/services/ulogservice/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
256
- ucloud/services/ulogservice/client.py,sha256=qLkP0iNSFJvT5_dVtdoJv4ZX22MH6rYGNKEl6Bms4yk,34120
256
+ ucloud/services/ulogservice/client.py,sha256=7L1YNh7vcC2q2fVsaj0-zBqfhC2_KnWX3JKdPSMuFLw,34212
257
257
  ucloud/services/ulogservice/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
258
- ucloud/services/ulogservice/schemas/apis.py,sha256=A18Vp_8d4Gix8ACVaCbPpZP3G-xCVS16NW0CC5VMkLM,17844
259
- ucloud/services/ulogservice/schemas/models.py,sha256=uVyJHMFFFfTAG5WduEIO1Zdi57vADwNFqhojHd26Law,5660
258
+ ucloud/services/ulogservice/schemas/apis.py,sha256=Efd4Zy4IPCvXZi7d_1xUJDMKI9q678vY0uL6gPIpV40,17918
259
+ ucloud/services/ulogservice/schemas/models.py,sha256=GlOvu9MjI8Q0oV6QSh9zyk3emAFarP2spWMPKDtXBgU,5746
260
260
  ucloud/services/umem/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
261
261
  ucloud/services/umem/client.py,sha256=O5l_V2pGfQApgfalL5VINVDZXfHR1idVz6X1QhLRhLc,97128
262
262
  ucloud/services/umem/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -328,10 +328,10 @@ ucloud/services/uwsc/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
328
328
  ucloud/services/uwsc/schemas/apis.py,sha256=Ie-5SEXMnj7XbDM1kp9DfCCR2qyzMNwXSZQ44TZAkTs,28078
329
329
  ucloud/services/uwsc/schemas/models.py,sha256=KJoempBZC4RO8CtJbwYs0rQcFPb5mw0ny-qdo6UJU70,9664
330
330
  ucloud/services/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
331
- ucloud/services/vpc/client.py,sha256=poFWKS6Sv7infG-CqXnD9PqGokN8Wa6mjfCUy04eHNo,151991
331
+ ucloud/services/vpc/client.py,sha256=QOcLIwZnlYWk350YjVz6jsEYJ6h-62hlB3ljr4Nw210,151992
332
332
  ucloud/services/vpc/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
333
- ucloud/services/vpc/schemas/apis.py,sha256=7f7i0hEeIyZrvf3R-ckGA7FKB9DEpuDfTcALpDjPvhg,85286
334
- ucloud/services/vpc/schemas/models.py,sha256=Jf3Pe5PRcQg0lrv_-08E0TEftbAPX8fp9RFuREctCAQ,29330
333
+ ucloud/services/vpc/schemas/apis.py,sha256=ATXHnAUTKOA2PChsmMp9XHpCZyMMlMIsVy6SXGsof5o,85264
334
+ ucloud/services/vpc/schemas/models.py,sha256=JsjelYkCwKrW33IT_BTE86_5KbsjPgwDM-ttUvstWTo,29330
335
335
  ucloud/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
336
336
  ucloud/testing/env.py,sha256=ABVtviiidd6oySFDD1hmyA38e0Q3SVjXMc_ELGInQII,694
337
337
  ucloud/testing/exc.py,sha256=xaYnMl1wR93uefeArs4VQ0aDIk74d_p6ygZaa7vnxgc,282
@@ -343,8 +343,8 @@ ucloud/testing/driver/__init__.py,sha256=54MLBVRxmiRLl0NLnP5dBi7abADTzWT3hJTgWxD
343
343
  ucloud/testing/driver/_scenario.py,sha256=9L8TTuPRTRIAowNT9fe8lX-dx3QHPxVuVXlBRkKJs-Y,2585
344
344
  ucloud/testing/driver/_specification.py,sha256=FaKgkqsZJej7cTPp6-YjbNotR13mUZvRJlsnxxhUCMs,1726
345
345
  ucloud/testing/driver/_step.py,sha256=rK9PN4Hu20eD4ol7jV8KAIqfdwTXKEj9nJoXd_tzHpE,5443
346
- ucloud_sdk_python3-0.11.138.dist-info/LICENSE,sha256=Pd-b5cKP4n2tFDpdx27qJSIq0d1ok0oEcGTlbtL6QMU,11560
347
- ucloud_sdk_python3-0.11.138.dist-info/METADATA,sha256=6LCTT39G45IsRIgjyHxZPHbc7WWQ0GDrGV9CKxaf_a4,2876
348
- ucloud_sdk_python3-0.11.138.dist-info/WHEEL,sha256=BNRMDyzLkkcmlv0J8ppDQkk2VED33SesJDynr9ED1gc,91
349
- ucloud_sdk_python3-0.11.138.dist-info/top_level.txt,sha256=zDw9C3GldC2mbAz2YzUcVbMsPS4MYmWmXnGeYcoIeJI,7
350
- ucloud_sdk_python3-0.11.138.dist-info/RECORD,,
346
+ ucloud_sdk_python3-0.11.140.dist-info/LICENSE,sha256=Pd-b5cKP4n2tFDpdx27qJSIq0d1ok0oEcGTlbtL6QMU,11560
347
+ ucloud_sdk_python3-0.11.140.dist-info/METADATA,sha256=7pzIlXsxiIk2_Bb_z1rK4fsyOzvmH7fM8df2x7OoWJw,2876
348
+ ucloud_sdk_python3-0.11.140.dist-info/WHEEL,sha256=BNRMDyzLkkcmlv0J8ppDQkk2VED33SesJDynr9ED1gc,91
349
+ ucloud_sdk_python3-0.11.140.dist-info/top_level.txt,sha256=zDw9C3GldC2mbAz2YzUcVbMsPS4MYmWmXnGeYcoIeJI,7
350
+ ucloud_sdk_python3-0.11.140.dist-info/RECORD,,