huaweicloudsdkaom 3.1.69__py2.py3-none-any.whl → 3.1.71__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.

Potentially problematic release.


This version of huaweicloudsdkaom might be problematic. Click here for more details.

@@ -943,6 +943,73 @@ class AomClient(Client):
943
943
 
944
944
  return http_info
945
945
 
946
+ def list_agents(self, request):
947
+ """查询集群主机安装的ICAgent信息
948
+
949
+ 该接口用于查询集群主机安装的ICAgent信息。
950
+
951
+ Please refer to HUAWEI cloud API Explorer for details.
952
+
953
+ :param request: Request instance for ListAgents
954
+ :type request: :class:`huaweicloudsdkaom.v2.ListAgentsRequest`
955
+ :rtype: :class:`huaweicloudsdkaom.v2.ListAgentsResponse`
956
+ """
957
+ http_info = self._list_agents_http_info(request)
958
+ return self._call_api(**http_info)
959
+
960
+ def list_agents_invoker(self, request):
961
+ http_info = self._list_agents_http_info(request)
962
+ return SyncInvoker(self, http_info)
963
+
964
+ @classmethod
965
+ def _list_agents_http_info(cls, request):
966
+ http_info = {
967
+ "method": "GET",
968
+ "resource_path": "/v1/{project_id}/{cluster_id}/{namespace}/agents",
969
+ "request_type": request.__class__.__name__,
970
+ "response_type": "ListAgentsResponse"
971
+ }
972
+
973
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
974
+
975
+ cname = None
976
+
977
+ collection_formats = {}
978
+
979
+ path_params = {}
980
+ if 'cluster_id' in local_var_params:
981
+ path_params['cluster_id'] = local_var_params['cluster_id']
982
+ if 'namespace' in local_var_params:
983
+ path_params['namespace'] = local_var_params['namespace']
984
+
985
+ query_params = []
986
+
987
+ header_params = {}
988
+
989
+ form_params = {}
990
+
991
+ body = None
992
+ if isinstance(request, SdkStreamRequest):
993
+ body = request.get_file_stream()
994
+
995
+ response_headers = []
996
+
997
+ header_params['Content-Type'] = http_utils.select_header_content_type(
998
+ ['application/json'])
999
+
1000
+ auth_settings = []
1001
+
1002
+ http_info["cname"] = cname
1003
+ http_info["collection_formats"] = collection_formats
1004
+ http_info["path_params"] = path_params
1005
+ http_info["query_params"] = query_params
1006
+ http_info["header_params"] = header_params
1007
+ http_info["post_params"] = form_params
1008
+ http_info["body"] = body
1009
+ http_info["response_headers"] = response_headers
1010
+
1011
+ return http_info
1012
+
946
1013
  def list_alarm_rule(self, request):
947
1014
  """查询阈值规则列表
948
1015
 
@@ -1406,6 +1473,69 @@ class AomClient(Client):
1406
1473
 
1407
1474
  return http_info
1408
1475
 
1476
+ def list_permissions(self, request):
1477
+ """查询aom2.0相关云服务授权信息
1478
+
1479
+ 该接口用于查询aom2.0相关云服务授权信息。
1480
+
1481
+ Please refer to HUAWEI cloud API Explorer for details.
1482
+
1483
+ :param request: Request instance for ListPermissions
1484
+ :type request: :class:`huaweicloudsdkaom.v2.ListPermissionsRequest`
1485
+ :rtype: :class:`huaweicloudsdkaom.v2.ListPermissionsResponse`
1486
+ """
1487
+ http_info = self._list_permissions_http_info(request)
1488
+ return self._call_api(**http_info)
1489
+
1490
+ def list_permissions_invoker(self, request):
1491
+ http_info = self._list_permissions_http_info(request)
1492
+ return SyncInvoker(self, http_info)
1493
+
1494
+ @classmethod
1495
+ def _list_permissions_http_info(cls, request):
1496
+ http_info = {
1497
+ "method": "GET",
1498
+ "resource_path": "/v1/{project_id}/aom/auth/grant",
1499
+ "request_type": request.__class__.__name__,
1500
+ "response_type": "ListPermissionsResponse"
1501
+ }
1502
+
1503
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
1504
+
1505
+ cname = None
1506
+
1507
+ collection_formats = {}
1508
+
1509
+ path_params = {}
1510
+
1511
+ query_params = []
1512
+
1513
+ header_params = {}
1514
+
1515
+ form_params = {}
1516
+
1517
+ body = None
1518
+ if isinstance(request, SdkStreamRequest):
1519
+ body = request.get_file_stream()
1520
+
1521
+ response_headers = []
1522
+
1523
+ header_params['Content-Type'] = http_utils.select_header_content_type(
1524
+ ['application/json'])
1525
+
1526
+ auth_settings = []
1527
+
1528
+ http_info["cname"] = cname
1529
+ http_info["collection_formats"] = collection_formats
1530
+ http_info["path_params"] = path_params
1531
+ http_info["query_params"] = query_params
1532
+ http_info["header_params"] = header_params
1533
+ http_info["post_params"] = form_params
1534
+ http_info["body"] = body
1535
+ http_info["response_headers"] = response_headers
1536
+
1537
+ return http_info
1538
+
1409
1539
  def list_sample(self, request):
1410
1540
  """查询时序数据
1411
1541
 
@@ -2134,9 +2264,9 @@ class AomClient(Client):
2134
2264
  return http_info
2135
2265
 
2136
2266
  def create_prom_instance(self, request):
2137
- """新增Prometheus实例数据源
2267
+ """新增Prometheus实例
2138
2268
 
2139
- 该接口用于新增Prometheus实例数据源
2269
+ 该接口用于新增Prometheus实例。
2140
2270
 
2141
2271
  Please refer to HUAWEI cloud API Explorer for details.
2142
2272
 
@@ -2199,9 +2329,9 @@ class AomClient(Client):
2199
2329
  return http_info
2200
2330
 
2201
2331
  def create_recording_rule(self, request):
2202
- """创建预汇聚规则
2332
+ """创建Prometheus实例的预聚合规则
2203
2333
 
2204
- 该接口用于创建预汇聚规则
2334
+ 该接口用于给Prometheus实例创建预聚合规则。
2205
2335
 
2206
2336
  Please refer to HUAWEI cloud API Explorer for details.
2207
2337
 
@@ -2266,9 +2396,9 @@ class AomClient(Client):
2266
2396
  return http_info
2267
2397
 
2268
2398
  def delete_prom_instance(self, request):
2269
- """卸载托管Prometheus
2399
+ """卸载托管Prometheus实例
2270
2400
 
2271
- 该接口用于卸载托管Prometheus
2401
+ 该接口用于卸载托管Prometheus实例。
2272
2402
 
2273
2403
  Please refer to HUAWEI cloud API Explorer for details.
2274
2404
 
@@ -2331,9 +2461,9 @@ class AomClient(Client):
2331
2461
  return http_info
2332
2462
 
2333
2463
  def list_access_code(self, request):
2334
- """获取Prometheus监控所需Token-access code
2464
+ """获取Prometheus实例调用凭证
2335
2465
 
2336
- 该接口用于获取Prometheus监控所需Token-access code
2466
+ 该接口用于获取Prometheus实例调用凭证。
2337
2467
 
2338
2468
  Please refer to HUAWEI cloud API Explorer for details.
2339
2469
 
@@ -2393,31 +2523,31 @@ class AomClient(Client):
2393
2523
 
2394
2524
  return http_info
2395
2525
 
2396
- def list_agents(self, request):
2397
- """查询集群Agent信息
2526
+ def list_prom_instance(self, request):
2527
+ """查询Prometheus实例
2398
2528
 
2399
- 该接口用于查询集群Agent信息
2529
+ 该接口用于查询Prometheus实例。
2400
2530
 
2401
2531
  Please refer to HUAWEI cloud API Explorer for details.
2402
2532
 
2403
- :param request: Request instance for ListAgents
2404
- :type request: :class:`huaweicloudsdkaom.v2.ListAgentsRequest`
2405
- :rtype: :class:`huaweicloudsdkaom.v2.ListAgentsResponse`
2533
+ :param request: Request instance for ListPromInstance
2534
+ :type request: :class:`huaweicloudsdkaom.v2.ListPromInstanceRequest`
2535
+ :rtype: :class:`huaweicloudsdkaom.v2.ListPromInstanceResponse`
2406
2536
  """
2407
- http_info = self._list_agents_http_info(request)
2537
+ http_info = self._list_prom_instance_http_info(request)
2408
2538
  return self._call_api(**http_info)
2409
2539
 
2410
- def list_agents_invoker(self, request):
2411
- http_info = self._list_agents_http_info(request)
2540
+ def list_prom_instance_invoker(self, request):
2541
+ http_info = self._list_prom_instance_http_info(request)
2412
2542
  return SyncInvoker(self, http_info)
2413
2543
 
2414
2544
  @classmethod
2415
- def _list_agents_http_info(cls, request):
2545
+ def _list_prom_instance_http_info(cls, request):
2416
2546
  http_info = {
2417
2547
  "method": "GET",
2418
- "resource_path": "/v1/{project_id}/{cluster_id}/{namespace}/agents",
2548
+ "resource_path": "/v1/{project_id}/aom/prometheus",
2419
2549
  "request_type": request.__class__.__name__,
2420
- "response_type": "ListAgentsResponse"
2550
+ "response_type": "ListPromInstanceResponse"
2421
2551
  }
2422
2552
 
2423
2553
  local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
@@ -2427,12 +2557,16 @@ class AomClient(Client):
2427
2557
  collection_formats = {}
2428
2558
 
2429
2559
  path_params = {}
2430
- if 'cluster_id' in local_var_params:
2431
- path_params['cluster_id'] = local_var_params['cluster_id']
2432
- if 'namespace' in local_var_params:
2433
- path_params['namespace'] = local_var_params['namespace']
2434
2560
 
2435
2561
  query_params = []
2562
+ if 'prom_id' in local_var_params:
2563
+ query_params.append(('prom_id', local_var_params['prom_id']))
2564
+ if 'prom_type' in local_var_params:
2565
+ query_params.append(('prom_type', local_var_params['prom_type']))
2566
+ if 'cce_cluster_enable' in local_var_params:
2567
+ query_params.append(('cce_cluster_enable', local_var_params['cce_cluster_enable']))
2568
+ if 'prom_status' in local_var_params:
2569
+ query_params.append(('prom_status', local_var_params['prom_status']))
2436
2570
 
2437
2571
  header_params = {}
2438
2572
 
@@ -2848,140 +2982,6 @@ class AomClient(Client):
2848
2982
 
2849
2983
  return http_info
2850
2984
 
2851
- def list_permissions(self, request):
2852
- """是否开通aom2.0
2853
-
2854
- 该接口用于查询用户是否已经完成aom2.0授权
2855
-
2856
- Please refer to HUAWEI cloud API Explorer for details.
2857
-
2858
- :param request: Request instance for ListPermissions
2859
- :type request: :class:`huaweicloudsdkaom.v2.ListPermissionsRequest`
2860
- :rtype: :class:`huaweicloudsdkaom.v2.ListPermissionsResponse`
2861
- """
2862
- http_info = self._list_permissions_http_info(request)
2863
- return self._call_api(**http_info)
2864
-
2865
- def list_permissions_invoker(self, request):
2866
- http_info = self._list_permissions_http_info(request)
2867
- return SyncInvoker(self, http_info)
2868
-
2869
- @classmethod
2870
- def _list_permissions_http_info(cls, request):
2871
- http_info = {
2872
- "method": "GET",
2873
- "resource_path": "/v1/{project_id}/aom/auth/grant",
2874
- "request_type": request.__class__.__name__,
2875
- "response_type": "ListPermissionsResponse"
2876
- }
2877
-
2878
- local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
2879
-
2880
- cname = None
2881
-
2882
- collection_formats = {}
2883
-
2884
- path_params = {}
2885
-
2886
- query_params = []
2887
-
2888
- header_params = {}
2889
-
2890
- form_params = {}
2891
-
2892
- body = None
2893
- if isinstance(request, SdkStreamRequest):
2894
- body = request.get_file_stream()
2895
-
2896
- response_headers = []
2897
-
2898
- header_params['Content-Type'] = http_utils.select_header_content_type(
2899
- ['application/json'])
2900
-
2901
- auth_settings = []
2902
-
2903
- http_info["cname"] = cname
2904
- http_info["collection_formats"] = collection_formats
2905
- http_info["path_params"] = path_params
2906
- http_info["query_params"] = query_params
2907
- http_info["header_params"] = header_params
2908
- http_info["post_params"] = form_params
2909
- http_info["body"] = body
2910
- http_info["response_headers"] = response_headers
2911
-
2912
- return http_info
2913
-
2914
- def list_prom_instance(self, request):
2915
- """获取所有正常实例
2916
-
2917
- 该接口用于获取所有正常prometheus实例
2918
-
2919
- Please refer to HUAWEI cloud API Explorer for details.
2920
-
2921
- :param request: Request instance for ListPromInstance
2922
- :type request: :class:`huaweicloudsdkaom.v2.ListPromInstanceRequest`
2923
- :rtype: :class:`huaweicloudsdkaom.v2.ListPromInstanceResponse`
2924
- """
2925
- http_info = self._list_prom_instance_http_info(request)
2926
- return self._call_api(**http_info)
2927
-
2928
- def list_prom_instance_invoker(self, request):
2929
- http_info = self._list_prom_instance_http_info(request)
2930
- return SyncInvoker(self, http_info)
2931
-
2932
- @classmethod
2933
- def _list_prom_instance_http_info(cls, request):
2934
- http_info = {
2935
- "method": "GET",
2936
- "resource_path": "/v1/{project_id}/aom/prometheus",
2937
- "request_type": request.__class__.__name__,
2938
- "response_type": "ListPromInstanceResponse"
2939
- }
2940
-
2941
- local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
2942
-
2943
- cname = None
2944
-
2945
- collection_formats = {}
2946
-
2947
- path_params = {}
2948
-
2949
- query_params = []
2950
- if 'prom_id' in local_var_params:
2951
- query_params.append(('prom_id', local_var_params['prom_id']))
2952
- if 'prom_type' in local_var_params:
2953
- query_params.append(('prom_type', local_var_params['prom_type']))
2954
- if 'cce_cluster_enable' in local_var_params:
2955
- query_params.append(('cce_cluster_enable', local_var_params['cce_cluster_enable']))
2956
- if 'prom_status' in local_var_params:
2957
- query_params.append(('prom_status', local_var_params['prom_status']))
2958
-
2959
- header_params = {}
2960
-
2961
- form_params = {}
2962
-
2963
- body = None
2964
- if isinstance(request, SdkStreamRequest):
2965
- body = request.get_file_stream()
2966
-
2967
- response_headers = []
2968
-
2969
- header_params['Content-Type'] = http_utils.select_header_content_type(
2970
- ['application/json'])
2971
-
2972
- auth_settings = []
2973
-
2974
- http_info["cname"] = cname
2975
- http_info["collection_formats"] = collection_formats
2976
- http_info["path_params"] = path_params
2977
- http_info["query_params"] = query_params
2978
- http_info["header_params"] = header_params
2979
- http_info["post_params"] = form_params
2980
- http_info["body"] = body
2981
- http_info["response_headers"] = response_headers
2982
-
2983
- return http_info
2984
-
2985
2985
  def list_range_query_aom_prom_get(self, request):
2986
2986
  """区间数据查询
2987
2987
 
@@ -24,7 +24,6 @@ from huaweicloudsdkaom.v2.model.app_rules_body import AppRulesBody
24
24
  from huaweicloudsdkaom.v2.model.app_rules_spec import AppRulesSpec
25
25
  from huaweicloudsdkaom.v2.model.application_model import ApplicationModel
26
26
  from huaweicloudsdkaom.v2.model.application_name_rule import ApplicationNameRule
27
- from huaweicloudsdkaom.v2.model.auth_model import AuthModel
28
27
  from huaweicloudsdkaom.v2.model.count_events_request import CountEventsRequest
29
28
  from huaweicloudsdkaom.v2.model.count_events_response import CountEventsResponse
30
29
  from huaweicloudsdkaom.v2.model.create_prom_instance_request import CreatePromInstanceRequest
@@ -35,13 +35,13 @@ class AccessCodeModel:
35
35
 
36
36
  The model defined in huaweicloud sdk
37
37
 
38
- :param access_code: access_code
38
+ :param access_code: access_code
39
39
  :type access_code: str
40
- :param access_code_id: access_code_id
40
+ :param access_code_id: access_code_id
41
41
  :type access_code_id: str
42
- :param create_at: 创建时间
42
+ :param create_at: 创建时间。
43
43
  :type create_at: int
44
- :param status: 状态 enable:开启 unenable:关闭
44
+ :param status: 状态。
45
45
  :type status: str
46
46
  """
47
47
 
@@ -66,7 +66,7 @@ class AccessCodeModel:
66
66
  def access_code(self):
67
67
  """Gets the access_code of this AccessCodeModel.
68
68
 
69
- access_code
69
+ access_code
70
70
 
71
71
  :return: The access_code of this AccessCodeModel.
72
72
  :rtype: str
@@ -77,7 +77,7 @@ class AccessCodeModel:
77
77
  def access_code(self, access_code):
78
78
  """Sets the access_code of this AccessCodeModel.
79
79
 
80
- access_code
80
+ access_code
81
81
 
82
82
  :param access_code: The access_code of this AccessCodeModel.
83
83
  :type access_code: str
@@ -88,7 +88,7 @@ class AccessCodeModel:
88
88
  def access_code_id(self):
89
89
  """Gets the access_code_id of this AccessCodeModel.
90
90
 
91
- access_code_id
91
+ access_code_id
92
92
 
93
93
  :return: The access_code_id of this AccessCodeModel.
94
94
  :rtype: str
@@ -99,7 +99,7 @@ class AccessCodeModel:
99
99
  def access_code_id(self, access_code_id):
100
100
  """Sets the access_code_id of this AccessCodeModel.
101
101
 
102
- access_code_id
102
+ access_code_id
103
103
 
104
104
  :param access_code_id: The access_code_id of this AccessCodeModel.
105
105
  :type access_code_id: str
@@ -110,7 +110,7 @@ class AccessCodeModel:
110
110
  def create_at(self):
111
111
  """Gets the create_at of this AccessCodeModel.
112
112
 
113
- 创建时间
113
+ 创建时间。
114
114
 
115
115
  :return: The create_at of this AccessCodeModel.
116
116
  :rtype: int
@@ -121,7 +121,7 @@ class AccessCodeModel:
121
121
  def create_at(self, create_at):
122
122
  """Sets the create_at of this AccessCodeModel.
123
123
 
124
- 创建时间
124
+ 创建时间。
125
125
 
126
126
  :param create_at: The create_at of this AccessCodeModel.
127
127
  :type create_at: int
@@ -132,7 +132,7 @@ class AccessCodeModel:
132
132
  def status(self):
133
133
  """Gets the status of this AccessCodeModel.
134
134
 
135
- 状态 enable:开启 unenable:关闭
135
+ 状态。
136
136
 
137
137
  :return: The status of this AccessCodeModel.
138
138
  :rtype: str
@@ -143,7 +143,7 @@ class AccessCodeModel:
143
143
  def status(self, status):
144
144
  """Sets the status of this AccessCodeModel.
145
145
 
146
- 状态 enable:开启 unenable:关闭
146
+ 状态。
147
147
 
148
148
  :param status: The status of this AccessCodeModel.
149
149
  :type status: str
@@ -33,11 +33,11 @@ class ApplicationModel:
33
33
 
34
34
  The model defined in huaweicloud sdk
35
35
 
36
- :param app_id: 应用id
36
+ :param app_id: 应用id
37
37
  :type app_id: str
38
- :param app_name: 应用名称
38
+ :param app_name: 应用名称。
39
39
  :type app_name: str
40
- :param app_type: 应用来源
40
+ :param app_type: 应用来源。
41
41
  :type app_type: str
42
42
  """
43
43
 
@@ -59,7 +59,7 @@ class ApplicationModel:
59
59
  def app_id(self):
60
60
  """Gets the app_id of this ApplicationModel.
61
61
 
62
- 应用id
62
+ 应用id
63
63
 
64
64
  :return: The app_id of this ApplicationModel.
65
65
  :rtype: str
@@ -70,7 +70,7 @@ class ApplicationModel:
70
70
  def app_id(self, app_id):
71
71
  """Sets the app_id of this ApplicationModel.
72
72
 
73
- 应用id
73
+ 应用id
74
74
 
75
75
  :param app_id: The app_id of this ApplicationModel.
76
76
  :type app_id: str
@@ -81,7 +81,7 @@ class ApplicationModel:
81
81
  def app_name(self):
82
82
  """Gets the app_name of this ApplicationModel.
83
83
 
84
- 应用名称
84
+ 应用名称。
85
85
 
86
86
  :return: The app_name of this ApplicationModel.
87
87
  :rtype: str
@@ -92,7 +92,7 @@ class ApplicationModel:
92
92
  def app_name(self, app_name):
93
93
  """Sets the app_name of this ApplicationModel.
94
94
 
95
- 应用名称
95
+ 应用名称。
96
96
 
97
97
  :param app_name: The app_name of this ApplicationModel.
98
98
  :type app_name: str
@@ -103,7 +103,7 @@ class ApplicationModel:
103
103
  def app_type(self):
104
104
  """Gets the app_type of this ApplicationModel.
105
105
 
106
- 应用来源
106
+ 应用来源。
107
107
 
108
108
  :return: The app_type of this ApplicationModel.
109
109
  :rtype: str
@@ -114,7 +114,7 @@ class ApplicationModel:
114
114
  def app_type(self, app_type):
115
115
  """Sets the app_type of this ApplicationModel.
116
116
 
117
- 应用来源
117
+ 应用来源。
118
118
 
119
119
  :param app_type: The app_type of this ApplicationModel.
120
120
  :type app_type: str
@@ -30,7 +30,7 @@ class CreatePromInstanceResponse(SdkResponse):
30
30
 
31
31
  The model defined in huaweicloud sdk
32
32
 
33
- :param prometheus: 普罗实例列表名称
33
+ :param prometheus: Prometheus实例名称列表。
34
34
  :type prometheus: list[:class:`huaweicloudsdkaom.v2.PromInstanceEpsModel`]
35
35
  """
36
36
 
@@ -46,7 +46,7 @@ class CreatePromInstanceResponse(SdkResponse):
46
46
  def prometheus(self):
47
47
  """Gets the prometheus of this CreatePromInstanceResponse.
48
48
 
49
- 普罗实例列表名称
49
+ Prometheus实例名称列表。
50
50
 
51
51
  :return: The prometheus of this CreatePromInstanceResponse.
52
52
  :rtype: list[:class:`huaweicloudsdkaom.v2.PromInstanceEpsModel`]
@@ -57,7 +57,7 @@ class CreatePromInstanceResponse(SdkResponse):
57
57
  def prometheus(self, prometheus):
58
58
  """Sets the prometheus of this CreatePromInstanceResponse.
59
59
 
60
- 普罗实例列表名称
60
+ Prometheus实例名称列表。
61
61
 
62
62
  :param prometheus: The prometheus of this CreatePromInstanceResponse.
63
63
  :type prometheus: list[:class:`huaweicloudsdkaom.v2.PromInstanceEpsModel`]
@@ -29,7 +29,7 @@ class DeletePromInstanceRequest:
29
29
 
30
30
  The model defined in huaweicloud sdk
31
31
 
32
- :param prom_id: 普罗实例id。
32
+ :param prom_id: Prometheus实例id。
33
33
  :type prom_id: str
34
34
  """
35
35
 
@@ -44,7 +44,7 @@ class DeletePromInstanceRequest:
44
44
  def prom_id(self):
45
45
  """Gets the prom_id of this DeletePromInstanceRequest.
46
46
 
47
- 普罗实例id。
47
+ Prometheus实例id。
48
48
 
49
49
  :return: The prom_id of this DeletePromInstanceRequest.
50
50
  :rtype: str
@@ -55,7 +55,7 @@ class DeletePromInstanceRequest:
55
55
  def prom_id(self, prom_id):
56
56
  """Sets the prom_id of this DeletePromInstanceRequest.
57
57
 
58
- 普罗实例id。
58
+ Prometheus实例id。
59
59
 
60
60
  :param prom_id: The prom_id of this DeletePromInstanceRequest.
61
61
  :type prom_id: str
@@ -30,7 +30,7 @@ class ListAccessCodeResponse(SdkResponse):
30
30
 
31
31
  The model defined in huaweicloud sdk
32
32
 
33
- :param access_codes: accessCodes
33
+ :param access_codes: accessCodes
34
34
  :type access_codes: list[:class:`huaweicloudsdkaom.v2.AccessCodeModel`]
35
35
  """
36
36
 
@@ -46,7 +46,7 @@ class ListAccessCodeResponse(SdkResponse):
46
46
  def access_codes(self):
47
47
  """Gets the access_codes of this ListAccessCodeResponse.
48
48
 
49
- accessCodes
49
+ accessCodes
50
50
 
51
51
  :return: The access_codes of this ListAccessCodeResponse.
52
52
  :rtype: list[:class:`huaweicloudsdkaom.v2.AccessCodeModel`]
@@ -57,7 +57,7 @@ class ListAccessCodeResponse(SdkResponse):
57
57
  def access_codes(self, access_codes):
58
58
  """Sets the access_codes of this ListAccessCodeResponse.
59
59
 
60
- accessCodes
60
+ accessCodes
61
61
 
62
62
  :param access_codes: The access_codes of this ListAccessCodeResponse.
63
63
  :type access_codes: list[:class:`huaweicloudsdkaom.v2.AccessCodeModel`]
@@ -31,9 +31,9 @@ class ListAgentsRequest:
31
31
 
32
32
  The model defined in huaweicloud sdk
33
33
 
34
- :param cluster_id: 集群id
34
+ :param cluster_id: 集群id
35
35
  :type cluster_id: str
36
- :param namespace: 命名空间
36
+ :param namespace: 命名空间。
37
37
  :type namespace: str
38
38
  """
39
39
 
@@ -50,7 +50,7 @@ class ListAgentsRequest:
50
50
  def cluster_id(self):
51
51
  """Gets the cluster_id of this ListAgentsRequest.
52
52
 
53
- 集群id
53
+ 集群id
54
54
 
55
55
  :return: The cluster_id of this ListAgentsRequest.
56
56
  :rtype: str
@@ -61,7 +61,7 @@ class ListAgentsRequest:
61
61
  def cluster_id(self, cluster_id):
62
62
  """Sets the cluster_id of this ListAgentsRequest.
63
63
 
64
- 集群id
64
+ 集群id
65
65
 
66
66
  :param cluster_id: The cluster_id of this ListAgentsRequest.
67
67
  :type cluster_id: str
@@ -72,7 +72,7 @@ class ListAgentsRequest:
72
72
  def namespace(self):
73
73
  """Gets the namespace of this ListAgentsRequest.
74
74
 
75
- 命名空间
75
+ 命名空间。
76
76
 
77
77
  :return: The namespace of this ListAgentsRequest.
78
78
  :rtype: str
@@ -83,7 +83,7 @@ class ListAgentsRequest:
83
83
  def namespace(self, namespace):
84
84
  """Sets the namespace of this ListAgentsRequest.
85
85
 
86
- 命名空间
86
+ 命名空间。
87
87
 
88
88
  :param namespace: The namespace of this ListAgentsRequest.
89
89
  :type namespace: str