ucloud-sdk-python3 0.11.140__py3-none-any.whl → 0.11.142__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.
- ucloud/services/cloudwatch/client.py +170 -15
- ucloud/services/cloudwatch/schemas/apis.py +74 -0
- ucloud/services/cloudwatch/schemas/models.py +29 -29
- ucloud/services/uk8s/client.py +151 -135
- ucloud/services/uk8s/schemas/apis.py +181 -142
- ucloud/services/uk8s/schemas/models.py +114 -114
- ucloud/version.py +1 -1
- {ucloud_sdk_python3-0.11.140.dist-info → ucloud_sdk_python3-0.11.142.dist-info}/METADATA +6 -6
- {ucloud_sdk_python3-0.11.140.dist-info → ucloud_sdk_python3-0.11.142.dist-info}/RECORD +12 -12
- {ucloud_sdk_python3-0.11.140.dist-info → ucloud_sdk_python3-0.11.142.dist-info}/LICENSE +0 -0
- {ucloud_sdk_python3-0.11.140.dist-info → ucloud_sdk_python3-0.11.142.dist-info}/WHEEL +0 -0
- {ucloud_sdk_python3-0.11.140.dist-info → ucloud_sdk_python3-0.11.142.dist-info}/top_level.txt +0 -0
|
@@ -255,10 +255,10 @@ class CloudWatchClient(Client):
|
|
|
255
255
|
resp = self.invoke("GetMetricDataAggregationMethod", d, **kwargs)
|
|
256
256
|
return apis.GetMetricDataAggregationMethodResponseSchema().loads(resp)
|
|
257
257
|
|
|
258
|
-
def
|
|
258
|
+
def get_product_high_precision_metrics(
|
|
259
259
|
self, req: typing.Optional[dict] = None, **kwargs
|
|
260
260
|
) -> dict:
|
|
261
|
-
"""
|
|
261
|
+
"""GetProductHighPrecisionMetrics - 获取云产品关联的高精度指标列表
|
|
262
262
|
|
|
263
263
|
**Request**
|
|
264
264
|
|
|
@@ -270,6 +270,12 @@ class CloudWatchClient(Client):
|
|
|
270
270
|
|
|
271
271
|
**Response Model**
|
|
272
272
|
|
|
273
|
+
**ConversionRule**
|
|
274
|
+
- **ConversionFactor** (int) - 转换因子
|
|
275
|
+
- **From** (str) - 来源
|
|
276
|
+
- **To** (str) - 目标
|
|
277
|
+
|
|
278
|
+
|
|
273
279
|
**MetricUnit**
|
|
274
280
|
- **ConversionFactor** (int) - 转换因子
|
|
275
281
|
- **CreatedAt** (str) - 创建时间
|
|
@@ -302,6 +308,43 @@ class CloudWatchClient(Client):
|
|
|
302
308
|
- **UpdatedBy** (str) - 修改者
|
|
303
309
|
|
|
304
310
|
|
|
311
|
+
**MetricUnitConfig**
|
|
312
|
+
- **ConversionFactor** (int) - 转换因子
|
|
313
|
+
- **ConversionRules** (list) - 见 **ConversionRule** 模型定义
|
|
314
|
+
- **UnitCnNames** (list) - 指标中文名列表
|
|
315
|
+
- **UnitEnNames** (list) - 指标英文名列表
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
**GetProductMetricsRespData**
|
|
319
|
+
- **List** (list) - 见 **Metirc** 模型定义
|
|
320
|
+
- **Total** (int) - 查询结果总数
|
|
321
|
+
- **UnitConfigs** (list) - 见 **MetricUnitConfig** 模型定义
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
"""
|
|
325
|
+
# build request
|
|
326
|
+
d = {}
|
|
327
|
+
req and d.update(req)
|
|
328
|
+
d = apis.GetProductHighPrecisionMetricsRequestSchema().dumps(d)
|
|
329
|
+
|
|
330
|
+
resp = self.invoke("GetProductHighPrecisionMetrics", d, **kwargs)
|
|
331
|
+
return apis.GetProductHighPrecisionMetricsResponseSchema().loads(resp)
|
|
332
|
+
|
|
333
|
+
def get_product_metrics(
|
|
334
|
+
self, req: typing.Optional[dict] = None, **kwargs
|
|
335
|
+
) -> dict:
|
|
336
|
+
"""GetProductMetrics - 获取云产品关联的指标列表
|
|
337
|
+
|
|
338
|
+
**Request**
|
|
339
|
+
|
|
340
|
+
- **ProductKey** (str) - (Required) 产品唯一标识,参见 `产品概览 <https://docs.ucloud.cn/cloudwatch/metric/intro>`_
|
|
341
|
+
|
|
342
|
+
**Response**
|
|
343
|
+
|
|
344
|
+
- **Data** (dict) - 见 **GetProductMetricsRespData** 模型定义
|
|
345
|
+
|
|
346
|
+
**Response Model**
|
|
347
|
+
|
|
305
348
|
**ConversionRule**
|
|
306
349
|
- **ConversionFactor** (int) - 转换因子
|
|
307
350
|
- **From** (str) - 来源
|
|
@@ -315,6 +358,38 @@ class CloudWatchClient(Client):
|
|
|
315
358
|
- **UnitEnNames** (list) - 指标英文名列表
|
|
316
359
|
|
|
317
360
|
|
|
361
|
+
**MetricUnit**
|
|
362
|
+
- **ConversionFactor** (int) - 转换因子
|
|
363
|
+
- **CreatedAt** (str) - 创建时间
|
|
364
|
+
- **CreatedBy** (str) - 创建人
|
|
365
|
+
- **DeletedAt** (int) - 删除时间
|
|
366
|
+
- **GroupId** (int) - GroupId
|
|
367
|
+
- **UnitChName** (str) - 单位中文名称
|
|
368
|
+
- **UnitDesc** (str) - 单位描述
|
|
369
|
+
- **UnitEnName** (str) - 单位英文名称
|
|
370
|
+
- **UnitID** (int) - 单位id
|
|
371
|
+
- **UpdatedAt** (str) - 修改时间
|
|
372
|
+
- **UpdatedBy** (str) - 修改人
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
**Metirc**
|
|
376
|
+
- **CreatedAt** (str) - 创建时间
|
|
377
|
+
- **CreatedBy** (str) - 创建者
|
|
378
|
+
- **FrequencyMs** (int) - 上报频率毫秒
|
|
379
|
+
- **Metric** (str) - 指标唯一标识 (uhost_cpu_usage)
|
|
380
|
+
- **MetricChDesc** (str) - 指标中文描述
|
|
381
|
+
- **MetricChName** (str) - 指标中文名称
|
|
382
|
+
- **MetricEnDesc** (str) - 指标英文描述
|
|
383
|
+
- **MetricEnName** (str) - 指标英文名称
|
|
384
|
+
- **MetricGroup** (str) - 指标分类/指标组
|
|
385
|
+
- **MetricID** (int) - 指标ID
|
|
386
|
+
- **ProductType** (int) - 云产品ID
|
|
387
|
+
- **Unit** (dict) - 见 **MetricUnit** 模型定义
|
|
388
|
+
- **UnitID** (int) - 单位ID
|
|
389
|
+
- **UpdatedAt** (str) - 修改时间
|
|
390
|
+
- **UpdatedBy** (str) - 修改者
|
|
391
|
+
|
|
392
|
+
|
|
318
393
|
**GetProductMetricsRespData**
|
|
319
394
|
- **List** (list) - 见 **Metirc** 模型定义
|
|
320
395
|
- **Total** (int) - 查询结果总数
|
|
@@ -656,9 +731,9 @@ class CloudWatchClient(Client):
|
|
|
656
731
|
|
|
657
732
|
**Response Model**
|
|
658
733
|
|
|
659
|
-
**
|
|
660
|
-
- **
|
|
661
|
-
- **
|
|
734
|
+
**MetricSample**
|
|
735
|
+
- **Timestamp** (int) - 时间戳
|
|
736
|
+
- **Value** (float) - 样本值
|
|
662
737
|
|
|
663
738
|
|
|
664
739
|
**TagListItem**
|
|
@@ -666,11 +741,6 @@ class CloudWatchClient(Client):
|
|
|
666
741
|
- **TagValue** (str) - 标签值
|
|
667
742
|
|
|
668
743
|
|
|
669
|
-
**MetricSample**
|
|
670
|
-
- **Timestamp** (int) - 时间戳
|
|
671
|
-
- **Value** (float) - 样本值
|
|
672
|
-
|
|
673
|
-
|
|
674
744
|
**MetricResult**
|
|
675
745
|
- **ResourceId** (str) - 资源的短id
|
|
676
746
|
- **ResourceName** (str) - 资源名称
|
|
@@ -678,6 +748,11 @@ class CloudWatchClient(Client):
|
|
|
678
748
|
- **Values** (list) - 见 **MetricSample** 模型定义
|
|
679
749
|
|
|
680
750
|
|
|
751
|
+
**TagEntry**
|
|
752
|
+
- **KeyList** (list) - 标签候选值列表
|
|
753
|
+
- **TagName** (str) - 标签名称
|
|
754
|
+
|
|
755
|
+
|
|
681
756
|
**QueryMetricDataRespItem**
|
|
682
757
|
- **ErrCode** (int) - 该指标查询的处理状态码
|
|
683
758
|
- **ErrMsg** (str) - 该指标查询的状态说明
|
|
@@ -743,6 +818,11 @@ class CloudWatchClient(Client):
|
|
|
743
818
|
- **Value** (dict) - 见 **MetricSample** 模型定义
|
|
744
819
|
|
|
745
820
|
|
|
821
|
+
**LabelAttrItem**
|
|
822
|
+
- **Key** (str) - 键
|
|
823
|
+
- **Value** (str) - 值
|
|
824
|
+
|
|
825
|
+
|
|
746
826
|
**ResourceMonitorItem**
|
|
747
827
|
- **Metric** (str) - 指标名
|
|
748
828
|
- **MetricValues** (list) - 见 **MetricSingleSample** 模型定义
|
|
@@ -753,11 +833,6 @@ class CloudWatchClient(Client):
|
|
|
753
833
|
- **Value** (str) - 值
|
|
754
834
|
|
|
755
835
|
|
|
756
|
-
**LabelAttrItem**
|
|
757
|
-
- **Key** (str) - 键
|
|
758
|
-
- **Value** (str) - 值
|
|
759
|
-
|
|
760
|
-
|
|
761
836
|
**ResourceSummary**
|
|
762
837
|
- **CompanyId** (int) - 公司id
|
|
763
838
|
- **LabelAttrList** (list) - 见 **LabelAttrItem** 模型定义
|
|
@@ -792,6 +867,86 @@ class CloudWatchClient(Client):
|
|
|
792
867
|
resp = self.invoke("QueryMetricDataSummary", d, **kwargs)
|
|
793
868
|
return apis.QueryMetricDataSummaryResponseSchema().loads(resp)
|
|
794
869
|
|
|
870
|
+
def query_metric_dense_data(
|
|
871
|
+
self, req: typing.Optional[dict] = None, **kwargs
|
|
872
|
+
) -> dict:
|
|
873
|
+
"""QueryMetricDenseData - 获取高精度指标样本数据
|
|
874
|
+
|
|
875
|
+
**Request**
|
|
876
|
+
|
|
877
|
+
- **ProjectId** (str) - (Config) 项目ID
|
|
878
|
+
- **Region** (str) - (Config) 地域。 全局产品可不传,其他类型必传。
|
|
879
|
+
- **EndTime** (int) - (Required) 截止时间戳
|
|
880
|
+
- **ProductKey** (str) - (Required) 资源类型
|
|
881
|
+
- **StartTime** (int) - (Required) 开始时间戳
|
|
882
|
+
- **MetricInfos** (list) - 见 **QueryMetricDenseDataParamMetricInfos** 模型定义
|
|
883
|
+
|
|
884
|
+
**Response**
|
|
885
|
+
|
|
886
|
+
- **Data** (dict) - 见 **QueryMetricDataResp** 模型定义
|
|
887
|
+
- **Message** (str) - 错误信息
|
|
888
|
+
|
|
889
|
+
**Request Model**
|
|
890
|
+
|
|
891
|
+
**QueryMetricDenseDataParamMetricInfosTags**
|
|
892
|
+
- **AnyKey** (str) - AnyKey:代表任意一个用户自定义的key。Tags是一个用户自定义对象map,是要查询指标的tag的key和value。用户自定义的Tags对象里的key和value,它们分别是要查询的tag的key和value。如:"Tags":{ "tag1":"value1", "tag2":"value2", "tag3":"value3"}
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
**QueryMetricDenseDataParamMetricInfos**
|
|
896
|
+
- **Metric** (str) - 指标名
|
|
897
|
+
- **ResourceId** (str) - 资源id
|
|
898
|
+
- **Tags** (dict) - 见 **QueryMetricDenseDataParamMetricInfosTags** 模型定义
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
**Response Model**
|
|
902
|
+
|
|
903
|
+
**TagEntry**
|
|
904
|
+
- **KeyList** (list) - 标签候选值列表
|
|
905
|
+
- **TagName** (str) - 标签名称
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
**TagListItem**
|
|
909
|
+
- **Tag** (str) - 标签名
|
|
910
|
+
- **TagValue** (str) - 标签值
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
**MetricSample**
|
|
914
|
+
- **Timestamp** (int) - 时间戳
|
|
915
|
+
- **Value** (float) - 样本值
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
**MetricResult**
|
|
919
|
+
- **ResourceId** (str) - 资源的短id
|
|
920
|
+
- **ResourceName** (str) - 资源名称
|
|
921
|
+
- **TagList** (list) - 见 **TagListItem** 模型定义
|
|
922
|
+
- **Values** (list) - 见 **MetricSample** 模型定义
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
**QueryMetricDataRespItem**
|
|
926
|
+
- **ErrCode** (int) - 该指标查询的处理状态码
|
|
927
|
+
- **ErrMsg** (str) - 该指标查询的状态说明
|
|
928
|
+
- **Metric** (str) - 指标名
|
|
929
|
+
- **Results** (list) - 见 **MetricResult** 模型定义
|
|
930
|
+
- **TagEntries** (list) - 见 **TagEntry** 模型定义
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
**QueryMetricDataResp**
|
|
934
|
+
- **InvalidResourceIds** (list) - 无效或无权限资源的 ID 列表
|
|
935
|
+
- **List** (list) - 见 **QueryMetricDataRespItem** 模型定义
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
"""
|
|
939
|
+
# build request
|
|
940
|
+
d = {
|
|
941
|
+
"ProjectId": self.config.project_id,
|
|
942
|
+
"Region": self.config.region,
|
|
943
|
+
}
|
|
944
|
+
req and d.update(req)
|
|
945
|
+
d = apis.QueryMetricDenseDataRequestSchema().dumps(d)
|
|
946
|
+
|
|
947
|
+
resp = self.invoke("QueryMetricDenseData", d, **kwargs)
|
|
948
|
+
return apis.QueryMetricDenseDataResponseSchema().loads(resp)
|
|
949
|
+
|
|
795
950
|
def un_bind_alert_strategy(
|
|
796
951
|
self, req: typing.Optional[dict] = None, **kwargs
|
|
797
952
|
) -> dict:
|
|
@@ -208,6 +208,29 @@ class GetMetricDataAggregationMethodResponseSchema(schema.ResponseSchema):
|
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
|
|
211
|
+
"""
|
|
212
|
+
API: GetProductHighPrecisionMetrics
|
|
213
|
+
|
|
214
|
+
获取云产品关联的高精度指标列表
|
|
215
|
+
"""
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
class GetProductHighPrecisionMetricsRequestSchema(schema.RequestSchema):
|
|
219
|
+
"""GetProductHighPrecisionMetrics - 获取云产品关联的高精度指标列表"""
|
|
220
|
+
|
|
221
|
+
fields = {
|
|
222
|
+
"ProductKey": fields.Str(required=True, dump_to="ProductKey"),
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
class GetProductHighPrecisionMetricsResponseSchema(schema.ResponseSchema):
|
|
227
|
+
"""GetProductHighPrecisionMetrics - 获取云产品关联的高精度指标列表"""
|
|
228
|
+
|
|
229
|
+
fields = {
|
|
230
|
+
"Data": models.GetProductMetricsRespDataSchema(),
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
|
|
211
234
|
"""
|
|
212
235
|
API: GetProductMetrics
|
|
213
236
|
|
|
@@ -496,6 +519,57 @@ class QueryMetricDataSummaryResponseSchema(schema.ResponseSchema):
|
|
|
496
519
|
}
|
|
497
520
|
|
|
498
521
|
|
|
522
|
+
"""
|
|
523
|
+
API: QueryMetricDenseData
|
|
524
|
+
|
|
525
|
+
获取高精度指标样本数据
|
|
526
|
+
"""
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
class QueryMetricDenseDataParamMetricInfosTagsSchema(schema.RequestSchema):
|
|
530
|
+
"""QueryMetricDenseDataParamMetricInfosTags -"""
|
|
531
|
+
|
|
532
|
+
fields = {
|
|
533
|
+
"AnyKey": fields.Str(required=False, dump_to="AnyKey"),
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
class QueryMetricDenseDataParamMetricInfosSchema(schema.RequestSchema):
|
|
538
|
+
"""QueryMetricDenseDataParamMetricInfos -"""
|
|
539
|
+
|
|
540
|
+
fields = {
|
|
541
|
+
"Metric": fields.Str(required=False, dump_to="Metric"),
|
|
542
|
+
"ResourceId": fields.Str(required=False, dump_to="ResourceId"),
|
|
543
|
+
"Tags": QueryMetricDenseDataParamMetricInfosTagsSchema(
|
|
544
|
+
required=False, dump_to="Tags"
|
|
545
|
+
),
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
class QueryMetricDenseDataRequestSchema(schema.RequestSchema):
|
|
550
|
+
"""QueryMetricDenseData - 获取高精度指标样本数据"""
|
|
551
|
+
|
|
552
|
+
fields = {
|
|
553
|
+
"EndTime": fields.Int(required=True, dump_to="EndTime"),
|
|
554
|
+
"MetricInfos": fields.List(
|
|
555
|
+
QueryMetricDenseDataParamMetricInfosSchema()
|
|
556
|
+
),
|
|
557
|
+
"ProductKey": fields.Str(required=True, dump_to="ProductKey"),
|
|
558
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
559
|
+
"Region": fields.Str(required=False, dump_to="Region"),
|
|
560
|
+
"StartTime": fields.Int(required=True, dump_to="StartTime"),
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
class QueryMetricDenseDataResponseSchema(schema.ResponseSchema):
|
|
565
|
+
"""QueryMetricDenseData - 获取高精度指标样本数据"""
|
|
566
|
+
|
|
567
|
+
fields = {
|
|
568
|
+
"Data": models.QueryMetricDataRespSchema(),
|
|
569
|
+
"Message": fields.Str(required=False, load_from="Message"),
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
|
|
499
573
|
"""
|
|
500
574
|
API: UnBindAlertStrategy
|
|
501
575
|
|
|
@@ -68,18 +68,6 @@ class MetricUnitSchema(schema.ResponseSchema):
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
|
|
71
|
-
class ConversionRuleSchema(schema.ResponseSchema):
|
|
72
|
-
"""ConversionRule - 指标单位转换规则"""
|
|
73
|
-
|
|
74
|
-
fields = {
|
|
75
|
-
"ConversionFactor": fields.Int(
|
|
76
|
-
required=False, load_from="ConversionFactor"
|
|
77
|
-
),
|
|
78
|
-
"From": fields.Str(required=False, load_from="From"),
|
|
79
|
-
"To": fields.Str(required=False, load_from="To"),
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
71
|
class MetircSchema(schema.ResponseSchema):
|
|
84
72
|
"""Metirc - 指标"""
|
|
85
73
|
|
|
@@ -102,6 +90,18 @@ class MetircSchema(schema.ResponseSchema):
|
|
|
102
90
|
}
|
|
103
91
|
|
|
104
92
|
|
|
93
|
+
class ConversionRuleSchema(schema.ResponseSchema):
|
|
94
|
+
"""ConversionRule - 指标单位转换规则"""
|
|
95
|
+
|
|
96
|
+
fields = {
|
|
97
|
+
"ConversionFactor": fields.Int(
|
|
98
|
+
required=False, load_from="ConversionFactor"
|
|
99
|
+
),
|
|
100
|
+
"From": fields.Str(required=False, load_from="From"),
|
|
101
|
+
"To": fields.Str(required=False, load_from="To"),
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
|
|
105
105
|
class MetricUnitConfigSchema(schema.ResponseSchema):
|
|
106
106
|
"""MetricUnitConfig - 指标单位配置"""
|
|
107
107
|
|
|
@@ -261,21 +261,21 @@ class ListMonitorProductSchema(schema.ResponseSchema):
|
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
|
|
264
|
-
class
|
|
265
|
-
"""
|
|
264
|
+
class TagListItemSchema(schema.ResponseSchema):
|
|
265
|
+
"""TagListItem - 标签键值项"""
|
|
266
266
|
|
|
267
267
|
fields = {
|
|
268
|
-
"
|
|
269
|
-
"
|
|
268
|
+
"Tag": fields.Str(required=False, load_from="Tag"),
|
|
269
|
+
"TagValue": fields.Str(required=False, load_from="TagValue"),
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
|
|
273
|
-
class
|
|
274
|
-
"""
|
|
273
|
+
class MetricSampleSchema(schema.ResponseSchema):
|
|
274
|
+
"""MetricSample - 指标数据点(代码结构体:MetricPoint)"""
|
|
275
275
|
|
|
276
276
|
fields = {
|
|
277
|
-
"
|
|
278
|
-
"
|
|
277
|
+
"Timestamp": fields.Int(required=False, load_from="Timestamp"),
|
|
278
|
+
"Value": fields.Float(required=False, load_from="Value"),
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
|
|
@@ -320,6 +320,15 @@ class QueryMetricDataRespSchema(schema.ResponseSchema):
|
|
|
320
320
|
}
|
|
321
321
|
|
|
322
322
|
|
|
323
|
+
class LabelAttrItemSchema(schema.ResponseSchema):
|
|
324
|
+
"""LabelAttrItem - 标签扩展属性项"""
|
|
325
|
+
|
|
326
|
+
fields = {
|
|
327
|
+
"Key": fields.Str(required=False, load_from="Key"),
|
|
328
|
+
"Value": fields.Str(required=False, load_from="Value"),
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
|
|
323
332
|
class MetricSingleSampleSchema(schema.ResponseSchema):
|
|
324
333
|
"""MetricSingleSample - 指标单个样本点结果"""
|
|
325
334
|
|
|
@@ -348,15 +357,6 @@ class ResourceExtendAttrItemSchema(schema.ResponseSchema):
|
|
|
348
357
|
}
|
|
349
358
|
|
|
350
359
|
|
|
351
|
-
class LabelAttrItemSchema(schema.ResponseSchema):
|
|
352
|
-
"""LabelAttrItem - 标签扩展属性项"""
|
|
353
|
-
|
|
354
|
-
fields = {
|
|
355
|
-
"Key": fields.Str(required=False, load_from="Key"),
|
|
356
|
-
"Value": fields.Str(required=False, load_from="Value"),
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
|
|
360
360
|
class ResourceSummarySchema(schema.ResponseSchema):
|
|
361
361
|
"""ResourceSummary - 单个资源的总览属性指标等信息"""
|
|
362
362
|
|