Create a connect harness
POST {{baseUrl}}/connectharnesses
Starts the provisioning of a new connect harness.
To track the progress of the provisioning, you can periodically call [GetConnectHarness].
In the response, the lifecycleState
parameter of the ConnectHarness object tells you its current state.
Request Body
{"compartmentId"=>"{{compartment_ocid}}", "name"=>"JDBCConnector"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a | |
particular request, please provide the request ID. | |||
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 may be rejected). | |
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
{"compartmentId":"ocid1.compartment.realm.region.zxcvbn432765","id":"ocid1.connectharness.realm.region.mnopqr789","lifecycleState":"DELETING","name":"TelemetryEvents","timeCreated":"1986-05-13T16:05:44.954Z","definedTags":{},"freeformTags":{},"lifecycleStateDetails":"anim in"}