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 service connector in the specified compartment. A service connector is a logically defined flow for moving data from a source service to a destination service in Oracle Cloud Infrastructure. For instructions, see To create a service connector. For general information about service connectors, see Service Connector Hub Overview.
For purposes of access control, you must provide the OCID of the compartment where you want the service connector to reside. Notice that the service 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 service 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 service connectors, see To activate or deactivate a service connector.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testServiceConnector = new Oci.Sch.Connector("testServiceConnector", new()
{
CompartmentId = @var.Compartment_id,
DisplayName = @var.Service_connector_display_name,
Source = new Oci.Sch.Inputs.ConnectorSourceArgs
{
Kind = @var.Service_connector_source_kind,
Cursor = new Oci.Sch.Inputs.ConnectorSourceCursorArgs
{
Kind = @var.Service_connector_source_cursor_kind,
},
LogSources = new[]
{
new Oci.Sch.Inputs.ConnectorSourceLogSourceArgs
{
CompartmentId = @var.Compartment_id,
LogGroupId = oci_logging_log_group.Test_log_group.Id,
LogId = oci_logging_log.Test_log.Id,
},
},
MonitoringSources = new[]
{
new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceArgs
{
CompartmentId = @var.Compartment_id,
NamespaceDetails = new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceNamespaceDetailsArgs
{
Kind = @var.Service_connector_source_monitoring_sources_namespace_details_kind,
Namespaces = new[]
{
new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs
{
Metrics = new Oci.Sch.Inputs.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs
{
Kind = @var.Service_connector_source_monitoring_sources_namespace_details_namespaces_metrics_kind,
},
Namespace = @var.Service_connector_source_monitoring_sources_namespace_details_namespaces_namespace,
},
},
},
},
},
StreamId = oci_streaming_stream.Test_stream.Id,
},
Target = new Oci.Sch.Inputs.ConnectorTargetArgs
{
Kind = @var.Service_connector_target_kind,
BatchRolloverSizeInMbs = @var.Service_connector_target_batch_rollover_size_in_mbs,
BatchRolloverTimeInMs = @var.Service_connector_target_batch_rollover_time_in_ms,
Bucket = @var.Service_connector_target_bucket,
CompartmentId = @var.Compartment_id,
Dimensions = new[]
{
new Oci.Sch.Inputs.ConnectorTargetDimensionArgs
{
DimensionValue = new Oci.Sch.Inputs.ConnectorTargetDimensionDimensionValueArgs
{
Kind = @var.Service_connector_target_dimensions_dimension_value_kind,
Path = @var.Service_connector_target_dimensions_dimension_value_path,
Value = @var.Service_connector_target_dimensions_dimension_value_value,
},
Name = @var.Service_connector_target_dimensions_name,
},
},
EnableFormattedMessaging = @var.Service_connector_target_enable_formatted_messaging,
FunctionId = oci_functions_function.Test_function.Id,
LogGroupId = oci_logging_log_group.Test_log_group.Id,
LogSourceIdentifier = @var.Service_connector_target_log_source_identifier,
Metric = @var.Service_connector_target_metric,
MetricNamespace = @var.Service_connector_target_metric_namespace,
Namespace = @var.Service_connector_target_namespace,
ObjectNamePrefix = @var.Service_connector_target_object_name_prefix,
StreamId = oci_streaming_stream.Test_stream.Id,
TopicId = oci_ons_notification_topic.Test_notification_topic.Id,
},
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
Description = @var.Service_connector_description,
FreeformTags =
{
{ "bar-key", "value" },
},
Tasks = new[]
{
new Oci.Sch.Inputs.ConnectorTaskArgs
{
Kind = @var.Service_connector_tasks_kind,
BatchSizeInKbs = @var.Service_connector_tasks_batch_size_in_kbs,
BatchTimeInSec = @var.Service_connector_tasks_batch_time_in_sec,
Condition = @var.Service_connector_tasks_condition,
FunctionId = oci_functions_function.Test_function.Id,
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Sch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Sch.NewConnector(ctx, "testServiceConnector", &Sch.ConnectorArgs{
CompartmentId: pulumi.Any(_var.Compartment_id),
DisplayName: pulumi.Any(_var.Service_connector_display_name),
Source: &sch.ConnectorSourceArgs{
Kind: pulumi.Any(_var.Service_connector_source_kind),
Cursor: &sch.ConnectorSourceCursorArgs{
Kind: pulumi.Any(_var.Service_connector_source_cursor_kind),
},
LogSources: sch.ConnectorSourceLogSourceArray{
&sch.ConnectorSourceLogSourceArgs{
CompartmentId: pulumi.Any(_var.Compartment_id),
LogGroupId: pulumi.Any(oci_logging_log_group.Test_log_group.Id),
LogId: pulumi.Any(oci_logging_log.Test_log.Id),
},
},
MonitoringSources: sch.ConnectorSourceMonitoringSourceArray{
&sch.ConnectorSourceMonitoringSourceArgs{
CompartmentId: pulumi.Any(_var.Compartment_id),
NamespaceDetails: &sch.ConnectorSourceMonitoringSourceNamespaceDetailsArgs{
Kind: pulumi.Any(_var.Service_connector_source_monitoring_sources_namespace_details_kind),
Namespaces: sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArray{
&sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs{
Metrics: &sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs{
Kind: pulumi.Any(_var.Service_connector_source_monitoring_sources_namespace_details_namespaces_metrics_kind),
},
Namespace: pulumi.Any(_var.Service_connector_source_monitoring_sources_namespace_details_namespaces_namespace),
},
},
},
},
},
StreamId: pulumi.Any(oci_streaming_stream.Test_stream.Id),
},
Target: &sch.ConnectorTargetArgs{
Kind: pulumi.Any(_var.Service_connector_target_kind),
BatchRolloverSizeInMbs: pulumi.Any(_var.Service_connector_target_batch_rollover_size_in_mbs),
BatchRolloverTimeInMs: pulumi.Any(_var.Service_connector_target_batch_rollover_time_in_ms),
Bucket: pulumi.Any(_var.Service_connector_target_bucket),
CompartmentId: pulumi.Any(_var.Compartment_id),
Dimensions: sch.ConnectorTargetDimensionArray{
&sch.ConnectorTargetDimensionArgs{
DimensionValue: &sch.ConnectorTargetDimensionDimensionValueArgs{
Kind: pulumi.Any(_var.Service_connector_target_dimensions_dimension_value_kind),
Path: pulumi.Any(_var.Service_connector_target_dimensions_dimension_value_path),
Value: pulumi.Any(_var.Service_connector_target_dimensions_dimension_value_value),
},
Name: pulumi.Any(_var.Service_connector_target_dimensions_name),
},
},
EnableFormattedMessaging: pulumi.Any(_var.Service_connector_target_enable_formatted_messaging),
FunctionId: pulumi.Any(oci_functions_function.Test_function.Id),
LogGroupId: pulumi.Any(oci_logging_log_group.Test_log_group.Id),
LogSourceIdentifier: pulumi.Any(_var.Service_connector_target_log_source_identifier),
Metric: pulumi.Any(_var.Service_connector_target_metric),
MetricNamespace: pulumi.Any(_var.Service_connector_target_metric_namespace),
Namespace: pulumi.Any(_var.Service_connector_target_namespace),
ObjectNamePrefix: pulumi.Any(_var.Service_connector_target_object_name_prefix),
StreamId: pulumi.Any(oci_streaming_stream.Test_stream.Id),
TopicId: pulumi.Any(oci_ons_notification_topic.Test_notification_topic.Id),
},
DefinedTags: pulumi.AnyMap{
"foo-namespace.bar-key": pulumi.Any("value"),
},
Description: pulumi.Any(_var.Service_connector_description),
FreeformTags: pulumi.AnyMap{
"bar-key": pulumi.Any("value"),
},
Tasks: sch.ConnectorTaskArray{
&sch.ConnectorTaskArgs{
Kind: pulumi.Any(_var.Service_connector_tasks_kind),
BatchSizeInKbs: pulumi.Any(_var.Service_connector_tasks_batch_size_in_kbs),
BatchTimeInSec: pulumi.Any(_var.Service_connector_tasks_batch_time_in_sec),
Condition: pulumi.Any(_var.Service_connector_tasks_condition),
FunctionId: pulumi.Any(oci_functions_function.Test_function.Id),
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Sch.Connector;
import com.pulumi.oci.Sch.ConnectorArgs;
import com.pulumi.oci.Sch.inputs.ConnectorSourceArgs;
import com.pulumi.oci.Sch.inputs.ConnectorSourceCursorArgs;
import com.pulumi.oci.Sch.inputs.ConnectorTargetArgs;
import com.pulumi.oci.Sch.inputs.ConnectorTaskArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testServiceConnector = new Connector("testServiceConnector", ConnectorArgs.builder()
.compartmentId(var_.compartment_id())
.displayName(var_.service_connector_display_name())
.source(ConnectorSourceArgs.builder()
.kind(var_.service_connector_source_kind())
.cursor(ConnectorSourceCursorArgs.builder()
.kind(var_.service_connector_source_cursor_kind())
.build())
.logSources(ConnectorSourceLogSourceArgs.builder()
.compartmentId(var_.compartment_id())
.logGroupId(oci_logging_log_group.test_log_group().id())
.logId(oci_logging_log.test_log().id())
.build())
.monitoringSources(ConnectorSourceMonitoringSourceArgs.builder()
.compartmentId(var_.compartment_id())
.namespaceDetails(ConnectorSourceMonitoringSourceNamespaceDetailsArgs.builder()
.kind(var_.service_connector_source_monitoring_sources_namespace_details_kind())
.namespaces(ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs.builder()
.metrics(ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs.builder()
.kind(var_.service_connector_source_monitoring_sources_namespace_details_namespaces_metrics_kind())
.build())
.namespace(var_.service_connector_source_monitoring_sources_namespace_details_namespaces_namespace())
.build())
.build())
.build())
.streamId(oci_streaming_stream.test_stream().id())
.build())
.target(ConnectorTargetArgs.builder()
.kind(var_.service_connector_target_kind())
.batchRolloverSizeInMbs(var_.service_connector_target_batch_rollover_size_in_mbs())
.batchRolloverTimeInMs(var_.service_connector_target_batch_rollover_time_in_ms())
.bucket(var_.service_connector_target_bucket())
.compartmentId(var_.compartment_id())
.dimensions(ConnectorTargetDimensionArgs.builder()
.dimensionValue(ConnectorTargetDimensionDimensionValueArgs.builder()
.kind(var_.service_connector_target_dimensions_dimension_value_kind())
.path(var_.service_connector_target_dimensions_dimension_value_path())
.value(var_.service_connector_target_dimensions_dimension_value_value())
.build())
.name(var_.service_connector_target_dimensions_name())
.build())
.enableFormattedMessaging(var_.service_connector_target_enable_formatted_messaging())
.functionId(oci_functions_function.test_function().id())
.logGroupId(oci_logging_log_group.test_log_group().id())
.logSourceIdentifier(var_.service_connector_target_log_source_identifier())
.metric(var_.service_connector_target_metric())
.metricNamespace(var_.service_connector_target_metric_namespace())
.namespace(var_.service_connector_target_namespace())
.objectNamePrefix(var_.service_connector_target_object_name_prefix())
.streamId(oci_streaming_stream.test_stream().id())
.topicId(oci_ons_notification_topic.test_notification_topic().id())
.build())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.description(var_.service_connector_description())
.freeformTags(Map.of("bar-key", "value"))
.tasks(ConnectorTaskArgs.builder()
.kind(var_.service_connector_tasks_kind())
.batchSizeInKbs(var_.service_connector_tasks_batch_size_in_kbs())
.batchTimeInSec(var_.service_connector_tasks_batch_time_in_sec())
.condition(var_.service_connector_tasks_condition())
.functionId(oci_functions_function.test_function().id())
.build())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_service_connector = oci.sch.Connector("testServiceConnector",
compartment_id=var["compartment_id"],
display_name=var["service_connector_display_name"],
source=oci.sch.ConnectorSourceArgs(
kind=var["service_connector_source_kind"],
cursor=oci.sch.ConnectorSourceCursorArgs(
kind=var["service_connector_source_cursor_kind"],
),
log_sources=[oci.sch.ConnectorSourceLogSourceArgs(
compartment_id=var["compartment_id"],
log_group_id=oci_logging_log_group["test_log_group"]["id"],
log_id=oci_logging_log["test_log"]["id"],
)],
monitoring_sources=[oci.sch.ConnectorSourceMonitoringSourceArgs(
compartment_id=var["compartment_id"],
namespace_details=oci.sch.ConnectorSourceMonitoringSourceNamespaceDetailsArgs(
kind=var["service_connector_source_monitoring_sources_namespace_details_kind"],
namespaces=[oci.sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs(
metrics=oci.sch.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs(
kind=var["service_connector_source_monitoring_sources_namespace_details_namespaces_metrics_kind"],
),
namespace=var["service_connector_source_monitoring_sources_namespace_details_namespaces_namespace"],
)],
),
)],
stream_id=oci_streaming_stream["test_stream"]["id"],
),
target=oci.sch.ConnectorTargetArgs(
kind=var["service_connector_target_kind"],
batch_rollover_size_in_mbs=var["service_connector_target_batch_rollover_size_in_mbs"],
batch_rollover_time_in_ms=var["service_connector_target_batch_rollover_time_in_ms"],
bucket=var["service_connector_target_bucket"],
compartment_id=var["compartment_id"],
dimensions=[oci.sch.ConnectorTargetDimensionArgs(
dimension_value=oci.sch.ConnectorTargetDimensionDimensionValueArgs(
kind=var["service_connector_target_dimensions_dimension_value_kind"],
path=var["service_connector_target_dimensions_dimension_value_path"],
value=var["service_connector_target_dimensions_dimension_value_value"],
),
name=var["service_connector_target_dimensions_name"],
)],
enable_formatted_messaging=var["service_connector_target_enable_formatted_messaging"],
function_id=oci_functions_function["test_function"]["id"],
log_group_id=oci_logging_log_group["test_log_group"]["id"],
log_source_identifier=var["service_connector_target_log_source_identifier"],
metric=var["service_connector_target_metric"],
metric_namespace=var["service_connector_target_metric_namespace"],
namespace=var["service_connector_target_namespace"],
object_name_prefix=var["service_connector_target_object_name_prefix"],
stream_id=oci_streaming_stream["test_stream"]["id"],
topic_id=oci_ons_notification_topic["test_notification_topic"]["id"],
),
defined_tags={
"foo-namespace.bar-key": "value",
},
description=var["service_connector_description"],
freeform_tags={
"bar-key": "value",
},
tasks=[oci.sch.ConnectorTaskArgs(
kind=var["service_connector_tasks_kind"],
batch_size_in_kbs=var["service_connector_tasks_batch_size_in_kbs"],
batch_time_in_sec=var["service_connector_tasks_batch_time_in_sec"],
condition=var["service_connector_tasks_condition"],
function_id=oci_functions_function["test_function"]["id"],
)])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testServiceConnector = new oci.sch.Connector("testServiceConnector", {
compartmentId: _var.compartment_id,
displayName: _var.service_connector_display_name,
source: {
kind: _var.service_connector_source_kind,
cursor: {
kind: _var.service_connector_source_cursor_kind,
},
logSources: [{
compartmentId: _var.compartment_id,
logGroupId: oci_logging_log_group.test_log_group.id,
logId: oci_logging_log.test_log.id,
}],
monitoringSources: [{
compartmentId: _var.compartment_id,
namespaceDetails: {
kind: _var.service_connector_source_monitoring_sources_namespace_details_kind,
namespaces: [{
metrics: {
kind: _var.service_connector_source_monitoring_sources_namespace_details_namespaces_metrics_kind,
},
namespace: _var.service_connector_source_monitoring_sources_namespace_details_namespaces_namespace,
}],
},
}],
streamId: oci_streaming_stream.test_stream.id,
},
target: {
kind: _var.service_connector_target_kind,
batchRolloverSizeInMbs: _var.service_connector_target_batch_rollover_size_in_mbs,
batchRolloverTimeInMs: _var.service_connector_target_batch_rollover_time_in_ms,
bucket: _var.service_connector_target_bucket,
compartmentId: _var.compartment_id,
dimensions: [{
dimensionValue: {
kind: _var.service_connector_target_dimensions_dimension_value_kind,
path: _var.service_connector_target_dimensions_dimension_value_path,
value: _var.service_connector_target_dimensions_dimension_value_value,
},
name: _var.service_connector_target_dimensions_name,
}],
enableFormattedMessaging: _var.service_connector_target_enable_formatted_messaging,
functionId: oci_functions_function.test_function.id,
logGroupId: oci_logging_log_group.test_log_group.id,
logSourceIdentifier: _var.service_connector_target_log_source_identifier,
metric: _var.service_connector_target_metric,
metricNamespace: _var.service_connector_target_metric_namespace,
namespace: _var.service_connector_target_namespace,
objectNamePrefix: _var.service_connector_target_object_name_prefix,
streamId: oci_streaming_stream.test_stream.id,
topicId: oci_ons_notification_topic.test_notification_topic.id,
},
definedTags: {
"foo-namespace.bar-key": "value",
},
description: _var.service_connector_description,
freeformTags: {
"bar-key": "value",
},
tasks: [{
kind: _var.service_connector_tasks_kind,
batchSizeInKbs: _var.service_connector_tasks_batch_size_in_kbs,
batchTimeInSec: _var.service_connector_tasks_batch_time_in_sec,
condition: _var.service_connector_tasks_condition,
functionId: oci_functions_function.test_function.id,
}],
});
resources:
testServiceConnector:
type: oci:Sch:Connector
properties:
#Required
compartmentId: ${var.compartment_id}
displayName: ${var.service_connector_display_name}
source:
kind: ${var.service_connector_source_kind}
cursor:
kind: ${var.service_connector_source_cursor_kind}
logSources:
- compartmentId: ${var.compartment_id}
logGroupId: ${oci_logging_log_group.test_log_group.id}
logId: ${oci_logging_log.test_log.id}
monitoringSources:
- compartmentId: ${var.compartment_id}
namespaceDetails:
kind: ${var.service_connector_source_monitoring_sources_namespace_details_kind}
namespaces:
- metrics:
kind: ${var.service_connector_source_monitoring_sources_namespace_details_namespaces_metrics_kind}
namespace: ${var.service_connector_source_monitoring_sources_namespace_details_namespaces_namespace}
streamId: ${oci_streaming_stream.test_stream.id}
target:
kind: ${var.service_connector_target_kind}
batchRolloverSizeInMbs: ${var.service_connector_target_batch_rollover_size_in_mbs}
batchRolloverTimeInMs: ${var.service_connector_target_batch_rollover_time_in_ms}
bucket: ${var.service_connector_target_bucket}
compartmentId: ${var.compartment_id}
dimensions:
- dimensionValue:
kind: ${var.service_connector_target_dimensions_dimension_value_kind}
path: ${var.service_connector_target_dimensions_dimension_value_path}
value: ${var.service_connector_target_dimensions_dimension_value_value}
name: ${var.service_connector_target_dimensions_name}
enableFormattedMessaging: ${var.service_connector_target_enable_formatted_messaging}
functionId: ${oci_functions_function.test_function.id}
logGroupId: ${oci_logging_log_group.test_log_group.id}
logSourceIdentifier: ${var.service_connector_target_log_source_identifier}
metric: ${var.service_connector_target_metric}
metricNamespace: ${var.service_connector_target_metric_namespace}
namespace: ${var.service_connector_target_namespace}
objectNamePrefix: ${var.service_connector_target_object_name_prefix}
streamId: ${oci_streaming_stream.test_stream.id}
topicId: ${oci_ons_notification_topic.test_notification_topic.id}
#Optional
definedTags:
foo-namespace.bar-key: value
description: ${var.service_connector_description}
freeformTags:
bar-key: value
tasks:
- kind: ${var.service_connector_tasks_kind}
batchSizeInKbs: ${var.service_connector_tasks_batch_size_in_kbs}
batchTimeInSec: ${var.service_connector_tasks_batch_time_in_sec}
condition: ${var.service_connector_tasks_condition}
functionId: ${oci_functions_function.test_function.id}
Create Connector Resource
new Connector(name: string, args: ConnectorArgs, opts?: CustomResourceOptions);
@overload
def Connector(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
source: Optional[_sch.ConnectorSourceArgs] = None,
state: Optional[str] = None,
target: Optional[_sch.ConnectorTargetArgs] = None,
tasks: Optional[Sequence[_sch.ConnectorTaskArgs]] = None)
@overload
def Connector(resource_name: str,
args: ConnectorArgs,
opts: Optional[ResourceOptions] = 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.
- 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.
Connector Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Connector resource accepts the following input properties:
- Compartment
Id string (Updatable) The OCID of the compartment containing the metric.
- 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 service connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.
- Target
Connector
Target (Updatable) An object that represents the target of the flow defined by the service connector. An example target is a stream (Streaming service). For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
(Updatable) The description of the resource. Avoid entering confidential information.
- Dictionary<string, object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- State string
(Updatable) The target state for the service connector. Could be set to
ACTIVE
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 compartment containing the metric.
- 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 service connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.
- Target
Connector
Target Args (Updatable) An object that represents the target of the flow defined by the service connector. An example target is a stream (Streaming service). For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
(Updatable) The description of the resource. Avoid entering confidential information.
- map[string]interface{}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- State string
(Updatable) The target state for the service connector. Could be set to
ACTIVE
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 compartment containing the metric.
- 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 service connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.
- target
Connector
Target (Updatable) An object that represents the target of the flow defined by the service connector. An example target is a stream (Streaming service). For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
(Updatable) The description of the resource. Avoid entering confidential information.
- Map<String,Object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- state String
(Updatable) The target state for the service connector. Could be set to
ACTIVE
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 compartment containing the metric.
- 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 service connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.
- target
Connector
Target (Updatable) An object that represents the target of the flow defined by the service connector. An example target is a stream (Streaming service). For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
(Updatable) The description of the resource. Avoid entering confidential information.
- {[key: string]: any}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- state string
(Updatable) The target state for the service connector. Could be set to
ACTIVE
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 compartment containing the metric.
- display_
name str (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
- source
Connector
Source Args (Updatable) An object that represents the source of the flow defined by the service connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.
- target
Connector
Target Args (Updatable) An object that represents the target of the flow defined by the service connector. An example target is a stream (Streaming service). For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.
- Mapping[str, Any]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
(Updatable) The description of the resource. Avoid entering confidential information.
- Mapping[str, Any]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- state str
(Updatable) The target state for the service connector. Could be set to
ACTIVE
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 compartment containing the metric.
- 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 service connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.
- target Property Map
(Updatable) An object that represents the target of the flow defined by the service connector. An example target is a stream (Streaming service). For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
(Updatable) The description of the resource. Avoid entering confidential information.
- Map<Any>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- state String
(Updatable) The target state for the service connector. Could be set to
ACTIVE
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, object>
The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- Time
Created string The date and time when the service connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- Time
Updated string The date and time when the service 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]interface{}
The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- Time
Created string The date and time when the service connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- Time
Updated string The date and time when the service 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,Object>
The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- time
Created String The date and time when the service connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- time
Updated String The date and time when the service 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]: any}
The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- time
Created string The date and time when the service connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- time
Updated string The date and time when the service 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, Any]
The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- time_
created str The date and time when the service connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- time_
updated str The date and time when the service 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<Any>
The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- time
Created String The date and time when the service connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- time
Updated String The date and time when the service connector was updated. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
Look up Existing Connector Resource
Get an existing Connector resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ConnectorState, opts?: CustomResourceOptions): Connector
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
lifecyle_details: Optional[str] = None,
source: Optional[_sch.ConnectorSourceArgs] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, Any]] = None,
target: Optional[_sch.ConnectorTargetArgs] = None,
tasks: Optional[Sequence[_sch.ConnectorTaskArgs]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> Connector
func GetConnector(ctx *Context, name string, id IDInput, state *ConnectorState, opts ...ResourceOption) (*Connector, error)
public static Connector Get(string name, Input<string> id, ConnectorState? state, CustomResourceOptions? opts = null)
public static Connector get(String name, Output<String> id, ConnectorState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string (Updatable) The OCID of the compartment containing the metric.
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
(Updatable) The description of the resource. Avoid entering confidential information.
- 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, object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- 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 service connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service 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, object>
The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- Target
Connector
Target (Updatable) An object that represents the target of the flow defined by the service connector. An example target is a stream (Streaming service). For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.
- Tasks
List<Connector
Task> (Updatable) The list of tasks.
- Time
Created string The date and time when the service connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- Time
Updated string The date and time when the service connector was updated. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- Compartment
Id string (Updatable) The OCID of the compartment containing the metric.
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
(Updatable) The description of the resource. Avoid entering confidential information.
- 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]interface{}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- 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 service connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service 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]interface{}
The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- Target
Connector
Target Args (Updatable) An object that represents the target of the flow defined by the service connector. An example target is a stream (Streaming service). For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.
- Tasks
[]Connector
Task Args (Updatable) The list of tasks.
- Time
Created string The date and time when the service connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- Time
Updated string The date and time when the service connector was updated. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- compartment
Id String (Updatable) The OCID of the compartment containing the metric.
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
(Updatable) The description of the resource. Avoid entering confidential information.
- 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,Object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- 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 service connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service 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,Object>
The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- target
Connector
Target (Updatable) An object that represents the target of the flow defined by the service connector. An example target is a stream (Streaming service). For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.
- tasks
List<Connector
Task> (Updatable) The list of tasks.
- time
Created String The date and time when the service connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- time
Updated String The date and time when the service connector was updated. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- compartment
Id string (Updatable) The OCID of the compartment containing the metric.
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
(Updatable) The description of the resource. Avoid entering confidential information.
- 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]: any}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecyle
Details 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 service connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service 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]: any}
The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- target
Connector
Target (Updatable) An object that represents the target of the flow defined by the service connector. An example target is a stream (Streaming service). For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.
- tasks
Connector
Task[] (Updatable) The list of tasks.
- time
Created string The date and time when the service connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- time
Updated string The date and time when the service connector was updated. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- compartment_
id str (Updatable) The OCID of the compartment containing the metric.
- Mapping[str, Any]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
(Updatable) The description of the resource. Avoid entering confidential information.
- display_
name str (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
- Mapping[str, Any]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecyle_
details str A message describing the current state in more detail. For example, the message might provide actionable information for a resource in a
FAILED
state.- source
Connector
Source Args (Updatable) An object that represents the source of the flow defined by the service connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service 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, Any]
The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- target
Connector
Target Args (Updatable) An object that represents the target of the flow defined by the service connector. An example target is a stream (Streaming service). For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.
- tasks
Connector
Task Args] (Updatable) The list of tasks.
- time_
created str The date and time when the service connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- time_
updated str The date and time when the service connector was updated. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- compartment
Id String (Updatable) The OCID of the compartment containing the metric.
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
(Updatable) The description of the resource. Avoid entering confidential information.
- display
Name String (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
- Map<Any>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- 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 service connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service 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<Any>
The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- target Property Map
(Updatable) An object that represents the target of the flow defined by the service connector. An example target is a stream (Streaming service). For more information about flows defined by service connectors, see Service Connector Hub Overview. For configuration instructions, see To create a service connector.
- tasks List<Property Map>
(Updatable) The list of tasks.
- time
Created String The date and time when the service connector was created. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
- time
Updated String The date and time when the service connector was updated. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
Supporting Types
ConnectorSource, ConnectorSourceArgs
- Kind string
(Updatable) The type descriminator.
- Cursor
Connector
Source Cursor (Updatable) The type of cursor, which determines the starting point from which the stream will be consumed.
- Log
Sources List<ConnectorSource Log Source> (Updatable) The logs for this Logging source.
- Monitoring
Sources List<ConnectorSource Monitoring Source> (Updatable) The list of metric namespaces to retrieve data from.
- Stream
Id string (Updatable) The OCID of the stream.
- Kind string
(Updatable) The type descriminator.
- Cursor
Connector
Source Cursor (Updatable) The type of cursor, which determines the starting point from which the stream will be consumed.
- Log
Sources []ConnectorSource Log Source (Updatable) The logs for this Logging source.
- Monitoring
Sources []ConnectorSource Monitoring Source (Updatable) The list of metric namespaces to retrieve data from.
- Stream
Id string (Updatable) The OCID of the stream.
- kind String
(Updatable) The type descriminator.
- cursor
Connector
Source Cursor (Updatable) The type of cursor, which determines the starting point from which the stream will be consumed.
- log
Sources List<ConnectorSource Log Source> (Updatable) The logs for this Logging source.
- monitoring
Sources List<ConnectorSource Monitoring Source> (Updatable) The list of metric namespaces to retrieve data from.
- stream
Id String (Updatable) The OCID of the stream.
- kind string
(Updatable) The type descriminator.
- cursor
Connector
Source Cursor (Updatable) The type of cursor, which determines the starting point from which the stream will be consumed.
- log
Sources ConnectorSource Log Source[] (Updatable) The logs for this Logging source.
- monitoring
Sources ConnectorSource Monitoring Source[] (Updatable) The list of metric namespaces to retrieve data from.
- stream
Id string (Updatable) The OCID of the stream.
- kind str
(Updatable) The type descriminator.
- cursor
Connector
Source Cursor (Updatable) The type of cursor, which determines the starting point from which the stream will be consumed.
- log_
sources ConnectorSource Log Source] (Updatable) The logs for this Logging source.
- monitoring_
sources ConnectorSource Monitoring Source] (Updatable) The list of metric namespaces to retrieve data from.
- stream_
id str (Updatable) The OCID of the stream.
- kind String
(Updatable) The type descriminator.
- cursor Property Map
(Updatable) The type of cursor, which determines the starting point from which the stream will be consumed.
- log
Sources List<Property Map> (Updatable) The logs for this Logging source.
- monitoring
Sources List<Property Map> (Updatable) The list of metric namespaces to retrieve data from.
- stream
Id String (Updatable) The OCID of the stream.
ConnectorSourceCursor, ConnectorSourceCursorArgs
- Kind string
(Updatable) The type descriminator.
- Kind string
(Updatable) The type descriminator.
- kind String
(Updatable) The type descriminator.
- kind string
(Updatable) The type descriminator.
- kind str
(Updatable) The type descriminator.
- kind String
(Updatable) The type descriminator.
ConnectorSourceLogSource, ConnectorSourceLogSourceArgs
- Compartment
Id string (Updatable) The OCID of the compartment containing the metric.
- Log
Group stringId (Updatable) The OCID of the Logging Analytics log group.
- Log
Id string (Updatable) The OCID of the log.
- Compartment
Id string (Updatable) The OCID of the compartment containing the metric.
- Log
Group stringId (Updatable) The OCID of the Logging Analytics log group.
- Log
Id string (Updatable) The OCID of the log.
- compartment
Id String (Updatable) The OCID of the compartment containing the metric.
- log
Group StringId (Updatable) The OCID of the Logging Analytics log group.
- log
Id String (Updatable) The OCID of the log.
- compartment
Id string (Updatable) The OCID of the compartment containing the metric.
- log
Group stringId (Updatable) The OCID of the Logging Analytics log group.
- log
Id string (Updatable) The OCID of the log.
- compartment_
id str (Updatable) The OCID of the compartment containing the metric.
- log_
group_ strid (Updatable) The OCID of the Logging Analytics log group.
- log_
id str (Updatable) The OCID of the log.
- compartment
Id String (Updatable) The OCID of the compartment containing the metric.
- log
Group StringId (Updatable) The OCID of the Logging Analytics log group.
- log
Id String (Updatable) The OCID of the log.
ConnectorSourceMonitoringSource, ConnectorSourceMonitoringSourceArgs
- Compartment
Id string (Updatable) The OCID of the compartment containing the metric.
- Namespace
Details ConnectorSource Monitoring Source Namespace Details (Updatable) Discriminator for namespaces in the compartment-specific list.
- Compartment
Id string (Updatable) The OCID of the compartment containing the metric.
- Namespace
Details ConnectorSource Monitoring Source Namespace Details (Updatable) Discriminator for namespaces in the compartment-specific list.
- compartment
Id String (Updatable) The OCID of the compartment containing the metric.
- namespace
Details ConnectorSource Monitoring Source Namespace Details (Updatable) Discriminator for namespaces in the compartment-specific list.
- compartment
Id string (Updatable) The OCID of the compartment containing the metric.
- namespace
Details ConnectorSource Monitoring Source Namespace Details (Updatable) Discriminator for namespaces in the compartment-specific list.
- compartment_
id str (Updatable) The OCID of the compartment containing the metric.
- namespace_
details ConnectorSource Monitoring Source Namespace Details (Updatable) Discriminator for namespaces in the compartment-specific list.
- compartment
Id String (Updatable) The OCID of the compartment containing the metric.
- namespace
Details Property Map (Updatable) Discriminator for namespaces in the compartment-specific list.
ConnectorSourceMonitoringSourceNamespaceDetails, ConnectorSourceMonitoringSourceNamespaceDetailsArgs
- Kind string
(Updatable) The type descriminator.
- Namespaces
List<Connector
Source Monitoring Source Namespace Details Namespace> (Updatable) The namespaces for the compartment-specific list.
- Kind string
(Updatable) The type descriminator.
- Namespaces
[]Connector
Source Monitoring Source Namespace Details Namespace (Updatable) The namespaces for the compartment-specific list.
- kind String
(Updatable) The type descriminator.
- namespaces
List<Connector
Source Monitoring Source Namespace Details Namespace> (Updatable) The namespaces for the compartment-specific list.
- kind string
(Updatable) The type descriminator.
- namespaces
Connector
Source Monitoring Source Namespace Details Namespace[] (Updatable) The namespaces for the compartment-specific list.
- kind str
(Updatable) The type descriminator.
- namespaces
Connector
Source Monitoring Source Namespace Details Namespace] (Updatable) The namespaces for the compartment-specific list.
- kind String
(Updatable) The type descriminator.
- namespaces List<Property Map>
(Updatable) The namespaces for the compartment-specific list.
ConnectorSourceMonitoringSourceNamespaceDetailsNamespace, ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs
- Metrics
Connector
Source Monitoring Source Namespace Details Namespace Metrics (Updatable) The metrics to query for the specified metric namespace.
- Namespace string
(Updatable) The namespace.
- Metrics
Connector
Source Monitoring Source Namespace Details Namespace Metrics (Updatable) The metrics to query for the specified metric namespace.
- Namespace string
(Updatable) The namespace.
- metrics
Connector
Source Monitoring Source Namespace Details Namespace Metrics (Updatable) The metrics to query for the specified metric namespace.
- namespace String
(Updatable) The namespace.
- metrics
Connector
Source Monitoring Source Namespace Details Namespace Metrics (Updatable) The metrics to query for the specified metric namespace.
- namespace string
(Updatable) The namespace.
- metrics
Connector
Source Monitoring Source Namespace Details Namespace Metrics (Updatable) The metrics to query for the specified metric namespace.
- namespace str
(Updatable) The namespace.
- metrics Property Map
(Updatable) The metrics to query for the specified metric namespace.
- namespace String
(Updatable) The namespace.
ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetrics, ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs
- Kind string
(Updatable) The type descriminator.
- Kind string
(Updatable) The type descriminator.
- kind String
(Updatable) The type descriminator.
- kind string
(Updatable) The type descriminator.
- kind str
(Updatable) The type descriminator.
- kind String
(Updatable) The type descriminator.
ConnectorTarget, ConnectorTargetArgs
- Kind string
(Updatable) The type descriminator.
- Batch
Rollover intSize In Mbs (Updatable) The batch rollover size in megabytes.
- Batch
Rollover intTime In Ms (Updatable) The batch rollover time in milliseconds.
- Bucket string
(Updatable) The name of the bucket. Avoid entering confidential information.
- 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 service connector source and the subscription protocol. Example:
true
- Function
Id string (Updatable) The OCID of the function to be used as a task.
- 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 service 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 descriminator.
- Batch
Rollover intSize In Mbs (Updatable) The batch rollover size in megabytes.
- Batch
Rollover intTime In Ms (Updatable) The batch rollover time in milliseconds.
- Bucket string
(Updatable) The name of the bucket. Avoid entering confidential information.
- 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 service connector source and the subscription protocol. Example:
true
- Function
Id string (Updatable) The OCID of the function to be used as a task.
- 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 service 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 descriminator.
- batch
Rollover IntegerSize In Mbs (Updatable) The batch rollover size in megabytes.
- batch
Rollover IntegerTime In Ms (Updatable) The batch rollover time in milliseconds.
- bucket String
(Updatable) The name of the bucket. Avoid entering confidential information.
- 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 service connector source and the subscription protocol. Example:
true
- function
Id String (Updatable) The OCID of the function to be used as a task.
- 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 service 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 descriminator.
- batch
Rollover numberSize In Mbs (Updatable) The batch rollover size in megabytes.
- batch
Rollover numberTime In Ms (Updatable) The batch rollover time in milliseconds.
- bucket string
(Updatable) The name of the bucket. Avoid entering confidential information.
- 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 service connector source and the subscription protocol. Example:
true
- function
Id string (Updatable) The OCID of the function to be used as a task.
- 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 service 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 descriminator.
- batch_
rollover_ intsize_ in_ mbs (Updatable) The batch rollover size in megabytes.
- batch_
rollover_ inttime_ in_ ms (Updatable) The batch rollover time in milliseconds.
- bucket str
(Updatable) The name of the bucket. Avoid entering confidential information.
- compartment_
id str (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 service connector source and the subscription protocol. Example:
true
- function_
id str (Updatable) The OCID of the function to be used as a task.
- log_
group_ 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 service 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 descriminator.
- batch
Rollover NumberSize In Mbs (Updatable) The batch rollover size in megabytes.
- batch
Rollover NumberTime In Ms (Updatable) The batch rollover time in milliseconds.
- bucket String
(Updatable) The name of the bucket. Avoid entering confidential information.
- 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 service connector source and the subscription protocol. Example:
true
- function
Id String (Updatable) The OCID of the function to be used as a task.
- 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 service 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 Service 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 Service 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 Service 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 Service 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 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 Service 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 Service Connector Hub, the following dimension names are reserved:
connectorId
,connectorName
,connectorSourceType
. For information on valid dimension keys and values, see MetricDataDetails Reference. Example:type
ConnectorTargetDimensionDimensionValue, ConnectorTargetDimensionDimensionValueArgs
- Kind string
(Updatable) The type descriminator.
- Path string
(Updatable) The location to use for deriving the dimension value (evaluated). The path must start with
logContent
in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (.
and[]
). Example with dot notation:logContent.data
Example with index notation:logContent.data[0].content
For information on valid dimension keys and values, see MetricDataDetails Reference. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value"compartmentId"
is returned 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 descriminator.
- Path string
(Updatable) The location to use for deriving the dimension value (evaluated). The path must start with
logContent
in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (.
and[]
). Example with dot notation:logContent.data
Example with index notation:logContent.data[0].content
For information on valid dimension keys and values, see MetricDataDetails Reference. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value"compartmentId"
is returned 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 descriminator.
- path String
(Updatable) The location to use for deriving the dimension value (evaluated). The path must start with
logContent
in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (.
and[]
). Example with dot notation:logContent.data
Example with index notation:logContent.data[0].content
For information on valid dimension keys and values, see MetricDataDetails Reference. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value"compartmentId"
is returned 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 descriminator.
- path string
(Updatable) The location to use for deriving the dimension value (evaluated). The path must start with
logContent
in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (.
and[]
). Example with dot notation:logContent.data
Example with index notation:logContent.data[0].content
For information on valid dimension keys and values, see MetricDataDetails Reference. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value"compartmentId"
is returned 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 descriminator.
- path str
(Updatable) The location to use for deriving the dimension value (evaluated). The path must start with
logContent
in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (.
and[]
). Example with dot notation:logContent.data
Example with index notation:logContent.data[0].content
For information on valid dimension keys and values, see MetricDataDetails Reference. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value"compartmentId"
is returned 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 descriminator.
- path String
(Updatable) The location to use for deriving the dimension value (evaluated). The path must start with
logContent
in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (.
and[]
). Example with dot notation:logContent.data
Example with index notation:logContent.data[0].content
For information on valid dimension keys and values, see MetricDataDetails Reference. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value"compartmentId"
is returned 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 service 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 service 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 service 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 service 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 service 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 service 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"
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.