1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Sch
  5. Connector
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.Sch.Connector

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 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("testServiceConnector", {
        compartmentId: _var.compartment_id,
        displayName: _var.service_connector_display_name,
        source: {
            kind: _var.service_connector_source_kind,
            configMap: _var.service_connector_source_config_map,
            cursor: {
                kind: _var.service_connector_source_cursor_kind,
            },
            logSources: [{
                compartmentId: _var.compartment_id,
                logGroupId: oci_logging_log_group.test_log_group.id,
                logId: oci_logging_log.test_log.id,
            }],
            monitoringSources: [{
                compartmentId: _var.compartment_id,
                namespaceDetails: {
                    kind: _var.service_connector_source_monitoring_sources_namespace_details_kind,
                    namespaces: [{
                        metrics: {
                            kind: _var.service_connector_source_monitoring_sources_namespace_details_namespaces_metrics_kind,
                        },
                        namespace: _var.service_connector_source_monitoring_sources_namespace_details_namespaces_namespace,
                    }],
                },
            }],
            pluginName: _var.service_connector_source_plugin_name,
            streamId: oci_streaming_stream.test_stream.id,
        },
        target: {
            kind: _var.service_connector_target_kind,
            batchRolloverSizeInMbs: _var.service_connector_target_batch_rollover_size_in_mbs,
            batchRolloverTimeInMs: _var.service_connector_target_batch_rollover_time_in_ms,
            batchSizeInKbs: _var.service_connector_target_batch_size_in_kbs,
            batchSizeInNum: _var.service_connector_target_batch_size_in_num,
            batchTimeInSec: _var.service_connector_target_batch_time_in_sec,
            bucket: _var.service_connector_target_bucket,
            compartmentId: _var.compartment_id,
            dimensions: [{
                dimensionValue: {
                    kind: _var.service_connector_target_dimensions_dimension_value_kind,
                    path: _var.service_connector_target_dimensions_dimension_value_path,
                    value: _var.service_connector_target_dimensions_dimension_value_value,
                },
                name: _var.service_connector_target_dimensions_name,
            }],
            enableFormattedMessaging: _var.service_connector_target_enable_formatted_messaging,
            functionId: oci_functions_function.test_function.id,
            logGroupId: oci_logging_log_group.test_log_group.id,
            logSourceIdentifier: _var.service_connector_target_log_source_identifier,
            metric: _var.service_connector_target_metric,
            metricNamespace: _var.service_connector_target_metric_namespace,
            namespace: _var.service_connector_target_namespace,
            objectNamePrefix: _var.service_connector_target_object_name_prefix,
            streamId: oci_streaming_stream.test_stream.id,
            topicId: oci_ons_notification_topic.test_notification_topic.id,
        },
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        description: _var.service_connector_description,
        freeformTags: {
            "bar-key": "value",
        },
        tasks: [{
            kind: _var.service_connector_tasks_kind,
            batchSizeInKbs: _var.service_connector_tasks_batch_size_in_kbs,
            batchTimeInSec: _var.service_connector_tasks_batch_time_in_sec,
            condition: _var.service_connector_tasks_condition,
            functionId: oci_functions_function.test_function.id,
        }],
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_service_connector = oci.sch.Connector("testServiceConnector",
        compartment_id=var["compartment_id"],
        display_name=var["service_connector_display_name"],
        source=oci.sch.ConnectorSourceArgs(
            kind=var["service_connector_source_kind"],
            config_map=var["service_connector_source_config_map"],
            cursor=oci.sch.ConnectorSourceCursorArgs(
                kind=var["service_connector_source_cursor_kind"],
            ),
            log_sources=[oci.sch.ConnectorSourceLogSourceArgs(
                compartment_id=var["compartment_id"],
                log_group_id=oci_logging_log_group["test_log_group"]["id"],
                log_id=oci_logging_log["test_log"]["id"],
            )],
            monitoring_sources=[oci.sch.ConnectorSourceMonitoringSourceArgs(
                compartment_id=var["compartment_id"],
                namespace_details=oci.sch.ConnectorSourceMonitoringSourceNamespaceDetailsArgs(
                    kind=var["service_connector_source_monitoring_sources_namespace_details_kind"],
                    namespaces=[oci.sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs(
                        metrics=oci.sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs(
                            kind=var["service_connector_source_monitoring_sources_namespace_details_namespaces_metrics_kind"],
                        ),
                        namespace=var["service_connector_source_monitoring_sources_namespace_details_namespaces_namespace"],
                    )],
                ),
            )],
            plugin_name=var["service_connector_source_plugin_name"],
            stream_id=oci_streaming_stream["test_stream"]["id"],
        ),
        target=oci.sch.ConnectorTargetArgs(
            kind=var["service_connector_target_kind"],
            batch_rollover_size_in_mbs=var["service_connector_target_batch_rollover_size_in_mbs"],
            batch_rollover_time_in_ms=var["service_connector_target_batch_rollover_time_in_ms"],
            batch_size_in_kbs=var["service_connector_target_batch_size_in_kbs"],
            batch_size_in_num=var["service_connector_target_batch_size_in_num"],
            batch_time_in_sec=var["service_connector_target_batch_time_in_sec"],
            bucket=var["service_connector_target_bucket"],
            compartment_id=var["compartment_id"],
            dimensions=[oci.sch.ConnectorTargetDimensionArgs(
                dimension_value=oci.sch.ConnectorTargetDimensionDimensionValueArgs(
                    kind=var["service_connector_target_dimensions_dimension_value_kind"],
                    path=var["service_connector_target_dimensions_dimension_value_path"],
                    value=var["service_connector_target_dimensions_dimension_value_value"],
                ),
                name=var["service_connector_target_dimensions_name"],
            )],
            enable_formatted_messaging=var["service_connector_target_enable_formatted_messaging"],
            function_id=oci_functions_function["test_function"]["id"],
            log_group_id=oci_logging_log_group["test_log_group"]["id"],
            log_source_identifier=var["service_connector_target_log_source_identifier"],
            metric=var["service_connector_target_metric"],
            metric_namespace=var["service_connector_target_metric_namespace"],
            namespace=var["service_connector_target_namespace"],
            object_name_prefix=var["service_connector_target_object_name_prefix"],
            stream_id=oci_streaming_stream["test_stream"]["id"],
            topic_id=oci_ons_notification_topic["test_notification_topic"]["id"],
        ),
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        description=var["service_connector_description"],
        freeform_tags={
            "bar-key": "value",
        },
        tasks=[oci.sch.ConnectorTaskArgs(
            kind=var["service_connector_tasks_kind"],
            batch_size_in_kbs=var["service_connector_tasks_batch_size_in_kbs"],
            batch_time_in_sec=var["service_connector_tasks_batch_time_in_sec"],
            condition=var["service_connector_tasks_condition"],
            function_id=oci_functions_function["test_function"]["id"],
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Sch"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Sch.NewConnector(ctx, "testServiceConnector", &Sch.ConnectorArgs{
    			CompartmentId: pulumi.Any(_var.Compartment_id),
    			DisplayName:   pulumi.Any(_var.Service_connector_display_name),
    			Source: &sch.ConnectorSourceArgs{
    				Kind:      pulumi.Any(_var.Service_connector_source_kind),
    				ConfigMap: pulumi.Any(_var.Service_connector_source_config_map),
    				Cursor: &sch.ConnectorSourceCursorArgs{
    					Kind: pulumi.Any(_var.Service_connector_source_cursor_kind),
    				},
    				LogSources: sch.ConnectorSourceLogSourceArray{
    					&sch.ConnectorSourceLogSourceArgs{
    						CompartmentId: pulumi.Any(_var.Compartment_id),
    						LogGroupId:    pulumi.Any(oci_logging_log_group.Test_log_group.Id),
    						LogId:         pulumi.Any(oci_logging_log.Test_log.Id),
    					},
    				},
    				MonitoringSources: sch.ConnectorSourceMonitoringSourceArray{
    					&sch.ConnectorSourceMonitoringSourceArgs{
    						CompartmentId: pulumi.Any(_var.Compartment_id),
    						NamespaceDetails: &sch.ConnectorSourceMonitoringSourceNamespaceDetailsArgs{
    							Kind: pulumi.Any(_var.Service_connector_source_monitoring_sources_namespace_details_kind),
    							Namespaces: sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArray{
    								&sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs{
    									Metrics: &sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs{
    										Kind: pulumi.Any(_var.Service_connector_source_monitoring_sources_namespace_details_namespaces_metrics_kind),
    									},
    									Namespace: pulumi.Any(_var.Service_connector_source_monitoring_sources_namespace_details_namespaces_namespace),
    								},
    							},
    						},
    					},
    				},
    				PluginName: pulumi.Any(_var.Service_connector_source_plugin_name),
    				StreamId:   pulumi.Any(oci_streaming_stream.Test_stream.Id),
    			},
    			Target: &sch.ConnectorTargetArgs{
    				Kind:                   pulumi.Any(_var.Service_connector_target_kind),
    				BatchRolloverSizeInMbs: pulumi.Any(_var.Service_connector_target_batch_rollover_size_in_mbs),
    				BatchRolloverTimeInMs:  pulumi.Any(_var.Service_connector_target_batch_rollover_time_in_ms),
    				BatchSizeInKbs:         pulumi.Any(_var.Service_connector_target_batch_size_in_kbs),
    				BatchSizeInNum:         pulumi.Any(_var.Service_connector_target_batch_size_in_num),
    				BatchTimeInSec:         pulumi.Any(_var.Service_connector_target_batch_time_in_sec),
    				Bucket:                 pulumi.Any(_var.Service_connector_target_bucket),
    				CompartmentId:          pulumi.Any(_var.Compartment_id),
    				Dimensions: sch.ConnectorTargetDimensionArray{
    					&sch.ConnectorTargetDimensionArgs{
    						DimensionValue: &sch.ConnectorTargetDimensionDimensionValueArgs{
    							Kind:  pulumi.Any(_var.Service_connector_target_dimensions_dimension_value_kind),
    							Path:  pulumi.Any(_var.Service_connector_target_dimensions_dimension_value_path),
    							Value: pulumi.Any(_var.Service_connector_target_dimensions_dimension_value_value),
    						},
    						Name: pulumi.Any(_var.Service_connector_target_dimensions_name),
    					},
    				},
    				EnableFormattedMessaging: pulumi.Any(_var.Service_connector_target_enable_formatted_messaging),
    				FunctionId:               pulumi.Any(oci_functions_function.Test_function.Id),
    				LogGroupId:               pulumi.Any(oci_logging_log_group.Test_log_group.Id),
    				LogSourceIdentifier:      pulumi.Any(_var.Service_connector_target_log_source_identifier),
    				Metric:                   pulumi.Any(_var.Service_connector_target_metric),
    				MetricNamespace:          pulumi.Any(_var.Service_connector_target_metric_namespace),
    				Namespace:                pulumi.Any(_var.Service_connector_target_namespace),
    				ObjectNamePrefix:         pulumi.Any(_var.Service_connector_target_object_name_prefix),
    				StreamId:                 pulumi.Any(oci_streaming_stream.Test_stream.Id),
    				TopicId:                  pulumi.Any(oci_ons_notification_topic.Test_notification_topic.Id),
    			},
    			DefinedTags: pulumi.Map{
    				"foo-namespace.bar-key": pulumi.Any("value"),
    			},
    			Description: pulumi.Any(_var.Service_connector_description),
    			FreeformTags: pulumi.Map{
    				"bar-key": pulumi.Any("value"),
    			},
    			Tasks: sch.ConnectorTaskArray{
    				&sch.ConnectorTaskArgs{
    					Kind:           pulumi.Any(_var.Service_connector_tasks_kind),
    					BatchSizeInKbs: pulumi.Any(_var.Service_connector_tasks_batch_size_in_kbs),
    					BatchTimeInSec: pulumi.Any(_var.Service_connector_tasks_batch_time_in_sec),
    					Condition:      pulumi.Any(_var.Service_connector_tasks_condition),
    					FunctionId:     pulumi.Any(oci_functions_function.Test_function.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("testServiceConnector", new()
        {
            CompartmentId = @var.Compartment_id,
            DisplayName = @var.Service_connector_display_name,
            Source = new Oci.Sch.Inputs.ConnectorSourceArgs
            {
                Kind = @var.Service_connector_source_kind,
                ConfigMap = @var.Service_connector_source_config_map,
                Cursor = new Oci.Sch.Inputs.ConnectorSourceCursorArgs
                {
                    Kind = @var.Service_connector_source_cursor_kind,
                },
                LogSources = new[]
                {
                    new Oci.Sch.Inputs.ConnectorSourceLogSourceArgs
                    {
                        CompartmentId = @var.Compartment_id,
                        LogGroupId = oci_logging_log_group.Test_log_group.Id,
                        LogId = oci_logging_log.Test_log.Id,
                    },
                },
                MonitoringSources = new[]
                {
                    new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceArgs
                    {
                        CompartmentId = @var.Compartment_id,
                        NamespaceDetails = new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceNamespaceDetailsArgs
                        {
                            Kind = @var.Service_connector_source_monitoring_sources_namespace_details_kind,
                            Namespaces = new[]
                            {
                                new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs
                                {
                                    Metrics = new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs
                                    {
                                        Kind = @var.Service_connector_source_monitoring_sources_namespace_details_namespaces_metrics_kind,
                                    },
                                    Namespace = @var.Service_connector_source_monitoring_sources_namespace_details_namespaces_namespace,
                                },
                            },
                        },
                    },
                },
                PluginName = @var.Service_connector_source_plugin_name,
                StreamId = oci_streaming_stream.Test_stream.Id,
            },
            Target = new Oci.Sch.Inputs.ConnectorTargetArgs
            {
                Kind = @var.Service_connector_target_kind,
                BatchRolloverSizeInMbs = @var.Service_connector_target_batch_rollover_size_in_mbs,
                BatchRolloverTimeInMs = @var.Service_connector_target_batch_rollover_time_in_ms,
                BatchSizeInKbs = @var.Service_connector_target_batch_size_in_kbs,
                BatchSizeInNum = @var.Service_connector_target_batch_size_in_num,
                BatchTimeInSec = @var.Service_connector_target_batch_time_in_sec,
                Bucket = @var.Service_connector_target_bucket,
                CompartmentId = @var.Compartment_id,
                Dimensions = new[]
                {
                    new Oci.Sch.Inputs.ConnectorTargetDimensionArgs
                    {
                        DimensionValue = new Oci.Sch.Inputs.ConnectorTargetDimensionDimensionValueArgs
                        {
                            Kind = @var.Service_connector_target_dimensions_dimension_value_kind,
                            Path = @var.Service_connector_target_dimensions_dimension_value_path,
                            Value = @var.Service_connector_target_dimensions_dimension_value_value,
                        },
                        Name = @var.Service_connector_target_dimensions_name,
                    },
                },
                EnableFormattedMessaging = @var.Service_connector_target_enable_formatted_messaging,
                FunctionId = oci_functions_function.Test_function.Id,
                LogGroupId = oci_logging_log_group.Test_log_group.Id,
                LogSourceIdentifier = @var.Service_connector_target_log_source_identifier,
                Metric = @var.Service_connector_target_metric,
                MetricNamespace = @var.Service_connector_target_metric_namespace,
                Namespace = @var.Service_connector_target_namespace,
                ObjectNamePrefix = @var.Service_connector_target_object_name_prefix,
                StreamId = oci_streaming_stream.Test_stream.Id,
                TopicId = oci_ons_notification_topic.Test_notification_topic.Id,
            },
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            Description = @var.Service_connector_description,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            Tasks = new[]
            {
                new Oci.Sch.Inputs.ConnectorTaskArgs
                {
                    Kind = @var.Service_connector_tasks_kind,
                    BatchSizeInKbs = @var.Service_connector_tasks_batch_size_in_kbs,
                    BatchTimeInSec = @var.Service_connector_tasks_batch_time_in_sec,
                    Condition = @var.Service_connector_tasks_condition,
                    FunctionId = oci_functions_function.Test_function.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(var_.compartment_id())
                .displayName(var_.service_connector_display_name())
                .source(ConnectorSourceArgs.builder()
                    .kind(var_.service_connector_source_kind())
                    .configMap(var_.service_connector_source_config_map())
                    .cursor(ConnectorSourceCursorArgs.builder()
                        .kind(var_.service_connector_source_cursor_kind())
                        .build())
                    .logSources(ConnectorSourceLogSourceArgs.builder()
                        .compartmentId(var_.compartment_id())
                        .logGroupId(oci_logging_log_group.test_log_group().id())
                        .logId(oci_logging_log.test_log().id())
                        .build())
                    .monitoringSources(ConnectorSourceMonitoringSourceArgs.builder()
                        .compartmentId(var_.compartment_id())
                        .namespaceDetails(ConnectorSourceMonitoringSourceNamespaceDetailsArgs.builder()
                            .kind(var_.service_connector_source_monitoring_sources_namespace_details_kind())
                            .namespaces(ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs.builder()
                                .metrics(ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs.builder()
                                    .kind(var_.service_connector_source_monitoring_sources_namespace_details_namespaces_metrics_kind())
                                    .build())
                                .namespace(var_.service_connector_source_monitoring_sources_namespace_details_namespaces_namespace())
                                .build())
                            .build())
                        .build())
                    .pluginName(var_.service_connector_source_plugin_name())
                    .streamId(oci_streaming_stream.test_stream().id())
                    .build())
                .target(ConnectorTargetArgs.builder()
                    .kind(var_.service_connector_target_kind())
                    .batchRolloverSizeInMbs(var_.service_connector_target_batch_rollover_size_in_mbs())
                    .batchRolloverTimeInMs(var_.service_connector_target_batch_rollover_time_in_ms())
                    .batchSizeInKbs(var_.service_connector_target_batch_size_in_kbs())
                    .batchSizeInNum(var_.service_connector_target_batch_size_in_num())
                    .batchTimeInSec(var_.service_connector_target_batch_time_in_sec())
                    .bucket(var_.service_connector_target_bucket())
                    .compartmentId(var_.compartment_id())
                    .dimensions(ConnectorTargetDimensionArgs.builder()
                        .dimensionValue(ConnectorTargetDimensionDimensionValueArgs.builder()
                            .kind(var_.service_connector_target_dimensions_dimension_value_kind())
                            .path(var_.service_connector_target_dimensions_dimension_value_path())
                            .value(var_.service_connector_target_dimensions_dimension_value_value())
                            .build())
                        .name(var_.service_connector_target_dimensions_name())
                        .build())
                    .enableFormattedMessaging(var_.service_connector_target_enable_formatted_messaging())
                    .functionId(oci_functions_function.test_function().id())
                    .logGroupId(oci_logging_log_group.test_log_group().id())
                    .logSourceIdentifier(var_.service_connector_target_log_source_identifier())
                    .metric(var_.service_connector_target_metric())
                    .metricNamespace(var_.service_connector_target_metric_namespace())
                    .namespace(var_.service_connector_target_namespace())
                    .objectNamePrefix(var_.service_connector_target_object_name_prefix())
                    .streamId(oci_streaming_stream.test_stream().id())
                    .topicId(oci_ons_notification_topic.test_notification_topic().id())
                    .build())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .description(var_.service_connector_description())
                .freeformTags(Map.of("bar-key", "value"))
                .tasks(ConnectorTaskArgs.builder()
                    .kind(var_.service_connector_tasks_kind())
                    .batchSizeInKbs(var_.service_connector_tasks_batch_size_in_kbs())
                    .batchTimeInSec(var_.service_connector_tasks_batch_time_in_sec())
                    .condition(var_.service_connector_tasks_condition())
                    .functionId(oci_functions_function.test_function().id())
                    .build())
                .build());
    
        }
    }
    
    resources:
      testServiceConnector:
        type: oci:Sch:Connector
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          displayName: ${var.service_connector_display_name}
          source:
            kind: ${var.service_connector_source_kind}
            configMap: ${var.service_connector_source_config_map}
            cursor:
              kind: ${var.service_connector_source_cursor_kind}
            logSources:
              - compartmentId: ${var.compartment_id}
                logGroupId: ${oci_logging_log_group.test_log_group.id}
                logId: ${oci_logging_log.test_log.id}
            monitoringSources:
              - compartmentId: ${var.compartment_id}
                namespaceDetails:
                  kind: ${var.service_connector_source_monitoring_sources_namespace_details_kind}
                  namespaces:
                    - metrics:
                        kind: ${var.service_connector_source_monitoring_sources_namespace_details_namespaces_metrics_kind}
                      namespace: ${var.service_connector_source_monitoring_sources_namespace_details_namespaces_namespace}
            pluginName: ${var.service_connector_source_plugin_name}
            streamId: ${oci_streaming_stream.test_stream.id}
          target:
            kind: ${var.service_connector_target_kind}
            batchRolloverSizeInMbs: ${var.service_connector_target_batch_rollover_size_in_mbs}
            batchRolloverTimeInMs: ${var.service_connector_target_batch_rollover_time_in_ms}
            batchSizeInKbs: ${var.service_connector_target_batch_size_in_kbs}
            batchSizeInNum: ${var.service_connector_target_batch_size_in_num}
            batchTimeInSec: ${var.service_connector_target_batch_time_in_sec}
            bucket: ${var.service_connector_target_bucket}
            compartmentId: ${var.compartment_id}
            dimensions:
              - dimensionValue:
                  kind: ${var.service_connector_target_dimensions_dimension_value_kind}
                  path: ${var.service_connector_target_dimensions_dimension_value_path}
                  value: ${var.service_connector_target_dimensions_dimension_value_value}
                name: ${var.service_connector_target_dimensions_name}
            enableFormattedMessaging: ${var.service_connector_target_enable_formatted_messaging}
            functionId: ${oci_functions_function.test_function.id}
            logGroupId: ${oci_logging_log_group.test_log_group.id}
            logSourceIdentifier: ${var.service_connector_target_log_source_identifier}
            metric: ${var.service_connector_target_metric}
            metricNamespace: ${var.service_connector_target_metric_namespace}
            namespace: ${var.service_connector_target_namespace}
            objectNamePrefix: ${var.service_connector_target_object_name_prefix}
            streamId: ${oci_streaming_stream.test_stream.id}
            topicId: ${oci_ons_notification_topic.test_notification_topic.id}
          #Optional
          definedTags:
            foo-namespace.bar-key: value
          description: ${var.service_connector_description}
          freeformTags:
            bar-key: value
          tasks:
            - kind: ${var.service_connector_tasks_kind}
              batchSizeInKbs: ${var.service_connector_tasks_batch_size_in_kbs}
              batchTimeInSec: ${var.service_connector_tasks_batch_time_in_sec}
              condition: ${var.service_connector_tasks_condition}
              functionId: ${oci_functions_function.test_function.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.

    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 compartment containing the metric.
    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 compartment containing the metric.
    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 compartment containing the metric.
    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 compartment containing the metric.
    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 compartment containing the metric.
    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 compartment containing the metric.
    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 compartment containing the metric.
    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 compartment containing the metric.
    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 compartment containing the metric.
    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 compartment containing the metric.
    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 compartment containing the metric.
    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 compartment containing the metric.
    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 descriminator.
    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 descriminator.
    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 descriminator.
    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 descriminator.
    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 descriminator.
    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 descriminator.
    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 descriminator.
    Kind string
    (Updatable) The type descriminator.
    kind String
    (Updatable) The type descriminator.
    kind string
    (Updatable) The type descriminator.
    kind str
    (Updatable) The type descriminator.
    kind String
    (Updatable) The type descriminator.

    ConnectorSourceLogSource, ConnectorSourceLogSourceArgs

    CompartmentId string
    (Updatable) The OCID of the compartment containing the metric.
    LogGroupId string
    (Updatable) The OCID of the Logging Analytics log group.
    LogId string
    (Updatable) The OCID of the log.
    CompartmentId string
    (Updatable) The OCID of the compartment containing the metric.
    LogGroupId string
    (Updatable) The OCID of the Logging Analytics log group.
    LogId string
    (Updatable) The OCID of the log.
    compartmentId String
    (Updatable) The OCID of the compartment containing the metric.
    logGroupId String
    (Updatable) The OCID of the Logging Analytics log group.
    logId String
    (Updatable) The OCID of the log.
    compartmentId string
    (Updatable) The OCID of the compartment containing the metric.
    logGroupId string
    (Updatable) The OCID of the Logging Analytics log group.
    logId string
    (Updatable) The OCID of the log.
    compartment_id str
    (Updatable) The OCID of the compartment containing the metric.
    log_group_id str
    (Updatable) The OCID of the Logging Analytics log group.
    log_id str
    (Updatable) The OCID of the log.
    compartmentId String
    (Updatable) The OCID of the compartment containing the metric.
    logGroupId String
    (Updatable) The OCID of the Logging Analytics log group.
    logId String
    (Updatable) The OCID of the log.

    ConnectorSourceMonitoringSource, ConnectorSourceMonitoringSourceArgs

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

    ConnectorSourceMonitoringSourceNamespaceDetails, ConnectorSourceMonitoringSourceNamespaceDetailsArgs

    Kind string
    (Updatable) The type descriminator.
    Namespaces List<ConnectorSourceMonitoringSourceNamespaceDetailsNamespace>
    (Updatable) The namespaces for the compartment-specific list.
    Kind string
    (Updatable) The type descriminator.
    Namespaces []ConnectorSourceMonitoringSourceNamespaceDetailsNamespace
    (Updatable) The namespaces for the compartment-specific list.
    kind String
    (Updatable) The type descriminator.
    namespaces List<ConnectorSourceMonitoringSourceNamespaceDetailsNamespace>
    (Updatable) The namespaces for the compartment-specific list.
    kind string
    (Updatable) The type descriminator.
    namespaces ConnectorSourceMonitoringSourceNamespaceDetailsNamespace[]
    (Updatable) The namespaces for the compartment-specific list.
    kind str
    (Updatable) The type descriminator.
    namespaces Sequence[sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespace]
    (Updatable) The namespaces for the compartment-specific list.
    kind String
    (Updatable) The type descriminator.
    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 namespace.
    Metrics ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetrics
    (Updatable) The metrics to query for the specified metric namespace.
    Namespace string
    (Updatable) The namespace.
    metrics ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetrics
    (Updatable) The metrics to query for the specified metric namespace.
    namespace String
    (Updatable) The namespace.
    metrics ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetrics
    (Updatable) The metrics to query for the specified metric namespace.
    namespace string
    (Updatable) The namespace.
    metrics sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetrics
    (Updatable) The metrics to query for the specified metric namespace.
    namespace str
    (Updatable) The namespace.
    metrics Property Map
    (Updatable) The metrics to query for the specified metric namespace.
    namespace String
    (Updatable) The namespace.

    ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetrics, ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs

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

    ConnectorTarget, ConnectorTargetArgs

    Kind string
    (Updatable) The type descriminator.
    BatchRolloverSizeInMbs int
    (Updatable) The batch rollover size in megabytes.
    BatchRolloverTimeInMs int
    (Updatable) The batch rollover time in milliseconds.
    BatchSizeInKbs int
    (Updatable) Size limit (kilobytes) for batch sent to invoke the function.
    BatchSizeInNum int
    (Updatable) The batch rollover size in number of messages.
    BatchTimeInSec int
    (Updatable) Time limit (seconds) for batch sent to invoke the function.
    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 to be used as a task.
    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 descriminator.
    BatchRolloverSizeInMbs int
    (Updatable) The batch rollover size in megabytes.
    BatchRolloverTimeInMs int
    (Updatable) The batch rollover time in milliseconds.
    BatchSizeInKbs int
    (Updatable) Size limit (kilobytes) for batch sent to invoke the function.
    BatchSizeInNum int
    (Updatable) The batch rollover size in number of messages.
    BatchTimeInSec int
    (Updatable) Time limit (seconds) for batch sent to invoke the function.
    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 to be used as a task.
    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 descriminator.
    batchRolloverSizeInMbs Integer
    (Updatable) The batch rollover size in megabytes.
    batchRolloverTimeInMs Integer
    (Updatable) The batch rollover time in milliseconds.
    batchSizeInKbs Integer
    (Updatable) Size limit (kilobytes) for batch sent to invoke the function.
    batchSizeInNum Integer
    (Updatable) The batch rollover size in number of messages.
    batchTimeInSec Integer
    (Updatable) Time limit (seconds) for batch sent to invoke the function.
    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 to be used as a task.
    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 descriminator.
    batchRolloverSizeInMbs number
    (Updatable) The batch rollover size in megabytes.
    batchRolloverTimeInMs number
    (Updatable) The batch rollover time in milliseconds.
    batchSizeInKbs number
    (Updatable) Size limit (kilobytes) for batch sent to invoke the function.
    batchSizeInNum number
    (Updatable) The batch rollover size in number of messages.
    batchTimeInSec number
    (Updatable) Time limit (seconds) for batch sent to invoke the function.
    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 to be used as a task.
    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 descriminator.
    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) Size limit (kilobytes) for batch sent to invoke the function.
    batch_size_in_num int
    (Updatable) The batch rollover size in number of messages.
    batch_time_in_sec int
    (Updatable) Time limit (seconds) for batch sent to invoke the function.
    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 to be used as a task.
    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 descriminator.
    batchRolloverSizeInMbs Number
    (Updatable) The batch rollover size in megabytes.
    batchRolloverTimeInMs Number
    (Updatable) The batch rollover time in milliseconds.
    batchSizeInKbs Number
    (Updatable) Size limit (kilobytes) for batch sent to invoke the function.
    batchSizeInNum Number
    (Updatable) The batch rollover size in number of messages.
    batchTimeInSec Number
    (Updatable) Time limit (seconds) for batch sent to invoke the function.
    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 to be used as a task.
    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 descriminator.
    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 descriminator.
    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 descriminator.
    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 descriminator.
    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 descriminator.
    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 descriminator.
    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 v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi