1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Sch
  5. Connector
Oracle Cloud Infrastructure v2.3.0 published on Wednesday, Jul 17, 2024 by Pulumi

oci.Sch.Connector

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.3.0 published on Wednesday, Jul 17, 2024 by Pulumi

    This resource provides the Service Connector resource in Oracle Cloud Infrastructure Service Connector Hub service.

    Creates a new connector in the specified compartment. A connector is a logically defined flow for moving data from a source service to a destination service in Oracle Cloud Infrastructure. For more information, see Creating a Connector. For general information about connectors, see Overview of Connector Hub.

    For purposes of access control, you must provide the OCID of the compartment where you want the connector to reside. Notice that the connector doesn’t have to be in the same compartment as the source or target services. For information about access control and compartments, see Overview of the IAM Service.

    After you send your request, the new connector’s state is temporarily CREATING. When the state changes to ACTIVE, data begins transferring from the source service to the target service. For instructions on deactivating and activating connectors, see Activating a Connector.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testServiceConnector = new oci.sch.Connector("test_service_connector", {
        compartmentId: compartmentId,
        displayName: serviceConnectorDisplayName,
        source: {
            kind: serviceConnectorSourceKind,
            configMap: serviceConnectorSourceConfigMap,
            cursor: {
                kind: serviceConnectorSourceCursorKind,
            },
            logSources: [{
                compartmentId: compartmentId,
                logGroupId: testLogGroup.id,
                logId: testLog.id,
            }],
            monitoringSources: [{
                compartmentId: compartmentId,
                namespaceDetails: {
                    kind: serviceConnectorSourceMonitoringSourcesNamespaceDetailsKind,
                    namespaces: [{
                        metrics: {
                            kind: serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesMetricsKind,
                        },
                        namespace: serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesNamespace,
                    }],
                },
            }],
            pluginName: serviceConnectorSourcePluginName,
            streamId: testStream.id,
        },
        target: {
            kind: serviceConnectorTargetKind,
            batchRolloverSizeInMbs: serviceConnectorTargetBatchRolloverSizeInMbs,
            batchRolloverTimeInMs: serviceConnectorTargetBatchRolloverTimeInMs,
            batchSizeInKbs: serviceConnectorTargetBatchSizeInKbs,
            batchSizeInNum: serviceConnectorTargetBatchSizeInNum,
            batchTimeInSec: serviceConnectorTargetBatchTimeInSec,
            bucket: serviceConnectorTargetBucket,
            compartmentId: compartmentId,
            dimensions: [{
                dimensionValue: {
                    kind: serviceConnectorTargetDimensionsDimensionValueKind,
                    path: serviceConnectorTargetDimensionsDimensionValuePath,
                    value: serviceConnectorTargetDimensionsDimensionValueValue,
                },
                name: serviceConnectorTargetDimensionsName,
            }],
            enableFormattedMessaging: serviceConnectorTargetEnableFormattedMessaging,
            functionId: testFunction.id,
            logGroupId: testLogGroup.id,
            logSourceIdentifier: serviceConnectorTargetLogSourceIdentifier,
            metric: serviceConnectorTargetMetric,
            metricNamespace: serviceConnectorTargetMetricNamespace,
            namespace: serviceConnectorTargetNamespace,
            objectNamePrefix: serviceConnectorTargetObjectNamePrefix,
            streamId: testStream.id,
            topicId: testNotificationTopic.id,
        },
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        description: serviceConnectorDescription,
        freeformTags: {
            "bar-key": "value",
        },
        tasks: [{
            kind: serviceConnectorTasksKind,
            batchSizeInKbs: serviceConnectorTasksBatchSizeInKbs,
            batchTimeInSec: serviceConnectorTasksBatchTimeInSec,
            condition: serviceConnectorTasksCondition,
            functionId: testFunction.id,
        }],
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_service_connector = oci.sch.Connector("test_service_connector",
        compartment_id=compartment_id,
        display_name=service_connector_display_name,
        source=oci.sch.ConnectorSourceArgs(
            kind=service_connector_source_kind,
            config_map=service_connector_source_config_map,
            cursor=oci.sch.ConnectorSourceCursorArgs(
                kind=service_connector_source_cursor_kind,
            ),
            log_sources=[oci.sch.ConnectorSourceLogSourceArgs(
                compartment_id=compartment_id,
                log_group_id=test_log_group["id"],
                log_id=test_log["id"],
            )],
            monitoring_sources=[oci.sch.ConnectorSourceMonitoringSourceArgs(
                compartment_id=compartment_id,
                namespace_details=oci.sch.ConnectorSourceMonitoringSourceNamespaceDetailsArgs(
                    kind=service_connector_source_monitoring_sources_namespace_details_kind,
                    namespaces=[oci.sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs(
                        metrics=oci.sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs(
                            kind=service_connector_source_monitoring_sources_namespace_details_namespaces_metrics_kind,
                        ),
                        namespace=service_connector_source_monitoring_sources_namespace_details_namespaces_namespace,
                    )],
                ),
            )],
            plugin_name=service_connector_source_plugin_name,
            stream_id=test_stream["id"],
        ),
        target=oci.sch.ConnectorTargetArgs(
            kind=service_connector_target_kind,
            batch_rollover_size_in_mbs=service_connector_target_batch_rollover_size_in_mbs,
            batch_rollover_time_in_ms=service_connector_target_batch_rollover_time_in_ms,
            batch_size_in_kbs=service_connector_target_batch_size_in_kbs,
            batch_size_in_num=service_connector_target_batch_size_in_num,
            batch_time_in_sec=service_connector_target_batch_time_in_sec,
            bucket=service_connector_target_bucket,
            compartment_id=compartment_id,
            dimensions=[oci.sch.ConnectorTargetDimensionArgs(
                dimension_value=oci.sch.ConnectorTargetDimensionDimensionValueArgs(
                    kind=service_connector_target_dimensions_dimension_value_kind,
                    path=service_connector_target_dimensions_dimension_value_path,
                    value=service_connector_target_dimensions_dimension_value_value,
                ),
                name=service_connector_target_dimensions_name,
            )],
            enable_formatted_messaging=service_connector_target_enable_formatted_messaging,
            function_id=test_function["id"],
            log_group_id=test_log_group["id"],
            log_source_identifier=service_connector_target_log_source_identifier,
            metric=service_connector_target_metric,
            metric_namespace=service_connector_target_metric_namespace,
            namespace=service_connector_target_namespace,
            object_name_prefix=service_connector_target_object_name_prefix,
            stream_id=test_stream["id"],
            topic_id=test_notification_topic["id"],
        ),
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        description=service_connector_description,
        freeform_tags={
            "bar-key": "value",
        },
        tasks=[oci.sch.ConnectorTaskArgs(
            kind=service_connector_tasks_kind,
            batch_size_in_kbs=service_connector_tasks_batch_size_in_kbs,
            batch_time_in_sec=service_connector_tasks_batch_time_in_sec,
            condition=service_connector_tasks_condition,
            function_id=test_function["id"],
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Sch"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Sch.NewConnector(ctx, "test_service_connector", &Sch.ConnectorArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			DisplayName:   pulumi.Any(serviceConnectorDisplayName),
    			Source: &sch.ConnectorSourceArgs{
    				Kind:      pulumi.Any(serviceConnectorSourceKind),
    				ConfigMap: pulumi.Any(serviceConnectorSourceConfigMap),
    				Cursor: &sch.ConnectorSourceCursorArgs{
    					Kind: pulumi.Any(serviceConnectorSourceCursorKind),
    				},
    				LogSources: sch.ConnectorSourceLogSourceArray{
    					&sch.ConnectorSourceLogSourceArgs{
    						CompartmentId: pulumi.Any(compartmentId),
    						LogGroupId:    pulumi.Any(testLogGroup.Id),
    						LogId:         pulumi.Any(testLog.Id),
    					},
    				},
    				MonitoringSources: sch.ConnectorSourceMonitoringSourceArray{
    					&sch.ConnectorSourceMonitoringSourceArgs{
    						CompartmentId: pulumi.Any(compartmentId),
    						NamespaceDetails: &sch.ConnectorSourceMonitoringSourceNamespaceDetailsArgs{
    							Kind: pulumi.Any(serviceConnectorSourceMonitoringSourcesNamespaceDetailsKind),
    							Namespaces: sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArray{
    								&sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs{
    									Metrics: &sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs{
    										Kind: pulumi.Any(serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesMetricsKind),
    									},
    									Namespace: pulumi.Any(serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesNamespace),
    								},
    							},
    						},
    					},
    				},
    				PluginName: pulumi.Any(serviceConnectorSourcePluginName),
    				StreamId:   pulumi.Any(testStream.Id),
    			},
    			Target: &sch.ConnectorTargetArgs{
    				Kind:                   pulumi.Any(serviceConnectorTargetKind),
    				BatchRolloverSizeInMbs: pulumi.Any(serviceConnectorTargetBatchRolloverSizeInMbs),
    				BatchRolloverTimeInMs:  pulumi.Any(serviceConnectorTargetBatchRolloverTimeInMs),
    				BatchSizeInKbs:         pulumi.Any(serviceConnectorTargetBatchSizeInKbs),
    				BatchSizeInNum:         pulumi.Any(serviceConnectorTargetBatchSizeInNum),
    				BatchTimeInSec:         pulumi.Any(serviceConnectorTargetBatchTimeInSec),
    				Bucket:                 pulumi.Any(serviceConnectorTargetBucket),
    				CompartmentId:          pulumi.Any(compartmentId),
    				Dimensions: sch.ConnectorTargetDimensionArray{
    					&sch.ConnectorTargetDimensionArgs{
    						DimensionValue: &sch.ConnectorTargetDimensionDimensionValueArgs{
    							Kind:  pulumi.Any(serviceConnectorTargetDimensionsDimensionValueKind),
    							Path:  pulumi.Any(serviceConnectorTargetDimensionsDimensionValuePath),
    							Value: pulumi.Any(serviceConnectorTargetDimensionsDimensionValueValue),
    						},
    						Name: pulumi.Any(serviceConnectorTargetDimensionsName),
    					},
    				},
    				EnableFormattedMessaging: pulumi.Any(serviceConnectorTargetEnableFormattedMessaging),
    				FunctionId:               pulumi.Any(testFunction.Id),
    				LogGroupId:               pulumi.Any(testLogGroup.Id),
    				LogSourceIdentifier:      pulumi.Any(serviceConnectorTargetLogSourceIdentifier),
    				Metric:                   pulumi.Any(serviceConnectorTargetMetric),
    				MetricNamespace:          pulumi.Any(serviceConnectorTargetMetricNamespace),
    				Namespace:                pulumi.Any(serviceConnectorTargetNamespace),
    				ObjectNamePrefix:         pulumi.Any(serviceConnectorTargetObjectNamePrefix),
    				StreamId:                 pulumi.Any(testStream.Id),
    				TopicId:                  pulumi.Any(testNotificationTopic.Id),
    			},
    			DefinedTags: pulumi.Map{
    				"foo-namespace.bar-key": pulumi.Any("value"),
    			},
    			Description: pulumi.Any(serviceConnectorDescription),
    			FreeformTags: pulumi.Map{
    				"bar-key": pulumi.Any("value"),
    			},
    			Tasks: sch.ConnectorTaskArray{
    				&sch.ConnectorTaskArgs{
    					Kind:           pulumi.Any(serviceConnectorTasksKind),
    					BatchSizeInKbs: pulumi.Any(serviceConnectorTasksBatchSizeInKbs),
    					BatchTimeInSec: pulumi.Any(serviceConnectorTasksBatchTimeInSec),
    					Condition:      pulumi.Any(serviceConnectorTasksCondition),
    					FunctionId:     pulumi.Any(testFunction.Id),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testServiceConnector = new Oci.Sch.Connector("test_service_connector", new()
        {
            CompartmentId = compartmentId,
            DisplayName = serviceConnectorDisplayName,
            Source = new Oci.Sch.Inputs.ConnectorSourceArgs
            {
                Kind = serviceConnectorSourceKind,
                ConfigMap = serviceConnectorSourceConfigMap,
                Cursor = new Oci.Sch.Inputs.ConnectorSourceCursorArgs
                {
                    Kind = serviceConnectorSourceCursorKind,
                },
                LogSources = new[]
                {
                    new Oci.Sch.Inputs.ConnectorSourceLogSourceArgs
                    {
                        CompartmentId = compartmentId,
                        LogGroupId = testLogGroup.Id,
                        LogId = testLog.Id,
                    },
                },
                MonitoringSources = new[]
                {
                    new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceArgs
                    {
                        CompartmentId = compartmentId,
                        NamespaceDetails = new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceNamespaceDetailsArgs
                        {
                            Kind = serviceConnectorSourceMonitoringSourcesNamespaceDetailsKind,
                            Namespaces = new[]
                            {
                                new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs
                                {
                                    Metrics = new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs
                                    {
                                        Kind = serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesMetricsKind,
                                    },
                                    Namespace = serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesNamespace,
                                },
                            },
                        },
                    },
                },
                PluginName = serviceConnectorSourcePluginName,
                StreamId = testStream.Id,
            },
            Target = new Oci.Sch.Inputs.ConnectorTargetArgs
            {
                Kind = serviceConnectorTargetKind,
                BatchRolloverSizeInMbs = serviceConnectorTargetBatchRolloverSizeInMbs,
                BatchRolloverTimeInMs = serviceConnectorTargetBatchRolloverTimeInMs,
                BatchSizeInKbs = serviceConnectorTargetBatchSizeInKbs,
                BatchSizeInNum = serviceConnectorTargetBatchSizeInNum,
                BatchTimeInSec = serviceConnectorTargetBatchTimeInSec,
                Bucket = serviceConnectorTargetBucket,
                CompartmentId = compartmentId,
                Dimensions = new[]
                {
                    new Oci.Sch.Inputs.ConnectorTargetDimensionArgs
                    {
                        DimensionValue = new Oci.Sch.Inputs.ConnectorTargetDimensionDimensionValueArgs
                        {
                            Kind = serviceConnectorTargetDimensionsDimensionValueKind,
                            Path = serviceConnectorTargetDimensionsDimensionValuePath,
                            Value = serviceConnectorTargetDimensionsDimensionValueValue,
                        },
                        Name = serviceConnectorTargetDimensionsName,
                    },
                },
                EnableFormattedMessaging = serviceConnectorTargetEnableFormattedMessaging,
                FunctionId = testFunction.Id,
                LogGroupId = testLogGroup.Id,
                LogSourceIdentifier = serviceConnectorTargetLogSourceIdentifier,
                Metric = serviceConnectorTargetMetric,
                MetricNamespace = serviceConnectorTargetMetricNamespace,
                Namespace = serviceConnectorTargetNamespace,
                ObjectNamePrefix = serviceConnectorTargetObjectNamePrefix,
                StreamId = testStream.Id,
                TopicId = testNotificationTopic.Id,
            },
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            Description = serviceConnectorDescription,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            Tasks = new[]
            {
                new Oci.Sch.Inputs.ConnectorTaskArgs
                {
                    Kind = serviceConnectorTasksKind,
                    BatchSizeInKbs = serviceConnectorTasksBatchSizeInKbs,
                    BatchTimeInSec = serviceConnectorTasksBatchTimeInSec,
                    Condition = serviceConnectorTasksCondition,
                    FunctionId = testFunction.Id,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Sch.Connector;
    import com.pulumi.oci.Sch.ConnectorArgs;
    import com.pulumi.oci.Sch.inputs.ConnectorSourceArgs;
    import com.pulumi.oci.Sch.inputs.ConnectorSourceCursorArgs;
    import com.pulumi.oci.Sch.inputs.ConnectorTargetArgs;
    import com.pulumi.oci.Sch.inputs.ConnectorTaskArgs;
    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) {
            var testServiceConnector = new Connector("testServiceConnector", ConnectorArgs.builder()
                .compartmentId(compartmentId)
                .displayName(serviceConnectorDisplayName)
                .source(ConnectorSourceArgs.builder()
                    .kind(serviceConnectorSourceKind)
                    .configMap(serviceConnectorSourceConfigMap)
                    .cursor(ConnectorSourceCursorArgs.builder()
                        .kind(serviceConnectorSourceCursorKind)
                        .build())
                    .logSources(ConnectorSourceLogSourceArgs.builder()
                        .compartmentId(compartmentId)
                        .logGroupId(testLogGroup.id())
                        .logId(testLog.id())
                        .build())
                    .monitoringSources(ConnectorSourceMonitoringSourceArgs.builder()
                        .compartmentId(compartmentId)
                        .namespaceDetails(ConnectorSourceMonitoringSourceNamespaceDetailsArgs.builder()
                            .kind(serviceConnectorSourceMonitoringSourcesNamespaceDetailsKind)
                            .namespaces(ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs.builder()
                                .metrics(ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs.builder()
                                    .kind(serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesMetricsKind)
                                    .build())
                                .namespace(serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesNamespace)
                                .build())
                            .build())
                        .build())
                    .pluginName(serviceConnectorSourcePluginName)
                    .streamId(testStream.id())
                    .build())
                .target(ConnectorTargetArgs.builder()
                    .kind(serviceConnectorTargetKind)
                    .batchRolloverSizeInMbs(serviceConnectorTargetBatchRolloverSizeInMbs)
                    .batchRolloverTimeInMs(serviceConnectorTargetBatchRolloverTimeInMs)
                    .batchSizeInKbs(serviceConnectorTargetBatchSizeInKbs)
                    .batchSizeInNum(serviceConnectorTargetBatchSizeInNum)
                    .batchTimeInSec(serviceConnectorTargetBatchTimeInSec)
                    .bucket(serviceConnectorTargetBucket)
                    .compartmentId(compartmentId)
                    .dimensions(ConnectorTargetDimensionArgs.builder()
                        .dimensionValue(ConnectorTargetDimensionDimensionValueArgs.builder()
                            .kind(serviceConnectorTargetDimensionsDimensionValueKind)
                            .path(serviceConnectorTargetDimensionsDimensionValuePath)
                            .value(serviceConnectorTargetDimensionsDimensionValueValue)
                            .build())
                        .name(serviceConnectorTargetDimensionsName)
                        .build())
                    .enableFormattedMessaging(serviceConnectorTargetEnableFormattedMessaging)
                    .functionId(testFunction.id())
                    .logGroupId(testLogGroup.id())
                    .logSourceIdentifier(serviceConnectorTargetLogSourceIdentifier)
                    .metric(serviceConnectorTargetMetric)
                    .metricNamespace(serviceConnectorTargetMetricNamespace)
                    .namespace(serviceConnectorTargetNamespace)
                    .objectNamePrefix(serviceConnectorTargetObjectNamePrefix)
                    .streamId(testStream.id())
                    .topicId(testNotificationTopic.id())
                    .build())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .description(serviceConnectorDescription)
                .freeformTags(Map.of("bar-key", "value"))
                .tasks(ConnectorTaskArgs.builder()
                    .kind(serviceConnectorTasksKind)
                    .batchSizeInKbs(serviceConnectorTasksBatchSizeInKbs)
                    .batchTimeInSec(serviceConnectorTasksBatchTimeInSec)
                    .condition(serviceConnectorTasksCondition)
                    .functionId(testFunction.id())
                    .build())
                .build());
    
        }
    }
    
    resources:
      testServiceConnector:
        type: oci:Sch:Connector
        name: test_service_connector
        properties:
          compartmentId: ${compartmentId}
          displayName: ${serviceConnectorDisplayName}
          source:
            kind: ${serviceConnectorSourceKind}
            configMap: ${serviceConnectorSourceConfigMap}
            cursor:
              kind: ${serviceConnectorSourceCursorKind}
            logSources:
              - compartmentId: ${compartmentId}
                logGroupId: ${testLogGroup.id}
                logId: ${testLog.id}
            monitoringSources:
              - compartmentId: ${compartmentId}
                namespaceDetails:
                  kind: ${serviceConnectorSourceMonitoringSourcesNamespaceDetailsKind}
                  namespaces:
                    - metrics:
                        kind: ${serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesMetricsKind}
                      namespace: ${serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesNamespace}
            pluginName: ${serviceConnectorSourcePluginName}
            streamId: ${testStream.id}
          target:
            kind: ${serviceConnectorTargetKind}
            batchRolloverSizeInMbs: ${serviceConnectorTargetBatchRolloverSizeInMbs}
            batchRolloverTimeInMs: ${serviceConnectorTargetBatchRolloverTimeInMs}
            batchSizeInKbs: ${serviceConnectorTargetBatchSizeInKbs}
            batchSizeInNum: ${serviceConnectorTargetBatchSizeInNum}
            batchTimeInSec: ${serviceConnectorTargetBatchTimeInSec}
            bucket: ${serviceConnectorTargetBucket}
            compartmentId: ${compartmentId}
            dimensions:
              - dimensionValue:
                  kind: ${serviceConnectorTargetDimensionsDimensionValueKind}
                  path: ${serviceConnectorTargetDimensionsDimensionValuePath}
                  value: ${serviceConnectorTargetDimensionsDimensionValueValue}
                name: ${serviceConnectorTargetDimensionsName}
            enableFormattedMessaging: ${serviceConnectorTargetEnableFormattedMessaging}
            functionId: ${testFunction.id}
            logGroupId: ${testLogGroup.id}
            logSourceIdentifier: ${serviceConnectorTargetLogSourceIdentifier}
            metric: ${serviceConnectorTargetMetric}
            metricNamespace: ${serviceConnectorTargetMetricNamespace}
            namespace: ${serviceConnectorTargetNamespace}
            objectNamePrefix: ${serviceConnectorTargetObjectNamePrefix}
            streamId: ${testStream.id}
            topicId: ${testNotificationTopic.id}
          definedTags:
            foo-namespace.bar-key: value
          description: ${serviceConnectorDescription}
          freeformTags:
            bar-key: value
          tasks:
            - kind: ${serviceConnectorTasksKind}
              batchSizeInKbs: ${serviceConnectorTasksBatchSizeInKbs}
              batchTimeInSec: ${serviceConnectorTasksBatchTimeInSec}
              condition: ${serviceConnectorTasksCondition}
              functionId: ${testFunction.id}
    

    Create Connector Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Connector(name: string, args: ConnectorArgs, opts?: CustomResourceOptions);
    @overload
    def Connector(resource_name: str,
                  args: ConnectorArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Connector(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  compartment_id: Optional[str] = None,
                  display_name: Optional[str] = None,
                  source: Optional[_sch.ConnectorSourceArgs] = None,
                  target: Optional[_sch.ConnectorTargetArgs] = None,
                  defined_tags: Optional[Mapping[str, Any]] = None,
                  description: Optional[str] = None,
                  freeform_tags: Optional[Mapping[str, Any]] = None,
                  state: Optional[str] = None,
                  tasks: Optional[Sequence[_sch.ConnectorTaskArgs]] = None)
    func NewConnector(ctx *Context, name string, args ConnectorArgs, opts ...ResourceOption) (*Connector, error)
    public Connector(string name, ConnectorArgs args, CustomResourceOptions? opts = null)
    public Connector(String name, ConnectorArgs args)
    public Connector(String name, ConnectorArgs args, CustomResourceOptions options)
    
    type: oci:Sch:Connector
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ConnectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ConnectorArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ConnectorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConnectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConnectorArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var connectorResource = new Oci.Sch.Connector("connectorResource", new()
    {
        CompartmentId = "string",
        DisplayName = "string",
        Source = new Oci.Sch.Inputs.ConnectorSourceArgs
        {
            Kind = "string",
            ConfigMap = "string",
            Cursor = new Oci.Sch.Inputs.ConnectorSourceCursorArgs
            {
                Kind = "string",
            },
            LogSources = new[]
            {
                new Oci.Sch.Inputs.ConnectorSourceLogSourceArgs
                {
                    CompartmentId = "string",
                    LogGroupId = "string",
                    LogId = "string",
                },
            },
            MonitoringSources = new[]
            {
                new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceArgs
                {
                    CompartmentId = "string",
                    NamespaceDetails = new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceNamespaceDetailsArgs
                    {
                        Kind = "string",
                        Namespaces = new[]
                        {
                            new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs
                            {
                                Metrics = new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs
                                {
                                    Kind = "string",
                                },
                                Namespace = "string",
                            },
                        },
                    },
                },
            },
            PluginName = "string",
            StreamId = "string",
        },
        Target = new Oci.Sch.Inputs.ConnectorTargetArgs
        {
            Kind = "string",
            EnableFormattedMessaging = false,
            BatchSizeInNum = 0,
            BatchRolloverTimeInMs = 0,
            LogGroupId = "string",
            Bucket = "string",
            CompartmentId = "string",
            Dimensions = new[]
            {
                new Oci.Sch.Inputs.ConnectorTargetDimensionArgs
                {
                    DimensionValue = new Oci.Sch.Inputs.ConnectorTargetDimensionDimensionValueArgs
                    {
                        Kind = "string",
                        Path = "string",
                        Value = "string",
                    },
                    Name = "string",
                },
            },
            BatchRolloverSizeInMbs = 0,
            TopicId = "string",
            BatchSizeInKbs = 0,
            BatchTimeInSec = 0,
            LogSourceIdentifier = "string",
            Metric = "string",
            MetricNamespace = "string",
            Namespace = "string",
            ObjectNamePrefix = "string",
            StreamId = "string",
            FunctionId = "string",
        },
        DefinedTags = 
        {
            { "string", "any" },
        },
        Description = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
        State = "string",
        Tasks = new[]
        {
            new Oci.Sch.Inputs.ConnectorTaskArgs
            {
                Kind = "string",
                BatchSizeInKbs = 0,
                BatchTimeInSec = 0,
                Condition = "string",
                FunctionId = "string",
            },
        },
    });
    
    example, err := Sch.NewConnector(ctx, "connectorResource", &Sch.ConnectorArgs{
    	CompartmentId: pulumi.String("string"),
    	DisplayName:   pulumi.String("string"),
    	Source: &sch.ConnectorSourceArgs{
    		Kind:      pulumi.String("string"),
    		ConfigMap: pulumi.String("string"),
    		Cursor: &sch.ConnectorSourceCursorArgs{
    			Kind: pulumi.String("string"),
    		},
    		LogSources: sch.ConnectorSourceLogSourceArray{
    			&sch.ConnectorSourceLogSourceArgs{
    				CompartmentId: pulumi.String("string"),
    				LogGroupId:    pulumi.String("string"),
    				LogId:         pulumi.String("string"),
    			},
    		},
    		MonitoringSources: sch.ConnectorSourceMonitoringSourceArray{
    			&sch.ConnectorSourceMonitoringSourceArgs{
    				CompartmentId: pulumi.String("string"),
    				NamespaceDetails: &sch.ConnectorSourceMonitoringSourceNamespaceDetailsArgs{
    					Kind: pulumi.String("string"),
    					Namespaces: sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArray{
    						&sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs{
    							Metrics: &sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs{
    								Kind: pulumi.String("string"),
    							},
    							Namespace: pulumi.String("string"),
    						},
    					},
    				},
    			},
    		},
    		PluginName: pulumi.String("string"),
    		StreamId:   pulumi.String("string"),
    	},
    	Target: &sch.ConnectorTargetArgs{
    		Kind:                     pulumi.String("string"),
    		EnableFormattedMessaging: pulumi.Bool(false),
    		BatchSizeInNum:           pulumi.Int(0),
    		BatchRolloverTimeInMs:    pulumi.Int(0),
    		LogGroupId:               pulumi.String("string"),
    		Bucket:                   pulumi.String("string"),
    		CompartmentId:            pulumi.String("string"),
    		Dimensions: sch.ConnectorTargetDimensionArray{
    			&sch.ConnectorTargetDimensionArgs{
    				DimensionValue: &sch.ConnectorTargetDimensionDimensionValueArgs{
    					Kind:  pulumi.String("string"),
    					Path:  pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    				Name: pulumi.String("string"),
    			},
    		},
    		BatchRolloverSizeInMbs: pulumi.Int(0),
    		TopicId:                pulumi.String("string"),
    		BatchSizeInKbs:         pulumi.Int(0),
    		BatchTimeInSec:         pulumi.Int(0),
    		LogSourceIdentifier:    pulumi.String("string"),
    		Metric:                 pulumi.String("string"),
    		MetricNamespace:        pulumi.String("string"),
    		Namespace:              pulumi.String("string"),
    		ObjectNamePrefix:       pulumi.String("string"),
    		StreamId:               pulumi.String("string"),
    		FunctionId:             pulumi.String("string"),
    	},
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Description: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	State: pulumi.String("string"),
    	Tasks: sch.ConnectorTaskArray{
    		&sch.ConnectorTaskArgs{
    			Kind:           pulumi.String("string"),
    			BatchSizeInKbs: pulumi.Int(0),
    			BatchTimeInSec: pulumi.Int(0),
    			Condition:      pulumi.String("string"),
    			FunctionId:     pulumi.String("string"),
    		},
    	},
    })
    
    var connectorResource = new Connector("connectorResource", ConnectorArgs.builder()
        .compartmentId("string")
        .displayName("string")
        .source(ConnectorSourceArgs.builder()
            .kind("string")
            .configMap("string")
            .cursor(ConnectorSourceCursorArgs.builder()
                .kind("string")
                .build())
            .logSources(ConnectorSourceLogSourceArgs.builder()
                .compartmentId("string")
                .logGroupId("string")
                .logId("string")
                .build())
            .monitoringSources(ConnectorSourceMonitoringSourceArgs.builder()
                .compartmentId("string")
                .namespaceDetails(ConnectorSourceMonitoringSourceNamespaceDetailsArgs.builder()
                    .kind("string")
                    .namespaces(ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs.builder()
                        .metrics(ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs.builder()
                            .kind("string")
                            .build())
                        .namespace("string")
                        .build())
                    .build())
                .build())
            .pluginName("string")
            .streamId("string")
            .build())
        .target(ConnectorTargetArgs.builder()
            .kind("string")
            .enableFormattedMessaging(false)
            .batchSizeInNum(0)
            .batchRolloverTimeInMs(0)
            .logGroupId("string")
            .bucket("string")
            .compartmentId("string")
            .dimensions(ConnectorTargetDimensionArgs.builder()
                .dimensionValue(ConnectorTargetDimensionDimensionValueArgs.builder()
                    .kind("string")
                    .path("string")
                    .value("string")
                    .build())
                .name("string")
                .build())
            .batchRolloverSizeInMbs(0)
            .topicId("string")
            .batchSizeInKbs(0)
            .batchTimeInSec(0)
            .logSourceIdentifier("string")
            .metric("string")
            .metricNamespace("string")
            .namespace("string")
            .objectNamePrefix("string")
            .streamId("string")
            .functionId("string")
            .build())
        .definedTags(Map.of("string", "any"))
        .description("string")
        .freeformTags(Map.of("string", "any"))
        .state("string")
        .tasks(ConnectorTaskArgs.builder()
            .kind("string")
            .batchSizeInKbs(0)
            .batchTimeInSec(0)
            .condition("string")
            .functionId("string")
            .build())
        .build());
    
    connector_resource = oci.sch.Connector("connectorResource",
        compartment_id="string",
        display_name="string",
        source=oci.sch.ConnectorSourceArgs(
            kind="string",
            config_map="string",
            cursor=oci.sch.ConnectorSourceCursorArgs(
                kind="string",
            ),
            log_sources=[oci.sch.ConnectorSourceLogSourceArgs(
                compartment_id="string",
                log_group_id="string",
                log_id="string",
            )],
            monitoring_sources=[oci.sch.ConnectorSourceMonitoringSourceArgs(
                compartment_id="string",
                namespace_details=oci.sch.ConnectorSourceMonitoringSourceNamespaceDetailsArgs(
                    kind="string",
                    namespaces=[oci.sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs(
                        metrics=oci.sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs(
                            kind="string",
                        ),
                        namespace="string",
                    )],
                ),
            )],
            plugin_name="string",
            stream_id="string",
        ),
        target=oci.sch.ConnectorTargetArgs(
            kind="string",
            enable_formatted_messaging=False,
            batch_size_in_num=0,
            batch_rollover_time_in_ms=0,
            log_group_id="string",
            bucket="string",
            compartment_id="string",
            dimensions=[oci.sch.ConnectorTargetDimensionArgs(
                dimension_value=oci.sch.ConnectorTargetDimensionDimensionValueArgs(
                    kind="string",
                    path="string",
                    value="string",
                ),
                name="string",
            )],
            batch_rollover_size_in_mbs=0,
            topic_id="string",
            batch_size_in_kbs=0,
            batch_time_in_sec=0,
            log_source_identifier="string",
            metric="string",
            metric_namespace="string",
            namespace="string",
            object_name_prefix="string",
            stream_id="string",
            function_id="string",
        ),
        defined_tags={
            "string": "any",
        },
        description="string",
        freeform_tags={
            "string": "any",
        },
        state="string",
        tasks=[oci.sch.ConnectorTaskArgs(
            kind="string",
            batch_size_in_kbs=0,
            batch_time_in_sec=0,
            condition="string",
            function_id="string",
        )])
    
    const connectorResource = new oci.sch.Connector("connectorResource", {
        compartmentId: "string",
        displayName: "string",
        source: {
            kind: "string",
            configMap: "string",
            cursor: {
                kind: "string",
            },
            logSources: [{
                compartmentId: "string",
                logGroupId: "string",
                logId: "string",
            }],
            monitoringSources: [{
                compartmentId: "string",
                namespaceDetails: {
                    kind: "string",
                    namespaces: [{
                        metrics: {
                            kind: "string",
                        },
                        namespace: "string",
                    }],
                },
            }],
            pluginName: "string",
            streamId: "string",
        },
        target: {
            kind: "string",
            enableFormattedMessaging: false,
            batchSizeInNum: 0,
            batchRolloverTimeInMs: 0,
            logGroupId: "string",
            bucket: "string",
            compartmentId: "string",
            dimensions: [{
                dimensionValue: {
                    kind: "string",
                    path: "string",
                    value: "string",
                },
                name: "string",
            }],
            batchRolloverSizeInMbs: 0,
            topicId: "string",
            batchSizeInKbs: 0,
            batchTimeInSec: 0,
            logSourceIdentifier: "string",
            metric: "string",
            metricNamespace: "string",
            namespace: "string",
            objectNamePrefix: "string",
            streamId: "string",
            functionId: "string",
        },
        definedTags: {
            string: "any",
        },
        description: "string",
        freeformTags: {
            string: "any",
        },
        state: "string",
        tasks: [{
            kind: "string",
            batchSizeInKbs: 0,
            batchTimeInSec: 0,
            condition: "string",
            functionId: "string",
        }],
    });
    
    type: oci:Sch:Connector
    properties:
        compartmentId: string
        definedTags:
            string: any
        description: string
        displayName: string
        freeformTags:
            string: any
        source:
            configMap: string
            cursor:
                kind: string
            kind: string
            logSources:
                - compartmentId: string
                  logGroupId: string
                  logId: string
            monitoringSources:
                - compartmentId: string
                  namespaceDetails:
                    kind: string
                    namespaces:
                        - metrics:
                            kind: string
                          namespace: string
            pluginName: string
            streamId: string
        state: string
        target:
            batchRolloverSizeInMbs: 0
            batchRolloverTimeInMs: 0
            batchSizeInKbs: 0
            batchSizeInNum: 0
            batchTimeInSec: 0
            bucket: string
            compartmentId: string
            dimensions:
                - dimensionValue:
                    kind: string
                    path: string
                    value: string
                  name: string
            enableFormattedMessaging: false
            functionId: string
            kind: string
            logGroupId: string
            logSourceIdentifier: string
            metric: string
            metricNamespace: string
            namespace: string
            objectNamePrefix: string
            streamId: string
            topicId: string
        tasks:
            - batchSizeInKbs: 0
              batchTimeInSec: 0
              condition: string
              functionId: string
              kind: string
    

    Connector Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Connector resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the comparment to create the connector in.
    DisplayName string
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    Source ConnectorSource
    (Updatable) An object that represents the source of the flow defined by the connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    Target ConnectorTarget
    (Updatable) An object that represents the target of the flow defined by the connector. An example target is a stream (Streaming service). For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) The description of the resource. Avoid entering confidential information.
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    State string

    (Updatable) The target state for the service connector. Could be set to ACTIVE or INACTIVE.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Tasks List<ConnectorTask>
    (Updatable) The list of tasks.
    CompartmentId string
    (Updatable) The OCID of the comparment to create the connector in.
    DisplayName string
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    Source ConnectorSourceArgs
    (Updatable) An object that represents the source of the flow defined by the connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    Target ConnectorTargetArgs
    (Updatable) An object that represents the target of the flow defined by the connector. An example target is a stream (Streaming service). For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) The description of the resource. Avoid entering confidential information.
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    State string

    (Updatable) The target state for the service connector. Could be set to ACTIVE or INACTIVE.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Tasks []ConnectorTaskArgs
    (Updatable) The list of tasks.
    compartmentId String
    (Updatable) The OCID of the comparment to create the connector in.
    displayName String
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    source ConnectorSource
    (Updatable) An object that represents the source of the flow defined by the connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    target ConnectorTarget
    (Updatable) An object that represents the target of the flow defined by the connector. An example target is a stream (Streaming service). For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) The description of the resource. Avoid entering confidential information.
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    state String

    (Updatable) The target state for the service connector. Could be set to ACTIVE or INACTIVE.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    tasks List<ConnectorTask>
    (Updatable) The list of tasks.
    compartmentId string
    (Updatable) The OCID of the comparment to create the connector in.
    displayName string
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    source ConnectorSource
    (Updatable) An object that represents the source of the flow defined by the connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    target ConnectorTarget
    (Updatable) An object that represents the target of the flow defined by the connector. An example target is a stream (Streaming service). For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) The description of the resource. Avoid entering confidential information.
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    state string

    (Updatable) The target state for the service connector. Could be set to ACTIVE or INACTIVE.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    tasks ConnectorTask[]
    (Updatable) The list of tasks.
    compartment_id str
    (Updatable) The OCID of the comparment to create the connector in.
    display_name str
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    source sch.ConnectorSourceArgs
    (Updatable) An object that represents the source of the flow defined by the connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    target sch.ConnectorTargetArgs
    (Updatable) An object that represents the target of the flow defined by the connector. An example target is a stream (Streaming service). For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) The description of the resource. Avoid entering confidential information.
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    state str

    (Updatable) The target state for the service connector. Could be set to ACTIVE or INACTIVE.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    tasks Sequence[sch.ConnectorTaskArgs]
    (Updatable) The list of tasks.
    compartmentId String
    (Updatable) The OCID of the comparment to create the connector in.
    displayName String
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    source Property Map
    (Updatable) An object that represents the source of the flow defined by the connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    target Property Map
    (Updatable) An object that represents the target of the flow defined by the connector. An example target is a stream (Streaming service). For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) The description of the resource. Avoid entering confidential information.
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    state String

    (Updatable) The target state for the service connector. Could be set to ACTIVE or INACTIVE.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    tasks List<Property Map>
    (Updatable) The list of tasks.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Connector resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LifecyleDetails string
    A message describing the current state in more detail. For example, the message might provide actionable information for a resource in a FAILED state.
    SystemTags Dictionary<string, object>
    The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
    TimeCreated string
    The date and time when the connector was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    TimeUpdated string
    The date and time when the connector was updated. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecyleDetails string
    A message describing the current state in more detail. For example, the message might provide actionable information for a resource in a FAILED state.
    SystemTags map[string]interface{}
    The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
    TimeCreated string
    The date and time when the connector was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    TimeUpdated string
    The date and time when the connector was updated. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    lifecyleDetails String
    A message describing the current state in more detail. For example, the message might provide actionable information for a resource in a FAILED state.
    systemTags Map<String,Object>
    The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
    timeCreated String
    The date and time when the connector was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    timeUpdated String
    The date and time when the connector was updated. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    id string
    The provider-assigned unique ID for this managed resource.
    lifecyleDetails string
    A message describing the current state in more detail. For example, the message might provide actionable information for a resource in a FAILED state.
    systemTags {[key: string]: any}
    The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
    timeCreated string
    The date and time when the connector was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    timeUpdated string
    The date and time when the connector was updated. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    id str
    The provider-assigned unique ID for this managed resource.
    lifecyle_details str
    A message describing the current state in more detail. For example, the message might provide actionable information for a resource in a FAILED state.
    system_tags Mapping[str, Any]
    The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
    time_created str
    The date and time when the connector was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    time_updated str
    The date and time when the connector was updated. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    lifecyleDetails String
    A message describing the current state in more detail. For example, the message might provide actionable information for a resource in a FAILED state.
    systemTags Map<Any>
    The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
    timeCreated String
    The date and time when the connector was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    timeUpdated String
    The date and time when the connector was updated. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z

    Look up Existing Connector Resource

    Get an existing Connector resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ConnectorState, opts?: CustomResourceOptions): Connector
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            lifecyle_details: Optional[str] = None,
            source: Optional[_sch.ConnectorSourceArgs] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            target: Optional[_sch.ConnectorTargetArgs] = None,
            tasks: Optional[Sequence[_sch.ConnectorTaskArgs]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> Connector
    func GetConnector(ctx *Context, name string, id IDInput, state *ConnectorState, opts ...ResourceOption) (*Connector, error)
    public static Connector Get(string name, Input<string> id, ConnectorState? state, CustomResourceOptions? opts = null)
    public static Connector get(String name, Output<String> id, ConnectorState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) The OCID of the comparment to create the connector in.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) The description of the resource. Avoid entering confidential information.
    DisplayName string
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LifecyleDetails string
    A message describing the current state in more detail. For example, the message might provide actionable information for a resource in a FAILED state.
    Source ConnectorSource
    (Updatable) An object that represents the source of the flow defined by the connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    State string

    (Updatable) The target state for the service connector. Could be set to ACTIVE or INACTIVE.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    SystemTags Dictionary<string, object>
    The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
    Target ConnectorTarget
    (Updatable) An object that represents the target of the flow defined by the connector. An example target is a stream (Streaming service). For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    Tasks List<ConnectorTask>
    (Updatable) The list of tasks.
    TimeCreated string
    The date and time when the connector was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    TimeUpdated string
    The date and time when the connector was updated. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    CompartmentId string
    (Updatable) The OCID of the comparment to create the connector in.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) The description of the resource. Avoid entering confidential information.
    DisplayName string
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LifecyleDetails string
    A message describing the current state in more detail. For example, the message might provide actionable information for a resource in a FAILED state.
    Source ConnectorSourceArgs
    (Updatable) An object that represents the source of the flow defined by the connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    State string

    (Updatable) The target state for the service connector. Could be set to ACTIVE or INACTIVE.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    SystemTags map[string]interface{}
    The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
    Target ConnectorTargetArgs
    (Updatable) An object that represents the target of the flow defined by the connector. An example target is a stream (Streaming service). For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    Tasks []ConnectorTaskArgs
    (Updatable) The list of tasks.
    TimeCreated string
    The date and time when the connector was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    TimeUpdated string
    The date and time when the connector was updated. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    compartmentId String
    (Updatable) The OCID of the comparment to create the connector in.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) The description of the resource. Avoid entering confidential information.
    displayName String
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecyleDetails String
    A message describing the current state in more detail. For example, the message might provide actionable information for a resource in a FAILED state.
    source ConnectorSource
    (Updatable) An object that represents the source of the flow defined by the connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    state String

    (Updatable) The target state for the service connector. Could be set to ACTIVE or INACTIVE.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    systemTags Map<String,Object>
    The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
    target ConnectorTarget
    (Updatable) An object that represents the target of the flow defined by the connector. An example target is a stream (Streaming service). For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    tasks List<ConnectorTask>
    (Updatable) The list of tasks.
    timeCreated String
    The date and time when the connector was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    timeUpdated String
    The date and time when the connector was updated. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    compartmentId string
    (Updatable) The OCID of the comparment to create the connector in.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) The description of the resource. Avoid entering confidential information.
    displayName string
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecyleDetails string
    A message describing the current state in more detail. For example, the message might provide actionable information for a resource in a FAILED state.
    source ConnectorSource
    (Updatable) An object that represents the source of the flow defined by the connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    state string

    (Updatable) The target state for the service connector. Could be set to ACTIVE or INACTIVE.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    systemTags {[key: string]: any}
    The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
    target ConnectorTarget
    (Updatable) An object that represents the target of the flow defined by the connector. An example target is a stream (Streaming service). For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    tasks ConnectorTask[]
    (Updatable) The list of tasks.
    timeCreated string
    The date and time when the connector was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    timeUpdated string
    The date and time when the connector was updated. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    compartment_id str
    (Updatable) The OCID of the comparment to create the connector in.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) The description of the resource. Avoid entering confidential information.
    display_name str
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecyle_details str
    A message describing the current state in more detail. For example, the message might provide actionable information for a resource in a FAILED state.
    source sch.ConnectorSourceArgs
    (Updatable) An object that represents the source of the flow defined by the connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    state str

    (Updatable) The target state for the service connector. Could be set to ACTIVE or INACTIVE.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    system_tags Mapping[str, Any]
    The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
    target sch.ConnectorTargetArgs
    (Updatable) An object that represents the target of the flow defined by the connector. An example target is a stream (Streaming service). For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    tasks Sequence[sch.ConnectorTaskArgs]
    (Updatable) The list of tasks.
    time_created str
    The date and time when the connector was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    time_updated str
    The date and time when the connector was updated. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    compartmentId String
    (Updatable) The OCID of the comparment to create the connector in.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) The description of the resource. Avoid entering confidential information.
    displayName String
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecyleDetails String
    A message describing the current state in more detail. For example, the message might provide actionable information for a resource in a FAILED state.
    source Property Map
    (Updatable) An object that represents the source of the flow defined by the connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    state String

    (Updatable) The target state for the service connector. Could be set to ACTIVE or INACTIVE.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    systemTags Map<Any>
    The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
    target Property Map
    (Updatable) An object that represents the target of the flow defined by the connector. An example target is a stream (Streaming service). For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.
    tasks List<Property Map>
    (Updatable) The list of tasks.
    timeCreated String
    The date and time when the connector was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
    timeUpdated String
    The date and time when the connector was updated. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z

    Supporting Types

    ConnectorSource, ConnectorSourceArgs

    Kind string
    (Updatable) The type discriminator.
    ConfigMap string
    (Updatable) The configuration map for the connector plugin. This map includes parameters specific to the connector plugin type. For example, for QueueSource, the map lists the OCID of the selected queue. To find the parameters for a connector plugin, get the plugin using (GetConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPlugin/GetConnectorPlugin] and review its schema value.
    Cursor ConnectorSourceCursor
    (Updatable) The read setting, which determines where in the stream to start moving data. For configuration instructions, see Creating a Connector with a Streaming Source.
    LogSources List<ConnectorSourceLogSource>
    (Updatable) The logs for this Logging source.
    MonitoringSources List<ConnectorSourceMonitoringSource>
    (Updatable) One or more compartment-specific lists of metric namespaces to retrieve data from.
    PluginName string
    (Updatable) The name of the connector plugin. This name indicates the service to be called by the connector plugin. For example, QueueSource indicates the Queue service. To find names of connector plugins, list the plugin using (ListConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPluginSummary/ListConnectorPlugins].
    StreamId string
    (Updatable) The OCID of the stream.
    Kind string
    (Updatable) The type discriminator.
    ConfigMap string
    (Updatable) The configuration map for the connector plugin. This map includes parameters specific to the connector plugin type. For example, for QueueSource, the map lists the OCID of the selected queue. To find the parameters for a connector plugin, get the plugin using (GetConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPlugin/GetConnectorPlugin] and review its schema value.
    Cursor ConnectorSourceCursor
    (Updatable) The read setting, which determines where in the stream to start moving data. For configuration instructions, see Creating a Connector with a Streaming Source.
    LogSources []ConnectorSourceLogSource
    (Updatable) The logs for this Logging source.
    MonitoringSources []ConnectorSourceMonitoringSource
    (Updatable) One or more compartment-specific lists of metric namespaces to retrieve data from.
    PluginName string
    (Updatable) The name of the connector plugin. This name indicates the service to be called by the connector plugin. For example, QueueSource indicates the Queue service. To find names of connector plugins, list the plugin using (ListConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPluginSummary/ListConnectorPlugins].
    StreamId string
    (Updatable) The OCID of the stream.
    kind String
    (Updatable) The type discriminator.
    configMap String
    (Updatable) The configuration map for the connector plugin. This map includes parameters specific to the connector plugin type. For example, for QueueSource, the map lists the OCID of the selected queue. To find the parameters for a connector plugin, get the plugin using (GetConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPlugin/GetConnectorPlugin] and review its schema value.
    cursor ConnectorSourceCursor
    (Updatable) The read setting, which determines where in the stream to start moving data. For configuration instructions, see Creating a Connector with a Streaming Source.
    logSources List<ConnectorSourceLogSource>
    (Updatable) The logs for this Logging source.
    monitoringSources List<ConnectorSourceMonitoringSource>
    (Updatable) One or more compartment-specific lists of metric namespaces to retrieve data from.
    pluginName String
    (Updatable) The name of the connector plugin. This name indicates the service to be called by the connector plugin. For example, QueueSource indicates the Queue service. To find names of connector plugins, list the plugin using (ListConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPluginSummary/ListConnectorPlugins].
    streamId String
    (Updatable) The OCID of the stream.
    kind string
    (Updatable) The type discriminator.
    configMap string
    (Updatable) The configuration map for the connector plugin. This map includes parameters specific to the connector plugin type. For example, for QueueSource, the map lists the OCID of the selected queue. To find the parameters for a connector plugin, get the plugin using (GetConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPlugin/GetConnectorPlugin] and review its schema value.
    cursor ConnectorSourceCursor
    (Updatable) The read setting, which determines where in the stream to start moving data. For configuration instructions, see Creating a Connector with a Streaming Source.
    logSources ConnectorSourceLogSource[]
    (Updatable) The logs for this Logging source.
    monitoringSources ConnectorSourceMonitoringSource[]
    (Updatable) One or more compartment-specific lists of metric namespaces to retrieve data from.
    pluginName string
    (Updatable) The name of the connector plugin. This name indicates the service to be called by the connector plugin. For example, QueueSource indicates the Queue service. To find names of connector plugins, list the plugin using (ListConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPluginSummary/ListConnectorPlugins].
    streamId string
    (Updatable) The OCID of the stream.
    kind str
    (Updatable) The type discriminator.
    config_map str
    (Updatable) The configuration map for the connector plugin. This map includes parameters specific to the connector plugin type. For example, for QueueSource, the map lists the OCID of the selected queue. To find the parameters for a connector plugin, get the plugin using (GetConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPlugin/GetConnectorPlugin] and review its schema value.
    cursor sch.ConnectorSourceCursor
    (Updatable) The read setting, which determines where in the stream to start moving data. For configuration instructions, see Creating a Connector with a Streaming Source.
    log_sources Sequence[sch.ConnectorSourceLogSource]
    (Updatable) The logs for this Logging source.
    monitoring_sources Sequence[sch.ConnectorSourceMonitoringSource]
    (Updatable) One or more compartment-specific lists of metric namespaces to retrieve data from.
    plugin_name str
    (Updatable) The name of the connector plugin. This name indicates the service to be called by the connector plugin. For example, QueueSource indicates the Queue service. To find names of connector plugins, list the plugin using (ListConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPluginSummary/ListConnectorPlugins].
    stream_id str
    (Updatable) The OCID of the stream.
    kind String
    (Updatable) The type discriminator.
    configMap String
    (Updatable) The configuration map for the connector plugin. This map includes parameters specific to the connector plugin type. For example, for QueueSource, the map lists the OCID of the selected queue. To find the parameters for a connector plugin, get the plugin using (GetConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPlugin/GetConnectorPlugin] and review its schema value.
    cursor Property Map
    (Updatable) The read setting, which determines where in the stream to start moving data. For configuration instructions, see Creating a Connector with a Streaming Source.
    logSources List<Property Map>
    (Updatable) The logs for this Logging source.
    monitoringSources List<Property Map>
    (Updatable) One or more compartment-specific lists of metric namespaces to retrieve data from.
    pluginName String
    (Updatable) The name of the connector plugin. This name indicates the service to be called by the connector plugin. For example, QueueSource indicates the Queue service. To find names of connector plugins, list the plugin using (ListConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPluginSummary/ListConnectorPlugins].
    streamId String
    (Updatable) The OCID of the stream.

    ConnectorSourceCursor, ConnectorSourceCursorArgs

    Kind string
    (Updatable) The type discriminator.
    Kind string
    (Updatable) The type discriminator.
    kind String
    (Updatable) The type discriminator.
    kind string
    (Updatable) The type discriminator.
    kind str
    (Updatable) The type discriminator.
    kind String
    (Updatable) The type discriminator.

    ConnectorSourceLogSource, ConnectorSourceLogSourceArgs

    CompartmentId string
    (Updatable) The OCID of the compartment containing the log source.
    LogGroupId string
    (Updatable) The OCID of the log group. Note: For the Notifications target, only _Audit is allowed. Example OCID for _Audit log group: ocid1.tenancy.oc1..exampleuniqueid/_Audit
    LogId string
    (Updatable) The OCID of the log.
    CompartmentId string
    (Updatable) The OCID of the compartment containing the log source.
    LogGroupId string
    (Updatable) The OCID of the log group. Note: For the Notifications target, only _Audit is allowed. Example OCID for _Audit log group: ocid1.tenancy.oc1..exampleuniqueid/_Audit
    LogId string
    (Updatable) The OCID of the log.
    compartmentId String
    (Updatable) The OCID of the compartment containing the log source.
    logGroupId String
    (Updatable) The OCID of the log group. Note: For the Notifications target, only _Audit is allowed. Example OCID for _Audit log group: ocid1.tenancy.oc1..exampleuniqueid/_Audit
    logId String
    (Updatable) The OCID of the log.
    compartmentId string
    (Updatable) The OCID of the compartment containing the log source.
    logGroupId string
    (Updatable) The OCID of the log group. Note: For the Notifications target, only _Audit is allowed. Example OCID for _Audit log group: ocid1.tenancy.oc1..exampleuniqueid/_Audit
    logId string
    (Updatable) The OCID of the log.
    compartment_id str
    (Updatable) The OCID of the compartment containing the log source.
    log_group_id str
    (Updatable) The OCID of the log group. Note: For the Notifications target, only _Audit is allowed. Example OCID for _Audit log group: ocid1.tenancy.oc1..exampleuniqueid/_Audit
    log_id str
    (Updatable) The OCID of the log.
    compartmentId String
    (Updatable) The OCID of the compartment containing the log source.
    logGroupId String
    (Updatable) The OCID of the log group. Note: For the Notifications target, only _Audit is allowed. Example OCID for _Audit log group: ocid1.tenancy.oc1..exampleuniqueid/_Audit
    logId String
    (Updatable) The OCID of the log.

    ConnectorSourceMonitoringSource, ConnectorSourceMonitoringSourceArgs

    CompartmentId string
    (Updatable) The OCID of a compartment containing metric namespaces you want to use for the Monitoring source.
    NamespaceDetails ConnectorSourceMonitoringSourceNamespaceDetails
    (Updatable) Discriminator for namespaces in the compartment-specific list.
    CompartmentId string
    (Updatable) The OCID of a compartment containing metric namespaces you want to use for the Monitoring source.
    NamespaceDetails ConnectorSourceMonitoringSourceNamespaceDetails
    (Updatable) Discriminator for namespaces in the compartment-specific list.
    compartmentId String
    (Updatable) The OCID of a compartment containing metric namespaces you want to use for the Monitoring source.
    namespaceDetails ConnectorSourceMonitoringSourceNamespaceDetails
    (Updatable) Discriminator for namespaces in the compartment-specific list.
    compartmentId string
    (Updatable) The OCID of a compartment containing metric namespaces you want to use for the Monitoring source.
    namespaceDetails ConnectorSourceMonitoringSourceNamespaceDetails
    (Updatable) Discriminator for namespaces in the compartment-specific list.
    compartment_id str
    (Updatable) The OCID of a compartment containing metric namespaces you want to use for the Monitoring source.
    namespace_details sch.ConnectorSourceMonitoringSourceNamespaceDetails
    (Updatable) Discriminator for namespaces in the compartment-specific list.
    compartmentId String
    (Updatable) The OCID of a compartment containing metric namespaces you want to use for the Monitoring source.
    namespaceDetails Property Map
    (Updatable) Discriminator for namespaces in the compartment-specific list.

    ConnectorSourceMonitoringSourceNamespaceDetails, ConnectorSourceMonitoringSourceNamespaceDetailsArgs

    Kind string
    (Updatable) The type discriminator.
    Namespaces List<ConnectorSourceMonitoringSourceNamespaceDetailsNamespace>
    (Updatable) The namespaces for the compartment-specific list.
    Kind string
    (Updatable) The type discriminator.
    Namespaces []ConnectorSourceMonitoringSourceNamespaceDetailsNamespace
    (Updatable) The namespaces for the compartment-specific list.
    kind String
    (Updatable) The type discriminator.
    namespaces List<ConnectorSourceMonitoringSourceNamespaceDetailsNamespace>
    (Updatable) The namespaces for the compartment-specific list.
    kind string
    (Updatable) The type discriminator.
    namespaces ConnectorSourceMonitoringSourceNamespaceDetailsNamespace[]
    (Updatable) The namespaces for the compartment-specific list.
    kind str
    (Updatable) The type discriminator.
    namespaces Sequence[sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespace]
    (Updatable) The namespaces for the compartment-specific list.
    kind String
    (Updatable) The type discriminator.
    namespaces List<Property Map>
    (Updatable) The namespaces for the compartment-specific list.

    ConnectorSourceMonitoringSourceNamespaceDetailsNamespace, ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs

    Metrics ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetrics
    (Updatable) The metrics to query for the specified metric namespace.
    Namespace string
    (Updatable) The source service or application to use when querying for metric data points. Must begin with oci_. Example: oci_computeagent
    Metrics ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetrics
    (Updatable) The metrics to query for the specified metric namespace.
    Namespace string
    (Updatable) The source service or application to use when querying for metric data points. Must begin with oci_. Example: oci_computeagent
    metrics ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetrics
    (Updatable) The metrics to query for the specified metric namespace.
    namespace String
    (Updatable) The source service or application to use when querying for metric data points. Must begin with oci_. Example: oci_computeagent
    metrics ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetrics
    (Updatable) The metrics to query for the specified metric namespace.
    namespace string
    (Updatable) The source service or application to use when querying for metric data points. Must begin with oci_. Example: oci_computeagent
    metrics sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetrics
    (Updatable) The metrics to query for the specified metric namespace.
    namespace str
    (Updatable) The source service or application to use when querying for metric data points. Must begin with oci_. Example: oci_computeagent
    metrics Property Map
    (Updatable) The metrics to query for the specified metric namespace.
    namespace String
    (Updatable) The source service or application to use when querying for metric data points. Must begin with oci_. Example: oci_computeagent

    ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetrics, ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs

    Kind string
    (Updatable) The type discriminator.
    Kind string
    (Updatable) The type discriminator.
    kind String
    (Updatable) The type discriminator.
    kind string
    (Updatable) The type discriminator.
    kind str
    (Updatable) The type discriminator.
    kind String
    (Updatable) The type discriminator.

    ConnectorTarget, ConnectorTargetArgs

    Kind string
    (Updatable) The type discriminator.
    BatchRolloverSizeInMbs int
    (Updatable) The batch rollover size in megabytes.
    BatchRolloverTimeInMs int
    (Updatable) The batch rollover time in milliseconds.
    BatchSizeInKbs int
    (Updatable) The batch rollover size in kilobytes.
    BatchSizeInNum int
    (Updatable) The batch rollover size in number of messages.
    BatchTimeInSec int
    (Updatable) The batch rollover time in seconds.
    Bucket string
    (Updatable) The name of the bucket. Valid characters are letters (upper or lower case), numbers, hyphens (-), underscores(_), and periods (.). Bucket names must be unique within an Object Storage namespace. Avoid entering confidential information. Example: my-new-bucket1
    CompartmentId string
    (Updatable) The OCID of the compartment containing the metric.
    Dimensions List<ConnectorTargetDimension>
    (Updatable) List of dimension names and values.
    EnableFormattedMessaging bool
    (Updatable) Whether to apply a simplified, user-friendly format to the message. Applies only when friendly formatting is supported by the connector source and the subscription protocol. Example: true
    FunctionId string
    (Updatable) The OCID of the function.
    LogGroupId string
    (Updatable) The OCID of the Logging Analytics log group.
    LogSourceIdentifier string
    (Updatable) Identifier of the log source that you want to use for processing data received from the connector source. Applies to StreamingSource only. Equivalent to name at LogAnalyticsSource.
    Metric string
    (Updatable) The name of the metric. Example: CpuUtilization
    MetricNamespace string
    (Updatable) The namespace of the metric. Example: oci_computeagent
    Namespace string
    (Updatable) The namespace.
    ObjectNamePrefix string
    (Updatable) The prefix of the objects. Avoid entering confidential information.
    StreamId string
    (Updatable) The OCID of the stream.
    TopicId string
    (Updatable) The OCID of the topic.
    Kind string
    (Updatable) The type discriminator.
    BatchRolloverSizeInMbs int
    (Updatable) The batch rollover size in megabytes.
    BatchRolloverTimeInMs int
    (Updatable) The batch rollover time in milliseconds.
    BatchSizeInKbs int
    (Updatable) The batch rollover size in kilobytes.
    BatchSizeInNum int
    (Updatable) The batch rollover size in number of messages.
    BatchTimeInSec int
    (Updatable) The batch rollover time in seconds.
    Bucket string
    (Updatable) The name of the bucket. Valid characters are letters (upper or lower case), numbers, hyphens (-), underscores(_), and periods (.). Bucket names must be unique within an Object Storage namespace. Avoid entering confidential information. Example: my-new-bucket1
    CompartmentId string
    (Updatable) The OCID of the compartment containing the metric.
    Dimensions []ConnectorTargetDimension
    (Updatable) List of dimension names and values.
    EnableFormattedMessaging bool
    (Updatable) Whether to apply a simplified, user-friendly format to the message. Applies only when friendly formatting is supported by the connector source and the subscription protocol. Example: true
    FunctionId string
    (Updatable) The OCID of the function.
    LogGroupId string
    (Updatable) The OCID of the Logging Analytics log group.
    LogSourceIdentifier string
    (Updatable) Identifier of the log source that you want to use for processing data received from the connector source. Applies to StreamingSource only. Equivalent to name at LogAnalyticsSource.
    Metric string
    (Updatable) The name of the metric. Example: CpuUtilization
    MetricNamespace string
    (Updatable) The namespace of the metric. Example: oci_computeagent
    Namespace string
    (Updatable) The namespace.
    ObjectNamePrefix string
    (Updatable) The prefix of the objects. Avoid entering confidential information.
    StreamId string
    (Updatable) The OCID of the stream.
    TopicId string
    (Updatable) The OCID of the topic.
    kind String
    (Updatable) The type discriminator.
    batchRolloverSizeInMbs Integer
    (Updatable) The batch rollover size in megabytes.
    batchRolloverTimeInMs Integer
    (Updatable) The batch rollover time in milliseconds.
    batchSizeInKbs Integer
    (Updatable) The batch rollover size in kilobytes.
    batchSizeInNum Integer
    (Updatable) The batch rollover size in number of messages.
    batchTimeInSec Integer
    (Updatable) The batch rollover time in seconds.
    bucket String
    (Updatable) The name of the bucket. Valid characters are letters (upper or lower case), numbers, hyphens (-), underscores(_), and periods (.). Bucket names must be unique within an Object Storage namespace. Avoid entering confidential information. Example: my-new-bucket1
    compartmentId String
    (Updatable) The OCID of the compartment containing the metric.
    dimensions List<ConnectorTargetDimension>
    (Updatable) List of dimension names and values.
    enableFormattedMessaging Boolean
    (Updatable) Whether to apply a simplified, user-friendly format to the message. Applies only when friendly formatting is supported by the connector source and the subscription protocol. Example: true
    functionId String
    (Updatable) The OCID of the function.
    logGroupId String
    (Updatable) The OCID of the Logging Analytics log group.
    logSourceIdentifier String
    (Updatable) Identifier of the log source that you want to use for processing data received from the connector source. Applies to StreamingSource only. Equivalent to name at LogAnalyticsSource.
    metric String
    (Updatable) The name of the metric. Example: CpuUtilization
    metricNamespace String
    (Updatable) The namespace of the metric. Example: oci_computeagent
    namespace String
    (Updatable) The namespace.
    objectNamePrefix String
    (Updatable) The prefix of the objects. Avoid entering confidential information.
    streamId String
    (Updatable) The OCID of the stream.
    topicId String
    (Updatable) The OCID of the topic.
    kind string
    (Updatable) The type discriminator.
    batchRolloverSizeInMbs number
    (Updatable) The batch rollover size in megabytes.
    batchRolloverTimeInMs number
    (Updatable) The batch rollover time in milliseconds.
    batchSizeInKbs number
    (Updatable) The batch rollover size in kilobytes.
    batchSizeInNum number
    (Updatable) The batch rollover size in number of messages.
    batchTimeInSec number
    (Updatable) The batch rollover time in seconds.
    bucket string
    (Updatable) The name of the bucket. Valid characters are letters (upper or lower case), numbers, hyphens (-), underscores(_), and periods (.). Bucket names must be unique within an Object Storage namespace. Avoid entering confidential information. Example: my-new-bucket1
    compartmentId string
    (Updatable) The OCID of the compartment containing the metric.
    dimensions ConnectorTargetDimension[]
    (Updatable) List of dimension names and values.
    enableFormattedMessaging boolean
    (Updatable) Whether to apply a simplified, user-friendly format to the message. Applies only when friendly formatting is supported by the connector source and the subscription protocol. Example: true
    functionId string
    (Updatable) The OCID of the function.
    logGroupId string
    (Updatable) The OCID of the Logging Analytics log group.
    logSourceIdentifier string
    (Updatable) Identifier of the log source that you want to use for processing data received from the connector source. Applies to StreamingSource only. Equivalent to name at LogAnalyticsSource.
    metric string
    (Updatable) The name of the metric. Example: CpuUtilization
    metricNamespace string
    (Updatable) The namespace of the metric. Example: oci_computeagent
    namespace string
    (Updatable) The namespace.
    objectNamePrefix string
    (Updatable) The prefix of the objects. Avoid entering confidential information.
    streamId string
    (Updatable) The OCID of the stream.
    topicId string
    (Updatable) The OCID of the topic.
    kind str
    (Updatable) The type discriminator.
    batch_rollover_size_in_mbs int
    (Updatable) The batch rollover size in megabytes.
    batch_rollover_time_in_ms int
    (Updatable) The batch rollover time in milliseconds.
    batch_size_in_kbs int
    (Updatable) The batch rollover size in kilobytes.
    batch_size_in_num int
    (Updatable) The batch rollover size in number of messages.
    batch_time_in_sec int
    (Updatable) The batch rollover time in seconds.
    bucket str
    (Updatable) The name of the bucket. Valid characters are letters (upper or lower case), numbers, hyphens (-), underscores(_), and periods (.). Bucket names must be unique within an Object Storage namespace. Avoid entering confidential information. Example: my-new-bucket1
    compartment_id str
    (Updatable) The OCID of the compartment containing the metric.
    dimensions Sequence[sch.ConnectorTargetDimension]
    (Updatable) List of dimension names and values.
    enable_formatted_messaging bool
    (Updatable) Whether to apply a simplified, user-friendly format to the message. Applies only when friendly formatting is supported by the connector source and the subscription protocol. Example: true
    function_id str
    (Updatable) The OCID of the function.
    log_group_id str
    (Updatable) The OCID of the Logging Analytics log group.
    log_source_identifier str
    (Updatable) Identifier of the log source that you want to use for processing data received from the connector source. Applies to StreamingSource only. Equivalent to name at LogAnalyticsSource.
    metric str
    (Updatable) The name of the metric. Example: CpuUtilization
    metric_namespace str
    (Updatable) The namespace of the metric. Example: oci_computeagent
    namespace str
    (Updatable) The namespace.
    object_name_prefix str
    (Updatable) The prefix of the objects. Avoid entering confidential information.
    stream_id str
    (Updatable) The OCID of the stream.
    topic_id str
    (Updatable) The OCID of the topic.
    kind String
    (Updatable) The type discriminator.
    batchRolloverSizeInMbs Number
    (Updatable) The batch rollover size in megabytes.
    batchRolloverTimeInMs Number
    (Updatable) The batch rollover time in milliseconds.
    batchSizeInKbs Number
    (Updatable) The batch rollover size in kilobytes.
    batchSizeInNum Number
    (Updatable) The batch rollover size in number of messages.
    batchTimeInSec Number
    (Updatable) The batch rollover time in seconds.
    bucket String
    (Updatable) The name of the bucket. Valid characters are letters (upper or lower case), numbers, hyphens (-), underscores(_), and periods (.). Bucket names must be unique within an Object Storage namespace. Avoid entering confidential information. Example: my-new-bucket1
    compartmentId String
    (Updatable) The OCID of the compartment containing the metric.
    dimensions List<Property Map>
    (Updatable) List of dimension names and values.
    enableFormattedMessaging Boolean
    (Updatable) Whether to apply a simplified, user-friendly format to the message. Applies only when friendly formatting is supported by the connector source and the subscription protocol. Example: true
    functionId String
    (Updatable) The OCID of the function.
    logGroupId String
    (Updatable) The OCID of the Logging Analytics log group.
    logSourceIdentifier String
    (Updatable) Identifier of the log source that you want to use for processing data received from the connector source. Applies to StreamingSource only. Equivalent to name at LogAnalyticsSource.
    metric String
    (Updatable) The name of the metric. Example: CpuUtilization
    metricNamespace String
    (Updatable) The namespace of the metric. Example: oci_computeagent
    namespace String
    (Updatable) The namespace.
    objectNamePrefix String
    (Updatable) The prefix of the objects. Avoid entering confidential information.
    streamId String
    (Updatable) The OCID of the stream.
    topicId String
    (Updatable) The OCID of the topic.

    ConnectorTargetDimension, ConnectorTargetDimensionArgs

    DimensionValue ConnectorTargetDimensionDimensionValue
    (Updatable) Instructions for extracting the value corresponding to the specified dimension key: Either extract the value as-is (static) or derive the value from a path (evaluated).
    Name string
    (Updatable) Dimension key. A valid dimension key includes only printable ASCII, excluding periods (.) and spaces. Custom dimension keys are acceptable. Avoid entering confidential information. Due to use by Connector Hub, the following dimension names are reserved: connectorId, connectorName, connectorSourceType. For information on valid dimension keys and values, see MetricDataDetails Reference. Example: type
    DimensionValue ConnectorTargetDimensionDimensionValue
    (Updatable) Instructions for extracting the value corresponding to the specified dimension key: Either extract the value as-is (static) or derive the value from a path (evaluated).
    Name string
    (Updatable) Dimension key. A valid dimension key includes only printable ASCII, excluding periods (.) and spaces. Custom dimension keys are acceptable. Avoid entering confidential information. Due to use by Connector Hub, the following dimension names are reserved: connectorId, connectorName, connectorSourceType. For information on valid dimension keys and values, see MetricDataDetails Reference. Example: type
    dimensionValue ConnectorTargetDimensionDimensionValue
    (Updatable) Instructions for extracting the value corresponding to the specified dimension key: Either extract the value as-is (static) or derive the value from a path (evaluated).
    name String
    (Updatable) Dimension key. A valid dimension key includes only printable ASCII, excluding periods (.) and spaces. Custom dimension keys are acceptable. Avoid entering confidential information. Due to use by Connector Hub, the following dimension names are reserved: connectorId, connectorName, connectorSourceType. For information on valid dimension keys and values, see MetricDataDetails Reference. Example: type
    dimensionValue ConnectorTargetDimensionDimensionValue
    (Updatable) Instructions for extracting the value corresponding to the specified dimension key: Either extract the value as-is (static) or derive the value from a path (evaluated).
    name string
    (Updatable) Dimension key. A valid dimension key includes only printable ASCII, excluding periods (.) and spaces. Custom dimension keys are acceptable. Avoid entering confidential information. Due to use by Connector Hub, the following dimension names are reserved: connectorId, connectorName, connectorSourceType. For information on valid dimension keys and values, see MetricDataDetails Reference. Example: type
    dimension_value sch.ConnectorTargetDimensionDimensionValue
    (Updatable) Instructions for extracting the value corresponding to the specified dimension key: Either extract the value as-is (static) or derive the value from a path (evaluated).
    name str
    (Updatable) Dimension key. A valid dimension key includes only printable ASCII, excluding periods (.) and spaces. Custom dimension keys are acceptable. Avoid entering confidential information. Due to use by Connector Hub, the following dimension names are reserved: connectorId, connectorName, connectorSourceType. For information on valid dimension keys and values, see MetricDataDetails Reference. Example: type
    dimensionValue Property Map
    (Updatable) Instructions for extracting the value corresponding to the specified dimension key: Either extract the value as-is (static) or derive the value from a path (evaluated).
    name String
    (Updatable) Dimension key. A valid dimension key includes only printable ASCII, excluding periods (.) and spaces. Custom dimension keys are acceptable. Avoid entering confidential information. Due to use by Connector Hub, the following dimension names are reserved: connectorId, connectorName, connectorSourceType. For information on valid dimension keys and values, see MetricDataDetails Reference. Example: type

    ConnectorTargetDimensionDimensionValue, ConnectorTargetDimensionDimensionValueArgs

    Kind string
    (Updatable) The type of dimension value: static or evaluated.
    Path string
    (Updatable) The location to use for deriving the dimension value (evaluated). The path must start with logContent in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (. and []). Example with dot notation: logContent.data Example with index notation: logContent.data[0].content For information on valid dimension keys and values, see MetricDataDetails Reference. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value "compartmentId" is returned as compartmentId.) If the evaluated value is invalid, then the returned value is SCH_EVAL_INVALID_VALUE. If the evaluated value is empty, then the returned value is SCH_EVAL_VALUE_EMPTY.
    Value string
    (Updatable) The data extracted from the specified dimension value (passed as-is). Unicode characters only. For information on valid dimension keys and values, see MetricDataDetails Reference.
    Kind string
    (Updatable) The type of dimension value: static or evaluated.
    Path string
    (Updatable) The location to use for deriving the dimension value (evaluated). The path must start with logContent in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (. and []). Example with dot notation: logContent.data Example with index notation: logContent.data[0].content For information on valid dimension keys and values, see MetricDataDetails Reference. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value "compartmentId" is returned as compartmentId.) If the evaluated value is invalid, then the returned value is SCH_EVAL_INVALID_VALUE. If the evaluated value is empty, then the returned value is SCH_EVAL_VALUE_EMPTY.
    Value string
    (Updatable) The data extracted from the specified dimension value (passed as-is). Unicode characters only. For information on valid dimension keys and values, see MetricDataDetails Reference.
    kind String
    (Updatable) The type of dimension value: static or evaluated.
    path String
    (Updatable) The location to use for deriving the dimension value (evaluated). The path must start with logContent in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (. and []). Example with dot notation: logContent.data Example with index notation: logContent.data[0].content For information on valid dimension keys and values, see MetricDataDetails Reference. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value "compartmentId" is returned as compartmentId.) If the evaluated value is invalid, then the returned value is SCH_EVAL_INVALID_VALUE. If the evaluated value is empty, then the returned value is SCH_EVAL_VALUE_EMPTY.
    value String
    (Updatable) The data extracted from the specified dimension value (passed as-is). Unicode characters only. For information on valid dimension keys and values, see MetricDataDetails Reference.
    kind string
    (Updatable) The type of dimension value: static or evaluated.
    path string
    (Updatable) The location to use for deriving the dimension value (evaluated). The path must start with logContent in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (. and []). Example with dot notation: logContent.data Example with index notation: logContent.data[0].content For information on valid dimension keys and values, see MetricDataDetails Reference. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value "compartmentId" is returned as compartmentId.) If the evaluated value is invalid, then the returned value is SCH_EVAL_INVALID_VALUE. If the evaluated value is empty, then the returned value is SCH_EVAL_VALUE_EMPTY.
    value string
    (Updatable) The data extracted from the specified dimension value (passed as-is). Unicode characters only. For information on valid dimension keys and values, see MetricDataDetails Reference.
    kind str
    (Updatable) The type of dimension value: static or evaluated.
    path str
    (Updatable) The location to use for deriving the dimension value (evaluated). The path must start with logContent in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (. and []). Example with dot notation: logContent.data Example with index notation: logContent.data[0].content For information on valid dimension keys and values, see MetricDataDetails Reference. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value "compartmentId" is returned as compartmentId.) If the evaluated value is invalid, then the returned value is SCH_EVAL_INVALID_VALUE. If the evaluated value is empty, then the returned value is SCH_EVAL_VALUE_EMPTY.
    value str
    (Updatable) The data extracted from the specified dimension value (passed as-is). Unicode characters only. For information on valid dimension keys and values, see MetricDataDetails Reference.
    kind String
    (Updatable) The type of dimension value: static or evaluated.
    path String
    (Updatable) The location to use for deriving the dimension value (evaluated). The path must start with logContent in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (. and []). Example with dot notation: logContent.data Example with index notation: logContent.data[0].content For information on valid dimension keys and values, see MetricDataDetails Reference. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value "compartmentId" is returned as compartmentId.) If the evaluated value is invalid, then the returned value is SCH_EVAL_INVALID_VALUE. If the evaluated value is empty, then the returned value is SCH_EVAL_VALUE_EMPTY.
    value String
    (Updatable) The data extracted from the specified dimension value (passed as-is). Unicode characters only. For information on valid dimension keys and values, see MetricDataDetails Reference.

    ConnectorTask, ConnectorTaskArgs

    Kind string
    (Updatable) The type descriminator.
    BatchSizeInKbs int
    (Updatable) Size limit (kilobytes) for batch sent to invoke the function.
    BatchTimeInSec int
    (Updatable) Time limit (seconds) for batch sent to invoke the function.
    Condition string
    (Updatable) A filter or mask to limit the source used in the flow defined by the connector.
    FunctionId string
    (Updatable) The OCID of the function to be used as a task.
    Kind string
    (Updatable) The type descriminator.
    BatchSizeInKbs int
    (Updatable) Size limit (kilobytes) for batch sent to invoke the function.
    BatchTimeInSec int
    (Updatable) Time limit (seconds) for batch sent to invoke the function.
    Condition string
    (Updatable) A filter or mask to limit the source used in the flow defined by the connector.
    FunctionId string
    (Updatable) The OCID of the function to be used as a task.
    kind String
    (Updatable) The type descriminator.
    batchSizeInKbs Integer
    (Updatable) Size limit (kilobytes) for batch sent to invoke the function.
    batchTimeInSec Integer
    (Updatable) Time limit (seconds) for batch sent to invoke the function.
    condition String
    (Updatable) A filter or mask to limit the source used in the flow defined by the connector.
    functionId String
    (Updatable) The OCID of the function to be used as a task.
    kind string
    (Updatable) The type descriminator.
    batchSizeInKbs number
    (Updatable) Size limit (kilobytes) for batch sent to invoke the function.
    batchTimeInSec number
    (Updatable) Time limit (seconds) for batch sent to invoke the function.
    condition string
    (Updatable) A filter or mask to limit the source used in the flow defined by the connector.
    functionId string
    (Updatable) The OCID of the function to be used as a task.
    kind str
    (Updatable) The type descriminator.
    batch_size_in_kbs int
    (Updatable) Size limit (kilobytes) for batch sent to invoke the function.
    batch_time_in_sec int
    (Updatable) Time limit (seconds) for batch sent to invoke the function.
    condition str
    (Updatable) A filter or mask to limit the source used in the flow defined by the connector.
    function_id str
    (Updatable) The OCID of the function to be used as a task.
    kind String
    (Updatable) The type descriminator.
    batchSizeInKbs Number
    (Updatable) Size limit (kilobytes) for batch sent to invoke the function.
    batchTimeInSec Number
    (Updatable) Time limit (seconds) for batch sent to invoke the function.
    condition String
    (Updatable) A filter or mask to limit the source used in the flow defined by the connector.
    functionId String
    (Updatable) The OCID of the function to be used as a task.

    Import

    ServiceConnectors can be imported using the id, e.g.

    $ pulumi import oci:Sch/connector:Connector test_service_connector "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.3.0 published on Wednesday, Jul 17, 2024 by Pulumi