Creates a new DataAsset
POST {{baseUrl}}/dataAssets
Creates a new DataAsset.
Request Body
{"compartmentId"=>"{{compartment_ocid}}", "projectId"=>"ocid1.aianomalydetectionproject.oc1....", "dataSourceDetails"=>{"dataSourceType"=>"INFLUX"}, "description"=>"elit amet consequat Duis", "displayName"=>"eu eiusmod occaecat quis mollit", "privateEndpointId"=>"tempor aliqua Ut"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case of a timeout or | |
server error without risk of executing that same action again. Retry tokens expire after 24 | |||
hours, but can be invalidated before then due to conflicting operations. For example, if a resource | |||
has been deleted and purged from the system, then a retry of the original creation request | |||
might be rejected. | |||
opc-request-id | string | The client request ID for tracing. | |
Content-Type | string | ||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header | |
x-content-sha256 | string | (Required) Content sha256 for POST, PUT and PATCH operations |
RESPONSES
status: OK
{"id":"ex","compartmentId":"sit","displayName":"velit","lifecycleState":"DELETED","projectId":"dolor","timeCreated":"1984-05-09T23:54:14.606Z","dataSourceDetails":{"dataSourceType":"ORACLE_OBJECT_STORAGE"},"definedTags":{},"description":"est pariatur consequat cupidatat","freeformTags":{},"privateEndpointId":"veniam","systemTags":{},"timeUpdated":"1943-06-07T05:50:03.486Z"}