1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getOrganizationProfile
Cloudflare v6.11.0 published on Friday, Oct 31, 2025 by Pulumi

cloudflare.getOrganizationProfile

Start a Neo task
Explain and create a cloudflare.getOrganizationProfile resource
cloudflare logo
Cloudflare v6.11.0 published on Friday, Oct 31, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleOrganizationProfile = cloudflare.getOrganizationProfile({
        organizationId: "a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_organization_profile = cloudflare.get_organization_profile(organization_id="a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.LookupOrganizationProfile(ctx, &cloudflare.LookupOrganizationProfileArgs{
    			OrganizationId: "a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleOrganizationProfile = Cloudflare.GetOrganizationProfile.Invoke(new()
        {
            OrganizationId = "a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CloudflareFunctions;
    import com.pulumi.cloudflare.inputs.GetOrganizationProfileArgs;
    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 exampleOrganizationProfile = CloudflareFunctions.getOrganizationProfile(GetOrganizationProfileArgs.builder()
                .organizationId("a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8")
                .build());
    
        }
    }
    
    variables:
      exampleOrganizationProfile:
        fn::invoke:
          function: cloudflare:getOrganizationProfile
          arguments:
            organizationId: a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8
    

    Using getOrganizationProfile

    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 getOrganizationProfile(args: GetOrganizationProfileArgs, opts?: InvokeOptions): Promise<GetOrganizationProfileResult>
    function getOrganizationProfileOutput(args: GetOrganizationProfileOutputArgs, opts?: InvokeOptions): Output<GetOrganizationProfileResult>
    def get_organization_profile(organization_id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetOrganizationProfileResult
    def get_organization_profile_output(organization_id: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationProfileResult]
    func LookupOrganizationProfile(ctx *Context, args *LookupOrganizationProfileArgs, opts ...InvokeOption) (*LookupOrganizationProfileResult, error)
    func LookupOrganizationProfileOutput(ctx *Context, args *LookupOrganizationProfileOutputArgs, opts ...InvokeOption) LookupOrganizationProfileResultOutput

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

    public static class GetOrganizationProfile 
    {
        public static Task<GetOrganizationProfileResult> InvokeAsync(GetOrganizationProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetOrganizationProfileResult> Invoke(GetOrganizationProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOrganizationProfileResult> getOrganizationProfile(GetOrganizationProfileArgs args, InvokeOptions options)
    public static Output<GetOrganizationProfileResult> getOrganizationProfile(GetOrganizationProfileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getOrganizationProfile:getOrganizationProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getOrganizationProfile Result

    The following output properties are available:

    BusinessAddress string
    BusinessEmail string
    BusinessName string
    BusinessPhone string
    ExternalMetadata string
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    BusinessAddress string
    BusinessEmail string
    BusinessName string
    BusinessPhone string
    ExternalMetadata string
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    businessAddress String
    businessEmail String
    businessName String
    businessPhone String
    externalMetadata String
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    businessAddress string
    businessEmail string
    businessName string
    businessPhone string
    externalMetadata string
    id string
    The provider-assigned unique ID for this managed resource.
    organizationId string
    business_address str
    business_email str
    business_name str
    business_phone str
    external_metadata str
    id str
    The provider-assigned unique ID for this managed resource.
    organization_id str
    businessAddress String
    businessEmail String
    businessName String
    businessPhone String
    externalMetadata String
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v6.11.0 published on Friday, Oct 31, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate