Skip to main content

connect_harnesses

Creates, updates, deletes, gets or lists a connect_harnesses resource.

Overview​

Nameconnect_harnesses
TypeResource
Idoci.streaming.connect_harnesses

Fields​

The following fields are returned by SELECT queries:

Summary representation of a ConnectHarness.

NameDatatypeDescription
idstringThe OCID of the connect harness. (example: ocid1.connectharness.realm.region.mnopqr789)
namestringThe name of the connect harness. Example: TelemetryEvents (example: TelemetryEvents)
compartmentIdstringThe OCID of the compartment that contains the connect harness. (example: ocid1.compartment.realm.region.zxcvbn432765)
definedTagsobjectDefined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm). Example: {"Operations": {"CostCenter": "42"}}
freeformTagsobjectFree-form tags for this resource. Each tag is a simple key-value pair that is applied with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm). Example: {"Department": "Finance"}
lifecycleStatestringThe current state of the connect harness. (CREATING, ACTIVE, DELETING, DELETED, FAILED, UPDATING)
timeCreatedstring (date-time)The date and time the connect harness was created, expressed in [RFC 3339](https:​//tools.ietf.org/rfc/rfc3339) timestamp format. Example: 2018-04-20T00:00:07.405Z

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectcompartmentId, regionid, name, limit, page, sortBy, sortOrder, lifecycleState, opc-request-idLists the connectharness.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
compartmentIdstringThe OCID of the compartment.
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
idstringA filter to return only resources that match the given ID exactly.
lifecycleStatestringA filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
limitintegerThe maximum number of items to return. The value must be between 1 and 50. The default is 10.
namestringA filter to return only resources that match the given name exactly.
opc-request-idstringThe unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
pagestringThe page at which to start retrieving results.
sortBystringThe field to sort by. You can provide no more than one sort order. By default, TIMECREATED sorts results in descending order and NAME sorts results in ascending order.
sortOrderstringThe sort order to use, either 'asc' or 'desc'.

SELECT examples​

Lists the connectharness.

SELECT
id,
name,
compartmentId,
definedTags,
freeformTags,
lifecycleState,
timeCreated
FROM oci.streaming.connect_harnesses
WHERE compartmentId = '{{ compartmentId }}' -- required
AND region = '{{ region }}' -- required
AND id = '{{ id }}'
AND name = '{{ name }}'
AND limit = '{{ limit }}'
AND page = '{{ page }}'
AND sortBy = '{{ sortBy }}'
AND sortOrder = '{{ sortOrder }}'
AND lifecycleState = '{{ lifecycleState }}'
AND opc-request-id = '{{ opc-request-id }}'
;