1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Streaming
  5. getConnectHarness
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

oci.Streaming.getConnectHarness

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

This data source provides details about a specific Connect Harness resource in Oracle Cloud Infrastructure Streaming service.

Gets detailed information about a connect harness.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testConnectHarness = oci.Streaming.getConnectHarness({
    connectHarnessId: testConnectHarnes.id,
});
Copy
import pulumi
import pulumi_oci as oci

test_connect_harness = oci.Streaming.get_connect_harness(connect_harness_id=test_connect_harnes["id"])
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/streaming"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := streaming.GetConnectHarness(ctx, &streaming.GetConnectHarnessArgs{
			ConnectHarnessId: testConnectHarnes.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testConnectHarness = Oci.Streaming.GetConnectHarness.Invoke(new()
    {
        ConnectHarnessId = testConnectHarnes.Id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Streaming.StreamingFunctions;
import com.pulumi.oci.Streaming.inputs.GetConnectHarnessArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var testConnectHarness = StreamingFunctions.getConnectHarness(GetConnectHarnessArgs.builder()
            .connectHarnessId(testConnectHarnes.id())
            .build());

    }
}
Copy
variables:
  testConnectHarness:
    fn::invoke:
      function: oci:Streaming:getConnectHarness
      arguments:
        connectHarnessId: ${testConnectHarnes.id}
Copy

Using getConnectHarness

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getConnectHarness(args: GetConnectHarnessArgs, opts?: InvokeOptions): Promise<GetConnectHarnessResult>
function getConnectHarnessOutput(args: GetConnectHarnessOutputArgs, opts?: InvokeOptions): Output<GetConnectHarnessResult>
Copy
def get_connect_harness(connect_harness_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetConnectHarnessResult
def get_connect_harness_output(connect_harness_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetConnectHarnessResult]
Copy
func GetConnectHarness(ctx *Context, args *GetConnectHarnessArgs, opts ...InvokeOption) (*GetConnectHarnessResult, error)
func GetConnectHarnessOutput(ctx *Context, args *GetConnectHarnessOutputArgs, opts ...InvokeOption) GetConnectHarnessResultOutput
Copy

> Note: This function is named GetConnectHarness in the Go SDK.

public static class GetConnectHarness 
{
    public static Task<GetConnectHarnessResult> InvokeAsync(GetConnectHarnessArgs args, InvokeOptions? opts = null)
    public static Output<GetConnectHarnessResult> Invoke(GetConnectHarnessInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetConnectHarnessResult> getConnectHarness(GetConnectHarnessArgs args, InvokeOptions options)
public static Output<GetConnectHarnessResult> getConnectHarness(GetConnectHarnessArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Streaming/getConnectHarness:getConnectHarness
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ConnectHarnessId This property is required. string
The OCID of the connect harness.
ConnectHarnessId This property is required. string
The OCID of the connect harness.
connectHarnessId This property is required. String
The OCID of the connect harness.
connectHarnessId This property is required. string
The OCID of the connect harness.
connect_harness_id This property is required. str
The OCID of the connect harness.
connectHarnessId This property is required. String
The OCID of the connect harness.

getConnectHarness Result

The following output properties are available:

CompartmentId string
The OCID of the compartment that contains the connect harness.
ConnectHarnessId string
DefinedTags Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"Operations": {"CostCenter": "42"}}'
FreeformTags Dictionary<string, string>
Free-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. Example: {"Department": "Finance"}
Id string
The OCID of the connect harness.
LifecycleStateDetails string
Any additional details about the current state of the connect harness.
Name string
The name of the connect harness. Avoid entering confidential information. Example: JDBCConnector
State string
The current state of the connect harness.
TimeCreated string
The date and time the connect harness was created, expressed in in RFC 3339 timestamp format. Example: 2018-04-20T00:00:07.405Z
CompartmentId string
The OCID of the compartment that contains the connect harness.
ConnectHarnessId string
DefinedTags map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"Operations": {"CostCenter": "42"}}'
FreeformTags map[string]string
Free-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. Example: {"Department": "Finance"}
Id string
The OCID of the connect harness.
LifecycleStateDetails string
Any additional details about the current state of the connect harness.
Name string
The name of the connect harness. Avoid entering confidential information. Example: JDBCConnector
State string
The current state of the connect harness.
TimeCreated string
The date and time the connect harness was created, expressed in in RFC 3339 timestamp format. Example: 2018-04-20T00:00:07.405Z
compartmentId String
The OCID of the compartment that contains the connect harness.
connectHarnessId String
definedTags Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"Operations": {"CostCenter": "42"}}'
freeformTags Map<String,String>
Free-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. Example: {"Department": "Finance"}
id String
The OCID of the connect harness.
lifecycleStateDetails String
Any additional details about the current state of the connect harness.
name String
The name of the connect harness. Avoid entering confidential information. Example: JDBCConnector
state String
The current state of the connect harness.
timeCreated String
The date and time the connect harness was created, expressed in in RFC 3339 timestamp format. Example: 2018-04-20T00:00:07.405Z
compartmentId string
The OCID of the compartment that contains the connect harness.
connectHarnessId string
definedTags {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"Operations": {"CostCenter": "42"}}'
freeformTags {[key: string]: string}
Free-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. Example: {"Department": "Finance"}
id string
The OCID of the connect harness.
lifecycleStateDetails string
Any additional details about the current state of the connect harness.
name string
The name of the connect harness. Avoid entering confidential information. Example: JDBCConnector
state string
The current state of the connect harness.
timeCreated string
The date and time the connect harness was created, expressed in in RFC 3339 timestamp format. Example: 2018-04-20T00:00:07.405Z
compartment_id str
The OCID of the compartment that contains the connect harness.
connect_harness_id str
defined_tags Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"Operations": {"CostCenter": "42"}}'
freeform_tags Mapping[str, str]
Free-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. Example: {"Department": "Finance"}
id str
The OCID of the connect harness.
lifecycle_state_details str
Any additional details about the current state of the connect harness.
name str
The name of the connect harness. Avoid entering confidential information. Example: JDBCConnector
state str
The current state of the connect harness.
time_created str
The date and time the connect harness was created, expressed in in RFC 3339 timestamp format. Example: 2018-04-20T00:00:07.405Z
compartmentId String
The OCID of the compartment that contains the connect harness.
connectHarnessId String
definedTags Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"Operations": {"CostCenter": "42"}}'
freeformTags Map<String>
Free-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. Example: {"Department": "Finance"}
id String
The OCID of the connect harness.
lifecycleStateDetails String
Any additional details about the current state of the connect harness.
name String
The name of the connect harness. Avoid entering confidential information. Example: JDBCConnector
state String
The current state of the connect harness.
timeCreated String
The date and time the connect harness was created, expressed in in RFC 3339 timestamp format. Example: 2018-04-20T00:00:07.405Z

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi