Import Clone
post
/clones/sim/v1/importConfig
Import configuration data either from a configuration data file or from a configuration file URL. Execute create config before this call. To download the configuration data use the URL from Status response(this url will be active for 15 min only in Object storage) and then import
Request
Supported Media Types
- application/json
- multipart/form-data
Form Parameters
-
configDataFile: file
The config data file. Required if importType is 1.
Example: extract23101.zip -
configFileURL: string
The pre-authenticated URL of the object store from where the configuration can be cloned. Required if importType is 2.
Example: "https://objectstorage.us-ashburn-1.oraclecloud.com/n/idvvfekwvhut/b/extract23101.zip" -
importType(required): integer
The type of file for import.
Example: 1
Response
Supported Media Types
- application/json
200 Response
The request details after successfully submitting a request for the export operation.
Root Schema : CreateCloneResponse
Type:
object
Model for Create Clone Response Object
Show Source
-
requestId(required):
integer
Unique reference of the clone request. This attribute can be used to track the status of the clone request.Example:
1
-
requestTimeStampUTC(required):
string
The time stamp in UTC format for when the request was submitted.Example:
2022-10-10T00:00:00
400 Response
400 Bad Request
Root Schema : ErrorDetails
Type:
object
Response body when the request returns an error.
Show Source
-
detail(required):
string
A short, human-readable summary of the problem.Example:
Specified Data is invalid
-
errorDetails(required):
string
A human-readable explanation specific to this occurrence of the problem.Example:
Entity Does Not Exist
-
o:errorCode(required):
integer
Error code of the problemExample:
55223
-
status(required):
integer
HTTP status code.Example:
400
-
title(required):
string
A short, human-readable summary of the problem type.Example:
VALIDATION ERROR
-
type(required):
string
A URI reference that identifies the problem type. When this member is not present, its value is assumed to be "about:blank".Example:
http://www.abc.org/xyz.html