Queries the details of the binding relationship between a specified dataset and an Object Storage Service (OSS) bucket.
Operation description
Ensure that you fully understand the billing methods and pricing of Intelligent Media Management before you call this operation.
Ensure that you have created the corresponding binding relationship by calling the CreateBinding operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:GetBinding |
get |
*Dataset
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The name of the project. For more information about how to obtain the project name, see Create a project. |
test-project |
| DatasetName |
string |
No |
The name of the dataset. For more information about how to obtain the dataset name, see Create a dataset. |
test-dataset |
| URI |
string |
No |
The URI of the OSS bucket to which the dataset is bound. The URI of an OSS bucket is in the oss://${Bucket} format, where |
oss://test-bucket |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response struct. |
||
| Binding | Binding |
The binding relationship information. |
|
| RequestId |
string |
The request ID. |
AEFCD467-C928-4A36-951A-6EB5A592**** |
Examples
Success response
JSON format
{
"Binding": {
"CreateTime": "2021-06-29T14:50:13.011643661+08:00",
"DatasetName": "dataset001",
"Phase": "FullScanning",
"ProjectName": "immtest",
"Reason": "pause usage",
"State": "Running",
"URI": "oss://examplebucket",
"UpdateTime": "2021-06-29T14:50:13.011643661+08:00"
},
"RequestId": "AEFCD467-C928-4A36-951A-6EB5A592****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.