1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Sch
  5. getConnectorPlugin
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

oci.Sch.getConnectorPlugin

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

    This data source provides details about a specific Connector Plugin resource in Oracle Cloud Infrastructure Service Connector Hub service.

    Gets the specified connector plugin configuration information.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testConnectorPlugin = oci.Sch.getConnectorPlugin({
        connectorPluginName: oci_sch_connector_plugin.test_connector_plugin.name,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_connector_plugin = oci.Sch.get_connector_plugin(connector_plugin_name=oci_sch_connector_plugin["test_connector_plugin"]["name"])
    
    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.GetConnectorPlugin(ctx, &sch.GetConnectorPluginArgs{
    			ConnectorPluginName: oci_sch_connector_plugin.Test_connector_plugin.Name,
    		}, nil)
    		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 testConnectorPlugin = Oci.Sch.GetConnectorPlugin.Invoke(new()
        {
            ConnectorPluginName = oci_sch_connector_plugin.Test_connector_plugin.Name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Sch.SchFunctions;
    import com.pulumi.oci.Sch.inputs.GetConnectorPluginArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testConnectorPlugin = SchFunctions.getConnectorPlugin(GetConnectorPluginArgs.builder()
                .connectorPluginName(oci_sch_connector_plugin.test_connector_plugin().name())
                .build());
    
        }
    }
    
    variables:
      testConnectorPlugin:
        fn::invoke:
          Function: oci:Sch:getConnectorPlugin
          Arguments:
            connectorPluginName: ${oci_sch_connector_plugin.test_connector_plugin.name}
    

    Using getConnectorPlugin

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

    function getConnectorPlugin(args: GetConnectorPluginArgs, opts?: InvokeOptions): Promise<GetConnectorPluginResult>
    function getConnectorPluginOutput(args: GetConnectorPluginOutputArgs, opts?: InvokeOptions): Output<GetConnectorPluginResult>
    def get_connector_plugin(connector_plugin_name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetConnectorPluginResult
    def get_connector_plugin_output(connector_plugin_name: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetConnectorPluginResult]
    func GetConnectorPlugin(ctx *Context, args *GetConnectorPluginArgs, opts ...InvokeOption) (*GetConnectorPluginResult, error)
    func GetConnectorPluginOutput(ctx *Context, args *GetConnectorPluginOutputArgs, opts ...InvokeOption) GetConnectorPluginResultOutput

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

    public static class GetConnectorPlugin 
    {
        public static Task<GetConnectorPluginResult> InvokeAsync(GetConnectorPluginArgs args, InvokeOptions? opts = null)
        public static Output<GetConnectorPluginResult> Invoke(GetConnectorPluginInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetConnectorPluginResult> getConnectorPlugin(GetConnectorPluginArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Sch/getConnectorPlugin:getConnectorPlugin
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ConnectorPluginName string
    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.
    ConnectorPluginName string
    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.
    connectorPluginName String
    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.
    connectorPluginName string
    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.
    connector_plugin_name str
    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.
    connectorPluginName String
    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.

    getConnectorPlugin Result

    The following output properties are available:

    ConnectorPluginName string
    DisplayName string
    A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    EstimatedThroughput string
    The estimated throughput range (LOW, MEDIUM, HIGH).
    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    The plugin type discriminator.
    MaxRetention string
    The estimated maximum period of time the data will be kept at the source. The duration is specified as a string in ISO 8601 format (P1D for one day or P30D for thrity days).
    Name string
    The service to be called by the connector plugin. Example: QueueSource
    Schema string
    Gets the specified connector plugin configuration information in OpenAPI specification format.
    State string
    The current state of the service connector.
    TimeCreated string
    The date and time when this plugin became available. Format is defined by RFC3339. Example: 2023-09-09T21:10:29.600Z
    ConnectorPluginName string
    DisplayName string
    A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    EstimatedThroughput string
    The estimated throughput range (LOW, MEDIUM, HIGH).
    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    The plugin type discriminator.
    MaxRetention string
    The estimated maximum period of time the data will be kept at the source. The duration is specified as a string in ISO 8601 format (P1D for one day or P30D for thrity days).
    Name string
    The service to be called by the connector plugin. Example: QueueSource
    Schema string
    Gets the specified connector plugin configuration information in OpenAPI specification format.
    State string
    The current state of the service connector.
    TimeCreated string
    The date and time when this plugin became available. Format is defined by RFC3339. Example: 2023-09-09T21:10:29.600Z
    connectorPluginName String
    displayName String
    A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    estimatedThroughput String
    The estimated throughput range (LOW, MEDIUM, HIGH).
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    The plugin type discriminator.
    maxRetention String
    The estimated maximum period of time the data will be kept at the source. The duration is specified as a string in ISO 8601 format (P1D for one day or P30D for thrity days).
    name String
    The service to be called by the connector plugin. Example: QueueSource
    schema String
    Gets the specified connector plugin configuration information in OpenAPI specification format.
    state String
    The current state of the service connector.
    timeCreated String
    The date and time when this plugin became available. Format is defined by RFC3339. Example: 2023-09-09T21:10:29.600Z
    connectorPluginName string
    displayName string
    A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    estimatedThroughput string
    The estimated throughput range (LOW, MEDIUM, HIGH).
    id string
    The provider-assigned unique ID for this managed resource.
    kind string
    The plugin type discriminator.
    maxRetention string
    The estimated maximum period of time the data will be kept at the source. The duration is specified as a string in ISO 8601 format (P1D for one day or P30D for thrity days).
    name string
    The service to be called by the connector plugin. Example: QueueSource
    schema string
    Gets the specified connector plugin configuration information in OpenAPI specification format.
    state string
    The current state of the service connector.
    timeCreated string
    The date and time when this plugin became available. Format is defined by RFC3339. Example: 2023-09-09T21:10:29.600Z
    connector_plugin_name str
    display_name str
    A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    estimated_throughput str
    The estimated throughput range (LOW, MEDIUM, HIGH).
    id str
    The provider-assigned unique ID for this managed resource.
    kind str
    The plugin type discriminator.
    max_retention str
    The estimated maximum period of time the data will be kept at the source. The duration is specified as a string in ISO 8601 format (P1D for one day or P30D for thrity days).
    name str
    The service to be called by the connector plugin. Example: QueueSource
    schema str
    Gets the specified connector plugin configuration information in OpenAPI specification format.
    state str
    The current state of the service connector.
    time_created str
    The date and time when this plugin became available. Format is defined by RFC3339. Example: 2023-09-09T21:10:29.600Z
    connectorPluginName String
    displayName String
    A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    estimatedThroughput String
    The estimated throughput range (LOW, MEDIUM, HIGH).
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    The plugin type discriminator.
    maxRetention String
    The estimated maximum period of time the data will be kept at the source. The duration is specified as a string in ISO 8601 format (P1D for one day or P30D for thrity days).
    name String
    The service to be called by the connector plugin. Example: QueueSource
    schema String
    Gets the specified connector plugin configuration information in OpenAPI specification format.
    state String
    The current state of the service connector.
    timeCreated String
    The date and time when this plugin became available. Format is defined by RFC3339. Example: 2023-09-09T21:10:29.600Z

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi