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

oci.Sch.getConnectorPlugins

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This data source provides the list of Connector Plugins in Oracle Cloud Infrastructure Service Connector Hub service.

    Lists connector plugins according to the specified filter.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testConnectorPlugins = oci.Sch.getConnectorPlugins({
        displayName: _var.connector_plugin_display_name,
        name: _var.connector_plugin_name,
        state: _var.connector_plugin_state,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_connector_plugins = oci.Sch.get_connector_plugins(display_name=var["connector_plugin_display_name"],
        name=var["connector_plugin_name"],
        state=var["connector_plugin_state"])
    
    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.GetConnectorPlugins(ctx, &sch.GetConnectorPluginsArgs{
    			DisplayName: pulumi.StringRef(_var.Connector_plugin_display_name),
    			Name:        pulumi.StringRef(_var.Connector_plugin_name),
    			State:       pulumi.StringRef(_var.Connector_plugin_state),
    		}, 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 testConnectorPlugins = Oci.Sch.GetConnectorPlugins.Invoke(new()
        {
            DisplayName = @var.Connector_plugin_display_name,
            Name = @var.Connector_plugin_name,
            State = @var.Connector_plugin_state,
        });
    
    });
    
    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.GetConnectorPluginsArgs;
    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 testConnectorPlugins = SchFunctions.getConnectorPlugins(GetConnectorPluginsArgs.builder()
                .displayName(var_.connector_plugin_display_name())
                .name(var_.connector_plugin_name())
                .state(var_.connector_plugin_state())
                .build());
    
        }
    }
    
    variables:
      testConnectorPlugins:
        fn::invoke:
          Function: oci:Sch:getConnectorPlugins
          Arguments:
            displayName: ${var.connector_plugin_display_name}
            name: ${var.connector_plugin_name}
            state: ${var.connector_plugin_state}
    

    Using getConnectorPlugins

    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 getConnectorPlugins(args: GetConnectorPluginsArgs, opts?: InvokeOptions): Promise<GetConnectorPluginsResult>
    function getConnectorPluginsOutput(args: GetConnectorPluginsOutputArgs, opts?: InvokeOptions): Output<GetConnectorPluginsResult>
    def get_connector_plugins(display_name: Optional[str] = None,
                              filters: Optional[Sequence[_sch.GetConnectorPluginsFilter]] = None,
                              name: Optional[str] = None,
                              state: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetConnectorPluginsResult
    def get_connector_plugins_output(display_name: Optional[pulumi.Input[str]] = None,
                              filters: Optional[pulumi.Input[Sequence[pulumi.Input[_sch.GetConnectorPluginsFilterArgs]]]] = None,
                              name: Optional[pulumi.Input[str]] = None,
                              state: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetConnectorPluginsResult]
    func GetConnectorPlugins(ctx *Context, args *GetConnectorPluginsArgs, opts ...InvokeOption) (*GetConnectorPluginsResult, error)
    func GetConnectorPluginsOutput(ctx *Context, args *GetConnectorPluginsOutputArgs, opts ...InvokeOption) GetConnectorPluginsResultOutput

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

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

    The following arguments are supported:

    DisplayName string
    A filter to return only resources that match the given display name exactly. Example: example_service_connector
    Filters List<GetConnectorPluginsFilter>
    Name string
    A filter to return only resources that match the given connector plugin name ignoring case. Example: QueueSource
    State string
    A filter to return only resources that match the given lifecycle state. Example: ACTIVE
    DisplayName string
    A filter to return only resources that match the given display name exactly. Example: example_service_connector
    Filters []GetConnectorPluginsFilter
    Name string
    A filter to return only resources that match the given connector plugin name ignoring case. Example: QueueSource
    State string
    A filter to return only resources that match the given lifecycle state. Example: ACTIVE
    displayName String
    A filter to return only resources that match the given display name exactly. Example: example_service_connector
    filters List<GetConnectorPluginsFilter>
    name String
    A filter to return only resources that match the given connector plugin name ignoring case. Example: QueueSource
    state String
    A filter to return only resources that match the given lifecycle state. Example: ACTIVE
    displayName string
    A filter to return only resources that match the given display name exactly. Example: example_service_connector
    filters GetConnectorPluginsFilter[]
    name string
    A filter to return only resources that match the given connector plugin name ignoring case. Example: QueueSource
    state string
    A filter to return only resources that match the given lifecycle state. Example: ACTIVE
    display_name str
    A filter to return only resources that match the given display name exactly. Example: example_service_connector
    filters Sequence[sch.GetConnectorPluginsFilter]
    name str
    A filter to return only resources that match the given connector plugin name ignoring case. Example: QueueSource
    state str
    A filter to return only resources that match the given lifecycle state. Example: ACTIVE
    displayName String
    A filter to return only resources that match the given display name exactly. Example: example_service_connector
    filters List<Property Map>
    name String
    A filter to return only resources that match the given connector plugin name ignoring case. Example: QueueSource
    state String
    A filter to return only resources that match the given lifecycle state. Example: ACTIVE

    getConnectorPlugins Result

    The following output properties are available:

    ConnectorPluginCollections List<GetConnectorPluginsConnectorPluginCollection>
    The list of connector_plugin_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    Filters List<GetConnectorPluginsFilter>
    Name string
    The service to be called by the connector plugin. Example: QueueSource
    State string
    The current state of the service connector.
    ConnectorPluginCollections []GetConnectorPluginsConnectorPluginCollection
    The list of connector_plugin_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    Filters []GetConnectorPluginsFilter
    Name string
    The service to be called by the connector plugin. Example: QueueSource
    State string
    The current state of the service connector.
    connectorPluginCollections List<GetConnectorPluginsConnectorPluginCollection>
    The list of connector_plugin_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName String
    A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    filters List<GetConnectorPluginsFilter>
    name String
    The service to be called by the connector plugin. Example: QueueSource
    state String
    The current state of the service connector.
    connectorPluginCollections GetConnectorPluginsConnectorPluginCollection[]
    The list of connector_plugin_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    displayName string
    A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    filters GetConnectorPluginsFilter[]
    name string
    The service to be called by the connector plugin. Example: QueueSource
    state string
    The current state of the service connector.
    connector_plugin_collections Sequence[sch.GetConnectorPluginsConnectorPluginCollection]
    The list of connector_plugin_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    display_name str
    A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    filters Sequence[sch.GetConnectorPluginsFilter]
    name str
    The service to be called by the connector plugin. Example: QueueSource
    state str
    The current state of the service connector.
    connectorPluginCollections List<Property Map>
    The list of connector_plugin_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName String
    A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
    filters List<Property Map>
    name String
    The service to be called by the connector plugin. Example: QueueSource
    state String
    The current state of the service connector.

    Supporting Types

    GetConnectorPluginsConnectorPluginCollection

    GetConnectorPluginsConnectorPluginCollectionItem

    DisplayName string
    A filter to return only resources that match the given display name exactly. Example: example_service_connector
    EstimatedThroughput string
    The estimated throughput range (LOW, MEDIUM, HIGH).
    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
    A filter to return only resources that match the given connector plugin name ignoring case. Example: QueueSource
    Schema string
    Gets the specified connector plugin configuration information in OpenAPI specification format.
    State string
    A filter to return only resources that match the given lifecycle state. Example: ACTIVE
    TimeCreated string
    The date and time when this plugin became available. Format is defined by RFC3339. Example: 2023-09-09T21:10:29.600Z
    DisplayName string
    A filter to return only resources that match the given display name exactly. Example: example_service_connector
    EstimatedThroughput string
    The estimated throughput range (LOW, MEDIUM, HIGH).
    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
    A filter to return only resources that match the given connector plugin name ignoring case. Example: QueueSource
    Schema string
    Gets the specified connector plugin configuration information in OpenAPI specification format.
    State string
    A filter to return only resources that match the given lifecycle state. Example: ACTIVE
    TimeCreated string
    The date and time when this plugin became available. Format is defined by RFC3339. Example: 2023-09-09T21:10:29.600Z
    displayName String
    A filter to return only resources that match the given display name exactly. Example: example_service_connector
    estimatedThroughput String
    The estimated throughput range (LOW, MEDIUM, HIGH).
    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
    A filter to return only resources that match the given connector plugin name ignoring case. Example: QueueSource
    schema String
    Gets the specified connector plugin configuration information in OpenAPI specification format.
    state String
    A filter to return only resources that match the given lifecycle state. Example: ACTIVE
    timeCreated String
    The date and time when this plugin became available. Format is defined by RFC3339. Example: 2023-09-09T21:10:29.600Z
    displayName string
    A filter to return only resources that match the given display name exactly. Example: example_service_connector
    estimatedThroughput string
    The estimated throughput range (LOW, MEDIUM, HIGH).
    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
    A filter to return only resources that match the given connector plugin name ignoring case. Example: QueueSource
    schema string
    Gets the specified connector plugin configuration information in OpenAPI specification format.
    state string
    A filter to return only resources that match the given lifecycle state. Example: ACTIVE
    timeCreated string
    The date and time when this plugin became available. Format is defined by RFC3339. Example: 2023-09-09T21:10:29.600Z
    display_name str
    A filter to return only resources that match the given display name exactly. Example: example_service_connector
    estimated_throughput str
    The estimated throughput range (LOW, MEDIUM, HIGH).
    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
    A filter to return only resources that match the given connector plugin name ignoring case. Example: QueueSource
    schema str
    Gets the specified connector plugin configuration information in OpenAPI specification format.
    state str
    A filter to return only resources that match the given lifecycle state. Example: ACTIVE
    time_created str
    The date and time when this plugin became available. Format is defined by RFC3339. Example: 2023-09-09T21:10:29.600Z
    displayName String
    A filter to return only resources that match the given display name exactly. Example: example_service_connector
    estimatedThroughput String
    The estimated throughput range (LOW, MEDIUM, HIGH).
    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
    A filter to return only resources that match the given connector plugin name ignoring case. Example: QueueSource
    schema String
    Gets the specified connector plugin configuration information in OpenAPI specification format.
    state String
    A filter to return only resources that match the given lifecycle state. Example: ACTIVE
    timeCreated String
    The date and time when this plugin became available. Format is defined by RFC3339. Example: 2023-09-09T21:10:29.600Z

    GetConnectorPluginsFilter

    Name string
    A filter to return only resources that match the given connector plugin name ignoring case. Example: QueueSource
    Values List<string>
    Regex bool
    Name string
    A filter to return only resources that match the given connector plugin name ignoring case. Example: QueueSource
    Values []string
    Regex bool
    name String
    A filter to return only resources that match the given connector plugin name ignoring case. Example: QueueSource
    values List<String>
    regex Boolean
    name string
    A filter to return only resources that match the given connector plugin name ignoring case. Example: QueueSource
    values string[]
    regex boolean
    name str
    A filter to return only resources that match the given connector plugin name ignoring case. Example: QueueSource
    values Sequence[str]
    regex bool
    name String
    A filter to return only resources that match the given connector plugin name ignoring case. Example: QueueSource
    values List<String>
    regex Boolean

    Package Details

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