All Products
Search
Document Center

AttachDataSet

Last Updated: Jan 22, 2021

Description

Uses a dataset of a specific version of a specified instance to provide online services.

Method

POST

URI

/openapi/instances/{instanceId}/dataSets/{versionId}/actions/current

Response parameters

Parameter

Type

Description

RequestId

String

The ID of the request.

Result

DataSet

Details about the dataset.

Sample requests

POST /openapi/instances/airec-cn-xxxxx/dataSets/20181023214546/actions/current

Sample responses

JSON format

{
    "RequestId":"8F81A922-6C81-46D6-B78C-CC35E16B1691",
    "Result":{
        "InstanceId":  "airec-cn-xxxxx",
        "VersionId": "20181023214546",
        "State": "Importing",
        "GmtCreate": 1537531932000,
        "GmtModified": 1537531932000
    }
}