alibabacloud-sls20201230 5.3.0__py3-none-any.whl → 5.4.0__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.
- alibabacloud_sls20201230/__init__.py +1 -1
- alibabacloud_sls20201230/client.py +1079 -201
- alibabacloud_sls20201230/models.py +652 -44
- {alibabacloud_sls20201230-5.3.0.dist-info → alibabacloud_sls20201230-5.4.0.dist-info}/METADATA +3 -3
- alibabacloud_sls20201230-5.4.0.dist-info/RECORD +8 -0
- alibabacloud_sls20201230-5.3.0.dist-info/RECORD +0 -8
- {alibabacloud_sls20201230-5.3.0.dist-info → alibabacloud_sls20201230-5.4.0.dist-info}/LICENSE +0 -0
- {alibabacloud_sls20201230-5.3.0.dist-info → alibabacloud_sls20201230-5.4.0.dist-info}/WHEEL +0 -0
- {alibabacloud_sls20201230-5.3.0.dist-info → alibabacloud_sls20201230-5.4.0.dist-info}/top_level.txt +0 -0
@@ -146,7 +146,7 @@ class Client(OpenApiClient):
|
|
146
146
|
runtime: util_models.RuntimeOptions,
|
147
147
|
) -> sls_20201230_models.ChangeResourceGroupResponse:
|
148
148
|
"""
|
149
|
-
@summary
|
149
|
+
@summary Changes the resource group to which a resource belongs.
|
150
150
|
|
151
151
|
@param request: ChangeResourceGroupRequest
|
152
152
|
@param headers: map
|
@@ -192,7 +192,7 @@ class Client(OpenApiClient):
|
|
192
192
|
runtime: util_models.RuntimeOptions,
|
193
193
|
) -> sls_20201230_models.ChangeResourceGroupResponse:
|
194
194
|
"""
|
195
|
-
@summary
|
195
|
+
@summary Changes the resource group to which a resource belongs.
|
196
196
|
|
197
197
|
@param request: ChangeResourceGroupRequest
|
198
198
|
@param headers: map
|
@@ -236,7 +236,7 @@ class Client(OpenApiClient):
|
|
236
236
|
request: sls_20201230_models.ChangeResourceGroupRequest,
|
237
237
|
) -> sls_20201230_models.ChangeResourceGroupResponse:
|
238
238
|
"""
|
239
|
-
@summary
|
239
|
+
@summary Changes the resource group to which a resource belongs.
|
240
240
|
|
241
241
|
@param request: ChangeResourceGroupRequest
|
242
242
|
@return: ChangeResourceGroupResponse
|
@@ -251,7 +251,7 @@ class Client(OpenApiClient):
|
|
251
251
|
request: sls_20201230_models.ChangeResourceGroupRequest,
|
252
252
|
) -> sls_20201230_models.ChangeResourceGroupResponse:
|
253
253
|
"""
|
254
|
-
@summary
|
254
|
+
@summary Changes the resource group to which a resource belongs.
|
255
255
|
|
256
256
|
@param request: ChangeResourceGroupRequest
|
257
257
|
@return: ChangeResourceGroupResponse
|
@@ -273,8 +273,17 @@ class Client(OpenApiClient):
|
|
273
273
|
@summary Sends heartbeats to a server from a consumer.
|
274
274
|
|
275
275
|
@description ### Usage notes
|
276
|
-
Connections between consumers and servers are established by sending heartbeats at regular intervals. If a server does not receive heartbeats from a consumer on schedule, the server deletes the consumer.
|
277
276
|
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
277
|
+
Connections between consumers and Simple Log Service are established by sending heartbeat messages at regular intervals. If Simple Log Service does not receive heartbeat messages from a consumer on schedule, Simple Log Service deletes the consumer.
|
278
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
279
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
280
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html) and [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).
|
281
|
+
The name of the consumer group is obtained. For more information, see [ListConsumerGroup](https://help.aliyun.com/document_detail/74964.html).
|
282
|
+
### Authentication resources
|
283
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
284
|
+
|Action|Resource|
|
285
|
+
|:---|:---|
|
286
|
+
|`log:ConsumerGroupHeartBeat`|`acs:log:${regionId}:${accountId}:project/{#ProjectName}/logstore/{#LogstoreName}/consumergroup/{#ConsumerGroupName}`|
|
278
287
|
|
279
288
|
@param request: ConsumerGroupHeartBeatRequest
|
280
289
|
@param headers: map
|
@@ -322,8 +331,17 @@ class Client(OpenApiClient):
|
|
322
331
|
@summary Sends heartbeats to a server from a consumer.
|
323
332
|
|
324
333
|
@description ### Usage notes
|
325
|
-
Connections between consumers and servers are established by sending heartbeats at regular intervals. If a server does not receive heartbeats from a consumer on schedule, the server deletes the consumer.
|
326
334
|
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
335
|
+
Connections between consumers and Simple Log Service are established by sending heartbeat messages at regular intervals. If Simple Log Service does not receive heartbeat messages from a consumer on schedule, Simple Log Service deletes the consumer.
|
336
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
337
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
338
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html) and [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).
|
339
|
+
The name of the consumer group is obtained. For more information, see [ListConsumerGroup](https://help.aliyun.com/document_detail/74964.html).
|
340
|
+
### Authentication resources
|
341
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
342
|
+
|Action|Resource|
|
343
|
+
|:---|:---|
|
344
|
+
|`log:ConsumerGroupHeartBeat`|`acs:log:${regionId}:${accountId}:project/{#ProjectName}/logstore/{#LogstoreName}/consumergroup/{#ConsumerGroupName}`|
|
327
345
|
|
328
346
|
@param request: ConsumerGroupHeartBeatRequest
|
329
347
|
@param headers: map
|
@@ -369,8 +387,17 @@ class Client(OpenApiClient):
|
|
369
387
|
@summary Sends heartbeats to a server from a consumer.
|
370
388
|
|
371
389
|
@description ### Usage notes
|
372
|
-
Connections between consumers and servers are established by sending heartbeats at regular intervals. If a server does not receive heartbeats from a consumer on schedule, the server deletes the consumer.
|
373
390
|
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
391
|
+
Connections between consumers and Simple Log Service are established by sending heartbeat messages at regular intervals. If Simple Log Service does not receive heartbeat messages from a consumer on schedule, Simple Log Service deletes the consumer.
|
392
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
393
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
394
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html) and [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).
|
395
|
+
The name of the consumer group is obtained. For more information, see [ListConsumerGroup](https://help.aliyun.com/document_detail/74964.html).
|
396
|
+
### Authentication resources
|
397
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
398
|
+
|Action|Resource|
|
399
|
+
|:---|:---|
|
400
|
+
|`log:ConsumerGroupHeartBeat`|`acs:log:${regionId}:${accountId}:project/{#ProjectName}/logstore/{#LogstoreName}/consumergroup/{#ConsumerGroupName}`|
|
374
401
|
|
375
402
|
@param request: ConsumerGroupHeartBeatRequest
|
376
403
|
@return: ConsumerGroupHeartBeatResponse
|
@@ -390,8 +417,17 @@ class Client(OpenApiClient):
|
|
390
417
|
@summary Sends heartbeats to a server from a consumer.
|
391
418
|
|
392
419
|
@description ### Usage notes
|
393
|
-
Connections between consumers and servers are established by sending heartbeats at regular intervals. If a server does not receive heartbeats from a consumer on schedule, the server deletes the consumer.
|
394
420
|
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
421
|
+
Connections between consumers and Simple Log Service are established by sending heartbeat messages at regular intervals. If Simple Log Service does not receive heartbeat messages from a consumer on schedule, Simple Log Service deletes the consumer.
|
422
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
423
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
424
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html) and [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).
|
425
|
+
The name of the consumer group is obtained. For more information, see [ListConsumerGroup](https://help.aliyun.com/document_detail/74964.html).
|
426
|
+
### Authentication resources
|
427
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
428
|
+
|Action|Resource|
|
429
|
+
|:---|:---|
|
430
|
+
|`log:ConsumerGroupHeartBeat`|`acs:log:${regionId}:${accountId}:project/{#ProjectName}/logstore/{#LogstoreName}/consumergroup/{#ConsumerGroupName}`|
|
395
431
|
|
396
432
|
@param request: ConsumerGroupHeartBeatRequest
|
397
433
|
@return: ConsumerGroupHeartBeatResponse
|
@@ -1846,10 +1882,20 @@ class Client(OpenApiClient):
|
|
1846
1882
|
runtime: util_models.RuntimeOptions,
|
1847
1883
|
) -> sls_20201230_models.CreateLogStoreResponse:
|
1848
1884
|
"""
|
1849
|
-
@summary
|
1885
|
+
@summary Creates a Logstore.
|
1850
1886
|
|
1851
1887
|
@description ### Usage notes
|
1852
|
-
Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
|
1888
|
+
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
1889
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
1890
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
1891
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html).
|
1892
|
+
You can create up to 200 Logstores in each project.
|
1893
|
+
If the retention period of a log reaches the data retention period that you specified for the Logstore, the log is deleted.
|
1894
|
+
### Authentication resources
|
1895
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
1896
|
+
|Action|Resource|
|
1897
|
+
|:---|:---|
|
1898
|
+
|`log:CreateLogStore`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#LogstoreName}`|
|
1853
1899
|
|
1854
1900
|
@param request: CreateLogStoreRequest
|
1855
1901
|
@param headers: map
|
@@ -1878,6 +1924,8 @@ class Client(OpenApiClient):
|
|
1878
1924
|
body['maxSplitShard'] = request.max_split_shard
|
1879
1925
|
if not UtilClient.is_unset(request.mode):
|
1880
1926
|
body['mode'] = request.mode
|
1927
|
+
if not UtilClient.is_unset(request.processor_id):
|
1928
|
+
body['processorId'] = request.processor_id
|
1881
1929
|
if not UtilClient.is_unset(request.shard_count):
|
1882
1930
|
body['shardCount'] = request.shard_count
|
1883
1931
|
if not UtilClient.is_unset(request.telemetry_type):
|
@@ -1913,10 +1961,20 @@ class Client(OpenApiClient):
|
|
1913
1961
|
runtime: util_models.RuntimeOptions,
|
1914
1962
|
) -> sls_20201230_models.CreateLogStoreResponse:
|
1915
1963
|
"""
|
1916
|
-
@summary
|
1964
|
+
@summary Creates a Logstore.
|
1917
1965
|
|
1918
1966
|
@description ### Usage notes
|
1919
|
-
Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
|
1967
|
+
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
1968
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
1969
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
1970
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html).
|
1971
|
+
You can create up to 200 Logstores in each project.
|
1972
|
+
If the retention period of a log reaches the data retention period that you specified for the Logstore, the log is deleted.
|
1973
|
+
### Authentication resources
|
1974
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
1975
|
+
|Action|Resource|
|
1976
|
+
|:---|:---|
|
1977
|
+
|`log:CreateLogStore`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#LogstoreName}`|
|
1920
1978
|
|
1921
1979
|
@param request: CreateLogStoreRequest
|
1922
1980
|
@param headers: map
|
@@ -1945,6 +2003,8 @@ class Client(OpenApiClient):
|
|
1945
2003
|
body['maxSplitShard'] = request.max_split_shard
|
1946
2004
|
if not UtilClient.is_unset(request.mode):
|
1947
2005
|
body['mode'] = request.mode
|
2006
|
+
if not UtilClient.is_unset(request.processor_id):
|
2007
|
+
body['processorId'] = request.processor_id
|
1948
2008
|
if not UtilClient.is_unset(request.shard_count):
|
1949
2009
|
body['shardCount'] = request.shard_count
|
1950
2010
|
if not UtilClient.is_unset(request.telemetry_type):
|
@@ -1978,10 +2038,20 @@ class Client(OpenApiClient):
|
|
1978
2038
|
request: sls_20201230_models.CreateLogStoreRequest,
|
1979
2039
|
) -> sls_20201230_models.CreateLogStoreResponse:
|
1980
2040
|
"""
|
1981
|
-
@summary
|
2041
|
+
@summary Creates a Logstore.
|
1982
2042
|
|
1983
2043
|
@description ### Usage notes
|
1984
|
-
Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
|
2044
|
+
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
2045
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
2046
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
2047
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html).
|
2048
|
+
You can create up to 200 Logstores in each project.
|
2049
|
+
If the retention period of a log reaches the data retention period that you specified for the Logstore, the log is deleted.
|
2050
|
+
### Authentication resources
|
2051
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
2052
|
+
|Action|Resource|
|
2053
|
+
|:---|:---|
|
2054
|
+
|`log:CreateLogStore`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#LogstoreName}`|
|
1985
2055
|
|
1986
2056
|
@param request: CreateLogStoreRequest
|
1987
2057
|
@return: CreateLogStoreResponse
|
@@ -1996,10 +2066,20 @@ class Client(OpenApiClient):
|
|
1996
2066
|
request: sls_20201230_models.CreateLogStoreRequest,
|
1997
2067
|
) -> sls_20201230_models.CreateLogStoreResponse:
|
1998
2068
|
"""
|
1999
|
-
@summary
|
2069
|
+
@summary Creates a Logstore.
|
2000
2070
|
|
2001
2071
|
@description ### Usage notes
|
2002
|
-
Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
|
2072
|
+
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
2073
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
2074
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
2075
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html).
|
2076
|
+
You can create up to 200 Logstores in each project.
|
2077
|
+
If the retention period of a log reaches the data retention period that you specified for the Logstore, the log is deleted.
|
2078
|
+
### Authentication resources
|
2079
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
2080
|
+
|Action|Resource|
|
2081
|
+
|:---|:---|
|
2082
|
+
|`log:CreateLogStore`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#LogstoreName}`|
|
2003
2083
|
|
2004
2084
|
@param request: CreateLogStoreRequest
|
2005
2085
|
@return: CreateLogStoreResponse
|
@@ -2422,6 +2502,144 @@ class Client(OpenApiClient):
|
|
2422
2502
|
headers = {}
|
2423
2503
|
return await self.create_machine_group_with_options_async(project, request, headers, runtime)
|
2424
2504
|
|
2505
|
+
def create_metric_store_with_options(
|
2506
|
+
self,
|
2507
|
+
project: str,
|
2508
|
+
request: sls_20201230_models.CreateMetricStoreRequest,
|
2509
|
+
headers: Dict[str, str],
|
2510
|
+
runtime: util_models.RuntimeOptions,
|
2511
|
+
) -> sls_20201230_models.CreateMetricStoreResponse:
|
2512
|
+
"""
|
2513
|
+
@summary 创建时序库
|
2514
|
+
|
2515
|
+
@param request: CreateMetricStoreRequest
|
2516
|
+
@param headers: map
|
2517
|
+
@param runtime: runtime options for this request RuntimeOptions
|
2518
|
+
@return: CreateMetricStoreResponse
|
2519
|
+
"""
|
2520
|
+
UtilClient.validate_model(request)
|
2521
|
+
host_map = {}
|
2522
|
+
host_map['project'] = project
|
2523
|
+
body = {}
|
2524
|
+
if not UtilClient.is_unset(request.auto_split):
|
2525
|
+
body['autoSplit'] = request.auto_split
|
2526
|
+
if not UtilClient.is_unset(request.max_split_shard):
|
2527
|
+
body['maxSplitShard'] = request.max_split_shard
|
2528
|
+
if not UtilClient.is_unset(request.metric_type):
|
2529
|
+
body['metricType'] = request.metric_type
|
2530
|
+
if not UtilClient.is_unset(request.mode):
|
2531
|
+
body['mode'] = request.mode
|
2532
|
+
if not UtilClient.is_unset(request.name):
|
2533
|
+
body['name'] = request.name
|
2534
|
+
if not UtilClient.is_unset(request.shard_count):
|
2535
|
+
body['shardCount'] = request.shard_count
|
2536
|
+
if not UtilClient.is_unset(request.ttl):
|
2537
|
+
body['ttl'] = request.ttl
|
2538
|
+
req = open_api_models.OpenApiRequest(
|
2539
|
+
host_map=host_map,
|
2540
|
+
headers=headers,
|
2541
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
2542
|
+
)
|
2543
|
+
params = open_api_models.Params(
|
2544
|
+
action='CreateMetricStore',
|
2545
|
+
version='2020-12-30',
|
2546
|
+
protocol='HTTPS',
|
2547
|
+
pathname=f'/metricstores',
|
2548
|
+
method='POST',
|
2549
|
+
auth_type='AK',
|
2550
|
+
style='ROA',
|
2551
|
+
req_body_type='json',
|
2552
|
+
body_type='none'
|
2553
|
+
)
|
2554
|
+
return TeaCore.from_map(
|
2555
|
+
sls_20201230_models.CreateMetricStoreResponse(),
|
2556
|
+
self.execute(params, req, runtime)
|
2557
|
+
)
|
2558
|
+
|
2559
|
+
async def create_metric_store_with_options_async(
|
2560
|
+
self,
|
2561
|
+
project: str,
|
2562
|
+
request: sls_20201230_models.CreateMetricStoreRequest,
|
2563
|
+
headers: Dict[str, str],
|
2564
|
+
runtime: util_models.RuntimeOptions,
|
2565
|
+
) -> sls_20201230_models.CreateMetricStoreResponse:
|
2566
|
+
"""
|
2567
|
+
@summary 创建时序库
|
2568
|
+
|
2569
|
+
@param request: CreateMetricStoreRequest
|
2570
|
+
@param headers: map
|
2571
|
+
@param runtime: runtime options for this request RuntimeOptions
|
2572
|
+
@return: CreateMetricStoreResponse
|
2573
|
+
"""
|
2574
|
+
UtilClient.validate_model(request)
|
2575
|
+
host_map = {}
|
2576
|
+
host_map['project'] = project
|
2577
|
+
body = {}
|
2578
|
+
if not UtilClient.is_unset(request.auto_split):
|
2579
|
+
body['autoSplit'] = request.auto_split
|
2580
|
+
if not UtilClient.is_unset(request.max_split_shard):
|
2581
|
+
body['maxSplitShard'] = request.max_split_shard
|
2582
|
+
if not UtilClient.is_unset(request.metric_type):
|
2583
|
+
body['metricType'] = request.metric_type
|
2584
|
+
if not UtilClient.is_unset(request.mode):
|
2585
|
+
body['mode'] = request.mode
|
2586
|
+
if not UtilClient.is_unset(request.name):
|
2587
|
+
body['name'] = request.name
|
2588
|
+
if not UtilClient.is_unset(request.shard_count):
|
2589
|
+
body['shardCount'] = request.shard_count
|
2590
|
+
if not UtilClient.is_unset(request.ttl):
|
2591
|
+
body['ttl'] = request.ttl
|
2592
|
+
req = open_api_models.OpenApiRequest(
|
2593
|
+
host_map=host_map,
|
2594
|
+
headers=headers,
|
2595
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
2596
|
+
)
|
2597
|
+
params = open_api_models.Params(
|
2598
|
+
action='CreateMetricStore',
|
2599
|
+
version='2020-12-30',
|
2600
|
+
protocol='HTTPS',
|
2601
|
+
pathname=f'/metricstores',
|
2602
|
+
method='POST',
|
2603
|
+
auth_type='AK',
|
2604
|
+
style='ROA',
|
2605
|
+
req_body_type='json',
|
2606
|
+
body_type='none'
|
2607
|
+
)
|
2608
|
+
return TeaCore.from_map(
|
2609
|
+
sls_20201230_models.CreateMetricStoreResponse(),
|
2610
|
+
await self.execute_async(params, req, runtime)
|
2611
|
+
)
|
2612
|
+
|
2613
|
+
def create_metric_store(
|
2614
|
+
self,
|
2615
|
+
project: str,
|
2616
|
+
request: sls_20201230_models.CreateMetricStoreRequest,
|
2617
|
+
) -> sls_20201230_models.CreateMetricStoreResponse:
|
2618
|
+
"""
|
2619
|
+
@summary 创建时序库
|
2620
|
+
|
2621
|
+
@param request: CreateMetricStoreRequest
|
2622
|
+
@return: CreateMetricStoreResponse
|
2623
|
+
"""
|
2624
|
+
runtime = util_models.RuntimeOptions()
|
2625
|
+
headers = {}
|
2626
|
+
return self.create_metric_store_with_options(project, request, headers, runtime)
|
2627
|
+
|
2628
|
+
async def create_metric_store_async(
|
2629
|
+
self,
|
2630
|
+
project: str,
|
2631
|
+
request: sls_20201230_models.CreateMetricStoreRequest,
|
2632
|
+
) -> sls_20201230_models.CreateMetricStoreResponse:
|
2633
|
+
"""
|
2634
|
+
@summary 创建时序库
|
2635
|
+
|
2636
|
+
@param request: CreateMetricStoreRequest
|
2637
|
+
@return: CreateMetricStoreResponse
|
2638
|
+
"""
|
2639
|
+
runtime = util_models.RuntimeOptions()
|
2640
|
+
headers = {}
|
2641
|
+
return await self.create_metric_store_with_options_async(project, request, headers, runtime)
|
2642
|
+
|
2425
2643
|
def create_ossexport_with_options(
|
2426
2644
|
self,
|
2427
2645
|
project: str,
|
@@ -2430,7 +2648,7 @@ class Client(OpenApiClient):
|
|
2430
2648
|
runtime: util_models.RuntimeOptions,
|
2431
2649
|
) -> sls_20201230_models.CreateOSSExportResponse:
|
2432
2650
|
"""
|
2433
|
-
@summary
|
2651
|
+
@summary Ships logs from a Simple Log Service Logstore to an Object Storage Service (OSS) bucket.
|
2434
2652
|
|
2435
2653
|
@param request: CreateOSSExportRequest
|
2436
2654
|
@param headers: map
|
@@ -2478,7 +2696,7 @@ class Client(OpenApiClient):
|
|
2478
2696
|
runtime: util_models.RuntimeOptions,
|
2479
2697
|
) -> sls_20201230_models.CreateOSSExportResponse:
|
2480
2698
|
"""
|
2481
|
-
@summary
|
2699
|
+
@summary Ships logs from a Simple Log Service Logstore to an Object Storage Service (OSS) bucket.
|
2482
2700
|
|
2483
2701
|
@param request: CreateOSSExportRequest
|
2484
2702
|
@param headers: map
|
@@ -2524,7 +2742,7 @@ class Client(OpenApiClient):
|
|
2524
2742
|
request: sls_20201230_models.CreateOSSExportRequest,
|
2525
2743
|
) -> sls_20201230_models.CreateOSSExportResponse:
|
2526
2744
|
"""
|
2527
|
-
@summary
|
2745
|
+
@summary Ships logs from a Simple Log Service Logstore to an Object Storage Service (OSS) bucket.
|
2528
2746
|
|
2529
2747
|
@param request: CreateOSSExportRequest
|
2530
2748
|
@return: CreateOSSExportResponse
|
@@ -2539,7 +2757,7 @@ class Client(OpenApiClient):
|
|
2539
2757
|
request: sls_20201230_models.CreateOSSExportRequest,
|
2540
2758
|
) -> sls_20201230_models.CreateOSSExportResponse:
|
2541
2759
|
"""
|
2542
|
-
@summary
|
2760
|
+
@summary Ships logs from a Simple Log Service Logstore to an Object Storage Service (OSS) bucket.
|
2543
2761
|
|
2544
2762
|
@param request: CreateOSSExportRequest
|
2545
2763
|
@return: CreateOSSExportResponse
|
@@ -2682,7 +2900,7 @@ class Client(OpenApiClient):
|
|
2682
2900
|
runtime: util_models.RuntimeOptions,
|
2683
2901
|
) -> sls_20201230_models.CreateOSSIngestionResponse:
|
2684
2902
|
"""
|
2685
|
-
@summary
|
2903
|
+
@summary Creates an Object Storage Service (OSS) data import job in a project.
|
2686
2904
|
|
2687
2905
|
@param request: CreateOSSIngestionRequest
|
2688
2906
|
@param headers: map
|
@@ -2732,7 +2950,7 @@ class Client(OpenApiClient):
|
|
2732
2950
|
runtime: util_models.RuntimeOptions,
|
2733
2951
|
) -> sls_20201230_models.CreateOSSIngestionResponse:
|
2734
2952
|
"""
|
2735
|
-
@summary
|
2953
|
+
@summary Creates an Object Storage Service (OSS) data import job in a project.
|
2736
2954
|
|
2737
2955
|
@param request: CreateOSSIngestionRequest
|
2738
2956
|
@param headers: map
|
@@ -2780,7 +2998,7 @@ class Client(OpenApiClient):
|
|
2780
2998
|
request: sls_20201230_models.CreateOSSIngestionRequest,
|
2781
2999
|
) -> sls_20201230_models.CreateOSSIngestionResponse:
|
2782
3000
|
"""
|
2783
|
-
@summary
|
3001
|
+
@summary Creates an Object Storage Service (OSS) data import job in a project.
|
2784
3002
|
|
2785
3003
|
@param request: CreateOSSIngestionRequest
|
2786
3004
|
@return: CreateOSSIngestionResponse
|
@@ -2795,7 +3013,7 @@ class Client(OpenApiClient):
|
|
2795
3013
|
request: sls_20201230_models.CreateOSSIngestionRequest,
|
2796
3014
|
) -> sls_20201230_models.CreateOSSIngestionResponse:
|
2797
3015
|
"""
|
2798
|
-
@summary
|
3016
|
+
@summary Creates an Object Storage Service (OSS) data import job in a project.
|
2799
3017
|
|
2800
3018
|
@param request: CreateOSSIngestionRequest
|
2801
3019
|
@return: CreateOSSIngestionResponse
|
@@ -3334,7 +3552,7 @@ class Client(OpenApiClient):
|
|
3334
3552
|
runtime: util_models.RuntimeOptions,
|
3335
3553
|
) -> sls_20201230_models.CreateScheduledSQLResponse:
|
3336
3554
|
"""
|
3337
|
-
@summary
|
3555
|
+
@summary Creates a Scheduled SQL job in a project.
|
3338
3556
|
|
3339
3557
|
@param request: CreateScheduledSQLRequest
|
3340
3558
|
@param headers: map
|
@@ -3384,7 +3602,7 @@ class Client(OpenApiClient):
|
|
3384
3602
|
runtime: util_models.RuntimeOptions,
|
3385
3603
|
) -> sls_20201230_models.CreateScheduledSQLResponse:
|
3386
3604
|
"""
|
3387
|
-
@summary
|
3605
|
+
@summary Creates a Scheduled SQL job in a project.
|
3388
3606
|
|
3389
3607
|
@param request: CreateScheduledSQLRequest
|
3390
3608
|
@param headers: map
|
@@ -3432,7 +3650,7 @@ class Client(OpenApiClient):
|
|
3432
3650
|
request: sls_20201230_models.CreateScheduledSQLRequest,
|
3433
3651
|
) -> sls_20201230_models.CreateScheduledSQLResponse:
|
3434
3652
|
"""
|
3435
|
-
@summary
|
3653
|
+
@summary Creates a Scheduled SQL job in a project.
|
3436
3654
|
|
3437
3655
|
@param request: CreateScheduledSQLRequest
|
3438
3656
|
@return: CreateScheduledSQLResponse
|
@@ -3447,7 +3665,7 @@ class Client(OpenApiClient):
|
|
3447
3665
|
request: sls_20201230_models.CreateScheduledSQLRequest,
|
3448
3666
|
) -> sls_20201230_models.CreateScheduledSQLResponse:
|
3449
3667
|
"""
|
3450
|
-
@summary
|
3668
|
+
@summary Creates a Scheduled SQL job in a project.
|
3451
3669
|
|
3452
3670
|
@param request: CreateScheduledSQLRequest
|
3453
3671
|
@return: CreateScheduledSQLResponse
|
@@ -3464,7 +3682,9 @@ class Client(OpenApiClient):
|
|
3464
3682
|
runtime: util_models.RuntimeOptions,
|
3465
3683
|
) -> sls_20201230_models.CreateSqlInstanceResponse:
|
3466
3684
|
"""
|
3467
|
-
@summary
|
3685
|
+
@summary If you use the Standard SQL feature to analyze a large amount of data, the logs within the specified time range cannot be fully scanned in a single query request. In this case, the returned results may not contain all matched data. You can increase the number of shards to improve data read and write capabilities. However, this method takes effect only for incremental data. You can enable the Dedicated SQL feature to increase computing resources and the amount of data that can be analyzed in a single query request.
|
3686
|
+
|
3687
|
+
@description *Before you call this operation, make sure that you fully understand the [billing](https://help.aliyun.com/document_detail/223777.html) of Dedicated SQL.
|
3468
3688
|
|
3469
3689
|
@param request: CreateSqlInstanceRequest
|
3470
3690
|
@param headers: map
|
@@ -3508,7 +3728,9 @@ class Client(OpenApiClient):
|
|
3508
3728
|
runtime: util_models.RuntimeOptions,
|
3509
3729
|
) -> sls_20201230_models.CreateSqlInstanceResponse:
|
3510
3730
|
"""
|
3511
|
-
@summary
|
3731
|
+
@summary If you use the Standard SQL feature to analyze a large amount of data, the logs within the specified time range cannot be fully scanned in a single query request. In this case, the returned results may not contain all matched data. You can increase the number of shards to improve data read and write capabilities. However, this method takes effect only for incremental data. You can enable the Dedicated SQL feature to increase computing resources and the amount of data that can be analyzed in a single query request.
|
3732
|
+
|
3733
|
+
@description *Before you call this operation, make sure that you fully understand the [billing](https://help.aliyun.com/document_detail/223777.html) of Dedicated SQL.
|
3512
3734
|
|
3513
3735
|
@param request: CreateSqlInstanceRequest
|
3514
3736
|
@param headers: map
|
@@ -3550,7 +3772,9 @@ class Client(OpenApiClient):
|
|
3550
3772
|
request: sls_20201230_models.CreateSqlInstanceRequest,
|
3551
3773
|
) -> sls_20201230_models.CreateSqlInstanceResponse:
|
3552
3774
|
"""
|
3553
|
-
@summary
|
3775
|
+
@summary If you use the Standard SQL feature to analyze a large amount of data, the logs within the specified time range cannot be fully scanned in a single query request. In this case, the returned results may not contain all matched data. You can increase the number of shards to improve data read and write capabilities. However, this method takes effect only for incremental data. You can enable the Dedicated SQL feature to increase computing resources and the amount of data that can be analyzed in a single query request.
|
3776
|
+
|
3777
|
+
@description *Before you call this operation, make sure that you fully understand the [billing](https://help.aliyun.com/document_detail/223777.html) of Dedicated SQL.
|
3554
3778
|
|
3555
3779
|
@param request: CreateSqlInstanceRequest
|
3556
3780
|
@return: CreateSqlInstanceResponse
|
@@ -3565,7 +3789,9 @@ class Client(OpenApiClient):
|
|
3565
3789
|
request: sls_20201230_models.CreateSqlInstanceRequest,
|
3566
3790
|
) -> sls_20201230_models.CreateSqlInstanceResponse:
|
3567
3791
|
"""
|
3568
|
-
@summary
|
3792
|
+
@summary If you use the Standard SQL feature to analyze a large amount of data, the logs within the specified time range cannot be fully scanned in a single query request. In this case, the returned results may not contain all matched data. You can increase the number of shards to improve data read and write capabilities. However, this method takes effect only for incremental data. You can enable the Dedicated SQL feature to increase computing resources and the amount of data that can be analyzed in a single query request.
|
3793
|
+
|
3794
|
+
@description *Before you call this operation, make sure that you fully understand the [billing](https://help.aliyun.com/document_detail/223777.html) of Dedicated SQL.
|
3569
3795
|
|
3570
3796
|
@param request: CreateSqlInstanceRequest
|
3571
3797
|
@return: CreateSqlInstanceResponse
|
@@ -3812,7 +4038,7 @@ class Client(OpenApiClient):
|
|
3812
4038
|
runtime: util_models.RuntimeOptions,
|
3813
4039
|
) -> sls_20201230_models.DeleteAlertResponse:
|
3814
4040
|
"""
|
3815
|
-
@summary
|
4041
|
+
@summary Deletes an alert rule.
|
3816
4042
|
|
3817
4043
|
@param headers: map
|
3818
4044
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -3848,7 +4074,7 @@ class Client(OpenApiClient):
|
|
3848
4074
|
runtime: util_models.RuntimeOptions,
|
3849
4075
|
) -> sls_20201230_models.DeleteAlertResponse:
|
3850
4076
|
"""
|
3851
|
-
@summary
|
4077
|
+
@summary Deletes an alert rule.
|
3852
4078
|
|
3853
4079
|
@param headers: map
|
3854
4080
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -3882,7 +4108,7 @@ class Client(OpenApiClient):
|
|
3882
4108
|
alert_name: str,
|
3883
4109
|
) -> sls_20201230_models.DeleteAlertResponse:
|
3884
4110
|
"""
|
3885
|
-
@summary
|
4111
|
+
@summary Deletes an alert rule.
|
3886
4112
|
|
3887
4113
|
@return: DeleteAlertResponse
|
3888
4114
|
"""
|
@@ -3896,7 +4122,7 @@ class Client(OpenApiClient):
|
|
3896
4122
|
alert_name: str,
|
3897
4123
|
) -> sls_20201230_models.DeleteAlertResponse:
|
3898
4124
|
"""
|
3899
|
-
@summary
|
4125
|
+
@summary Deletes an alert rule.
|
3900
4126
|
|
3901
4127
|
@return: DeleteAlertResponse
|
3902
4128
|
"""
|
@@ -4457,7 +4683,17 @@ class Client(OpenApiClient):
|
|
4457
4683
|
"""
|
4458
4684
|
@summary Deletes a consumer group.
|
4459
4685
|
|
4460
|
-
@description
|
4686
|
+
@description ### Usage notes
|
4687
|
+
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
4688
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
4689
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
4690
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html) and [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).
|
4691
|
+
The name of the consumer group is obtained. For more information, see [ListConsumerGroup](https://help.aliyun.com/document_detail/74964.html).
|
4692
|
+
### Authentication resources
|
4693
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
4694
|
+
|Action|Resource|
|
4695
|
+
|:---|:---|
|
4696
|
+
|`log:DeleteConsumerGroup`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#logstoreName}/consumergroup/{#ConsumerGroup}`|
|
4461
4697
|
|
4462
4698
|
@param headers: map
|
4463
4699
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -4496,7 +4732,17 @@ class Client(OpenApiClient):
|
|
4496
4732
|
"""
|
4497
4733
|
@summary Deletes a consumer group.
|
4498
4734
|
|
4499
|
-
@description
|
4735
|
+
@description ### Usage notes
|
4736
|
+
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
4737
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
4738
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
4739
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html) and [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).
|
4740
|
+
The name of the consumer group is obtained. For more information, see [ListConsumerGroup](https://help.aliyun.com/document_detail/74964.html).
|
4741
|
+
### Authentication resources
|
4742
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
4743
|
+
|Action|Resource|
|
4744
|
+
|:---|:---|
|
4745
|
+
|`log:DeleteConsumerGroup`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#logstoreName}/consumergroup/{#ConsumerGroup}`|
|
4500
4746
|
|
4501
4747
|
@param headers: map
|
4502
4748
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -4533,7 +4779,17 @@ class Client(OpenApiClient):
|
|
4533
4779
|
"""
|
4534
4780
|
@summary Deletes a consumer group.
|
4535
4781
|
|
4536
|
-
@description
|
4782
|
+
@description ### Usage notes
|
4783
|
+
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
4784
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
4785
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
4786
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html) and [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).
|
4787
|
+
The name of the consumer group is obtained. For more information, see [ListConsumerGroup](https://help.aliyun.com/document_detail/74964.html).
|
4788
|
+
### Authentication resources
|
4789
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
4790
|
+
|Action|Resource|
|
4791
|
+
|:---|:---|
|
4792
|
+
|`log:DeleteConsumerGroup`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#logstoreName}/consumergroup/{#ConsumerGroup}`|
|
4537
4793
|
|
4538
4794
|
@return: DeleteConsumerGroupResponse
|
4539
4795
|
"""
|
@@ -4550,7 +4806,17 @@ class Client(OpenApiClient):
|
|
4550
4806
|
"""
|
4551
4807
|
@summary Deletes a consumer group.
|
4552
4808
|
|
4553
|
-
@description
|
4809
|
+
@description ### Usage notes
|
4810
|
+
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
4811
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
4812
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
4813
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html) and [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).
|
4814
|
+
The name of the consumer group is obtained. For more information, see [ListConsumerGroup](https://help.aliyun.com/document_detail/74964.html).
|
4815
|
+
### Authentication resources
|
4816
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
4817
|
+
|Action|Resource|
|
4818
|
+
|:---|:---|
|
4819
|
+
|`log:DeleteConsumerGroup`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#logstoreName}/consumergroup/{#ConsumerGroup}`|
|
4554
4820
|
|
4555
4821
|
@return: DeleteConsumerGroupResponse
|
4556
4822
|
"""
|
@@ -5638,6 +5904,106 @@ class Client(OpenApiClient):
|
|
5638
5904
|
headers = {}
|
5639
5905
|
return await self.delete_machine_group_with_options_async(project, machine_group, headers, runtime)
|
5640
5906
|
|
5907
|
+
def delete_metric_store_with_options(
|
5908
|
+
self,
|
5909
|
+
project: str,
|
5910
|
+
name: str,
|
5911
|
+
headers: Dict[str, str],
|
5912
|
+
runtime: util_models.RuntimeOptions,
|
5913
|
+
) -> sls_20201230_models.DeleteMetricStoreResponse:
|
5914
|
+
"""
|
5915
|
+
@summary 删除时序库
|
5916
|
+
|
5917
|
+
@param headers: map
|
5918
|
+
@param runtime: runtime options for this request RuntimeOptions
|
5919
|
+
@return: DeleteMetricStoreResponse
|
5920
|
+
"""
|
5921
|
+
host_map = {}
|
5922
|
+
host_map['project'] = project
|
5923
|
+
req = open_api_models.OpenApiRequest(
|
5924
|
+
host_map=host_map,
|
5925
|
+
headers=headers
|
5926
|
+
)
|
5927
|
+
params = open_api_models.Params(
|
5928
|
+
action='DeleteMetricStore',
|
5929
|
+
version='2020-12-30',
|
5930
|
+
protocol='HTTPS',
|
5931
|
+
pathname=f'/metricstores/{name}',
|
5932
|
+
method='DELETE',
|
5933
|
+
auth_type='AK',
|
5934
|
+
style='ROA',
|
5935
|
+
req_body_type='none',
|
5936
|
+
body_type='none'
|
5937
|
+
)
|
5938
|
+
return TeaCore.from_map(
|
5939
|
+
sls_20201230_models.DeleteMetricStoreResponse(),
|
5940
|
+
self.execute(params, req, runtime)
|
5941
|
+
)
|
5942
|
+
|
5943
|
+
async def delete_metric_store_with_options_async(
|
5944
|
+
self,
|
5945
|
+
project: str,
|
5946
|
+
name: str,
|
5947
|
+
headers: Dict[str, str],
|
5948
|
+
runtime: util_models.RuntimeOptions,
|
5949
|
+
) -> sls_20201230_models.DeleteMetricStoreResponse:
|
5950
|
+
"""
|
5951
|
+
@summary 删除时序库
|
5952
|
+
|
5953
|
+
@param headers: map
|
5954
|
+
@param runtime: runtime options for this request RuntimeOptions
|
5955
|
+
@return: DeleteMetricStoreResponse
|
5956
|
+
"""
|
5957
|
+
host_map = {}
|
5958
|
+
host_map['project'] = project
|
5959
|
+
req = open_api_models.OpenApiRequest(
|
5960
|
+
host_map=host_map,
|
5961
|
+
headers=headers
|
5962
|
+
)
|
5963
|
+
params = open_api_models.Params(
|
5964
|
+
action='DeleteMetricStore',
|
5965
|
+
version='2020-12-30',
|
5966
|
+
protocol='HTTPS',
|
5967
|
+
pathname=f'/metricstores/{name}',
|
5968
|
+
method='DELETE',
|
5969
|
+
auth_type='AK',
|
5970
|
+
style='ROA',
|
5971
|
+
req_body_type='none',
|
5972
|
+
body_type='none'
|
5973
|
+
)
|
5974
|
+
return TeaCore.from_map(
|
5975
|
+
sls_20201230_models.DeleteMetricStoreResponse(),
|
5976
|
+
await self.execute_async(params, req, runtime)
|
5977
|
+
)
|
5978
|
+
|
5979
|
+
def delete_metric_store(
|
5980
|
+
self,
|
5981
|
+
project: str,
|
5982
|
+
name: str,
|
5983
|
+
) -> sls_20201230_models.DeleteMetricStoreResponse:
|
5984
|
+
"""
|
5985
|
+
@summary 删除时序库
|
5986
|
+
|
5987
|
+
@return: DeleteMetricStoreResponse
|
5988
|
+
"""
|
5989
|
+
runtime = util_models.RuntimeOptions()
|
5990
|
+
headers = {}
|
5991
|
+
return self.delete_metric_store_with_options(project, name, headers, runtime)
|
5992
|
+
|
5993
|
+
async def delete_metric_store_async(
|
5994
|
+
self,
|
5995
|
+
project: str,
|
5996
|
+
name: str,
|
5997
|
+
) -> sls_20201230_models.DeleteMetricStoreResponse:
|
5998
|
+
"""
|
5999
|
+
@summary 删除时序库
|
6000
|
+
|
6001
|
+
@return: DeleteMetricStoreResponse
|
6002
|
+
"""
|
6003
|
+
runtime = util_models.RuntimeOptions()
|
6004
|
+
headers = {}
|
6005
|
+
return await self.delete_metric_store_with_options_async(project, name, headers, runtime)
|
6006
|
+
|
5641
6007
|
def delete_ossexport_with_options(
|
5642
6008
|
self,
|
5643
6009
|
project: str,
|
@@ -5846,7 +6212,7 @@ class Client(OpenApiClient):
|
|
5846
6212
|
runtime: util_models.RuntimeOptions,
|
5847
6213
|
) -> sls_20201230_models.DeleteOSSIngestionResponse:
|
5848
6214
|
"""
|
5849
|
-
@summary
|
6215
|
+
@summary Deletes an Object Storage Service (OSS) data import job.
|
5850
6216
|
|
5851
6217
|
@param headers: map
|
5852
6218
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -5882,7 +6248,7 @@ class Client(OpenApiClient):
|
|
5882
6248
|
runtime: util_models.RuntimeOptions,
|
5883
6249
|
) -> sls_20201230_models.DeleteOSSIngestionResponse:
|
5884
6250
|
"""
|
5885
|
-
@summary
|
6251
|
+
@summary Deletes an Object Storage Service (OSS) data import job.
|
5886
6252
|
|
5887
6253
|
@param headers: map
|
5888
6254
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -5916,7 +6282,7 @@ class Client(OpenApiClient):
|
|
5916
6282
|
oss_ingestion_name: str,
|
5917
6283
|
) -> sls_20201230_models.DeleteOSSIngestionResponse:
|
5918
6284
|
"""
|
5919
|
-
@summary
|
6285
|
+
@summary Deletes an Object Storage Service (OSS) data import job.
|
5920
6286
|
|
5921
6287
|
@return: DeleteOSSIngestionResponse
|
5922
6288
|
"""
|
@@ -5930,7 +6296,7 @@ class Client(OpenApiClient):
|
|
5930
6296
|
oss_ingestion_name: str,
|
5931
6297
|
) -> sls_20201230_models.DeleteOSSIngestionResponse:
|
5932
6298
|
"""
|
5933
|
-
@summary
|
6299
|
+
@summary Deletes an Object Storage Service (OSS) data import job.
|
5934
6300
|
|
5935
6301
|
@return: DeleteOSSIngestionResponse
|
5936
6302
|
"""
|
@@ -5945,7 +6311,18 @@ class Client(OpenApiClient):
|
|
5945
6311
|
runtime: util_models.RuntimeOptions,
|
5946
6312
|
) -> sls_20201230_models.DeleteProjectResponse:
|
5947
6313
|
"""
|
5948
|
-
@summary
|
6314
|
+
@summary Deletes a project.
|
6315
|
+
|
6316
|
+
@description ### Usage notes
|
6317
|
+
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
6318
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
6319
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
6320
|
+
After you delete a project, all logs stored in the project and the configurations of the project are deleted and cannot be restored. Proceed with caution.
|
6321
|
+
### Authentication resources
|
6322
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
6323
|
+
|Action|Resource|
|
6324
|
+
|:---|:---|
|
6325
|
+
|`log:DeleteProject`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}`|
|
5949
6326
|
|
5950
6327
|
@param headers: map
|
5951
6328
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -5980,7 +6357,18 @@ class Client(OpenApiClient):
|
|
5980
6357
|
runtime: util_models.RuntimeOptions,
|
5981
6358
|
) -> sls_20201230_models.DeleteProjectResponse:
|
5982
6359
|
"""
|
5983
|
-
@summary
|
6360
|
+
@summary Deletes a project.
|
6361
|
+
|
6362
|
+
@description ### Usage notes
|
6363
|
+
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
6364
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
6365
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
6366
|
+
After you delete a project, all logs stored in the project and the configurations of the project are deleted and cannot be restored. Proceed with caution.
|
6367
|
+
### Authentication resources
|
6368
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
6369
|
+
|Action|Resource|
|
6370
|
+
|:---|:---|
|
6371
|
+
|`log:DeleteProject`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}`|
|
5984
6372
|
|
5985
6373
|
@param headers: map
|
5986
6374
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -6013,7 +6401,18 @@ class Client(OpenApiClient):
|
|
6013
6401
|
project: str,
|
6014
6402
|
) -> sls_20201230_models.DeleteProjectResponse:
|
6015
6403
|
"""
|
6016
|
-
@summary
|
6404
|
+
@summary Deletes a project.
|
6405
|
+
|
6406
|
+
@description ### Usage notes
|
6407
|
+
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
6408
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
6409
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
6410
|
+
After you delete a project, all logs stored in the project and the configurations of the project are deleted and cannot be restored. Proceed with caution.
|
6411
|
+
### Authentication resources
|
6412
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
6413
|
+
|Action|Resource|
|
6414
|
+
|:---|:---|
|
6415
|
+
|`log:DeleteProject`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}`|
|
6017
6416
|
|
6018
6417
|
@return: DeleteProjectResponse
|
6019
6418
|
"""
|
@@ -6026,7 +6425,18 @@ class Client(OpenApiClient):
|
|
6026
6425
|
project: str,
|
6027
6426
|
) -> sls_20201230_models.DeleteProjectResponse:
|
6028
6427
|
"""
|
6029
|
-
@summary
|
6428
|
+
@summary Deletes a project.
|
6429
|
+
|
6430
|
+
@description ### Usage notes
|
6431
|
+
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
6432
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
6433
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
6434
|
+
After you delete a project, all logs stored in the project and the configurations of the project are deleted and cannot be restored. Proceed with caution.
|
6435
|
+
### Authentication resources
|
6436
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
6437
|
+
|Action|Resource|
|
6438
|
+
|:---|:---|
|
6439
|
+
|`log:DeleteProject`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}`|
|
6030
6440
|
|
6031
6441
|
@return: DeleteProjectResponse
|
6032
6442
|
"""
|
@@ -6262,7 +6672,7 @@ class Client(OpenApiClient):
|
|
6262
6672
|
runtime: util_models.RuntimeOptions,
|
6263
6673
|
) -> sls_20201230_models.DeleteScheduledSQLResponse:
|
6264
6674
|
"""
|
6265
|
-
@summary
|
6675
|
+
@summary Deletes a Scheduled SQL job.
|
6266
6676
|
|
6267
6677
|
@param headers: map
|
6268
6678
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -6298,7 +6708,7 @@ class Client(OpenApiClient):
|
|
6298
6708
|
runtime: util_models.RuntimeOptions,
|
6299
6709
|
) -> sls_20201230_models.DeleteScheduledSQLResponse:
|
6300
6710
|
"""
|
6301
|
-
@summary
|
6711
|
+
@summary Deletes a Scheduled SQL job.
|
6302
6712
|
|
6303
6713
|
@param headers: map
|
6304
6714
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -6332,7 +6742,7 @@ class Client(OpenApiClient):
|
|
6332
6742
|
scheduled_sqlname: str,
|
6333
6743
|
) -> sls_20201230_models.DeleteScheduledSQLResponse:
|
6334
6744
|
"""
|
6335
|
-
@summary
|
6745
|
+
@summary Deletes a Scheduled SQL job.
|
6336
6746
|
|
6337
6747
|
@return: DeleteScheduledSQLResponse
|
6338
6748
|
"""
|
@@ -6346,7 +6756,7 @@ class Client(OpenApiClient):
|
|
6346
6756
|
scheduled_sqlname: str,
|
6347
6757
|
) -> sls_20201230_models.DeleteScheduledSQLResponse:
|
6348
6758
|
"""
|
6349
|
-
@summary
|
6759
|
+
@summary Deletes a Scheduled SQL job.
|
6350
6760
|
|
6351
6761
|
@return: DeleteScheduledSQLResponse
|
6352
6762
|
"""
|
@@ -6362,7 +6772,7 @@ class Client(OpenApiClient):
|
|
6362
6772
|
runtime: util_models.RuntimeOptions,
|
6363
6773
|
) -> sls_20201230_models.DeleteStoreViewResponse:
|
6364
6774
|
"""
|
6365
|
-
@summary
|
6775
|
+
@summary Deletes a dataset by using the name of the dataset.
|
6366
6776
|
|
6367
6777
|
@param headers: map
|
6368
6778
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -6398,7 +6808,7 @@ class Client(OpenApiClient):
|
|
6398
6808
|
runtime: util_models.RuntimeOptions,
|
6399
6809
|
) -> sls_20201230_models.DeleteStoreViewResponse:
|
6400
6810
|
"""
|
6401
|
-
@summary
|
6811
|
+
@summary Deletes a dataset by using the name of the dataset.
|
6402
6812
|
|
6403
6813
|
@param headers: map
|
6404
6814
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -6432,7 +6842,7 @@ class Client(OpenApiClient):
|
|
6432
6842
|
name: str,
|
6433
6843
|
) -> sls_20201230_models.DeleteStoreViewResponse:
|
6434
6844
|
"""
|
6435
|
-
@summary
|
6845
|
+
@summary Deletes a dataset by using the name of the dataset.
|
6436
6846
|
|
6437
6847
|
@return: DeleteStoreViewResponse
|
6438
6848
|
"""
|
@@ -6446,7 +6856,7 @@ class Client(OpenApiClient):
|
|
6446
6856
|
name: str,
|
6447
6857
|
) -> sls_20201230_models.DeleteStoreViewResponse:
|
6448
6858
|
"""
|
6449
|
-
@summary
|
6859
|
+
@summary Deletes a dataset by using the name of the dataset.
|
6450
6860
|
|
6451
6861
|
@return: DeleteStoreViewResponse
|
6452
6862
|
"""
|
@@ -6462,7 +6872,7 @@ class Client(OpenApiClient):
|
|
6462
6872
|
runtime: util_models.RuntimeOptions,
|
6463
6873
|
) -> sls_20201230_models.DisableAlertResponse:
|
6464
6874
|
"""
|
6465
|
-
@summary
|
6875
|
+
@summary Disables an alert rule.
|
6466
6876
|
|
6467
6877
|
@param headers: map
|
6468
6878
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -6498,7 +6908,7 @@ class Client(OpenApiClient):
|
|
6498
6908
|
runtime: util_models.RuntimeOptions,
|
6499
6909
|
) -> sls_20201230_models.DisableAlertResponse:
|
6500
6910
|
"""
|
6501
|
-
@summary
|
6911
|
+
@summary Disables an alert rule.
|
6502
6912
|
|
6503
6913
|
@param headers: map
|
6504
6914
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -6532,7 +6942,7 @@ class Client(OpenApiClient):
|
|
6532
6942
|
alert_name: str,
|
6533
6943
|
) -> sls_20201230_models.DisableAlertResponse:
|
6534
6944
|
"""
|
6535
|
-
@summary
|
6945
|
+
@summary Disables an alert rule.
|
6536
6946
|
|
6537
6947
|
@return: DisableAlertResponse
|
6538
6948
|
"""
|
@@ -6546,7 +6956,7 @@ class Client(OpenApiClient):
|
|
6546
6956
|
alert_name: str,
|
6547
6957
|
) -> sls_20201230_models.DisableAlertResponse:
|
6548
6958
|
"""
|
6549
|
-
@summary
|
6959
|
+
@summary Disables an alert rule.
|
6550
6960
|
|
6551
6961
|
@return: DisableAlertResponse
|
6552
6962
|
"""
|
@@ -6662,7 +7072,7 @@ class Client(OpenApiClient):
|
|
6662
7072
|
runtime: util_models.RuntimeOptions,
|
6663
7073
|
) -> sls_20201230_models.EnableAlertResponse:
|
6664
7074
|
"""
|
6665
|
-
@summary
|
7075
|
+
@summary Enables an alert rule.
|
6666
7076
|
|
6667
7077
|
@param headers: map
|
6668
7078
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -6698,7 +7108,7 @@ class Client(OpenApiClient):
|
|
6698
7108
|
runtime: util_models.RuntimeOptions,
|
6699
7109
|
) -> sls_20201230_models.EnableAlertResponse:
|
6700
7110
|
"""
|
6701
|
-
@summary
|
7111
|
+
@summary Enables an alert rule.
|
6702
7112
|
|
6703
7113
|
@param headers: map
|
6704
7114
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -6732,7 +7142,7 @@ class Client(OpenApiClient):
|
|
6732
7142
|
alert_name: str,
|
6733
7143
|
) -> sls_20201230_models.EnableAlertResponse:
|
6734
7144
|
"""
|
6735
|
-
@summary
|
7145
|
+
@summary Enables an alert rule.
|
6736
7146
|
|
6737
7147
|
@return: EnableAlertResponse
|
6738
7148
|
"""
|
@@ -6746,7 +7156,7 @@ class Client(OpenApiClient):
|
|
6746
7156
|
alert_name: str,
|
6747
7157
|
) -> sls_20201230_models.EnableAlertResponse:
|
6748
7158
|
"""
|
6749
|
-
@summary
|
7159
|
+
@summary Enables an alert rule.
|
6750
7160
|
|
6751
7161
|
@return: EnableAlertResponse
|
6752
7162
|
"""
|
@@ -6862,7 +7272,7 @@ class Client(OpenApiClient):
|
|
6862
7272
|
runtime: util_models.RuntimeOptions,
|
6863
7273
|
) -> sls_20201230_models.GetAlertResponse:
|
6864
7274
|
"""
|
6865
|
-
@summary
|
7275
|
+
@summary Queries the information about an alert rule.
|
6866
7276
|
|
6867
7277
|
@param headers: map
|
6868
7278
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -6898,7 +7308,7 @@ class Client(OpenApiClient):
|
|
6898
7308
|
runtime: util_models.RuntimeOptions,
|
6899
7309
|
) -> sls_20201230_models.GetAlertResponse:
|
6900
7310
|
"""
|
6901
|
-
@summary
|
7311
|
+
@summary Queries the information about an alert rule.
|
6902
7312
|
|
6903
7313
|
@param headers: map
|
6904
7314
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -6932,7 +7342,7 @@ class Client(OpenApiClient):
|
|
6932
7342
|
alert_name: str,
|
6933
7343
|
) -> sls_20201230_models.GetAlertResponse:
|
6934
7344
|
"""
|
6935
|
-
@summary
|
7345
|
+
@summary Queries the information about an alert rule.
|
6936
7346
|
|
6937
7347
|
@return: GetAlertResponse
|
6938
7348
|
"""
|
@@ -6946,7 +7356,7 @@ class Client(OpenApiClient):
|
|
6946
7356
|
alert_name: str,
|
6947
7357
|
) -> sls_20201230_models.GetAlertResponse:
|
6948
7358
|
"""
|
6949
|
-
@summary
|
7359
|
+
@summary Queries the information about an alert rule.
|
6950
7360
|
|
6951
7361
|
@return: GetAlertResponse
|
6952
7362
|
"""
|
@@ -6962,7 +7372,7 @@ class Client(OpenApiClient):
|
|
6962
7372
|
runtime: util_models.RuntimeOptions,
|
6963
7373
|
) -> sls_20201230_models.GetAnnotationDataResponse:
|
6964
7374
|
"""
|
6965
|
-
@summary Queries data in
|
7375
|
+
@summary Queries data in datasets based on the unique identifier of the data.
|
6966
7376
|
|
6967
7377
|
@param headers: map
|
6968
7378
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -6995,7 +7405,7 @@ class Client(OpenApiClient):
|
|
6995
7405
|
runtime: util_models.RuntimeOptions,
|
6996
7406
|
) -> sls_20201230_models.GetAnnotationDataResponse:
|
6997
7407
|
"""
|
6998
|
-
@summary Queries data in
|
7408
|
+
@summary Queries data in datasets based on the unique identifier of the data.
|
6999
7409
|
|
7000
7410
|
@param headers: map
|
7001
7411
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -7026,7 +7436,7 @@ class Client(OpenApiClient):
|
|
7026
7436
|
annotationdata_id: str,
|
7027
7437
|
) -> sls_20201230_models.GetAnnotationDataResponse:
|
7028
7438
|
"""
|
7029
|
-
@summary Queries data in
|
7439
|
+
@summary Queries data in datasets based on the unique identifier of the data.
|
7030
7440
|
|
7031
7441
|
@return: GetAnnotationDataResponse
|
7032
7442
|
"""
|
@@ -7040,7 +7450,7 @@ class Client(OpenApiClient):
|
|
7040
7450
|
annotationdata_id: str,
|
7041
7451
|
) -> sls_20201230_models.GetAnnotationDataResponse:
|
7042
7452
|
"""
|
7043
|
-
@summary Queries data in
|
7453
|
+
@summary Queries data in datasets based on the unique identifier of the data.
|
7044
7454
|
|
7045
7455
|
@return: GetAnnotationDataResponse
|
7046
7456
|
"""
|
@@ -7825,8 +8235,19 @@ class Client(OpenApiClient):
|
|
7825
8235
|
"""
|
7826
8236
|
@summary Queries the contextual logs of a specified log.
|
7827
8237
|
|
7828
|
-
@description
|
8238
|
+
@description ### Usage notes
|
8239
|
+
You can specify a log as the start log. The time range of a contextual query is one day before and one day after the generation time of the start log.
|
7829
8240
|
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
8241
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
8242
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
8243
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html) and [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).
|
8244
|
+
Indexes are configured before you query logs. For more information, see [Create indexes](https://help.aliyun.com/document_detail/90732.html).
|
8245
|
+
The values of the pack_id and pack_meta fields are obtained before you query logs. The fields are internal fields, and you can obtain the values by using the debugging feature of your browser in the Simple Log Service console.
|
8246
|
+
### Authentication resources
|
8247
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
8248
|
+
|Action|Resource|
|
8249
|
+
|:---|:---|
|
8250
|
+
|`log:GetLogStoreContextLogs`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#LogstoreName}`|
|
7830
8251
|
|
7831
8252
|
@param request: GetContextLogsRequest
|
7832
8253
|
@param headers: map
|
@@ -7879,8 +8300,19 @@ class Client(OpenApiClient):
|
|
7879
8300
|
"""
|
7880
8301
|
@summary Queries the contextual logs of a specified log.
|
7881
8302
|
|
7882
|
-
@description
|
8303
|
+
@description ### Usage notes
|
8304
|
+
You can specify a log as the start log. The time range of a contextual query is one day before and one day after the generation time of the start log.
|
7883
8305
|
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
8306
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
8307
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
8308
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html) and [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).
|
8309
|
+
Indexes are configured before you query logs. For more information, see [Create indexes](https://help.aliyun.com/document_detail/90732.html).
|
8310
|
+
The values of the pack_id and pack_meta fields are obtained before you query logs. The fields are internal fields, and you can obtain the values by using the debugging feature of your browser in the Simple Log Service console.
|
8311
|
+
### Authentication resources
|
8312
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
8313
|
+
|Action|Resource|
|
8314
|
+
|:---|:---|
|
8315
|
+
|`log:GetLogStoreContextLogs`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#LogstoreName}`|
|
7884
8316
|
|
7885
8317
|
@param request: GetContextLogsRequest
|
7886
8318
|
@param headers: map
|
@@ -7931,8 +8363,19 @@ class Client(OpenApiClient):
|
|
7931
8363
|
"""
|
7932
8364
|
@summary Queries the contextual logs of a specified log.
|
7933
8365
|
|
7934
|
-
@description
|
8366
|
+
@description ### Usage notes
|
8367
|
+
You can specify a log as the start log. The time range of a contextual query is one day before and one day after the generation time of the start log.
|
7935
8368
|
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
8369
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
8370
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
8371
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html) and [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).
|
8372
|
+
Indexes are configured before you query logs. For more information, see [Create indexes](https://help.aliyun.com/document_detail/90732.html).
|
8373
|
+
The values of the pack_id and pack_meta fields are obtained before you query logs. The fields are internal fields, and you can obtain the values by using the debugging feature of your browser in the Simple Log Service console.
|
8374
|
+
### Authentication resources
|
8375
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
8376
|
+
|Action|Resource|
|
8377
|
+
|:---|:---|
|
8378
|
+
|`log:GetLogStoreContextLogs`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#LogstoreName}`|
|
7936
8379
|
|
7937
8380
|
@param request: GetContextLogsRequest
|
7938
8381
|
@return: GetContextLogsResponse
|
@@ -7950,8 +8393,19 @@ class Client(OpenApiClient):
|
|
7950
8393
|
"""
|
7951
8394
|
@summary Queries the contextual logs of a specified log.
|
7952
8395
|
|
7953
|
-
@description
|
8396
|
+
@description ### Usage notes
|
8397
|
+
You can specify a log as the start log. The time range of a contextual query is one day before and one day after the generation time of the start log.
|
7954
8398
|
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
8399
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
8400
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
8401
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html) and [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).
|
8402
|
+
Indexes are configured before you query logs. For more information, see [Create indexes](https://help.aliyun.com/document_detail/90732.html).
|
8403
|
+
The values of the pack_id and pack_meta fields are obtained before you query logs. The fields are internal fields, and you can obtain the values by using the debugging feature of your browser in the Simple Log Service console.
|
8404
|
+
### Authentication resources
|
8405
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
8406
|
+
|Action|Resource|
|
8407
|
+
|:---|:---|
|
8408
|
+
|`log:GetLogStoreContextLogs`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#LogstoreName}`|
|
7955
8409
|
|
7956
8410
|
@param request: GetContextLogsRequest
|
7957
8411
|
@return: GetContextLogsResponse
|
@@ -9074,7 +9528,7 @@ class Client(OpenApiClient):
|
|
9074
9528
|
runtime: util_models.RuntimeOptions,
|
9075
9529
|
) -> sls_20201230_models.GetLogStoreMeteringModeResponse:
|
9076
9530
|
"""
|
9077
|
-
@summary
|
9531
|
+
@summary Queries the billing mode of a Logstore.
|
9078
9532
|
|
9079
9533
|
@param headers: map
|
9080
9534
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -9110,7 +9564,7 @@ class Client(OpenApiClient):
|
|
9110
9564
|
runtime: util_models.RuntimeOptions,
|
9111
9565
|
) -> sls_20201230_models.GetLogStoreMeteringModeResponse:
|
9112
9566
|
"""
|
9113
|
-
@summary
|
9567
|
+
@summary Queries the billing mode of a Logstore.
|
9114
9568
|
|
9115
9569
|
@param headers: map
|
9116
9570
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -9144,7 +9598,7 @@ class Client(OpenApiClient):
|
|
9144
9598
|
logstore: str,
|
9145
9599
|
) -> sls_20201230_models.GetLogStoreMeteringModeResponse:
|
9146
9600
|
"""
|
9147
|
-
@summary
|
9601
|
+
@summary Queries the billing mode of a Logstore.
|
9148
9602
|
|
9149
9603
|
@return: GetLogStoreMeteringModeResponse
|
9150
9604
|
"""
|
@@ -9158,7 +9612,7 @@ class Client(OpenApiClient):
|
|
9158
9612
|
logstore: str,
|
9159
9613
|
) -> sls_20201230_models.GetLogStoreMeteringModeResponse:
|
9160
9614
|
"""
|
9161
|
-
@summary
|
9615
|
+
@summary Queries the billing mode of a Logstore.
|
9162
9616
|
|
9163
9617
|
@return: GetLogStoreMeteringModeResponse
|
9164
9618
|
"""
|
@@ -9469,13 +9923,11 @@ class Client(OpenApiClient):
|
|
9469
9923
|
runtime: util_models.RuntimeOptions,
|
9470
9924
|
) -> sls_20201230_models.GetLogsV2Response:
|
9471
9925
|
"""
|
9472
|
-
@summary Queries the raw log data in a Logstore of a project. The returned result
|
9926
|
+
@summary Queries the raw log data in a Logstore of a project. The returned result contains the raw log data within a specific time range. The returned result is compressed before transmission.
|
9473
9927
|
|
9474
|
-
@description
|
9475
|
-
|
9476
|
-
|
9477
|
-
1. 1. Real-time data: The difference between the time record in the log and the current server time is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as real-time data. This type of log is usually generated in common scenarios.
|
9478
|
-
2. 2. Historical data: The difference between the time record in the log and the current server time is within the interval [-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as historical data. This type of log is usually generated in data backfill scenarios. After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
|
9928
|
+
@description You can call this operation by using Alibaba Cloud SDK for Go, Java, TypeScript, or Python.
|
9929
|
+
You can call this operation by using Simple Log Service SDK for Go or Java.
|
9930
|
+
For more information, see [GetLogs](https://help.aliyun.com/document_detail/29029.html).
|
9479
9931
|
|
9480
9932
|
@param request: GetLogsV2Request
|
9481
9933
|
@param headers: GetLogsV2Headers
|
@@ -9543,13 +9995,11 @@ class Client(OpenApiClient):
|
|
9543
9995
|
runtime: util_models.RuntimeOptions,
|
9544
9996
|
) -> sls_20201230_models.GetLogsV2Response:
|
9545
9997
|
"""
|
9546
|
-
@summary Queries the raw log data in a Logstore of a project. The returned result
|
9998
|
+
@summary Queries the raw log data in a Logstore of a project. The returned result contains the raw log data within a specific time range. The returned result is compressed before transmission.
|
9547
9999
|
|
9548
|
-
@description
|
9549
|
-
|
9550
|
-
|
9551
|
-
1. 1. Real-time data: The difference between the time record in the log and the current server time is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as real-time data. This type of log is usually generated in common scenarios.
|
9552
|
-
2. 2. Historical data: The difference between the time record in the log and the current server time is within the interval [-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as historical data. This type of log is usually generated in data backfill scenarios. After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
|
10000
|
+
@description You can call this operation by using Alibaba Cloud SDK for Go, Java, TypeScript, or Python.
|
10001
|
+
You can call this operation by using Simple Log Service SDK for Go or Java.
|
10002
|
+
For more information, see [GetLogs](https://help.aliyun.com/document_detail/29029.html).
|
9553
10003
|
|
9554
10004
|
@param request: GetLogsV2Request
|
9555
10005
|
@param headers: GetLogsV2Headers
|
@@ -9615,13 +10065,11 @@ class Client(OpenApiClient):
|
|
9615
10065
|
request: sls_20201230_models.GetLogsV2Request,
|
9616
10066
|
) -> sls_20201230_models.GetLogsV2Response:
|
9617
10067
|
"""
|
9618
|
-
@summary Queries the raw log data in a Logstore of a project. The returned result
|
10068
|
+
@summary Queries the raw log data in a Logstore of a project. The returned result contains the raw log data within a specific time range. The returned result is compressed before transmission.
|
9619
10069
|
|
9620
|
-
@description
|
9621
|
-
|
9622
|
-
|
9623
|
-
1. 1. Real-time data: The difference between the time record in the log and the current server time is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as real-time data. This type of log is usually generated in common scenarios.
|
9624
|
-
2. 2. Historical data: The difference between the time record in the log and the current server time is within the interval [-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as historical data. This type of log is usually generated in data backfill scenarios. After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
|
10070
|
+
@description You can call this operation by using Alibaba Cloud SDK for Go, Java, TypeScript, or Python.
|
10071
|
+
You can call this operation by using Simple Log Service SDK for Go or Java.
|
10072
|
+
For more information, see [GetLogs](https://help.aliyun.com/document_detail/29029.html).
|
9625
10073
|
|
9626
10074
|
@param request: GetLogsV2Request
|
9627
10075
|
@return: GetLogsV2Response
|
@@ -9637,13 +10085,11 @@ class Client(OpenApiClient):
|
|
9637
10085
|
request: sls_20201230_models.GetLogsV2Request,
|
9638
10086
|
) -> sls_20201230_models.GetLogsV2Response:
|
9639
10087
|
"""
|
9640
|
-
@summary Queries the raw log data in a Logstore of a project. The returned result
|
10088
|
+
@summary Queries the raw log data in a Logstore of a project. The returned result contains the raw log data within a specific time range. The returned result is compressed before transmission.
|
9641
10089
|
|
9642
|
-
@description
|
9643
|
-
|
9644
|
-
|
9645
|
-
1. 1. Real-time data: The difference between the time record in the log and the current server time is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as real-time data. This type of log is usually generated in common scenarios.
|
9646
|
-
2. 2. Historical data: The difference between the time record in the log and the current server time is within the interval [-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as historical data. This type of log is usually generated in data backfill scenarios. After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
|
10090
|
+
@description You can call this operation by using Alibaba Cloud SDK for Go, Java, TypeScript, or Python.
|
10091
|
+
You can call this operation by using Simple Log Service SDK for Go or Java.
|
10092
|
+
For more information, see [GetLogs](https://help.aliyun.com/document_detail/29029.html).
|
9647
10093
|
|
9648
10094
|
@param request: GetLogsV2Request
|
9649
10095
|
@return: GetLogsV2Response
|
@@ -9768,7 +10214,7 @@ class Client(OpenApiClient):
|
|
9768
10214
|
runtime: util_models.RuntimeOptions,
|
9769
10215
|
) -> sls_20201230_models.GetMLServiceResultsResponse:
|
9770
10216
|
"""
|
9771
|
-
@summary GetMLServiceResults
|
10217
|
+
@summary Simple Log Service provides intelligent analysis capabilities that can be used to analyze basic data such as logs, metrics, and traces. You can call the GetMLServiceResults operation to obtain the analysis results of a model. You can call the operation in the following scenarios: Named Entity Recognition (NER) tasks on logs, anomaly detection on time series, and root cause analysis on high-latency traces.
|
9772
10218
|
|
9773
10219
|
@param request: GetMLServiceResultsRequest
|
9774
10220
|
@param headers: map
|
@@ -9810,7 +10256,7 @@ class Client(OpenApiClient):
|
|
9810
10256
|
runtime: util_models.RuntimeOptions,
|
9811
10257
|
) -> sls_20201230_models.GetMLServiceResultsResponse:
|
9812
10258
|
"""
|
9813
|
-
@summary GetMLServiceResults
|
10259
|
+
@summary Simple Log Service provides intelligent analysis capabilities that can be used to analyze basic data such as logs, metrics, and traces. You can call the GetMLServiceResults operation to obtain the analysis results of a model. You can call the operation in the following scenarios: Named Entity Recognition (NER) tasks on logs, anomaly detection on time series, and root cause analysis on high-latency traces.
|
9814
10260
|
|
9815
10261
|
@param request: GetMLServiceResultsRequest
|
9816
10262
|
@param headers: map
|
@@ -9850,7 +10296,7 @@ class Client(OpenApiClient):
|
|
9850
10296
|
request: sls_20201230_models.GetMLServiceResultsRequest,
|
9851
10297
|
) -> sls_20201230_models.GetMLServiceResultsResponse:
|
9852
10298
|
"""
|
9853
|
-
@summary GetMLServiceResults
|
10299
|
+
@summary Simple Log Service provides intelligent analysis capabilities that can be used to analyze basic data such as logs, metrics, and traces. You can call the GetMLServiceResults operation to obtain the analysis results of a model. You can call the operation in the following scenarios: Named Entity Recognition (NER) tasks on logs, anomaly detection on time series, and root cause analysis on high-latency traces.
|
9854
10300
|
|
9855
10301
|
@param request: GetMLServiceResultsRequest
|
9856
10302
|
@return: GetMLServiceResultsResponse
|
@@ -9865,7 +10311,7 @@ class Client(OpenApiClient):
|
|
9865
10311
|
request: sls_20201230_models.GetMLServiceResultsRequest,
|
9866
10312
|
) -> sls_20201230_models.GetMLServiceResultsResponse:
|
9867
10313
|
"""
|
9868
|
-
@summary GetMLServiceResults
|
10314
|
+
@summary Simple Log Service provides intelligent analysis capabilities that can be used to analyze basic data such as logs, metrics, and traces. You can call the GetMLServiceResults operation to obtain the analysis results of a model. You can call the operation in the following scenarios: Named Entity Recognition (NER) tasks on logs, anomaly detection on time series, and root cause analysis on high-latency traces.
|
9869
10315
|
|
9870
10316
|
@param request: GetMLServiceResultsRequest
|
9871
10317
|
@return: GetMLServiceResultsResponse
|
@@ -9972,15 +10418,115 @@ class Client(OpenApiClient):
|
|
9972
10418
|
machine_group: str,
|
9973
10419
|
) -> sls_20201230_models.GetMachineGroupResponse:
|
9974
10420
|
"""
|
9975
|
-
@summary Queries the details of a machine group.
|
9976
|
-
|
9977
|
-
@description Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
10421
|
+
@summary Queries the details of a machine group.
|
10422
|
+
|
10423
|
+
@description Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
10424
|
+
|
10425
|
+
@return: GetMachineGroupResponse
|
10426
|
+
"""
|
10427
|
+
runtime = util_models.RuntimeOptions()
|
10428
|
+
headers = {}
|
10429
|
+
return await self.get_machine_group_with_options_async(project, machine_group, headers, runtime)
|
10430
|
+
|
10431
|
+
def get_metric_store_with_options(
|
10432
|
+
self,
|
10433
|
+
project: str,
|
10434
|
+
name: str,
|
10435
|
+
headers: Dict[str, str],
|
10436
|
+
runtime: util_models.RuntimeOptions,
|
10437
|
+
) -> sls_20201230_models.GetMetricStoreResponse:
|
10438
|
+
"""
|
10439
|
+
@summary 查询时序库
|
10440
|
+
|
10441
|
+
@param headers: map
|
10442
|
+
@param runtime: runtime options for this request RuntimeOptions
|
10443
|
+
@return: GetMetricStoreResponse
|
10444
|
+
"""
|
10445
|
+
host_map = {}
|
10446
|
+
host_map['project'] = project
|
10447
|
+
req = open_api_models.OpenApiRequest(
|
10448
|
+
host_map=host_map,
|
10449
|
+
headers=headers
|
10450
|
+
)
|
10451
|
+
params = open_api_models.Params(
|
10452
|
+
action='GetMetricStore',
|
10453
|
+
version='2020-12-30',
|
10454
|
+
protocol='HTTPS',
|
10455
|
+
pathname=f'/metricstores/{name}',
|
10456
|
+
method='GET',
|
10457
|
+
auth_type='AK',
|
10458
|
+
style='ROA',
|
10459
|
+
req_body_type='none',
|
10460
|
+
body_type='json'
|
10461
|
+
)
|
10462
|
+
return TeaCore.from_map(
|
10463
|
+
sls_20201230_models.GetMetricStoreResponse(),
|
10464
|
+
self.execute(params, req, runtime)
|
10465
|
+
)
|
10466
|
+
|
10467
|
+
async def get_metric_store_with_options_async(
|
10468
|
+
self,
|
10469
|
+
project: str,
|
10470
|
+
name: str,
|
10471
|
+
headers: Dict[str, str],
|
10472
|
+
runtime: util_models.RuntimeOptions,
|
10473
|
+
) -> sls_20201230_models.GetMetricStoreResponse:
|
10474
|
+
"""
|
10475
|
+
@summary 查询时序库
|
10476
|
+
|
10477
|
+
@param headers: map
|
10478
|
+
@param runtime: runtime options for this request RuntimeOptions
|
10479
|
+
@return: GetMetricStoreResponse
|
10480
|
+
"""
|
10481
|
+
host_map = {}
|
10482
|
+
host_map['project'] = project
|
10483
|
+
req = open_api_models.OpenApiRequest(
|
10484
|
+
host_map=host_map,
|
10485
|
+
headers=headers
|
10486
|
+
)
|
10487
|
+
params = open_api_models.Params(
|
10488
|
+
action='GetMetricStore',
|
10489
|
+
version='2020-12-30',
|
10490
|
+
protocol='HTTPS',
|
10491
|
+
pathname=f'/metricstores/{name}',
|
10492
|
+
method='GET',
|
10493
|
+
auth_type='AK',
|
10494
|
+
style='ROA',
|
10495
|
+
req_body_type='none',
|
10496
|
+
body_type='json'
|
10497
|
+
)
|
10498
|
+
return TeaCore.from_map(
|
10499
|
+
sls_20201230_models.GetMetricStoreResponse(),
|
10500
|
+
await self.execute_async(params, req, runtime)
|
10501
|
+
)
|
10502
|
+
|
10503
|
+
def get_metric_store(
|
10504
|
+
self,
|
10505
|
+
project: str,
|
10506
|
+
name: str,
|
10507
|
+
) -> sls_20201230_models.GetMetricStoreResponse:
|
10508
|
+
"""
|
10509
|
+
@summary 查询时序库
|
10510
|
+
|
10511
|
+
@return: GetMetricStoreResponse
|
10512
|
+
"""
|
10513
|
+
runtime = util_models.RuntimeOptions()
|
10514
|
+
headers = {}
|
10515
|
+
return self.get_metric_store_with_options(project, name, headers, runtime)
|
10516
|
+
|
10517
|
+
async def get_metric_store_async(
|
10518
|
+
self,
|
10519
|
+
project: str,
|
10520
|
+
name: str,
|
10521
|
+
) -> sls_20201230_models.GetMetricStoreResponse:
|
10522
|
+
"""
|
10523
|
+
@summary 查询时序库
|
9978
10524
|
|
9979
|
-
@return:
|
10525
|
+
@return: GetMetricStoreResponse
|
9980
10526
|
"""
|
9981
10527
|
runtime = util_models.RuntimeOptions()
|
9982
10528
|
headers = {}
|
9983
|
-
return await self.
|
10529
|
+
return await self.get_metric_store_with_options_async(project, name, headers, runtime)
|
9984
10530
|
|
9985
10531
|
def get_metric_store_metering_mode_with_options(
|
9986
10532
|
self,
|
@@ -9990,7 +10536,7 @@ class Client(OpenApiClient):
|
|
9990
10536
|
runtime: util_models.RuntimeOptions,
|
9991
10537
|
) -> sls_20201230_models.GetMetricStoreMeteringModeResponse:
|
9992
10538
|
"""
|
9993
|
-
@summary
|
10539
|
+
@summary Queries the billing mode of a Metricstore.
|
9994
10540
|
|
9995
10541
|
@param headers: map
|
9996
10542
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -10026,7 +10572,7 @@ class Client(OpenApiClient):
|
|
10026
10572
|
runtime: util_models.RuntimeOptions,
|
10027
10573
|
) -> sls_20201230_models.GetMetricStoreMeteringModeResponse:
|
10028
10574
|
"""
|
10029
|
-
@summary
|
10575
|
+
@summary Queries the billing mode of a Metricstore.
|
10030
10576
|
|
10031
10577
|
@param headers: map
|
10032
10578
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -10060,7 +10606,7 @@ class Client(OpenApiClient):
|
|
10060
10606
|
metric_store: str,
|
10061
10607
|
) -> sls_20201230_models.GetMetricStoreMeteringModeResponse:
|
10062
10608
|
"""
|
10063
|
-
@summary
|
10609
|
+
@summary Queries the billing mode of a Metricstore.
|
10064
10610
|
|
10065
10611
|
@return: GetMetricStoreMeteringModeResponse
|
10066
10612
|
"""
|
@@ -10074,7 +10620,7 @@ class Client(OpenApiClient):
|
|
10074
10620
|
metric_store: str,
|
10075
10621
|
) -> sls_20201230_models.GetMetricStoreMeteringModeResponse:
|
10076
10622
|
"""
|
10077
|
-
@summary
|
10623
|
+
@summary Queries the billing mode of a Metricstore.
|
10078
10624
|
|
10079
10625
|
@return: GetMetricStoreMeteringModeResponse
|
10080
10626
|
"""
|
@@ -10290,7 +10836,7 @@ class Client(OpenApiClient):
|
|
10290
10836
|
runtime: util_models.RuntimeOptions,
|
10291
10837
|
) -> sls_20201230_models.GetOSSIngestionResponse:
|
10292
10838
|
"""
|
10293
|
-
@summary
|
10839
|
+
@summary Queries the information about an Object Storage Service (OSS) data import job.
|
10294
10840
|
|
10295
10841
|
@param headers: map
|
10296
10842
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -10326,7 +10872,7 @@ class Client(OpenApiClient):
|
|
10326
10872
|
runtime: util_models.RuntimeOptions,
|
10327
10873
|
) -> sls_20201230_models.GetOSSIngestionResponse:
|
10328
10874
|
"""
|
10329
|
-
@summary
|
10875
|
+
@summary Queries the information about an Object Storage Service (OSS) data import job.
|
10330
10876
|
|
10331
10877
|
@param headers: map
|
10332
10878
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -10360,7 +10906,7 @@ class Client(OpenApiClient):
|
|
10360
10906
|
oss_ingestion_name: str,
|
10361
10907
|
) -> sls_20201230_models.GetOSSIngestionResponse:
|
10362
10908
|
"""
|
10363
|
-
@summary
|
10909
|
+
@summary Queries the information about an Object Storage Service (OSS) data import job.
|
10364
10910
|
|
10365
10911
|
@return: GetOSSIngestionResponse
|
10366
10912
|
"""
|
@@ -10374,7 +10920,7 @@ class Client(OpenApiClient):
|
|
10374
10920
|
oss_ingestion_name: str,
|
10375
10921
|
) -> sls_20201230_models.GetOSSIngestionResponse:
|
10376
10922
|
"""
|
10377
|
-
@summary
|
10923
|
+
@summary Queries the information about an Object Storage Service (OSS) data import job.
|
10378
10924
|
|
10379
10925
|
@return: GetOSSIngestionResponse
|
10380
10926
|
"""
|
@@ -10501,11 +11047,20 @@ class Client(OpenApiClient):
|
|
10501
11047
|
@summary Queries logs in a project. You can use this operation to query logs at the project level.
|
10502
11048
|
|
10503
11049
|
@description ### Usage notes
|
10504
|
-
You can use the query parameter to specify a standard SQL statement.
|
10505
|
-
You must specify a project in the domain name of the request.
|
10506
|
-
You must specify a Logstore in the FROM clause of the SQL statement. A Logstore can be used as an SQL table.
|
10507
|
-
You must specify a time range in the SQL statement by using the __date__ parameter or __time__ parameter. The value of the __date__ parameter is a timestamp, and the value of the __time__ parameter is an integer. The unit of the __time__ parameter is seconds.
|
10508
11050
|
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
11051
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
11052
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
11053
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html).
|
11054
|
+
Indexes are configured before you query logs. For more information, see [Create indexes](https://help.aliyun.com/document_detail/90732.html).
|
11055
|
+
Limits are imposed when you use Simple Log Service to query logs. We recommend that you specify query statements and query time ranges based on the limits. For more information, see [Log search overview](https://help.aliyun.com/document_detail/43772.html) and [Log analysis overview](https://help.aliyun.com/document_detail/53608.html).
|
11056
|
+
You must set query to a standard SQL statement.
|
11057
|
+
You must specify a Logstore in the FROM clause of an SQL statement. A Logstore can be used as an SQL table.
|
11058
|
+
You must specify a time range in an SQL statement by using the __date__ or __time__ parameter. The value of the __date__ parameter is a timestamp. The value of the __time__ parameter is an integer, and the unit of the value is seconds.
|
11059
|
+
### Authentication resources
|
11060
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
11061
|
+
|Action|Resource|
|
11062
|
+
|:---|:---|
|
11063
|
+
|`log:GetProjectLogs`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}`|
|
10509
11064
|
|
10510
11065
|
@param request: GetProjectLogsRequest
|
10511
11066
|
@param headers: map
|
@@ -10552,11 +11107,20 @@ class Client(OpenApiClient):
|
|
10552
11107
|
@summary Queries logs in a project. You can use this operation to query logs at the project level.
|
10553
11108
|
|
10554
11109
|
@description ### Usage notes
|
10555
|
-
You can use the query parameter to specify a standard SQL statement.
|
10556
|
-
You must specify a project in the domain name of the request.
|
10557
|
-
You must specify a Logstore in the FROM clause of the SQL statement. A Logstore can be used as an SQL table.
|
10558
|
-
You must specify a time range in the SQL statement by using the __date__ parameter or __time__ parameter. The value of the __date__ parameter is a timestamp, and the value of the __time__ parameter is an integer. The unit of the __time__ parameter is seconds.
|
10559
11110
|
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
11111
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
11112
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
11113
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html).
|
11114
|
+
Indexes are configured before you query logs. For more information, see [Create indexes](https://help.aliyun.com/document_detail/90732.html).
|
11115
|
+
Limits are imposed when you use Simple Log Service to query logs. We recommend that you specify query statements and query time ranges based on the limits. For more information, see [Log search overview](https://help.aliyun.com/document_detail/43772.html) and [Log analysis overview](https://help.aliyun.com/document_detail/53608.html).
|
11116
|
+
You must set query to a standard SQL statement.
|
11117
|
+
You must specify a Logstore in the FROM clause of an SQL statement. A Logstore can be used as an SQL table.
|
11118
|
+
You must specify a time range in an SQL statement by using the __date__ or __time__ parameter. The value of the __date__ parameter is a timestamp. The value of the __time__ parameter is an integer, and the unit of the value is seconds.
|
11119
|
+
### Authentication resources
|
11120
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
11121
|
+
|Action|Resource|
|
11122
|
+
|:---|:---|
|
11123
|
+
|`log:GetProjectLogs`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}`|
|
10560
11124
|
|
10561
11125
|
@param request: GetProjectLogsRequest
|
10562
11126
|
@param headers: map
|
@@ -10601,11 +11165,20 @@ class Client(OpenApiClient):
|
|
10601
11165
|
@summary Queries logs in a project. You can use this operation to query logs at the project level.
|
10602
11166
|
|
10603
11167
|
@description ### Usage notes
|
10604
|
-
You can use the query parameter to specify a standard SQL statement.
|
10605
|
-
You must specify a project in the domain name of the request.
|
10606
|
-
You must specify a Logstore in the FROM clause of the SQL statement. A Logstore can be used as an SQL table.
|
10607
|
-
You must specify a time range in the SQL statement by using the __date__ parameter or __time__ parameter. The value of the __date__ parameter is a timestamp, and the value of the __time__ parameter is an integer. The unit of the __time__ parameter is seconds.
|
10608
11168
|
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
11169
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
11170
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
11171
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html).
|
11172
|
+
Indexes are configured before you query logs. For more information, see [Create indexes](https://help.aliyun.com/document_detail/90732.html).
|
11173
|
+
Limits are imposed when you use Simple Log Service to query logs. We recommend that you specify query statements and query time ranges based on the limits. For more information, see [Log search overview](https://help.aliyun.com/document_detail/43772.html) and [Log analysis overview](https://help.aliyun.com/document_detail/53608.html).
|
11174
|
+
You must set query to a standard SQL statement.
|
11175
|
+
You must specify a Logstore in the FROM clause of an SQL statement. A Logstore can be used as an SQL table.
|
11176
|
+
You must specify a time range in an SQL statement by using the __date__ or __time__ parameter. The value of the __date__ parameter is a timestamp. The value of the __time__ parameter is an integer, and the unit of the value is seconds.
|
11177
|
+
### Authentication resources
|
11178
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
11179
|
+
|Action|Resource|
|
11180
|
+
|:---|:---|
|
11181
|
+
|`log:GetProjectLogs`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}`|
|
10609
11182
|
|
10610
11183
|
@param request: GetProjectLogsRequest
|
10611
11184
|
@return: GetProjectLogsResponse
|
@@ -10623,11 +11196,20 @@ class Client(OpenApiClient):
|
|
10623
11196
|
@summary Queries logs in a project. You can use this operation to query logs at the project level.
|
10624
11197
|
|
10625
11198
|
@description ### Usage notes
|
10626
|
-
You can use the query parameter to specify a standard SQL statement.
|
10627
|
-
You must specify a project in the domain name of the request.
|
10628
|
-
You must specify a Logstore in the FROM clause of the SQL statement. A Logstore can be used as an SQL table.
|
10629
|
-
You must specify a time range in the SQL statement by using the __date__ parameter or __time__ parameter. The value of the __date__ parameter is a timestamp, and the value of the __time__ parameter is an integer. The unit of the __time__ parameter is seconds.
|
10630
11199
|
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
11200
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
11201
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
11202
|
+
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html).
|
11203
|
+
Indexes are configured before you query logs. For more information, see [Create indexes](https://help.aliyun.com/document_detail/90732.html).
|
11204
|
+
Limits are imposed when you use Simple Log Service to query logs. We recommend that you specify query statements and query time ranges based on the limits. For more information, see [Log search overview](https://help.aliyun.com/document_detail/43772.html) and [Log analysis overview](https://help.aliyun.com/document_detail/53608.html).
|
11205
|
+
You must set query to a standard SQL statement.
|
11206
|
+
You must specify a Logstore in the FROM clause of an SQL statement. A Logstore can be used as an SQL table.
|
11207
|
+
You must specify a time range in an SQL statement by using the __date__ or __time__ parameter. The value of the __date__ parameter is a timestamp. The value of the __time__ parameter is an integer, and the unit of the value is seconds.
|
11208
|
+
### Authentication resources
|
11209
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
11210
|
+
|Action|Resource|
|
11211
|
+
|:---|:---|
|
11212
|
+
|`log:GetProjectLogs`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}`|
|
10631
11213
|
|
10632
11214
|
@param request: GetProjectLogsRequest
|
10633
11215
|
@return: GetProjectLogsResponse
|
@@ -10876,7 +11458,7 @@ class Client(OpenApiClient):
|
|
10876
11458
|
runtime: util_models.RuntimeOptions,
|
10877
11459
|
) -> sls_20201230_models.GetScheduledSQLResponse:
|
10878
11460
|
"""
|
10879
|
-
@summary
|
11461
|
+
@summary Queries the information about a Scheduled SQL job.
|
10880
11462
|
|
10881
11463
|
@param headers: map
|
10882
11464
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -10912,7 +11494,7 @@ class Client(OpenApiClient):
|
|
10912
11494
|
runtime: util_models.RuntimeOptions,
|
10913
11495
|
) -> sls_20201230_models.GetScheduledSQLResponse:
|
10914
11496
|
"""
|
10915
|
-
@summary
|
11497
|
+
@summary Queries the information about a Scheduled SQL job.
|
10916
11498
|
|
10917
11499
|
@param headers: map
|
10918
11500
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -10946,7 +11528,7 @@ class Client(OpenApiClient):
|
|
10946
11528
|
scheduled_sqlname: str,
|
10947
11529
|
) -> sls_20201230_models.GetScheduledSQLResponse:
|
10948
11530
|
"""
|
10949
|
-
@summary
|
11531
|
+
@summary Queries the information about a Scheduled SQL job.
|
10950
11532
|
|
10951
11533
|
@return: GetScheduledSQLResponse
|
10952
11534
|
"""
|
@@ -10960,7 +11542,7 @@ class Client(OpenApiClient):
|
|
10960
11542
|
scheduled_sqlname: str,
|
10961
11543
|
) -> sls_20201230_models.GetScheduledSQLResponse:
|
10962
11544
|
"""
|
10963
|
-
@summary
|
11545
|
+
@summary Queries the information about a Scheduled SQL job.
|
10964
11546
|
|
10965
11547
|
@return: GetScheduledSQLResponse
|
10966
11548
|
"""
|
@@ -10974,7 +11556,7 @@ class Client(OpenApiClient):
|
|
10974
11556
|
runtime: util_models.RuntimeOptions,
|
10975
11557
|
) -> sls_20201230_models.GetSlsServiceResponse:
|
10976
11558
|
"""
|
10977
|
-
@summary
|
11559
|
+
@summary Queries the activation status of Simple Log Service. You must use the endpoint for Simple Log Service only in the China (Shanghai) or Singapore region.
|
10978
11560
|
|
10979
11561
|
@param headers: map
|
10980
11562
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -11005,7 +11587,7 @@ class Client(OpenApiClient):
|
|
11005
11587
|
runtime: util_models.RuntimeOptions,
|
11006
11588
|
) -> sls_20201230_models.GetSlsServiceResponse:
|
11007
11589
|
"""
|
11008
|
-
@summary
|
11590
|
+
@summary Queries the activation status of Simple Log Service. You must use the endpoint for Simple Log Service only in the China (Shanghai) or Singapore region.
|
11009
11591
|
|
11010
11592
|
@param headers: map
|
11011
11593
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -11032,7 +11614,7 @@ class Client(OpenApiClient):
|
|
11032
11614
|
|
11033
11615
|
def get_sls_service(self) -> sls_20201230_models.GetSlsServiceResponse:
|
11034
11616
|
"""
|
11035
|
-
@summary
|
11617
|
+
@summary Queries the activation status of Simple Log Service. You must use the endpoint for Simple Log Service only in the China (Shanghai) or Singapore region.
|
11036
11618
|
|
11037
11619
|
@return: GetSlsServiceResponse
|
11038
11620
|
"""
|
@@ -11042,7 +11624,7 @@ class Client(OpenApiClient):
|
|
11042
11624
|
|
11043
11625
|
async def get_sls_service_async(self) -> sls_20201230_models.GetSlsServiceResponse:
|
11044
11626
|
"""
|
11045
|
-
@summary
|
11627
|
+
@summary Queries the activation status of Simple Log Service. You must use the endpoint for Simple Log Service only in the China (Shanghai) or Singapore region.
|
11046
11628
|
|
11047
11629
|
@return: GetSlsServiceResponse
|
11048
11630
|
"""
|
@@ -11057,7 +11639,7 @@ class Client(OpenApiClient):
|
|
11057
11639
|
runtime: util_models.RuntimeOptions,
|
11058
11640
|
) -> sls_20201230_models.GetSqlInstanceResponse:
|
11059
11641
|
"""
|
11060
|
-
@summary
|
11642
|
+
@summary Queries the configurations of the Dedicated SQL feature.
|
11061
11643
|
|
11062
11644
|
@param headers: map
|
11063
11645
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -11092,7 +11674,7 @@ class Client(OpenApiClient):
|
|
11092
11674
|
runtime: util_models.RuntimeOptions,
|
11093
11675
|
) -> sls_20201230_models.GetSqlInstanceResponse:
|
11094
11676
|
"""
|
11095
|
-
@summary
|
11677
|
+
@summary Queries the configurations of the Dedicated SQL feature.
|
11096
11678
|
|
11097
11679
|
@param headers: map
|
11098
11680
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -11125,7 +11707,7 @@ class Client(OpenApiClient):
|
|
11125
11707
|
project: str,
|
11126
11708
|
) -> sls_20201230_models.GetSqlInstanceResponse:
|
11127
11709
|
"""
|
11128
|
-
@summary
|
11710
|
+
@summary Queries the configurations of the Dedicated SQL feature.
|
11129
11711
|
|
11130
11712
|
@return: GetSqlInstanceResponse
|
11131
11713
|
"""
|
@@ -11138,7 +11720,7 @@ class Client(OpenApiClient):
|
|
11138
11720
|
project: str,
|
11139
11721
|
) -> sls_20201230_models.GetSqlInstanceResponse:
|
11140
11722
|
"""
|
11141
|
-
@summary
|
11723
|
+
@summary Queries the configurations of the Dedicated SQL feature.
|
11142
11724
|
|
11143
11725
|
@return: GetSqlInstanceResponse
|
11144
11726
|
"""
|
@@ -11154,7 +11736,7 @@ class Client(OpenApiClient):
|
|
11154
11736
|
runtime: util_models.RuntimeOptions,
|
11155
11737
|
) -> sls_20201230_models.GetStoreViewResponse:
|
11156
11738
|
"""
|
11157
|
-
@summary
|
11739
|
+
@summary Queries the configurations of a dataset by using the name of the dataset.
|
11158
11740
|
|
11159
11741
|
@param headers: map
|
11160
11742
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -11190,7 +11772,7 @@ class Client(OpenApiClient):
|
|
11190
11772
|
runtime: util_models.RuntimeOptions,
|
11191
11773
|
) -> sls_20201230_models.GetStoreViewResponse:
|
11192
11774
|
"""
|
11193
|
-
@summary
|
11775
|
+
@summary Queries the configurations of a dataset by using the name of the dataset.
|
11194
11776
|
|
11195
11777
|
@param headers: map
|
11196
11778
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -11224,7 +11806,7 @@ class Client(OpenApiClient):
|
|
11224
11806
|
name: str,
|
11225
11807
|
) -> sls_20201230_models.GetStoreViewResponse:
|
11226
11808
|
"""
|
11227
|
-
@summary
|
11809
|
+
@summary Queries the configurations of a dataset by using the name of the dataset.
|
11228
11810
|
|
11229
11811
|
@return: GetStoreViewResponse
|
11230
11812
|
"""
|
@@ -11238,7 +11820,7 @@ class Client(OpenApiClient):
|
|
11238
11820
|
name: str,
|
11239
11821
|
) -> sls_20201230_models.GetStoreViewResponse:
|
11240
11822
|
"""
|
11241
|
-
@summary
|
11823
|
+
@summary Queries the configurations of a dataset by using the name of the dataset.
|
11242
11824
|
|
11243
11825
|
@return: GetStoreViewResponse
|
11244
11826
|
"""
|
@@ -11254,7 +11836,7 @@ class Client(OpenApiClient):
|
|
11254
11836
|
runtime: util_models.RuntimeOptions,
|
11255
11837
|
) -> sls_20201230_models.GetStoreViewIndexResponse:
|
11256
11838
|
"""
|
11257
|
-
@summary
|
11839
|
+
@summary Queries the indexes of a dataset by using the name of the dataset. Only datasets of the logstore type are supported.
|
11258
11840
|
|
11259
11841
|
@param headers: map
|
11260
11842
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -11290,7 +11872,7 @@ class Client(OpenApiClient):
|
|
11290
11872
|
runtime: util_models.RuntimeOptions,
|
11291
11873
|
) -> sls_20201230_models.GetStoreViewIndexResponse:
|
11292
11874
|
"""
|
11293
|
-
@summary
|
11875
|
+
@summary Queries the indexes of a dataset by using the name of the dataset. Only datasets of the logstore type are supported.
|
11294
11876
|
|
11295
11877
|
@param headers: map
|
11296
11878
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -11324,7 +11906,7 @@ class Client(OpenApiClient):
|
|
11324
11906
|
name: str,
|
11325
11907
|
) -> sls_20201230_models.GetStoreViewIndexResponse:
|
11326
11908
|
"""
|
11327
|
-
@summary
|
11909
|
+
@summary Queries the indexes of a dataset by using the name of the dataset. Only datasets of the logstore type are supported.
|
11328
11910
|
|
11329
11911
|
@return: GetStoreViewIndexResponse
|
11330
11912
|
"""
|
@@ -11338,7 +11920,7 @@ class Client(OpenApiClient):
|
|
11338
11920
|
name: str,
|
11339
11921
|
) -> sls_20201230_models.GetStoreViewIndexResponse:
|
11340
11922
|
"""
|
11341
|
-
@summary
|
11923
|
+
@summary Queries the indexes of a dataset by using the name of the dataset. Only datasets of the logstore type are supported.
|
11342
11924
|
|
11343
11925
|
@return: GetStoreViewIndexResponse
|
11344
11926
|
"""
|
@@ -11354,7 +11936,7 @@ class Client(OpenApiClient):
|
|
11354
11936
|
runtime: util_models.RuntimeOptions,
|
11355
11937
|
) -> sls_20201230_models.ListAlertsResponse:
|
11356
11938
|
"""
|
11357
|
-
@summary
|
11939
|
+
@summary Queries a list of alert rules in a project.
|
11358
11940
|
|
11359
11941
|
@param request: ListAlertsRequest
|
11360
11942
|
@param headers: map
|
@@ -11400,7 +11982,7 @@ class Client(OpenApiClient):
|
|
11400
11982
|
runtime: util_models.RuntimeOptions,
|
11401
11983
|
) -> sls_20201230_models.ListAlertsResponse:
|
11402
11984
|
"""
|
11403
|
-
@summary
|
11985
|
+
@summary Queries a list of alert rules in a project.
|
11404
11986
|
|
11405
11987
|
@param request: ListAlertsRequest
|
11406
11988
|
@param headers: map
|
@@ -11444,7 +12026,7 @@ class Client(OpenApiClient):
|
|
11444
12026
|
request: sls_20201230_models.ListAlertsRequest,
|
11445
12027
|
) -> sls_20201230_models.ListAlertsResponse:
|
11446
12028
|
"""
|
11447
|
-
@summary
|
12029
|
+
@summary Queries a list of alert rules in a project.
|
11448
12030
|
|
11449
12031
|
@param request: ListAlertsRequest
|
11450
12032
|
@return: ListAlertsResponse
|
@@ -11459,7 +12041,7 @@ class Client(OpenApiClient):
|
|
11459
12041
|
request: sls_20201230_models.ListAlertsRequest,
|
11460
12042
|
) -> sls_20201230_models.ListAlertsResponse:
|
11461
12043
|
"""
|
11462
|
-
@summary
|
12044
|
+
@summary Queries a list of alert rules in a project.
|
11463
12045
|
|
11464
12046
|
@param request: ListAlertsRequest
|
11465
12047
|
@return: ListAlertsResponse
|
@@ -11805,6 +12387,8 @@ class Client(OpenApiClient):
|
|
11805
12387
|
"""
|
11806
12388
|
@summary 通过调用ListCollectionPolicies接口查看配置的日志采集规则
|
11807
12389
|
|
12390
|
+
@description You must use the Simple Log Service endpoint for the China (Shanghai) or Singapore region to call the operation.
|
12391
|
+
|
11808
12392
|
@param request: ListCollectionPoliciesRequest
|
11809
12393
|
@param headers: map
|
11810
12394
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -11855,6 +12439,8 @@ class Client(OpenApiClient):
|
|
11855
12439
|
"""
|
11856
12440
|
@summary 通过调用ListCollectionPolicies接口查看配置的日志采集规则
|
11857
12441
|
|
12442
|
+
@description You must use the Simple Log Service endpoint for the China (Shanghai) or Singapore region to call the operation.
|
12443
|
+
|
11858
12444
|
@param request: ListCollectionPoliciesRequest
|
11859
12445
|
@param headers: map
|
11860
12446
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -11903,6 +12489,8 @@ class Client(OpenApiClient):
|
|
11903
12489
|
"""
|
11904
12490
|
@summary 通过调用ListCollectionPolicies接口查看配置的日志采集规则
|
11905
12491
|
|
12492
|
+
@description You must use the Simple Log Service endpoint for the China (Shanghai) or Singapore region to call the operation.
|
12493
|
+
|
11906
12494
|
@param request: ListCollectionPoliciesRequest
|
11907
12495
|
@return: ListCollectionPoliciesResponse
|
11908
12496
|
"""
|
@@ -11917,6 +12505,8 @@ class Client(OpenApiClient):
|
|
11917
12505
|
"""
|
11918
12506
|
@summary 通过调用ListCollectionPolicies接口查看配置的日志采集规则
|
11919
12507
|
|
12508
|
+
@description You must use the Simple Log Service endpoint for the China (Shanghai) or Singapore region to call the operation.
|
12509
|
+
|
11920
12510
|
@param request: ListCollectionPoliciesRequest
|
11921
12511
|
@return: ListCollectionPoliciesResponse
|
11922
12512
|
"""
|
@@ -13274,6 +13864,132 @@ class Client(OpenApiClient):
|
|
13274
13864
|
headers = {}
|
13275
13865
|
return await self.list_machines_with_options_async(project, machine_group, request, headers, runtime)
|
13276
13866
|
|
13867
|
+
def list_metric_stores_with_options(
|
13868
|
+
self,
|
13869
|
+
project: str,
|
13870
|
+
request: sls_20201230_models.ListMetricStoresRequest,
|
13871
|
+
headers: Dict[str, str],
|
13872
|
+
runtime: util_models.RuntimeOptions,
|
13873
|
+
) -> sls_20201230_models.ListMetricStoresResponse:
|
13874
|
+
"""
|
13875
|
+
@summary 查询时序库
|
13876
|
+
|
13877
|
+
@param request: ListMetricStoresRequest
|
13878
|
+
@param headers: map
|
13879
|
+
@param runtime: runtime options for this request RuntimeOptions
|
13880
|
+
@return: ListMetricStoresResponse
|
13881
|
+
"""
|
13882
|
+
UtilClient.validate_model(request)
|
13883
|
+
host_map = {}
|
13884
|
+
host_map['project'] = project
|
13885
|
+
query = {}
|
13886
|
+
if not UtilClient.is_unset(request.mode):
|
13887
|
+
query['mode'] = request.mode
|
13888
|
+
if not UtilClient.is_unset(request.name):
|
13889
|
+
query['name'] = request.name
|
13890
|
+
if not UtilClient.is_unset(request.offset):
|
13891
|
+
query['offset'] = request.offset
|
13892
|
+
if not UtilClient.is_unset(request.size):
|
13893
|
+
query['size'] = request.size
|
13894
|
+
req = open_api_models.OpenApiRequest(
|
13895
|
+
host_map=host_map,
|
13896
|
+
headers=headers,
|
13897
|
+
query=OpenApiUtilClient.query(query)
|
13898
|
+
)
|
13899
|
+
params = open_api_models.Params(
|
13900
|
+
action='ListMetricStores',
|
13901
|
+
version='2020-12-30',
|
13902
|
+
protocol='HTTPS',
|
13903
|
+
pathname=f'/metricstores',
|
13904
|
+
method='GET',
|
13905
|
+
auth_type='AK',
|
13906
|
+
style='ROA',
|
13907
|
+
req_body_type='none',
|
13908
|
+
body_type='json'
|
13909
|
+
)
|
13910
|
+
return TeaCore.from_map(
|
13911
|
+
sls_20201230_models.ListMetricStoresResponse(),
|
13912
|
+
self.execute(params, req, runtime)
|
13913
|
+
)
|
13914
|
+
|
13915
|
+
async def list_metric_stores_with_options_async(
|
13916
|
+
self,
|
13917
|
+
project: str,
|
13918
|
+
request: sls_20201230_models.ListMetricStoresRequest,
|
13919
|
+
headers: Dict[str, str],
|
13920
|
+
runtime: util_models.RuntimeOptions,
|
13921
|
+
) -> sls_20201230_models.ListMetricStoresResponse:
|
13922
|
+
"""
|
13923
|
+
@summary 查询时序库
|
13924
|
+
|
13925
|
+
@param request: ListMetricStoresRequest
|
13926
|
+
@param headers: map
|
13927
|
+
@param runtime: runtime options for this request RuntimeOptions
|
13928
|
+
@return: ListMetricStoresResponse
|
13929
|
+
"""
|
13930
|
+
UtilClient.validate_model(request)
|
13931
|
+
host_map = {}
|
13932
|
+
host_map['project'] = project
|
13933
|
+
query = {}
|
13934
|
+
if not UtilClient.is_unset(request.mode):
|
13935
|
+
query['mode'] = request.mode
|
13936
|
+
if not UtilClient.is_unset(request.name):
|
13937
|
+
query['name'] = request.name
|
13938
|
+
if not UtilClient.is_unset(request.offset):
|
13939
|
+
query['offset'] = request.offset
|
13940
|
+
if not UtilClient.is_unset(request.size):
|
13941
|
+
query['size'] = request.size
|
13942
|
+
req = open_api_models.OpenApiRequest(
|
13943
|
+
host_map=host_map,
|
13944
|
+
headers=headers,
|
13945
|
+
query=OpenApiUtilClient.query(query)
|
13946
|
+
)
|
13947
|
+
params = open_api_models.Params(
|
13948
|
+
action='ListMetricStores',
|
13949
|
+
version='2020-12-30',
|
13950
|
+
protocol='HTTPS',
|
13951
|
+
pathname=f'/metricstores',
|
13952
|
+
method='GET',
|
13953
|
+
auth_type='AK',
|
13954
|
+
style='ROA',
|
13955
|
+
req_body_type='none',
|
13956
|
+
body_type='json'
|
13957
|
+
)
|
13958
|
+
return TeaCore.from_map(
|
13959
|
+
sls_20201230_models.ListMetricStoresResponse(),
|
13960
|
+
await self.execute_async(params, req, runtime)
|
13961
|
+
)
|
13962
|
+
|
13963
|
+
def list_metric_stores(
|
13964
|
+
self,
|
13965
|
+
project: str,
|
13966
|
+
request: sls_20201230_models.ListMetricStoresRequest,
|
13967
|
+
) -> sls_20201230_models.ListMetricStoresResponse:
|
13968
|
+
"""
|
13969
|
+
@summary 查询时序库
|
13970
|
+
|
13971
|
+
@param request: ListMetricStoresRequest
|
13972
|
+
@return: ListMetricStoresResponse
|
13973
|
+
"""
|
13974
|
+
runtime = util_models.RuntimeOptions()
|
13975
|
+
headers = {}
|
13976
|
+
return self.list_metric_stores_with_options(project, request, headers, runtime)
|
13977
|
+
|
13978
|
+
async def list_metric_stores_async(
|
13979
|
+
self,
|
13980
|
+
project: str,
|
13981
|
+
request: sls_20201230_models.ListMetricStoresRequest,
|
13982
|
+
) -> sls_20201230_models.ListMetricStoresResponse:
|
13983
|
+
"""
|
13984
|
+
@summary 查询时序库
|
13985
|
+
|
13986
|
+
@param request: ListMetricStoresRequest
|
13987
|
+
@return: ListMetricStoresResponse
|
13988
|
+
"""
|
13989
|
+
runtime = util_models.RuntimeOptions()
|
13990
|
+
headers = {}
|
13991
|
+
return await self.list_metric_stores_with_options_async(project, request, headers, runtime)
|
13992
|
+
|
13277
13993
|
def list_ossexports_with_options(
|
13278
13994
|
self,
|
13279
13995
|
project: str,
|
@@ -13526,7 +14242,7 @@ class Client(OpenApiClient):
|
|
13526
14242
|
runtime: util_models.RuntimeOptions,
|
13527
14243
|
) -> sls_20201230_models.ListOSSIngestionsResponse:
|
13528
14244
|
"""
|
13529
|
-
@summary
|
14245
|
+
@summary Queries a list of Object Storage Service (OSS) data import jobs in a project.
|
13530
14246
|
|
13531
14247
|
@param request: ListOSSIngestionsRequest
|
13532
14248
|
@param headers: map
|
@@ -13572,7 +14288,7 @@ class Client(OpenApiClient):
|
|
13572
14288
|
runtime: util_models.RuntimeOptions,
|
13573
14289
|
) -> sls_20201230_models.ListOSSIngestionsResponse:
|
13574
14290
|
"""
|
13575
|
-
@summary
|
14291
|
+
@summary Queries a list of Object Storage Service (OSS) data import jobs in a project.
|
13576
14292
|
|
13577
14293
|
@param request: ListOSSIngestionsRequest
|
13578
14294
|
@param headers: map
|
@@ -13616,7 +14332,7 @@ class Client(OpenApiClient):
|
|
13616
14332
|
request: sls_20201230_models.ListOSSIngestionsRequest,
|
13617
14333
|
) -> sls_20201230_models.ListOSSIngestionsResponse:
|
13618
14334
|
"""
|
13619
|
-
@summary
|
14335
|
+
@summary Queries a list of Object Storage Service (OSS) data import jobs in a project.
|
13620
14336
|
|
13621
14337
|
@param request: ListOSSIngestionsRequest
|
13622
14338
|
@return: ListOSSIngestionsResponse
|
@@ -13631,7 +14347,7 @@ class Client(OpenApiClient):
|
|
13631
14347
|
request: sls_20201230_models.ListOSSIngestionsRequest,
|
13632
14348
|
) -> sls_20201230_models.ListOSSIngestionsResponse:
|
13633
14349
|
"""
|
13634
|
-
@summary
|
14350
|
+
@summary Queries a list of Object Storage Service (OSS) data import jobs in a project.
|
13635
14351
|
|
13636
14352
|
@param request: ListOSSIngestionsRequest
|
13637
14353
|
@return: ListOSSIngestionsResponse
|
@@ -13910,7 +14626,7 @@ class Client(OpenApiClient):
|
|
13910
14626
|
runtime: util_models.RuntimeOptions,
|
13911
14627
|
) -> sls_20201230_models.ListScheduledSQLsResponse:
|
13912
14628
|
"""
|
13913
|
-
@summary
|
14629
|
+
@summary Queries a list of Scheduled SQL jobs in a project.
|
13914
14630
|
|
13915
14631
|
@param request: ListScheduledSQLsRequest
|
13916
14632
|
@param headers: map
|
@@ -13956,7 +14672,7 @@ class Client(OpenApiClient):
|
|
13956
14672
|
runtime: util_models.RuntimeOptions,
|
13957
14673
|
) -> sls_20201230_models.ListScheduledSQLsResponse:
|
13958
14674
|
"""
|
13959
|
-
@summary
|
14675
|
+
@summary Queries a list of Scheduled SQL jobs in a project.
|
13960
14676
|
|
13961
14677
|
@param request: ListScheduledSQLsRequest
|
13962
14678
|
@param headers: map
|
@@ -14000,7 +14716,7 @@ class Client(OpenApiClient):
|
|
14000
14716
|
request: sls_20201230_models.ListScheduledSQLsRequest,
|
14001
14717
|
) -> sls_20201230_models.ListScheduledSQLsResponse:
|
14002
14718
|
"""
|
14003
|
-
@summary
|
14719
|
+
@summary Queries a list of Scheduled SQL jobs in a project.
|
14004
14720
|
|
14005
14721
|
@param request: ListScheduledSQLsRequest
|
14006
14722
|
@return: ListScheduledSQLsResponse
|
@@ -14015,7 +14731,7 @@ class Client(OpenApiClient):
|
|
14015
14731
|
request: sls_20201230_models.ListScheduledSQLsRequest,
|
14016
14732
|
) -> sls_20201230_models.ListScheduledSQLsResponse:
|
14017
14733
|
"""
|
14018
|
-
@summary
|
14734
|
+
@summary Queries a list of Scheduled SQL jobs in a project.
|
14019
14735
|
|
14020
14736
|
@param request: ListScheduledSQLsRequest
|
14021
14737
|
@return: ListScheduledSQLsResponse
|
@@ -14132,7 +14848,7 @@ class Client(OpenApiClient):
|
|
14132
14848
|
runtime: util_models.RuntimeOptions,
|
14133
14849
|
) -> sls_20201230_models.ListStoreViewsResponse:
|
14134
14850
|
"""
|
14135
|
-
@summary
|
14851
|
+
@summary Queries datasets in a project.
|
14136
14852
|
|
14137
14853
|
@param request: ListStoreViewsRequest
|
14138
14854
|
@param headers: map
|
@@ -14180,7 +14896,7 @@ class Client(OpenApiClient):
|
|
14180
14896
|
runtime: util_models.RuntimeOptions,
|
14181
14897
|
) -> sls_20201230_models.ListStoreViewsResponse:
|
14182
14898
|
"""
|
14183
|
-
@summary
|
14899
|
+
@summary Queries datasets in a project.
|
14184
14900
|
|
14185
14901
|
@param request: ListStoreViewsRequest
|
14186
14902
|
@param headers: map
|
@@ -14226,7 +14942,7 @@ class Client(OpenApiClient):
|
|
14226
14942
|
request: sls_20201230_models.ListStoreViewsRequest,
|
14227
14943
|
) -> sls_20201230_models.ListStoreViewsResponse:
|
14228
14944
|
"""
|
14229
|
-
@summary
|
14945
|
+
@summary Queries datasets in a project.
|
14230
14946
|
|
14231
14947
|
@param request: ListStoreViewsRequest
|
14232
14948
|
@return: ListStoreViewsResponse
|
@@ -14241,7 +14957,7 @@ class Client(OpenApiClient):
|
|
14241
14957
|
request: sls_20201230_models.ListStoreViewsRequest,
|
14242
14958
|
) -> sls_20201230_models.ListStoreViewsResponse:
|
14243
14959
|
"""
|
14244
|
-
@summary
|
14960
|
+
@summary Queries datasets in a project.
|
14245
14961
|
|
14246
14962
|
@param request: ListStoreViewsRequest
|
14247
14963
|
@return: ListStoreViewsResponse
|
@@ -14532,7 +15248,7 @@ class Client(OpenApiClient):
|
|
14532
15248
|
runtime: util_models.RuntimeOptions,
|
14533
15249
|
) -> sls_20201230_models.OpenSlsServiceResponse:
|
14534
15250
|
"""
|
14535
|
-
@summary
|
15251
|
+
@summary Activates Simple Log Service. You must activate Simple Log Service before you can use it to collect and manage logs.
|
14536
15252
|
|
14537
15253
|
@param headers: map
|
14538
15254
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -14563,7 +15279,7 @@ class Client(OpenApiClient):
|
|
14563
15279
|
runtime: util_models.RuntimeOptions,
|
14564
15280
|
) -> sls_20201230_models.OpenSlsServiceResponse:
|
14565
15281
|
"""
|
14566
|
-
@summary
|
15282
|
+
@summary Activates Simple Log Service. You must activate Simple Log Service before you can use it to collect and manage logs.
|
14567
15283
|
|
14568
15284
|
@param headers: map
|
14569
15285
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -14590,7 +15306,7 @@ class Client(OpenApiClient):
|
|
14590
15306
|
|
14591
15307
|
def open_sls_service(self) -> sls_20201230_models.OpenSlsServiceResponse:
|
14592
15308
|
"""
|
14593
|
-
@summary
|
15309
|
+
@summary Activates Simple Log Service. You must activate Simple Log Service before you can use it to collect and manage logs.
|
14594
15310
|
|
14595
15311
|
@return: OpenSlsServiceResponse
|
14596
15312
|
"""
|
@@ -14600,7 +15316,7 @@ class Client(OpenApiClient):
|
|
14600
15316
|
|
14601
15317
|
async def open_sls_service_async(self) -> sls_20201230_models.OpenSlsServiceResponse:
|
14602
15318
|
"""
|
14603
|
-
@summary
|
15319
|
+
@summary Activates Simple Log Service. You must activate Simple Log Service before you can use it to collect and manage logs.
|
14604
15320
|
|
14605
15321
|
@return: OpenSlsServiceResponse
|
14606
15322
|
"""
|
@@ -15936,7 +16652,7 @@ class Client(OpenApiClient):
|
|
15936
16652
|
runtime: util_models.RuntimeOptions,
|
15937
16653
|
) -> sls_20201230_models.StartOSSIngestionResponse:
|
15938
16654
|
"""
|
15939
|
-
@summary
|
16655
|
+
@summary Starts an Object Storage Service (OSS) data import job.
|
15940
16656
|
|
15941
16657
|
@param headers: map
|
15942
16658
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -15972,7 +16688,7 @@ class Client(OpenApiClient):
|
|
15972
16688
|
runtime: util_models.RuntimeOptions,
|
15973
16689
|
) -> sls_20201230_models.StartOSSIngestionResponse:
|
15974
16690
|
"""
|
15975
|
-
@summary
|
16691
|
+
@summary Starts an Object Storage Service (OSS) data import job.
|
15976
16692
|
|
15977
16693
|
@param headers: map
|
15978
16694
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -16006,7 +16722,7 @@ class Client(OpenApiClient):
|
|
16006
16722
|
oss_ingestion_name: str,
|
16007
16723
|
) -> sls_20201230_models.StartOSSIngestionResponse:
|
16008
16724
|
"""
|
16009
|
-
@summary
|
16725
|
+
@summary Starts an Object Storage Service (OSS) data import job.
|
16010
16726
|
|
16011
16727
|
@return: StartOSSIngestionResponse
|
16012
16728
|
"""
|
@@ -16020,7 +16736,7 @@ class Client(OpenApiClient):
|
|
16020
16736
|
oss_ingestion_name: str,
|
16021
16737
|
) -> sls_20201230_models.StartOSSIngestionResponse:
|
16022
16738
|
"""
|
16023
|
-
@summary
|
16739
|
+
@summary Starts an Object Storage Service (OSS) data import job.
|
16024
16740
|
|
16025
16741
|
@return: StartOSSIngestionResponse
|
16026
16742
|
"""
|
@@ -16336,7 +17052,7 @@ class Client(OpenApiClient):
|
|
16336
17052
|
runtime: util_models.RuntimeOptions,
|
16337
17053
|
) -> sls_20201230_models.StopOSSIngestionResponse:
|
16338
17054
|
"""
|
16339
|
-
@summary
|
17055
|
+
@summary Stops an Object Storage Service (OSS) data import job.
|
16340
17056
|
|
16341
17057
|
@param headers: map
|
16342
17058
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -16372,7 +17088,7 @@ class Client(OpenApiClient):
|
|
16372
17088
|
runtime: util_models.RuntimeOptions,
|
16373
17089
|
) -> sls_20201230_models.StopOSSIngestionResponse:
|
16374
17090
|
"""
|
16375
|
-
@summary
|
17091
|
+
@summary Stops an Object Storage Service (OSS) data import job.
|
16376
17092
|
|
16377
17093
|
@param headers: map
|
16378
17094
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -16406,7 +17122,7 @@ class Client(OpenApiClient):
|
|
16406
17122
|
oss_ingestion_name: str,
|
16407
17123
|
) -> sls_20201230_models.StopOSSIngestionResponse:
|
16408
17124
|
"""
|
16409
|
-
@summary
|
17125
|
+
@summary Stops an Object Storage Service (OSS) data import job.
|
16410
17126
|
|
16411
17127
|
@return: StopOSSIngestionResponse
|
16412
17128
|
"""
|
@@ -16420,7 +17136,7 @@ class Client(OpenApiClient):
|
|
16420
17136
|
oss_ingestion_name: str,
|
16421
17137
|
) -> sls_20201230_models.StopOSSIngestionResponse:
|
16422
17138
|
"""
|
16423
|
-
@summary
|
17139
|
+
@summary Stops an Object Storage Service (OSS) data import job.
|
16424
17140
|
|
16425
17141
|
@return: StopOSSIngestionResponse
|
16426
17142
|
"""
|
@@ -16757,7 +17473,7 @@ class Client(OpenApiClient):
|
|
16757
17473
|
runtime: util_models.RuntimeOptions,
|
16758
17474
|
) -> sls_20201230_models.UpdateAlertResponse:
|
16759
17475
|
"""
|
16760
|
-
@summary
|
17476
|
+
@summary Updates an alert rule.
|
16761
17477
|
|
16762
17478
|
@param request: UpdateAlertRequest
|
16763
17479
|
@param headers: map
|
@@ -16806,7 +17522,7 @@ class Client(OpenApiClient):
|
|
16806
17522
|
runtime: util_models.RuntimeOptions,
|
16807
17523
|
) -> sls_20201230_models.UpdateAlertResponse:
|
16808
17524
|
"""
|
16809
|
-
@summary
|
17525
|
+
@summary Updates an alert rule.
|
16810
17526
|
|
16811
17527
|
@param request: UpdateAlertRequest
|
16812
17528
|
@param headers: map
|
@@ -16853,7 +17569,7 @@ class Client(OpenApiClient):
|
|
16853
17569
|
request: sls_20201230_models.UpdateAlertRequest,
|
16854
17570
|
) -> sls_20201230_models.UpdateAlertResponse:
|
16855
17571
|
"""
|
16856
|
-
@summary
|
17572
|
+
@summary Updates an alert rule.
|
16857
17573
|
|
16858
17574
|
@param request: UpdateAlertRequest
|
16859
17575
|
@return: UpdateAlertResponse
|
@@ -16869,7 +17585,7 @@ class Client(OpenApiClient):
|
|
16869
17585
|
request: sls_20201230_models.UpdateAlertRequest,
|
16870
17586
|
) -> sls_20201230_models.UpdateAlertResponse:
|
16871
17587
|
"""
|
16872
|
-
@summary
|
17588
|
+
@summary Updates an alert rule.
|
16873
17589
|
|
16874
17590
|
@param request: UpdateAlertRequest
|
16875
17591
|
@return: UpdateAlertResponse
|
@@ -17836,6 +18552,8 @@ class Client(OpenApiClient):
|
|
17836
18552
|
body['maxSplitShard'] = request.max_split_shard
|
17837
18553
|
if not UtilClient.is_unset(request.mode):
|
17838
18554
|
body['mode'] = request.mode
|
18555
|
+
if not UtilClient.is_unset(request.processor_id):
|
18556
|
+
body['processorId'] = request.processor_id
|
17839
18557
|
if not UtilClient.is_unset(request.shard_count):
|
17840
18558
|
body['shardCount'] = request.shard_count
|
17841
18559
|
if not UtilClient.is_unset(request.telemetry_type):
|
@@ -17905,6 +18623,8 @@ class Client(OpenApiClient):
|
|
17905
18623
|
body['maxSplitShard'] = request.max_split_shard
|
17906
18624
|
if not UtilClient.is_unset(request.mode):
|
17907
18625
|
body['mode'] = request.mode
|
18626
|
+
if not UtilClient.is_unset(request.processor_id):
|
18627
|
+
body['processorId'] = request.processor_id
|
17908
18628
|
if not UtilClient.is_unset(request.shard_count):
|
17909
18629
|
body['shardCount'] = request.shard_count
|
17910
18630
|
if not UtilClient.is_unset(request.telemetry_type):
|
@@ -18636,6 +19356,136 @@ class Client(OpenApiClient):
|
|
18636
19356
|
headers = {}
|
18637
19357
|
return await self.update_machine_group_machine_with_options_async(project, machine_group, request, headers, runtime)
|
18638
19358
|
|
19359
|
+
def update_metric_store_with_options(
|
19360
|
+
self,
|
19361
|
+
project: str,
|
19362
|
+
name: str,
|
19363
|
+
request: sls_20201230_models.UpdateMetricStoreRequest,
|
19364
|
+
headers: Dict[str, str],
|
19365
|
+
runtime: util_models.RuntimeOptions,
|
19366
|
+
) -> sls_20201230_models.UpdateMetricStoreResponse:
|
19367
|
+
"""
|
19368
|
+
@summary 更新时序库
|
19369
|
+
|
19370
|
+
@param request: UpdateMetricStoreRequest
|
19371
|
+
@param headers: map
|
19372
|
+
@param runtime: runtime options for this request RuntimeOptions
|
19373
|
+
@return: UpdateMetricStoreResponse
|
19374
|
+
"""
|
19375
|
+
UtilClient.validate_model(request)
|
19376
|
+
host_map = {}
|
19377
|
+
host_map['project'] = project
|
19378
|
+
body = {}
|
19379
|
+
if not UtilClient.is_unset(request.auto_split):
|
19380
|
+
body['autoSplit'] = request.auto_split
|
19381
|
+
if not UtilClient.is_unset(request.max_split_shard):
|
19382
|
+
body['maxSplitShard'] = request.max_split_shard
|
19383
|
+
if not UtilClient.is_unset(request.mode):
|
19384
|
+
body['mode'] = request.mode
|
19385
|
+
if not UtilClient.is_unset(request.ttl):
|
19386
|
+
body['ttl'] = request.ttl
|
19387
|
+
req = open_api_models.OpenApiRequest(
|
19388
|
+
host_map=host_map,
|
19389
|
+
headers=headers,
|
19390
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
19391
|
+
)
|
19392
|
+
params = open_api_models.Params(
|
19393
|
+
action='UpdateMetricStore',
|
19394
|
+
version='2020-12-30',
|
19395
|
+
protocol='HTTPS',
|
19396
|
+
pathname=f'/metricstores/{name}',
|
19397
|
+
method='PUT',
|
19398
|
+
auth_type='AK',
|
19399
|
+
style='ROA',
|
19400
|
+
req_body_type='json',
|
19401
|
+
body_type='none'
|
19402
|
+
)
|
19403
|
+
return TeaCore.from_map(
|
19404
|
+
sls_20201230_models.UpdateMetricStoreResponse(),
|
19405
|
+
self.execute(params, req, runtime)
|
19406
|
+
)
|
19407
|
+
|
19408
|
+
async def update_metric_store_with_options_async(
|
19409
|
+
self,
|
19410
|
+
project: str,
|
19411
|
+
name: str,
|
19412
|
+
request: sls_20201230_models.UpdateMetricStoreRequest,
|
19413
|
+
headers: Dict[str, str],
|
19414
|
+
runtime: util_models.RuntimeOptions,
|
19415
|
+
) -> sls_20201230_models.UpdateMetricStoreResponse:
|
19416
|
+
"""
|
19417
|
+
@summary 更新时序库
|
19418
|
+
|
19419
|
+
@param request: UpdateMetricStoreRequest
|
19420
|
+
@param headers: map
|
19421
|
+
@param runtime: runtime options for this request RuntimeOptions
|
19422
|
+
@return: UpdateMetricStoreResponse
|
19423
|
+
"""
|
19424
|
+
UtilClient.validate_model(request)
|
19425
|
+
host_map = {}
|
19426
|
+
host_map['project'] = project
|
19427
|
+
body = {}
|
19428
|
+
if not UtilClient.is_unset(request.auto_split):
|
19429
|
+
body['autoSplit'] = request.auto_split
|
19430
|
+
if not UtilClient.is_unset(request.max_split_shard):
|
19431
|
+
body['maxSplitShard'] = request.max_split_shard
|
19432
|
+
if not UtilClient.is_unset(request.mode):
|
19433
|
+
body['mode'] = request.mode
|
19434
|
+
if not UtilClient.is_unset(request.ttl):
|
19435
|
+
body['ttl'] = request.ttl
|
19436
|
+
req = open_api_models.OpenApiRequest(
|
19437
|
+
host_map=host_map,
|
19438
|
+
headers=headers,
|
19439
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
19440
|
+
)
|
19441
|
+
params = open_api_models.Params(
|
19442
|
+
action='UpdateMetricStore',
|
19443
|
+
version='2020-12-30',
|
19444
|
+
protocol='HTTPS',
|
19445
|
+
pathname=f'/metricstores/{name}',
|
19446
|
+
method='PUT',
|
19447
|
+
auth_type='AK',
|
19448
|
+
style='ROA',
|
19449
|
+
req_body_type='json',
|
19450
|
+
body_type='none'
|
19451
|
+
)
|
19452
|
+
return TeaCore.from_map(
|
19453
|
+
sls_20201230_models.UpdateMetricStoreResponse(),
|
19454
|
+
await self.execute_async(params, req, runtime)
|
19455
|
+
)
|
19456
|
+
|
19457
|
+
def update_metric_store(
|
19458
|
+
self,
|
19459
|
+
project: str,
|
19460
|
+
name: str,
|
19461
|
+
request: sls_20201230_models.UpdateMetricStoreRequest,
|
19462
|
+
) -> sls_20201230_models.UpdateMetricStoreResponse:
|
19463
|
+
"""
|
19464
|
+
@summary 更新时序库
|
19465
|
+
|
19466
|
+
@param request: UpdateMetricStoreRequest
|
19467
|
+
@return: UpdateMetricStoreResponse
|
19468
|
+
"""
|
19469
|
+
runtime = util_models.RuntimeOptions()
|
19470
|
+
headers = {}
|
19471
|
+
return self.update_metric_store_with_options(project, name, request, headers, runtime)
|
19472
|
+
|
19473
|
+
async def update_metric_store_async(
|
19474
|
+
self,
|
19475
|
+
project: str,
|
19476
|
+
name: str,
|
19477
|
+
request: sls_20201230_models.UpdateMetricStoreRequest,
|
19478
|
+
) -> sls_20201230_models.UpdateMetricStoreResponse:
|
19479
|
+
"""
|
19480
|
+
@summary 更新时序库
|
19481
|
+
|
19482
|
+
@param request: UpdateMetricStoreRequest
|
19483
|
+
@return: UpdateMetricStoreResponse
|
19484
|
+
"""
|
19485
|
+
runtime = util_models.RuntimeOptions()
|
19486
|
+
headers = {}
|
19487
|
+
return await self.update_metric_store_with_options_async(project, name, request, headers, runtime)
|
19488
|
+
|
18639
19489
|
def update_metric_store_metering_mode_with_options(
|
18640
19490
|
self,
|
18641
19491
|
project: str,
|
@@ -19286,6 +20136,13 @@ class Client(OpenApiClient):
|
|
19286
20136
|
|
19287
20137
|
@description ### Usage notes
|
19288
20138
|
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
20139
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
20140
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
20141
|
+
### Authentication resources
|
20142
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
20143
|
+
|Action|Resource|
|
20144
|
+
|:---|:---|
|
20145
|
+
|`log:UpdateProject`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}`|
|
19289
20146
|
|
19290
20147
|
@param request: UpdateProjectRequest
|
19291
20148
|
@param headers: map
|
@@ -19331,6 +20188,13 @@ class Client(OpenApiClient):
|
|
19331
20188
|
|
19332
20189
|
@description ### Usage notes
|
19333
20190
|
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
20191
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
20192
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
20193
|
+
### Authentication resources
|
20194
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
20195
|
+
|Action|Resource|
|
20196
|
+
|:---|:---|
|
20197
|
+
|`log:UpdateProject`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}`|
|
19334
20198
|
|
19335
20199
|
@param request: UpdateProjectRequest
|
19336
20200
|
@param headers: map
|
@@ -19374,6 +20238,13 @@ class Client(OpenApiClient):
|
|
19374
20238
|
|
19375
20239
|
@description ### Usage notes
|
19376
20240
|
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
20241
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
20242
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
20243
|
+
### Authentication resources
|
20244
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
20245
|
+
|Action|Resource|
|
20246
|
+
|:---|:---|
|
20247
|
+
|`log:UpdateProject`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}`|
|
19377
20248
|
|
19378
20249
|
@param request: UpdateProjectRequest
|
19379
20250
|
@return: UpdateProjectResponse
|
@@ -19392,6 +20263,13 @@ class Client(OpenApiClient):
|
|
19392
20263
|
|
19393
20264
|
@description ### Usage notes
|
19394
20265
|
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
20266
|
+
An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
|
20267
|
+
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
20268
|
+
### Authentication resources
|
20269
|
+
The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
|
20270
|
+
|Action|Resource|
|
20271
|
+
|:---|:---|
|
20272
|
+
|`log:UpdateProject`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}`|
|
19395
20273
|
|
19396
20274
|
@param request: UpdateProjectRequest
|
19397
20275
|
@return: UpdateProjectResponse
|
@@ -19677,7 +20555,7 @@ class Client(OpenApiClient):
|
|
19677
20555
|
runtime: util_models.RuntimeOptions,
|
19678
20556
|
) -> sls_20201230_models.UpdateScheduledSQLResponse:
|
19679
20557
|
"""
|
19680
|
-
@summary
|
20558
|
+
@summary Updates a Scheduled SQL job.
|
19681
20559
|
|
19682
20560
|
@param request: UpdateScheduledSQLRequest
|
19683
20561
|
@param headers: map
|
@@ -19726,7 +20604,7 @@ class Client(OpenApiClient):
|
|
19726
20604
|
runtime: util_models.RuntimeOptions,
|
19727
20605
|
) -> sls_20201230_models.UpdateScheduledSQLResponse:
|
19728
20606
|
"""
|
19729
|
-
@summary
|
20607
|
+
@summary Updates a Scheduled SQL job.
|
19730
20608
|
|
19731
20609
|
@param request: UpdateScheduledSQLRequest
|
19732
20610
|
@param headers: map
|
@@ -19773,7 +20651,7 @@ class Client(OpenApiClient):
|
|
19773
20651
|
request: sls_20201230_models.UpdateScheduledSQLRequest,
|
19774
20652
|
) -> sls_20201230_models.UpdateScheduledSQLResponse:
|
19775
20653
|
"""
|
19776
|
-
@summary
|
20654
|
+
@summary Updates a Scheduled SQL job.
|
19777
20655
|
|
19778
20656
|
@param request: UpdateScheduledSQLRequest
|
19779
20657
|
@return: UpdateScheduledSQLResponse
|
@@ -19789,7 +20667,7 @@ class Client(OpenApiClient):
|
|
19789
20667
|
request: sls_20201230_models.UpdateScheduledSQLRequest,
|
19790
20668
|
) -> sls_20201230_models.UpdateScheduledSQLResponse:
|
19791
20669
|
"""
|
19792
|
-
@summary
|
20670
|
+
@summary Updates a Scheduled SQL job.
|
19793
20671
|
|
19794
20672
|
@param request: UpdateScheduledSQLRequest
|
19795
20673
|
@return: UpdateScheduledSQLResponse
|
@@ -19806,7 +20684,7 @@ class Client(OpenApiClient):
|
|
19806
20684
|
runtime: util_models.RuntimeOptions,
|
19807
20685
|
) -> sls_20201230_models.UpdateSqlInstanceResponse:
|
19808
20686
|
"""
|
19809
|
-
@summary
|
20687
|
+
@summary Updates the configurations of the Dedicated SQL feature.
|
19810
20688
|
|
19811
20689
|
@param request: UpdateSqlInstanceRequest
|
19812
20690
|
@param headers: map
|
@@ -19850,7 +20728,7 @@ class Client(OpenApiClient):
|
|
19850
20728
|
runtime: util_models.RuntimeOptions,
|
19851
20729
|
) -> sls_20201230_models.UpdateSqlInstanceResponse:
|
19852
20730
|
"""
|
19853
|
-
@summary
|
20731
|
+
@summary Updates the configurations of the Dedicated SQL feature.
|
19854
20732
|
|
19855
20733
|
@param request: UpdateSqlInstanceRequest
|
19856
20734
|
@param headers: map
|
@@ -19892,7 +20770,7 @@ class Client(OpenApiClient):
|
|
19892
20770
|
request: sls_20201230_models.UpdateSqlInstanceRequest,
|
19893
20771
|
) -> sls_20201230_models.UpdateSqlInstanceResponse:
|
19894
20772
|
"""
|
19895
|
-
@summary
|
20773
|
+
@summary Updates the configurations of the Dedicated SQL feature.
|
19896
20774
|
|
19897
20775
|
@param request: UpdateSqlInstanceRequest
|
19898
20776
|
@return: UpdateSqlInstanceResponse
|
@@ -19907,7 +20785,7 @@ class Client(OpenApiClient):
|
|
19907
20785
|
request: sls_20201230_models.UpdateSqlInstanceRequest,
|
19908
20786
|
) -> sls_20201230_models.UpdateSqlInstanceResponse:
|
19909
20787
|
"""
|
19910
|
-
@summary
|
20788
|
+
@summary Updates the configurations of the Dedicated SQL feature.
|
19911
20789
|
|
19912
20790
|
@param request: UpdateSqlInstanceRequest
|
19913
20791
|
@return: UpdateSqlInstanceResponse
|
@@ -19925,7 +20803,7 @@ class Client(OpenApiClient):
|
|
19925
20803
|
runtime: util_models.RuntimeOptions,
|
19926
20804
|
) -> sls_20201230_models.UpdateStoreViewResponse:
|
19927
20805
|
"""
|
19928
|
-
@summary
|
20806
|
+
@summary Updates the configurations of a dataset.
|
19929
20807
|
|
19930
20808
|
@param request: UpdateStoreViewRequest
|
19931
20809
|
@param headers: map
|
@@ -19970,7 +20848,7 @@ class Client(OpenApiClient):
|
|
19970
20848
|
runtime: util_models.RuntimeOptions,
|
19971
20849
|
) -> sls_20201230_models.UpdateStoreViewResponse:
|
19972
20850
|
"""
|
19973
|
-
@summary
|
20851
|
+
@summary Updates the configurations of a dataset.
|
19974
20852
|
|
19975
20853
|
@param request: UpdateStoreViewRequest
|
19976
20854
|
@param headers: map
|
@@ -20013,7 +20891,7 @@ class Client(OpenApiClient):
|
|
20013
20891
|
request: sls_20201230_models.UpdateStoreViewRequest,
|
20014
20892
|
) -> sls_20201230_models.UpdateStoreViewResponse:
|
20015
20893
|
"""
|
20016
|
-
@summary
|
20894
|
+
@summary Updates the configurations of a dataset.
|
20017
20895
|
|
20018
20896
|
@param request: UpdateStoreViewRequest
|
20019
20897
|
@return: UpdateStoreViewResponse
|
@@ -20029,7 +20907,7 @@ class Client(OpenApiClient):
|
|
20029
20907
|
request: sls_20201230_models.UpdateStoreViewRequest,
|
20030
20908
|
) -> sls_20201230_models.UpdateStoreViewResponse:
|
20031
20909
|
"""
|
20032
|
-
@summary
|
20910
|
+
@summary Updates the configurations of a dataset.
|
20033
20911
|
|
20034
20912
|
@param request: UpdateStoreViewRequest
|
20035
20913
|
@return: UpdateStoreViewResponse
|