oci.Sch.Connector
Explore with Pulumi AI
This resource provides the Service Connector resource in Oracle Cloud Infrastructure Service Connector Hub service.
Creates a new connector in the specified compartment. A connector is a logically defined flow for moving data from a source service to a destination service in Oracle Cloud Infrastructure. For more information, see Creating a Connector. For general information about connectors, see Overview of Connector Hub.
For purposes of access control, you must provide the OCID of the compartment where you want the connector to reside. Notice that the connector doesn’t have to be in the same compartment as the source or target services. For information about access control and compartments, see Overview of the IAM Service.
After you send your request, the new connector’s state is temporarily CREATING. When the state changes to ACTIVE, data begins transferring from the source service to the target service. For instructions on deactivating and activating connectors, see Activating a Connector.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testServiceConnector = new oci.sch.Connector("test_service_connector", {
compartmentId: compartmentId,
displayName: serviceConnectorDisplayName,
source: {
kind: serviceConnectorSourceKind,
configMap: serviceConnectorSourceConfigMap,
cursor: {
kind: serviceConnectorSourceCursorKind,
},
logSources: [{
compartmentId: compartmentId,
logGroupId: testLogGroup.id,
logId: testLog.id,
}],
monitoringSources: [{
compartmentId: compartmentId,
namespaceDetails: {
kind: serviceConnectorSourceMonitoringSourcesNamespaceDetailsKind,
namespaces: [{
metrics: {
kind: serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesMetricsKind,
},
namespace: serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesNamespace,
}],
},
}],
pluginName: serviceConnectorSourcePluginName,
streamId: testStream.id,
},
target: {
kind: serviceConnectorTargetKind,
batchRolloverSizeInMbs: serviceConnectorTargetBatchRolloverSizeInMbs,
batchRolloverTimeInMs: serviceConnectorTargetBatchRolloverTimeInMs,
batchSizeInKbs: serviceConnectorTargetBatchSizeInKbs,
batchSizeInNum: serviceConnectorTargetBatchSizeInNum,
batchTimeInSec: serviceConnectorTargetBatchTimeInSec,
bucket: serviceConnectorTargetBucket,
compartmentId: compartmentId,
dimensions: [{
dimensionValue: {
kind: serviceConnectorTargetDimensionsDimensionValueKind,
path: serviceConnectorTargetDimensionsDimensionValuePath,
value: serviceConnectorTargetDimensionsDimensionValueValue,
},
name: serviceConnectorTargetDimensionsName,
}],
enableFormattedMessaging: serviceConnectorTargetEnableFormattedMessaging,
functionId: testFunction.id,
logGroupId: testLogGroup.id,
logSourceIdentifier: serviceConnectorTargetLogSourceIdentifier,
metric: serviceConnectorTargetMetric,
metricNamespace: serviceConnectorTargetMetricNamespace,
namespace: serviceConnectorTargetNamespace,
objectNamePrefix: serviceConnectorTargetObjectNamePrefix,
streamId: testStream.id,
topicId: testNotificationTopic.id,
},
definedTags: {
"foo-namespace.bar-key": "value",
},
description: serviceConnectorDescription,
freeformTags: {
"bar-key": "value",
},
tasks: [{
kind: serviceConnectorTasksKind,
batchSizeInKbs: serviceConnectorTasksBatchSizeInKbs,
batchTimeInSec: serviceConnectorTasksBatchTimeInSec,
condition: serviceConnectorTasksCondition,
functionId: testFunction.id,
}],
});
import pulumi
import pulumi_oci as oci
test_service_connector = oci.sch.Connector("test_service_connector",
compartment_id=compartment_id,
display_name=service_connector_display_name,
source={
"kind": service_connector_source_kind,
"config_map": service_connector_source_config_map,
"cursor": {
"kind": service_connector_source_cursor_kind,
},
"log_sources": [{
"compartment_id": compartment_id,
"log_group_id": test_log_group["id"],
"log_id": test_log["id"],
}],
"monitoring_sources": [{
"compartment_id": compartment_id,
"namespace_details": {
"kind": service_connector_source_monitoring_sources_namespace_details_kind,
"namespaces": [{
"metrics": {
"kind": service_connector_source_monitoring_sources_namespace_details_namespaces_metrics_kind,
},
"namespace": service_connector_source_monitoring_sources_namespace_details_namespaces_namespace,
}],
},
}],
"plugin_name": service_connector_source_plugin_name,
"stream_id": test_stream["id"],
},
target={
"kind": service_connector_target_kind,
"batch_rollover_size_in_mbs": service_connector_target_batch_rollover_size_in_mbs,
"batch_rollover_time_in_ms": service_connector_target_batch_rollover_time_in_ms,
"batch_size_in_kbs": service_connector_target_batch_size_in_kbs,
"batch_size_in_num": service_connector_target_batch_size_in_num,
"batch_time_in_sec": service_connector_target_batch_time_in_sec,
"bucket": service_connector_target_bucket,
"compartment_id": compartment_id,
"dimensions": [{
"dimension_value": {
"kind": service_connector_target_dimensions_dimension_value_kind,
"path": service_connector_target_dimensions_dimension_value_path,
"value": service_connector_target_dimensions_dimension_value_value,
},
"name": service_connector_target_dimensions_name,
}],
"enable_formatted_messaging": service_connector_target_enable_formatted_messaging,
"function_id": test_function["id"],
"log_group_id": test_log_group["id"],
"log_source_identifier": service_connector_target_log_source_identifier,
"metric": service_connector_target_metric,
"metric_namespace": service_connector_target_metric_namespace,
"namespace": service_connector_target_namespace,
"object_name_prefix": service_connector_target_object_name_prefix,
"stream_id": test_stream["id"],
"topic_id": test_notification_topic["id"],
},
defined_tags={
"foo-namespace.bar-key": "value",
},
description=service_connector_description,
freeform_tags={
"bar-key": "value",
},
tasks=[{
"kind": service_connector_tasks_kind,
"batch_size_in_kbs": service_connector_tasks_batch_size_in_kbs,
"batch_time_in_sec": service_connector_tasks_batch_time_in_sec,
"condition": service_connector_tasks_condition,
"function_id": test_function["id"],
}])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Sch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Sch.NewConnector(ctx, "test_service_connector", &Sch.ConnectorArgs{
CompartmentId: pulumi.Any(compartmentId),
DisplayName: pulumi.Any(serviceConnectorDisplayName),
Source: &sch.ConnectorSourceArgs{
Kind: pulumi.Any(serviceConnectorSourceKind),
ConfigMap: pulumi.Any(serviceConnectorSourceConfigMap),
Cursor: &sch.ConnectorSourceCursorArgs{
Kind: pulumi.Any(serviceConnectorSourceCursorKind),
},
LogSources: sch.ConnectorSourceLogSourceArray{
&sch.ConnectorSourceLogSourceArgs{
CompartmentId: pulumi.Any(compartmentId),
LogGroupId: pulumi.Any(testLogGroup.Id),
LogId: pulumi.Any(testLog.Id),
},
},
MonitoringSources: sch.ConnectorSourceMonitoringSourceArray{
&sch.ConnectorSourceMonitoringSourceArgs{
CompartmentId: pulumi.Any(compartmentId),
NamespaceDetails: &sch.ConnectorSourceMonitoringSourceNamespaceDetailsArgs{
Kind: pulumi.Any(serviceConnectorSourceMonitoringSourcesNamespaceDetailsKind),
Namespaces: sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArray{
&sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs{
Metrics: &sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs{
Kind: pulumi.Any(serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesMetricsKind),
},
Namespace: pulumi.Any(serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesNamespace),
},
},
},
},
},
PluginName: pulumi.Any(serviceConnectorSourcePluginName),
StreamId: pulumi.Any(testStream.Id),
},
Target: &sch.ConnectorTargetArgs{
Kind: pulumi.Any(serviceConnectorTargetKind),
BatchRolloverSizeInMbs: pulumi.Any(serviceConnectorTargetBatchRolloverSizeInMbs),
BatchRolloverTimeInMs: pulumi.Any(serviceConnectorTargetBatchRolloverTimeInMs),
BatchSizeInKbs: pulumi.Any(serviceConnectorTargetBatchSizeInKbs),
BatchSizeInNum: pulumi.Any(serviceConnectorTargetBatchSizeInNum),
BatchTimeInSec: pulumi.Any(serviceConnectorTargetBatchTimeInSec),
Bucket: pulumi.Any(serviceConnectorTargetBucket),
CompartmentId: pulumi.Any(compartmentId),
Dimensions: sch.ConnectorTargetDimensionArray{
&sch.ConnectorTargetDimensionArgs{
DimensionValue: &sch.ConnectorTargetDimensionDimensionValueArgs{
Kind: pulumi.Any(serviceConnectorTargetDimensionsDimensionValueKind),
Path: pulumi.Any(serviceConnectorTargetDimensionsDimensionValuePath),
Value: pulumi.Any(serviceConnectorTargetDimensionsDimensionValueValue),
},
Name: pulumi.Any(serviceConnectorTargetDimensionsName),
},
},
EnableFormattedMessaging: pulumi.Any(serviceConnectorTargetEnableFormattedMessaging),
FunctionId: pulumi.Any(testFunction.Id),
LogGroupId: pulumi.Any(testLogGroup.Id),
LogSourceIdentifier: pulumi.Any(serviceConnectorTargetLogSourceIdentifier),
Metric: pulumi.Any(serviceConnectorTargetMetric),
MetricNamespace: pulumi.Any(serviceConnectorTargetMetricNamespace),
Namespace: pulumi.Any(serviceConnectorTargetNamespace),
ObjectNamePrefix: pulumi.Any(serviceConnectorTargetObjectNamePrefix),
StreamId: pulumi.Any(testStream.Id),
TopicId: pulumi.Any(testNotificationTopic.Id),
},
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
Description: pulumi.Any(serviceConnectorDescription),
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
Tasks: sch.ConnectorTaskArray{
&sch.ConnectorTaskArgs{
Kind: pulumi.Any(serviceConnectorTasksKind),
BatchSizeInKbs: pulumi.Any(serviceConnectorTasksBatchSizeInKbs),
BatchTimeInSec: pulumi.Any(serviceConnectorTasksBatchTimeInSec),
Condition: pulumi.Any(serviceConnectorTasksCondition),
FunctionId: pulumi.Any(testFunction.Id),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testServiceConnector = new Oci.Sch.Connector("test_service_connector", new()
{
CompartmentId = compartmentId,
DisplayName = serviceConnectorDisplayName,
Source = new Oci.Sch.Inputs.ConnectorSourceArgs
{
Kind = serviceConnectorSourceKind,
ConfigMap = serviceConnectorSourceConfigMap,
Cursor = new Oci.Sch.Inputs.ConnectorSourceCursorArgs
{
Kind = serviceConnectorSourceCursorKind,
},
LogSources = new[]
{
new Oci.Sch.Inputs.ConnectorSourceLogSourceArgs
{
CompartmentId = compartmentId,
LogGroupId = testLogGroup.Id,
LogId = testLog.Id,
},
},
MonitoringSources = new[]
{
new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceArgs
{
CompartmentId = compartmentId,
NamespaceDetails = new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceNamespaceDetailsArgs
{
Kind = serviceConnectorSourceMonitoringSourcesNamespaceDetailsKind,
Namespaces = new[]
{
new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs
{
Metrics = new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs
{
Kind = serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesMetricsKind,
},
Namespace = serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesNamespace,
},
},
},
},
},
PluginName = serviceConnectorSourcePluginName,
StreamId = testStream.Id,
},
Target = new Oci.Sch.Inputs.ConnectorTargetArgs
{
Kind = serviceConnectorTargetKind,
BatchRolloverSizeInMbs = serviceConnectorTargetBatchRolloverSizeInMbs,
BatchRolloverTimeInMs = serviceConnectorTargetBatchRolloverTimeInMs,
BatchSizeInKbs = serviceConnectorTargetBatchSizeInKbs,
BatchSizeInNum = serviceConnectorTargetBatchSizeInNum,
BatchTimeInSec = serviceConnectorTargetBatchTimeInSec,
Bucket = serviceConnectorTargetBucket,
CompartmentId = compartmentId,
Dimensions = new[]
{
new Oci.Sch.Inputs.ConnectorTargetDimensionArgs
{
DimensionValue = new Oci.Sch.Inputs.ConnectorTargetDimensionDimensionValueArgs
{
Kind = serviceConnectorTargetDimensionsDimensionValueKind,
Path = serviceConnectorTargetDimensionsDimensionValuePath,
Value = serviceConnectorTargetDimensionsDimensionValueValue,
},
Name = serviceConnectorTargetDimensionsName,
},
},
EnableFormattedMessaging = serviceConnectorTargetEnableFormattedMessaging,
FunctionId = testFunction.Id,
LogGroupId = testLogGroup.Id,
LogSourceIdentifier = serviceConnectorTargetLogSourceIdentifier,
Metric = serviceConnectorTargetMetric,
MetricNamespace = serviceConnectorTargetMetricNamespace,
Namespace = serviceConnectorTargetNamespace,
ObjectNamePrefix = serviceConnectorTargetObjectNamePrefix,
StreamId = testStream.Id,
TopicId = testNotificationTopic.Id,
},
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
Description = serviceConnectorDescription,
FreeformTags =
{
{ "bar-key", "value" },
},
Tasks = new[]
{
new Oci.Sch.Inputs.ConnectorTaskArgs
{
Kind = serviceConnectorTasksKind,
BatchSizeInKbs = serviceConnectorTasksBatchSizeInKbs,
BatchTimeInSec = serviceConnectorTasksBatchTimeInSec,
Condition = serviceConnectorTasksCondition,
FunctionId = testFunction.Id,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Sch.Connector;
import com.pulumi.oci.Sch.ConnectorArgs;
import com.pulumi.oci.Sch.inputs.ConnectorSourceArgs;
import com.pulumi.oci.Sch.inputs.ConnectorSourceCursorArgs;
import com.pulumi.oci.Sch.inputs.ConnectorTargetArgs;
import com.pulumi.oci.Sch.inputs.ConnectorTaskArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testServiceConnector = new Connector("testServiceConnector", ConnectorArgs.builder()
.compartmentId(compartmentId)
.displayName(serviceConnectorDisplayName)
.source(ConnectorSourceArgs.builder()
.kind(serviceConnectorSourceKind)
.configMap(serviceConnectorSourceConfigMap)
.cursor(ConnectorSourceCursorArgs.builder()
.kind(serviceConnectorSourceCursorKind)
.build())
.logSources(ConnectorSourceLogSourceArgs.builder()
.compartmentId(compartmentId)
.logGroupId(testLogGroup.id())
.logId(testLog.id())
.build())
.monitoringSources(ConnectorSourceMonitoringSourceArgs.builder()
.compartmentId(compartmentId)
.namespaceDetails(ConnectorSourceMonitoringSourceNamespaceDetailsArgs.builder()
.kind(serviceConnectorSourceMonitoringSourcesNamespaceDetailsKind)
.namespaces(ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs.builder()
.metrics(ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs.builder()
.kind(serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesMetricsKind)
.build())
.namespace(serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesNamespace)
.build())
.build())
.build())
.pluginName(serviceConnectorSourcePluginName)
.streamId(testStream.id())
.build())
.target(ConnectorTargetArgs.builder()
.kind(serviceConnectorTargetKind)
.batchRolloverSizeInMbs(serviceConnectorTargetBatchRolloverSizeInMbs)
.batchRolloverTimeInMs(serviceConnectorTargetBatchRolloverTimeInMs)
.batchSizeInKbs(serviceConnectorTargetBatchSizeInKbs)
.batchSizeInNum(serviceConnectorTargetBatchSizeInNum)
.batchTimeInSec(serviceConnectorTargetBatchTimeInSec)
.bucket(serviceConnectorTargetBucket)
.compartmentId(compartmentId)
.dimensions(ConnectorTargetDimensionArgs.builder()
.dimensionValue(ConnectorTargetDimensionDimensionValueArgs.builder()
.kind(serviceConnectorTargetDimensionsDimensionValueKind)
.path(serviceConnectorTargetDimensionsDimensionValuePath)
.value(serviceConnectorTargetDimensionsDimensionValueValue)
.build())
.name(serviceConnectorTargetDimensionsName)
.build())
.enableFormattedMessaging(serviceConnectorTargetEnableFormattedMessaging)
.functionId(testFunction.id())
.logGroupId(testLogGroup.id())
.logSourceIdentifier(serviceConnectorTargetLogSourceIdentifier)
.metric(serviceConnectorTargetMetric)
.metricNamespace(serviceConnectorTargetMetricNamespace)
.namespace(serviceConnectorTargetNamespace)
.objectNamePrefix(serviceConnectorTargetObjectNamePrefix)
.streamId(testStream.id())
.topicId(testNotificationTopic.id())
.build())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.description(serviceConnectorDescription)
.freeformTags(Map.of("bar-key", "value"))
.tasks(ConnectorTaskArgs.builder()
.kind(serviceConnectorTasksKind)
.batchSizeInKbs(serviceConnectorTasksBatchSizeInKbs)
.batchTimeInSec(serviceConnectorTasksBatchTimeInSec)
.condition(serviceConnectorTasksCondition)
.functionId(testFunction.id())
.build())
.build());
}
}
resources:
testServiceConnector:
type: oci:Sch:Connector
name: test_service_connector
properties:
compartmentId: ${compartmentId}
displayName: ${serviceConnectorDisplayName}
source:
kind: ${serviceConnectorSourceKind}
configMap: ${serviceConnectorSourceConfigMap}
cursor:
kind: ${serviceConnectorSourceCursorKind}
logSources:
- compartmentId: ${compartmentId}
logGroupId: ${testLogGroup.id}
logId: ${testLog.id}
monitoringSources:
- compartmentId: ${compartmentId}
namespaceDetails:
kind: ${serviceConnectorSourceMonitoringSourcesNamespaceDetailsKind}
namespaces:
- metrics:
kind: ${serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesMetricsKind}
namespace: ${serviceConnectorSourceMonitoringSourcesNamespaceDetailsNamespacesNamespace}
pluginName: ${serviceConnectorSourcePluginName}
streamId: ${testStream.id}
target:
kind: ${serviceConnectorTargetKind}
batchRolloverSizeInMbs: ${serviceConnectorTargetBatchRolloverSizeInMbs}
batchRolloverTimeInMs: ${serviceConnectorTargetBatchRolloverTimeInMs}
batchSizeInKbs: ${serviceConnectorTargetBatchSizeInKbs}
batchSizeInNum: ${serviceConnectorTargetBatchSizeInNum}
batchTimeInSec: ${serviceConnectorTargetBatchTimeInSec}
bucket: ${serviceConnectorTargetBucket}
compartmentId: ${compartmentId}
dimensions:
- dimensionValue:
kind: ${serviceConnectorTargetDimensionsDimensionValueKind}
path: ${serviceConnectorTargetDimensionsDimensionValuePath}
value: ${serviceConnectorTargetDimensionsDimensionValueValue}
name: ${serviceConnectorTargetDimensionsName}
enableFormattedMessaging: ${serviceConnectorTargetEnableFormattedMessaging}
functionId: ${testFunction.id}
logGroupId: ${testLogGroup.id}
logSourceIdentifier: ${serviceConnectorTargetLogSourceIdentifier}
metric: ${serviceConnectorTargetMetric}
metricNamespace: ${serviceConnectorTargetMetricNamespace}
namespace: ${serviceConnectorTargetNamespace}
objectNamePrefix: ${serviceConnectorTargetObjectNamePrefix}
streamId: ${testStream.id}
topicId: ${testNotificationTopic.id}
definedTags:
foo-namespace.bar-key: value
description: ${serviceConnectorDescription}
freeformTags:
bar-key: value
tasks:
- kind: ${serviceConnectorTasksKind}
batchSizeInKbs: ${serviceConnectorTasksBatchSizeInKbs}
batchTimeInSec: ${serviceConnectorTasksBatchTimeInSec}
condition: ${serviceConnectorTasksCondition}
functionId: ${testFunction.id}
Create Connector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Connector(name: string, args: ConnectorArgs, opts?: CustomResourceOptions);
@overload
def Connector(resource_name: str,
args: ConnectorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Connector(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
source: Optional[_sch.ConnectorSourceArgs] = None,
target: Optional[_sch.ConnectorTargetArgs] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
state: Optional[str] = None,
tasks: Optional[Sequence[_sch.ConnectorTaskArgs]] = None)
func NewConnector(ctx *Context, name string, args ConnectorArgs, opts ...ResourceOption) (*Connector, error)
public Connector(string name, ConnectorArgs args, CustomResourceOptions? opts = null)
public Connector(String name, ConnectorArgs args)
public Connector(String name, ConnectorArgs args, CustomResourceOptions options)
type: oci:Sch:Connector
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ConnectorArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ConnectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var connectorResource = new Oci.Sch.Connector("connectorResource", new()
{
CompartmentId = "string",
DisplayName = "string",
Source = new Oci.Sch.Inputs.ConnectorSourceArgs
{
Kind = "string",
ConfigMap = "string",
Cursor = new Oci.Sch.Inputs.ConnectorSourceCursorArgs
{
Kind = "string",
},
LogSources = new[]
{
new Oci.Sch.Inputs.ConnectorSourceLogSourceArgs
{
CompartmentId = "string",
LogGroupId = "string",
LogId = "string",
},
},
MonitoringSources = new[]
{
new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceArgs
{
CompartmentId = "string",
NamespaceDetails = new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceNamespaceDetailsArgs
{
Kind = "string",
Namespaces = new[]
{
new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs
{
Metrics = new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs
{
Kind = "string",
},
Namespace = "string",
},
},
},
},
},
PluginName = "string",
StreamId = "string",
},
Target = new Oci.Sch.Inputs.ConnectorTargetArgs
{
Kind = "string",
EnableFormattedMessaging = false,
BatchSizeInNum = 0,
BatchRolloverTimeInMs = 0,
LogGroupId = "string",
Bucket = "string",
CompartmentId = "string",
Dimensions = new[]
{
new Oci.Sch.Inputs.ConnectorTargetDimensionArgs
{
DimensionValue = new Oci.Sch.Inputs.ConnectorTargetDimensionDimensionValueArgs
{
Kind = "string",
Path = "string",
Value = "string",
},
Name = "string",
},
},
BatchRolloverSizeInMbs = 0,
TopicId = "string",
BatchSizeInKbs = 0,
BatchTimeInSec = 0,
LogSourceIdentifier = "string",
Metric = "string",
MetricNamespace = "string",
Namespace = "string",
ObjectNamePrefix = "string",
StreamId = "string",
FunctionId = "string",
},
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
FreeformTags =
{
{ "string", "string" },
},
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.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
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", "string"))
.description("string")
.freeformTags(Map.of("string", "string"))
.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={
"kind": "string",
"config_map": "string",
"cursor": {
"kind": "string",
},
"log_sources": [{
"compartment_id": "string",
"log_group_id": "string",
"log_id": "string",
}],
"monitoring_sources": [{
"compartment_id": "string",
"namespace_details": {
"kind": "string",
"namespaces": [{
"metrics": {
"kind": "string",
},
"namespace": "string",
}],
},
}],
"plugin_name": "string",
"stream_id": "string",
},
target={
"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": [{
"dimension_value": {
"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": "string",
},
description="string",
freeform_tags={
"string": "string",
},
state="string",
tasks=[{
"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: "string",
},
description: "string",
freeformTags: {
string: "string",
},
state: "string",
tasks: [{
kind: "string",
batchSizeInKbs: 0,
batchTimeInSec: 0,
condition: "string",
functionId: "string",
}],
});
type: oci:Sch:Connector
properties:
compartmentId: string
definedTags:
string: string
description: string
displayName: string
freeformTags:
string: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Connector resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the comparment to create the connector in.
- Display
Name string - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
- Source
Connector
Source - (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
Connector
Target - (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.
- Dictionary<string, string>
- (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.
- Dictionary<string, string>
- (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
orINACTIVE
.** 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<Connector
Task> - (Updatable) The list of tasks.
- Compartment
Id string - (Updatable) The OCID of the comparment to create the connector in.
- Display
Name string - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
- Source
Connector
Source Args - (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
Connector
Target Args - (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.
- map[string]string
- (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.
- map[string]string
- (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
orINACTIVE
.** 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
[]Connector
Task Args - (Updatable) The list of tasks.
- compartment
Id String - (Updatable) The OCID of the comparment to create the connector in.
- display
Name String - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
- source
Connector
Source - (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
Connector
Target - (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.
- Map<String,String>
- (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.
- Map<String,String>
- (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
orINACTIVE
.** 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<Connector
Task> - (Updatable) The list of tasks.
- compartment
Id string - (Updatable) The OCID of the comparment to create the connector in.
- display
Name string - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
- source
Connector
Source - (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
Connector
Target - (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.
- {[key: string]: string}
- (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.
- {[key: string]: string}
- (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
orINACTIVE
.** 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
Connector
Task[] - (Updatable) The list of tasks.
- compartment_
id str - (Updatable) The OCID of the comparment to create the connector in.
- display_
name str - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
- source
sch.
Connector Source Args - (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.
Connector Target Args - (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.
- Mapping[str, str]
- (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.
- Mapping[str, str]
- (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
orINACTIVE
.** 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.
Connector Task Args] - (Updatable) The list of tasks.
- compartment
Id String - (Updatable) The OCID of the comparment to create the connector in.
- display
Name 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.
- Map<String>
- (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.
- Map<String>
- (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
orINACTIVE
.** 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.
- Lifecyle
Details 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. - Dictionary<string, string>
- 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 string - The date and time when the connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- Time
Updated 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.
- Lifecyle
Details 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. - map[string]string
- 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 string - The date and time when the connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- Time
Updated 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.
- lifecyle
Details 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. - Map<String,String>
- 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 String - The date and time when the connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- time
Updated 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.
- lifecyle
Details 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. - {[key: string]: string}
- 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 string - The date and time when the connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- time
Updated 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. - Mapping[str, str]
- 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.
- lifecyle
Details 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. - Map<String>
- 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 String - The date and time when the connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- time
Updated 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, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecyle_details: Optional[str] = None,
source: Optional[_sch.ConnectorSourceArgs] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = 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.
- Compartment
Id string - (Updatable) The OCID of the comparment to create the connector in.
- Dictionary<string, string>
- (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.
- Display
Name string - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
- Dictionary<string, string>
- (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 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
Connector
Source - (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
orINACTIVE
.** 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
- Dictionary<string, string>
- 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
Connector
Target - (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<Connector
Task> - (Updatable) The list of tasks.
- Time
Created string - The date and time when the connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- Time
Updated string - The date and time when the connector was updated. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- Compartment
Id string - (Updatable) The OCID of the comparment to create the connector in.
- map[string]string
- (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.
- Display
Name string - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
- map[string]string
- (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 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
Connector
Source Args - (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
orINACTIVE
.** 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
- map[string]string
- 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
Connector
Target Args - (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
[]Connector
Task Args - (Updatable) The list of tasks.
- Time
Created string - The date and time when the connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- Time
Updated string - The date and time when the connector was updated. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- compartment
Id String - (Updatable) The OCID of the comparment to create the connector in.
- Map<String,String>
- (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.
- display
Name String - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
- Map<String,String>
- (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 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
Connector
Source - (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
orINACTIVE
.** 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
- Map<String,String>
- 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
Connector
Target - (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<Connector
Task> - (Updatable) The list of tasks.
- time
Created String - The date and time when the connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- time
Updated String - The date and time when the connector was updated. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- compartment
Id string - (Updatable) The OCID of the comparment to create the connector in.
- {[key: string]: string}
- (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.
- display
Name string - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
- {[key: string]: string}
- (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 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
Connector
Source - (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
orINACTIVE
.** 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
- {[key: string]: string}
- 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
Connector
Target - (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
Connector
Task[] - (Updatable) The list of tasks.
- time
Created string - The date and time when the connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- time
Updated string - The date and time when the connector was updated. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- compartment_
id str - (Updatable) The OCID of the comparment to create the connector in.
- Mapping[str, str]
- (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.
- Mapping[str, str]
- (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.
Connector Source Args - (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
orINACTIVE
.** 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
- Mapping[str, str]
- 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.
Connector Target Args - (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.
Connector Task Args] - (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
- compartment
Id String - (Updatable) The OCID of the comparment to create the connector in.
- Map<String>
- (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.
- display
Name String - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
- Map<String>
- (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 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
orINACTIVE
.** 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
- Map<String>
- 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.
- time
Created String - The date and time when the connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- time
Updated String - The date and time when the connector was updated. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
Supporting Types
ConnectorSource, ConnectorSourceArgs
- Kind string
- (Updatable) The type discriminator.
- Config
Map 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
Connector
Source Cursor - (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 List<ConnectorSource Log Source> - (Updatable) The logs for this Logging source.
- Monitoring
Sources List<ConnectorSource Monitoring Source> - (Updatable) One or more compartment-specific lists of metric namespaces to retrieve data from.
- Plugin
Name 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]. - Stream
Id string - (Updatable) The OCID of the stream.
- Kind string
- (Updatable) The type discriminator.
- Config
Map 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
Connector
Source Cursor - (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 []ConnectorSource Log Source - (Updatable) The logs for this Logging source.
- Monitoring
Sources []ConnectorSource Monitoring Source - (Updatable) One or more compartment-specific lists of metric namespaces to retrieve data from.
- Plugin
Name 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]. - Stream
Id string - (Updatable) The OCID of the stream.
- kind String
- (Updatable) The type discriminator.
- config
Map 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
Connector
Source Cursor - (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 List<ConnectorSource Log Source> - (Updatable) The logs for this Logging source.
- monitoring
Sources List<ConnectorSource Monitoring Source> - (Updatable) One or more compartment-specific lists of metric namespaces to retrieve data from.
- plugin
Name 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]. - stream
Id String - (Updatable) The OCID of the stream.
- kind string
- (Updatable) The type discriminator.
- config
Map 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
Connector
Source Cursor - (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 ConnectorSource Log Source[] - (Updatable) The logs for this Logging source.
- monitoring
Sources ConnectorSource Monitoring Source[] - (Updatable) One or more compartment-specific lists of metric namespaces to retrieve data from.
- plugin
Name 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]. - stream
Id string - (Updatable) The OCID of the stream.
- kind str
- (Updatable) The type discriminator.
- config_
map str - (Updatable) The configuration map for the connector plugin. This map includes parameters specific to the connector plugin type. For example, for
QueueSource
, the map lists the OCID of the selected queue. To find the parameters for a connector plugin, get the plugin using (GetConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPlugin/GetConnectorPlugin] and review its schema value. - cursor
sch.
Connector Source Cursor - (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.Connector Source Log Source] - (Updatable) The logs for this Logging source.
- monitoring_
sources Sequence[sch.Connector Source Monitoring Source] - (Updatable) One or more compartment-specific lists of metric namespaces to retrieve data from.
- plugin_
name str - (Updatable) The name of the connector plugin. This name indicates the service to be called by the connector plugin. For example,
QueueSource
indicates the Queue service. To find names of connector plugins, list the plugin using (ListConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPluginSummary/ListConnectorPlugins]. - stream_
id str - (Updatable) The OCID of the stream.
- kind String
- (Updatable) The type discriminator.
- config
Map 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.
- log
Sources List<Property Map> - (Updatable) The logs for this Logging source.
- monitoring
Sources List<Property Map> - (Updatable) One or more compartment-specific lists of metric namespaces to retrieve data from.
- plugin
Name 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]. - stream
Id String - (Updatable) The OCID of the stream.
ConnectorSourceCursor, ConnectorSourceCursorArgs
- Kind string
- (Updatable) The type discriminator.
- Kind string
- (Updatable) The type discriminator.
- kind String
- (Updatable) The type discriminator.
- kind string
- (Updatable) The type discriminator.
- kind str
- (Updatable) The type discriminator.
- kind String
- (Updatable) The type discriminator.
ConnectorSourceLogSource, ConnectorSourceLogSourceArgs
- Compartment
Id string - (Updatable) The OCID of the compartment containing the log source.
- Log
Group stringId - (Updatable) The OCID of the log group. Note: For the Notifications target, only _Audit is allowed. Example OCID for _Audit log group: ocid1.tenancy.oc1..exampleuniqueid/_Audit
- Log
Id string - (Updatable) The OCID of the log.
- Compartment
Id string - (Updatable) The OCID of the compartment containing the log source.
- Log
Group stringId - (Updatable) The OCID of the log group. Note: For the Notifications target, only _Audit is allowed. Example OCID for _Audit log group: ocid1.tenancy.oc1..exampleuniqueid/_Audit
- Log
Id string - (Updatable) The OCID of the log.
- compartment
Id String - (Updatable) The OCID of the compartment containing the log source.
- log
Group StringId - (Updatable) The OCID of the log group. Note: For the Notifications target, only _Audit is allowed. Example OCID for _Audit log group: ocid1.tenancy.oc1..exampleuniqueid/_Audit
- log
Id String - (Updatable) The OCID of the log.
- compartment
Id string - (Updatable) The OCID of the compartment containing the log source.
- log
Group stringId - (Updatable) The OCID of the log group. Note: For the Notifications target, only _Audit is allowed. Example OCID for _Audit log group: ocid1.tenancy.oc1..exampleuniqueid/_Audit
- log
Id string - (Updatable) The OCID of the log.
- compartment_
id str - (Updatable) The OCID of the compartment containing the log source.
- log_
group_ strid - (Updatable) The OCID of the log group. Note: For the Notifications target, only _Audit is allowed. Example OCID for _Audit log group: ocid1.tenancy.oc1..exampleuniqueid/_Audit
- log_
id str - (Updatable) The OCID of the log.
- compartment
Id String - (Updatable) The OCID of the compartment containing the log source.
- log
Group StringId - (Updatable) The OCID of the log group. Note: For the Notifications target, only _Audit is allowed. Example OCID for _Audit log group: ocid1.tenancy.oc1..exampleuniqueid/_Audit
- log
Id String - (Updatable) The OCID of the log.
ConnectorSourceMonitoringSource, ConnectorSourceMonitoringSourceArgs
- Compartment
Id string - (Updatable) The OCID of a compartment containing metric namespaces you want to use for the Monitoring source.
- Namespace
Details ConnectorSource Monitoring Source Namespace Details - (Updatable) Discriminator for namespaces in the compartment-specific list.
- Compartment
Id string - (Updatable) The OCID of a compartment containing metric namespaces you want to use for the Monitoring source.
- Namespace
Details ConnectorSource Monitoring Source Namespace Details - (Updatable) Discriminator for namespaces in the compartment-specific list.
- compartment
Id String - (Updatable) The OCID of a compartment containing metric namespaces you want to use for the Monitoring source.
- namespace
Details ConnectorSource Monitoring Source Namespace Details - (Updatable) Discriminator for namespaces in the compartment-specific list.
- compartment
Id string - (Updatable) The OCID of a compartment containing metric namespaces you want to use for the Monitoring source.
- namespace
Details ConnectorSource Monitoring Source Namespace Details - (Updatable) Discriminator for namespaces in the compartment-specific list.
- compartment_
id str - (Updatable) The OCID of a compartment containing metric namespaces you want to use for the Monitoring source.
- namespace_
details sch.Connector Source Monitoring Source Namespace Details - (Updatable) Discriminator for namespaces in the compartment-specific list.
- compartment
Id String - (Updatable) The OCID of a compartment containing metric namespaces you want to use for the Monitoring source.
- namespace
Details Property Map - (Updatable) Discriminator for namespaces in the compartment-specific list.
ConnectorSourceMonitoringSourceNamespaceDetails, ConnectorSourceMonitoringSourceNamespaceDetailsArgs
- Kind string
- (Updatable) The type discriminator.
- Namespaces
List<Connector
Source Monitoring Source Namespace Details Namespace> - (Updatable) The namespaces for the compartment-specific list.
- Kind string
- (Updatable) The type discriminator.
- Namespaces
[]Connector
Source Monitoring Source Namespace Details Namespace - (Updatable) The namespaces for the compartment-specific list.
- kind String
- (Updatable) The type discriminator.
- namespaces
List<Connector
Source Monitoring Source Namespace Details Namespace> - (Updatable) The namespaces for the compartment-specific list.
- kind string
- (Updatable) The type discriminator.
- namespaces
Connector
Source Monitoring Source Namespace Details Namespace[] - (Updatable) The namespaces for the compartment-specific list.
- kind str
- (Updatable) The type discriminator.
- namespaces
Sequence[sch.
Connector Source Monitoring Source Namespace Details Namespace] - (Updatable) The namespaces for the compartment-specific list.
- kind String
- (Updatable) The type discriminator.
- namespaces List<Property Map>
- (Updatable) The namespaces for the compartment-specific list.
ConnectorSourceMonitoringSourceNamespaceDetailsNamespace, ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs
- Metrics
Connector
Source Monitoring Source Namespace Details Namespace Metrics - (Updatable) The metrics to query for the specified metric namespace.
- Namespace string
- (Updatable) The source service or application to use when querying for metric data points. Must begin with
oci_
. Example:oci_computeagent
- Metrics
Connector
Source Monitoring Source Namespace Details Namespace Metrics - (Updatable) The metrics to query for the specified metric namespace.
- Namespace string
- (Updatable) The source service or application to use when querying for metric data points. Must begin with
oci_
. Example:oci_computeagent
- metrics
Connector
Source Monitoring Source Namespace Details Namespace Metrics - (Updatable) The metrics to query for the specified metric namespace.
- namespace String
- (Updatable) The source service or application to use when querying for metric data points. Must begin with
oci_
. Example:oci_computeagent
- metrics
Connector
Source Monitoring Source Namespace Details Namespace Metrics - (Updatable) The metrics to query for the specified metric namespace.
- namespace string
- (Updatable) The source service or application to use when querying for metric data points. Must begin with
oci_
. Example:oci_computeagent
- metrics
sch.
Connector Source Monitoring Source Namespace Details Namespace Metrics - (Updatable) The metrics to query for the specified metric namespace.
- namespace str
- (Updatable) The source service or application to use when querying for metric data points. Must begin with
oci_
. Example:oci_computeagent
- metrics Property Map
- (Updatable) The metrics to query for the specified metric namespace.
- namespace String
- (Updatable) The source service or application to use when querying for metric data points. Must begin with
oci_
. Example:oci_computeagent
ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetrics, ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs
- Kind string
- (Updatable) The type discriminator.
- Kind string
- (Updatable) The type discriminator.
- kind String
- (Updatable) The type discriminator.
- kind string
- (Updatable) The type discriminator.
- kind str
- (Updatable) The type discriminator.
- kind String
- (Updatable) The type discriminator.
ConnectorTarget, ConnectorTargetArgs
- Kind string
- (Updatable) The type discriminator.
- Batch
Rollover intSize In Mbs - (Updatable) The batch rollover size in megabytes.
- Batch
Rollover intTime In Ms - (Updatable) The batch rollover time in milliseconds.
- Batch
Size intIn Kbs - (Updatable) The batch rollover size in kilobytes.
- Batch
Size intIn Num - (Updatable) The batch rollover size in number of messages.
- Batch
Time intIn Sec - (Updatable) The batch rollover time in seconds.
- Bucket string
- (Updatable) The name of the bucket. Valid characters are letters (upper or lower case), numbers, hyphens (-), underscores(_), and periods (.). Bucket names must be unique within an Object Storage namespace. Avoid entering confidential information. Example: my-new-bucket1
- Compartment
Id string - (Updatable) The OCID of the compartment containing the metric.
- Dimensions
List<Connector
Target Dimension> - (Updatable) List of dimension names and values.
- Enable
Formatted boolMessaging - (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 string - (Updatable) The OCID of the function.
- Log
Group stringId - (Updatable) The OCID of the Logging Analytics log group.
- Log
Source stringIdentifier - (Updatable) Identifier of the log source that you want to use for processing data received from the connector source. Applies to
StreamingSource
only. Equivalent toname
at LogAnalyticsSource. - Metric string
- (Updatable) The name of the metric. Example:
CpuUtilization
- Metric
Namespace string - (Updatable) The namespace of the metric. Example:
oci_computeagent
- Namespace string
- (Updatable) The namespace.
- Object
Name stringPrefix - (Updatable) The prefix of the objects. Avoid entering confidential information.
- Stream
Id string - (Updatable) The OCID of the stream.
- Topic
Id string - (Updatable) The OCID of the topic.
- Kind string
- (Updatable) The type discriminator.
- Batch
Rollover intSize In Mbs - (Updatable) The batch rollover size in megabytes.
- Batch
Rollover intTime In Ms - (Updatable) The batch rollover time in milliseconds.
- Batch
Size intIn Kbs - (Updatable) The batch rollover size in kilobytes.
- Batch
Size intIn Num - (Updatable) The batch rollover size in number of messages.
- Batch
Time intIn Sec - (Updatable) The batch rollover time in seconds.
- Bucket string
- (Updatable) The name of the bucket. Valid characters are letters (upper or lower case), numbers, hyphens (-), underscores(_), and periods (.). Bucket names must be unique within an Object Storage namespace. Avoid entering confidential information. Example: my-new-bucket1
- Compartment
Id string - (Updatable) The OCID of the compartment containing the metric.
- Dimensions
[]Connector
Target Dimension - (Updatable) List of dimension names and values.
- Enable
Formatted boolMessaging - (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 string - (Updatable) The OCID of the function.
- Log
Group stringId - (Updatable) The OCID of the Logging Analytics log group.
- Log
Source stringIdentifier - (Updatable) Identifier of the log source that you want to use for processing data received from the connector source. Applies to
StreamingSource
only. Equivalent toname
at LogAnalyticsSource. - Metric string
- (Updatable) The name of the metric. Example:
CpuUtilization
- Metric
Namespace string - (Updatable) The namespace of the metric. Example:
oci_computeagent
- Namespace string
- (Updatable) The namespace.
- Object
Name stringPrefix - (Updatable) The prefix of the objects. Avoid entering confidential information.
- Stream
Id string - (Updatable) The OCID of the stream.
- Topic
Id string - (Updatable) The OCID of the topic.
- kind String
- (Updatable) The type discriminator.
- batch
Rollover IntegerSize In Mbs - (Updatable) The batch rollover size in megabytes.
- batch
Rollover IntegerTime In Ms - (Updatable) The batch rollover time in milliseconds.
- batch
Size IntegerIn Kbs - (Updatable) The batch rollover size in kilobytes.
- batch
Size IntegerIn Num - (Updatable) The batch rollover size in number of messages.
- batch
Time IntegerIn Sec - (Updatable) The batch rollover time in seconds.
- bucket String
- (Updatable) The name of the bucket. Valid characters are letters (upper or lower case), numbers, hyphens (-), underscores(_), and periods (.). Bucket names must be unique within an Object Storage namespace. Avoid entering confidential information. Example: my-new-bucket1
- compartment
Id String - (Updatable) The OCID of the compartment containing the metric.
- dimensions
List<Connector
Target Dimension> - (Updatable) List of dimension names and values.
- enable
Formatted BooleanMessaging - (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 String - (Updatable) The OCID of the function.
- log
Group StringId - (Updatable) The OCID of the Logging Analytics log group.
- log
Source StringIdentifier - (Updatable) Identifier of the log source that you want to use for processing data received from the connector source. Applies to
StreamingSource
only. Equivalent toname
at LogAnalyticsSource. - metric String
- (Updatable) The name of the metric. Example:
CpuUtilization
- metric
Namespace String - (Updatable) The namespace of the metric. Example:
oci_computeagent
- namespace String
- (Updatable) The namespace.
- object
Name StringPrefix - (Updatable) The prefix of the objects. Avoid entering confidential information.
- stream
Id String - (Updatable) The OCID of the stream.
- topic
Id String - (Updatable) The OCID of the topic.
- kind string
- (Updatable) The type discriminator.
- batch
Rollover numberSize In Mbs - (Updatable) The batch rollover size in megabytes.
- batch
Rollover numberTime In Ms - (Updatable) The batch rollover time in milliseconds.
- batch
Size numberIn Kbs - (Updatable) The batch rollover size in kilobytes.
- batch
Size numberIn Num - (Updatable) The batch rollover size in number of messages.
- batch
Time numberIn Sec - (Updatable) The batch rollover time in seconds.
- bucket string
- (Updatable) The name of the bucket. Valid characters are letters (upper or lower case), numbers, hyphens (-), underscores(_), and periods (.). Bucket names must be unique within an Object Storage namespace. Avoid entering confidential information. Example: my-new-bucket1
- compartment
Id string - (Updatable) The OCID of the compartment containing the metric.
- dimensions
Connector
Target Dimension[] - (Updatable) List of dimension names and values.
- enable
Formatted booleanMessaging - (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 string - (Updatable) The OCID of the function.
- log
Group stringId - (Updatable) The OCID of the Logging Analytics log group.
- log
Source stringIdentifier - (Updatable) Identifier of the log source that you want to use for processing data received from the connector source. Applies to
StreamingSource
only. Equivalent toname
at LogAnalyticsSource. - metric string
- (Updatable) The name of the metric. Example:
CpuUtilization
- metric
Namespace string - (Updatable) The namespace of the metric. Example:
oci_computeagent
- namespace string
- (Updatable) The namespace.
- object
Name stringPrefix - (Updatable) The prefix of the objects. Avoid entering confidential information.
- stream
Id string - (Updatable) The OCID of the stream.
- topic
Id string - (Updatable) The OCID of the topic.
- kind str
- (Updatable) The type discriminator.
- batch_
rollover_ intsize_ in_ mbs - (Updatable) The batch rollover size in megabytes.
- batch_
rollover_ inttime_ in_ ms - (Updatable) The batch rollover time in milliseconds.
- batch_
size_ intin_ kbs - (Updatable) The batch rollover size in kilobytes.
- batch_
size_ intin_ num - (Updatable) The batch rollover size in number of messages.
- batch_
time_ intin_ sec - (Updatable) The batch rollover time in seconds.
- bucket str
- (Updatable) The name of the bucket. Valid characters are letters (upper or lower case), numbers, hyphens (-), underscores(_), and periods (.). Bucket names must be unique within an Object Storage namespace. Avoid entering confidential information. Example: my-new-bucket1
- compartment_
id str - (Updatable) The OCID of the compartment containing the metric.
- dimensions
Sequence[sch.
Connector Target Dimension] - (Updatable) List of dimension names and values.
- enable_
formatted_ boolmessaging - (Updatable) Whether to apply a simplified, user-friendly format to the message. Applies only when friendly formatting is supported by the connector source and the subscription protocol. Example:
true
- function_
id str - (Updatable) The OCID of the function.
- log_
group_ strid - (Updatable) The OCID of the Logging Analytics log group.
- log_
source_ stridentifier - (Updatable) Identifier of the log source that you want to use for processing data received from the connector source. Applies to
StreamingSource
only. Equivalent toname
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_ strprefix - (Updatable) The prefix of the objects. Avoid entering confidential information.
- stream_
id str - (Updatable) The OCID of the stream.
- topic_
id str - (Updatable) The OCID of the topic.
- kind String
- (Updatable) The type discriminator.
- batch
Rollover NumberSize In Mbs - (Updatable) The batch rollover size in megabytes.
- batch
Rollover NumberTime In Ms - (Updatable) The batch rollover time in milliseconds.
- batch
Size NumberIn Kbs - (Updatable) The batch rollover size in kilobytes.
- batch
Size NumberIn Num - (Updatable) The batch rollover size in number of messages.
- batch
Time NumberIn Sec - (Updatable) The batch rollover time in seconds.
- bucket String
- (Updatable) The name of the bucket. Valid characters are letters (upper or lower case), numbers, hyphens (-), underscores(_), and periods (.). Bucket names must be unique within an Object Storage namespace. Avoid entering confidential information. Example: my-new-bucket1
- compartment
Id String - (Updatable) The OCID of the compartment containing the metric.
- dimensions List<Property Map>
- (Updatable) List of dimension names and values.
- enable
Formatted BooleanMessaging - (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 String - (Updatable) The OCID of the function.
- log
Group StringId - (Updatable) The OCID of the Logging Analytics log group.
- log
Source StringIdentifier - (Updatable) Identifier of the log source that you want to use for processing data received from the connector source. Applies to
StreamingSource
only. Equivalent toname
at LogAnalyticsSource. - metric String
- (Updatable) The name of the metric. Example:
CpuUtilization
- metric
Namespace String - (Updatable) The namespace of the metric. Example:
oci_computeagent
- namespace String
- (Updatable) The namespace.
- object
Name StringPrefix - (Updatable) The prefix of the objects. Avoid entering confidential information.
- stream
Id String - (Updatable) The OCID of the stream.
- topic
Id String - (Updatable) The OCID of the topic.
ConnectorTargetDimension, ConnectorTargetDimensionArgs
- Dimension
Value ConnectorTarget Dimension Dimension Value - (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 ConnectorTarget Dimension Dimension Value - (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 ConnectorTarget Dimension Dimension Value - (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 ConnectorTarget Dimension Dimension Value - (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.Connector Target Dimension Dimension Value - (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
- dimension
Value Property Map - (Updatable) Instructions for extracting the value corresponding to the specified dimension key: Either extract the value as-is (static) or derive the value from a path (evaluated).
- name String
- (Updatable) Dimension key. A valid dimension key includes only printable ASCII, excluding periods (.) and spaces. Custom dimension keys are acceptable. Avoid entering confidential information. Due to use by Connector Hub, the following dimension names are reserved:
connectorId
,connectorName
,connectorSourceType
. For information on valid dimension keys and values, see MetricDataDetails Reference. Example:type
ConnectorTargetDimensionDimensionValue, ConnectorTargetDimensionDimensionValueArgs
- Kind string
- (Updatable) The type of dimension value: static or evaluated.
- Path string
- (Updatable) The location to use for deriving the dimension value (evaluated). The path must start with
logContent
in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (.
and[]
). Example with dot notation:logContent.data
Example with index notation:logContent.data[0].content
For information on valid dimension keys and values, see MetricDataDetails Reference. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value"compartmentId"
is returned ascompartmentId
.) If the evaluated value is invalid, then the returned value isSCH_EVAL_INVALID_VALUE
. If the evaluated value is empty, then the returned value isSCH_EVAL_VALUE_EMPTY
. - Value string
- (Updatable) The data extracted from the specified dimension value (passed as-is). Unicode characters only. For information on valid dimension keys and values, see MetricDataDetails Reference.
- Kind string
- (Updatable) The type of dimension value: static or evaluated.
- Path string
- (Updatable) The location to use for deriving the dimension value (evaluated). The path must start with
logContent
in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (.
and[]
). Example with dot notation:logContent.data
Example with index notation:logContent.data[0].content
For information on valid dimension keys and values, see MetricDataDetails Reference. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value"compartmentId"
is returned ascompartmentId
.) If the evaluated value is invalid, then the returned value isSCH_EVAL_INVALID_VALUE
. If the evaluated value is empty, then the returned value isSCH_EVAL_VALUE_EMPTY
. - Value string
- (Updatable) The data extracted from the specified dimension value (passed as-is). Unicode characters only. For information on valid dimension keys and values, see MetricDataDetails Reference.
- kind String
- (Updatable) The type of dimension value: static or evaluated.
- path String
- (Updatable) The location to use for deriving the dimension value (evaluated). The path must start with
logContent
in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (.
and[]
). Example with dot notation:logContent.data
Example with index notation:logContent.data[0].content
For information on valid dimension keys and values, see MetricDataDetails Reference. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value"compartmentId"
is returned ascompartmentId
.) If the evaluated value is invalid, then the returned value isSCH_EVAL_INVALID_VALUE
. If the evaluated value is empty, then the returned value isSCH_EVAL_VALUE_EMPTY
. - value String
- (Updatable) The data extracted from the specified dimension value (passed as-is). Unicode characters only. For information on valid dimension keys and values, see MetricDataDetails Reference.
- kind string
- (Updatable) The type of dimension value: static or evaluated.
- path string
- (Updatable) The location to use for deriving the dimension value (evaluated). The path must start with
logContent
in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (.
and[]
). Example with dot notation:logContent.data
Example with index notation:logContent.data[0].content
For information on valid dimension keys and values, see MetricDataDetails Reference. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value"compartmentId"
is returned ascompartmentId
.) If the evaluated value is invalid, then the returned value isSCH_EVAL_INVALID_VALUE
. If the evaluated value is empty, then the returned value isSCH_EVAL_VALUE_EMPTY
. - value string
- (Updatable) The data extracted from the specified dimension value (passed as-is). Unicode characters only. For information on valid dimension keys and values, see MetricDataDetails Reference.
- kind str
- (Updatable) The type of dimension value: static or evaluated.
- path str
- (Updatable) The location to use for deriving the dimension value (evaluated). The path must start with
logContent
in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (.
and[]
). Example with dot notation:logContent.data
Example with index notation:logContent.data[0].content
For information on valid dimension keys and values, see MetricDataDetails Reference. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value"compartmentId"
is returned ascompartmentId
.) If the evaluated value is invalid, then the returned value isSCH_EVAL_INVALID_VALUE
. If the evaluated value is empty, then the returned value isSCH_EVAL_VALUE_EMPTY
. - value str
- (Updatable) The data extracted from the specified dimension value (passed as-is). Unicode characters only. For information on valid dimension keys and values, see MetricDataDetails Reference.
- kind String
- (Updatable) The type of dimension value: static or evaluated.
- path String
- (Updatable) The location to use for deriving the dimension value (evaluated). The path must start with
logContent
in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (.
and[]
). Example with dot notation:logContent.data
Example with index notation:logContent.data[0].content
For information on valid dimension keys and values, see MetricDataDetails Reference. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value"compartmentId"
is returned ascompartmentId
.) If the evaluated value is invalid, then the returned value isSCH_EVAL_INVALID_VALUE
. If the evaluated value is empty, then the returned value isSCH_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.
- Batch
Size intIn Kbs - (Updatable) Size limit (kilobytes) for batch sent to invoke the function.
- Batch
Time intIn Sec - (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.
- Function
Id string - (Updatable) The OCID of the function to be used as a task.
- Kind string
- (Updatable) The type descriminator.
- Batch
Size intIn Kbs - (Updatable) Size limit (kilobytes) for batch sent to invoke the function.
- Batch
Time intIn Sec - (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.
- Function
Id string - (Updatable) The OCID of the function to be used as a task.
- kind String
- (Updatable) The type descriminator.
- batch
Size IntegerIn Kbs - (Updatable) Size limit (kilobytes) for batch sent to invoke the function.
- batch
Time IntegerIn Sec - (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.
- function
Id String - (Updatable) The OCID of the function to be used as a task.
- kind string
- (Updatable) The type descriminator.
- batch
Size numberIn Kbs - (Updatable) Size limit (kilobytes) for batch sent to invoke the function.
- batch
Time numberIn Sec - (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.
- function
Id string - (Updatable) The OCID of the function to be used as a task.
- kind str
- (Updatable) The type descriminator.
- batch_
size_ intin_ kbs - (Updatable) Size limit (kilobytes) for batch sent to invoke the function.
- batch_
time_ intin_ sec - (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.
- batch
Size NumberIn Kbs - (Updatable) Size limit (kilobytes) for batch sent to invoke the function.
- batch
Time NumberIn Sec - (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.
- function
Id 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.