1. Packages
  2. Confluent Provider
  3. API Docs
  4. getOrganization
Confluent v2.49.0 published on Saturday, Oct 25, 2025 by Pulumi

confluentcloud.getOrganization

Start a Neo task
Explain and create a confluentcloud.getOrganization resource
confluentcloud logo
Confluent v2.49.0 published on Saturday, Oct 25, 2025 by Pulumi

    General Availability

    confluentcloud.getOrganization describes an Organization data source.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as confluentcloud from "@pulumi/confluentcloud";
    
    export = async () => {
        const example = await confluentcloud.getOrganization({});
        return {
            example: example,
        };
    }
    
    import pulumi
    import pulumi_confluentcloud as confluentcloud
    
    example = confluentcloud.get_organization()
    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.GetOrganization(ctx, map[string]interface{}{}, 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.GetOrganization.Invoke();
    
        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 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 example = ConfluentcloudFunctions.getOrganization(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
    
            ctx.export("example", example);
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: confluentcloud:getOrganization
          arguments: {}
    outputs:
      example: ${example}
    

    Using getOrganization

    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 getOrganization(opts?: InvokeOptions): Promise<GetOrganizationResult>
    function getOrganizationOutput(opts?: InvokeOptions): Output<GetOrganizationResult>
    def get_organization(opts: Optional[InvokeOptions] = None) -> GetOrganizationResult
    def get_organization_output(opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationResult]
    func GetOrganization(ctx *Context, opts ...InvokeOption) (*GetOrganizationResult, error)
    func GetOrganizationOutput(ctx *Context, opts ...InvokeOption) GetOrganizationResultOutput

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

    public static class GetOrganization 
    {
        public static Task<GetOrganizationResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetOrganizationResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOrganizationResult> getOrganization(InvokeOptions options)
    public static Output<GetOrganizationResult> getOrganization(InvokeOptions options)
    
    fn::invoke:
      function: confluentcloud:index/getOrganization:getOrganization
      arguments:
        # arguments dictionary

    getOrganization Result

    The following output properties are available:

    Id string
    (Required String) The ID of the Organization, for example, 1111aaaa-11aa-11aa-11aa-111111aaaaaa.
    ResourceName string
    (Required String) The Confluent Resource Name of the Organization, for example, crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa.
    Id string
    (Required String) The ID of the Organization, for example, 1111aaaa-11aa-11aa-11aa-111111aaaaaa.
    ResourceName string
    (Required String) The Confluent Resource Name of the Organization, for example, crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa.
    id String
    (Required String) The ID of the Organization, for example, 1111aaaa-11aa-11aa-11aa-111111aaaaaa.
    resourceName String
    (Required String) The Confluent Resource Name of the Organization, for example, crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa.
    id string
    (Required String) The ID of the Organization, for example, 1111aaaa-11aa-11aa-11aa-111111aaaaaa.
    resourceName string
    (Required String) The Confluent Resource Name of the Organization, for example, crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa.
    id str
    (Required String) The ID of the Organization, for example, 1111aaaa-11aa-11aa-11aa-111111aaaaaa.
    resource_name str
    (Required String) The Confluent Resource Name of the Organization, for example, crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa.
    id String
    (Required String) The ID of the Organization, for example, 1111aaaa-11aa-11aa-11aa-111111aaaaaa.
    resourceName String
    (Required String) The Confluent Resource Name of the Organization, for example, crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa.

    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
    Confluent v2.49.0 published on Saturday, Oct 25, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate