1. Registry
  2. Packages
  3. Confluent Provider
  4. API Docs
  5. getPlugin
Viewing docs for Confluent v2.82.0
published on Saturday, Sep 12, 2026 by Pulumi
confluentcloud logo
Viewing docs for Confluent v2.82.0
published on Saturday, Sep 12, 2026 by Pulumi

    General Availability

    confluentcloud.Plugin describes a Plugin data source.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as confluentcloud from "@pulumi/confluentcloud";
    
    export = async () => {
        const example = await confluentcloud.getPlugin({
            id: "ccp-abc123",
            environment: {
                id: "env-xyz456",
            },
        });
        return {
            example: example,
        };
    }
    
    import pulumi
    import pulumi_confluentcloud as confluentcloud
    
    example = confluentcloud.get_plugin(id="ccp-abc123",
        environment={
            "id": "env-xyz456",
        })
    pulumi.export("example", example)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-confluentcloud/sdk/v2/go/confluentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := confluentcloud.GetPlugin(ctx, &confluentcloud.LookupPluginArgs{
    			Id: "ccp-abc123",
    			Environment: confluentcloud.GetPluginEnvironment{
    				Id: "env-xyz456",
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("example", example)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using ConfluentCloud = Pulumi.ConfluentCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = ConfluentCloud.GetPlugin.Invoke(new()
        {
            Id = "ccp-abc123",
            Environment = new ConfluentCloud.Inputs.GetPluginEnvironmentInputArgs
            {
                Id = "env-xyz456",
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["example"] = example,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.confluentcloud.ConfluentcloudFunctions;
    import com.pulumi.confluentcloud.inputs.GetPluginArgs;
    import com.pulumi.confluentcloud.inputs.GetPluginEnvironmentArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 example = ConfluentcloudFunctions.getPlugin(GetPluginArgs.builder()
                .id("ccp-abc123")
                .environment(GetPluginEnvironmentArgs.builder()
                    .id("env-xyz456")
                    .build())
                .build());
    
            ctx.export("example", example);
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: confluentcloud:getPlugin
          arguments:
            id: ccp-abc123
            environment:
              id: env-xyz456
    outputs:
      example: ${example}
    
    pulumi {
      required_providers {
        confluentcloud = {
          source = "pulumi/confluentcloud"
        }
      }
    }
    
    data "confluentcloud_getplugin" "example" {
      id = "ccp-abc123"
      environment = {
        id = "env-xyz456"
      }
    }
    
    output "example" {
      value = data.confluentcloud_getplugin.example
    }
    

    Using getPlugin

    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 getPlugin(args: GetPluginArgs, opts?: InvokeOptions): Promise<GetPluginResult>
    function getPluginOutput(args: GetPluginOutputArgs, opts?: InvokeOutputOptions): Output<GetPluginResult>
    def get_plugin(environment: Optional[GetPluginEnvironment] = None,
                   id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetPluginResult
    def get_plugin_output(environment: pulumi.Input[Optional[GetPluginEnvironmentArgs]] = None,
                   id: pulumi.Input[Optional[str]] = None,
                   opts: Optional[InvokeOutputOptions] = None) -> Output[GetPluginResult]
    func LookupPlugin(ctx *Context, args *LookupPluginArgs, opts ...InvokeOption) (*LookupPluginResult, error)
    func LookupPluginOutput(ctx *Context, args *LookupPluginOutputArgs, opts ...InvokeOption) LookupPluginResultOutput

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

    public static class GetPlugin 
    {
        public static Task<GetPluginResult> InvokeAsync(GetPluginArgs args, InvokeOptions? opts = null)
        public static Output<GetPluginResult> Invoke(GetPluginInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetPluginResult> Invoke(GetPluginInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetPluginResult> getPlugin(GetPluginArgs args, InvokeOptions options)
    public static Output<GetPluginResult> getPlugin(GetPluginArgs args, InvokeOptions options)
    public static Output<GetPluginResult> getPlugin(GetPluginArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: confluentcloud:index/getPlugin:getPlugin
      arguments:
        # arguments dictionary
    data "confluentcloud_get_plugin" "name" {
        # arguments
    }

    The following arguments are supported:

    Environment Pulumi.ConfluentCloud.Inputs.GetPluginEnvironment
    Supports the following:
    Id string
    The ID of the Plugin, for example, ccp-abc123.
    Environment GetPluginEnvironment
    Supports the following:
    Id string
    The ID of the Plugin, for example, ccp-abc123.
    environment object
    Supports the following:
    id string
    The ID of the Plugin, for example, ccp-abc123.
    environment GetPluginEnvironment
    Supports the following:
    id String
    The ID of the Plugin, for example, ccp-abc123.
    environment GetPluginEnvironment
    Supports the following:
    id string
    The ID of the Plugin, for example, ccp-abc123.
    environment GetPluginEnvironment
    Supports the following:
    id str
    The ID of the Plugin, for example, ccp-abc123.
    environment Property Map
    Supports the following:
    id String
    The ID of the Plugin, for example, ccp-abc123.

    getPlugin Result

    The following output properties are available:

    ApiVersion string
    (String) API Version defines the schema version of this representation of a resource.
    Cloud string
    (String) Cloud provider where the Custom Connect Plugin archive is uploaded.
    Description string
    (String) Description of Custom Connect Plugin.
    DisplayName string
    (String) Display name of Custom Connect Plugin.
    Environment Pulumi.ConfluentCloud.Outputs.GetPluginEnvironment
    Id string
    Kind string
    (String) Kind defines the object this REST resource represents.
    RuntimeLanguage string
    (String) Runtime language of Custom Connect Plugin.
    ApiVersion string
    (String) API Version defines the schema version of this representation of a resource.
    Cloud string
    (String) Cloud provider where the Custom Connect Plugin archive is uploaded.
    Description string
    (String) Description of Custom Connect Plugin.
    DisplayName string
    (String) Display name of Custom Connect Plugin.
    Environment GetPluginEnvironment
    Id string
    Kind string
    (String) Kind defines the object this REST resource represents.
    RuntimeLanguage string
    (String) Runtime language of Custom Connect Plugin.
    api_version string
    (String) API Version defines the schema version of this representation of a resource.
    cloud string
    (String) Cloud provider where the Custom Connect Plugin archive is uploaded.
    description string
    (String) Description of Custom Connect Plugin.
    display_name string
    (String) Display name of Custom Connect Plugin.
    environment object
    id string
    kind string
    (String) Kind defines the object this REST resource represents.
    runtime_language string
    (String) Runtime language of Custom Connect Plugin.
    apiVersion String
    (String) API Version defines the schema version of this representation of a resource.
    cloud String
    (String) Cloud provider where the Custom Connect Plugin archive is uploaded.
    description String
    (String) Description of Custom Connect Plugin.
    displayName String
    (String) Display name of Custom Connect Plugin.
    environment GetPluginEnvironment
    id String
    kind String
    (String) Kind defines the object this REST resource represents.
    runtimeLanguage String
    (String) Runtime language of Custom Connect Plugin.
    apiVersion string
    (String) API Version defines the schema version of this representation of a resource.
    cloud string
    (String) Cloud provider where the Custom Connect Plugin archive is uploaded.
    description string
    (String) Description of Custom Connect Plugin.
    displayName string
    (String) Display name of Custom Connect Plugin.
    environment GetPluginEnvironment
    id string
    kind string
    (String) Kind defines the object this REST resource represents.
    runtimeLanguage string
    (String) Runtime language of Custom Connect Plugin.
    api_version str
    (String) API Version defines the schema version of this representation of a resource.
    cloud str
    (String) Cloud provider where the Custom Connect Plugin archive is uploaded.
    description str
    (String) Description of Custom Connect Plugin.
    display_name str
    (String) Display name of Custom Connect Plugin.
    environment GetPluginEnvironment
    id str
    kind str
    (String) Kind defines the object this REST resource represents.
    runtime_language str
    (String) Runtime language of Custom Connect Plugin.
    apiVersion String
    (String) API Version defines the schema version of this representation of a resource.
    cloud String
    (String) Cloud provider where the Custom Connect Plugin archive is uploaded.
    description String
    (String) Description of Custom Connect Plugin.
    displayName String
    (String) Display name of Custom Connect Plugin.
    environment Property Map
    id String
    kind String
    (String) Kind defines the object this REST resource represents.
    runtimeLanguage String
    (String) Runtime language of Custom Connect Plugin.

    Supporting Types

    GetPluginEnvironment

    Id string
    The ID of the Environment that the Plugin belongs to, for example, env-xyz456.
    Id string
    The ID of the Environment that the Plugin belongs to, for example, env-xyz456.
    id string
    The ID of the Environment that the Plugin belongs to, for example, env-xyz456.
    id String
    The ID of the Environment that the Plugin belongs to, for example, env-xyz456.
    id string
    The ID of the Environment that the Plugin belongs to, for example, env-xyz456.
    id str
    The ID of the Environment that the Plugin belongs to, for example, env-xyz456.
    id String
    The ID of the Environment that the Plugin belongs to, for example, env-xyz456.

    Package Details

    Repository
    Confluent Cloud pulumi/pulumi-confluentcloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the confluent Terraform Provider.
    confluentcloud logo
    Viewing docs for Confluent v2.82.0
    published on Saturday, Sep 12, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial