ci:DescribeDatasetBindings permission to the action of the authorization policy. For all APIs supported by Cloud Infinite, see CI action.GET /datasetbindings?datasetname=test&limit=100 HTTP/1.1Host: <AppId>.ci.ap-jakarta.myqcloud.comDate: <GMT Date>Authorization: Auth StringAccept: application/json
Parameter Name | Description | Type | Required |
datasetname | String | Yes | |
maxresults | Maximum number of binding relationships to return. Value range: 0-200. If this parameter is not set or is set to 0, the default value is 100. | Integer | No |
nexttoken | When the total number of binding relationships exceeds the specified MaxResults, this token is used for pagination. Starting from NextToken, the binding relationship information list is returned in lexicographic order. Set this parameter to empty when calling this API for the first time. | String | No |
{"Bindings": [{"CreateTime": "2023-12-25 19:18:19.809729971 +0800 CST","DatasetName": "test","State": "Running","URI": "cos://examplebucket1-1250000000","UpdateTime": "2023-12-25 19:18:19.809730114 +0800 CST"}, {"CreateTime": "2023-12-25 19:18:19.809729971 +0800 CST","DatasetName": "test","State": "Running","URI": "cos://examplebucket2-1250000000","UpdateTime": "2023-12-25 19:18:19.809730114 +0800 CST"}],"NextToken": "2:1250000000:test","RequestId": "NWFjMzQ0MDZfOTBmYTUwXzZkZV8z****"}
Parameter Name | Type | Description |
Bindings | Container Array | List of binding relationship information between datasets and COS buckets |
NextToken | String | When the total number of binding relationships exceeds the specified MaxResults, this token is used for pagination. The next time binding relationship information is listed, use this value as NextToken to return the results that were not returned. This parameter has a value only when not all binding relationships are returned. |
RequestId | String | Request ID. |
Parameter Name | Type | Description |
CreateTime | String | Timestamp of the creation time of the binding relationship between the dataset and the COS Bucket, in RFC3339Nano format |
DatasetName | String | Data set name |
State | String | Status of the binding relationship between the dataset and the COS Bucket. Valid values: Running: The binding relationship is running. |
URI | String | Resource identifier field. Indicates the resource to be bound with the dataset. Currently, only COS Buckets are supported. Field rule: cos://<BucketName>, where BucketName indicates the COS Bucket name. Example: cos://examplebucket-1250000000. |
UpdateTime | String | Timestamp of the modification time of the binding relationship between the dataset and the COS Bucket, in RFC3339Nano format. After a binding relationship is created, if it has not been paused or restarted, the timestamp of the modification time is the same as the timestamp of the creation time. |
StockState | String | Status of the existing index corresponding to the currently bound Bucket. Valid values: NoIndexing: Existing files are not indexed. Indexing: Existing file indexes are being created. Success: Existing file indexes have been created. |
피드백