1. Packages
  2. Packages
  3. Opentelekomcloud Provider
  4. API Docs
  5. getEnterpriseProjectsV1
Viewing docs for opentelekomcloud 1.37.3
published on Friday, Jul 31, 2026 by opentelekomcloud
Viewing docs for opentelekomcloud 1.37.3
published on Friday, Jul 31, 2026 by opentelekomcloud

    Use this data source to get the list of EPS enterprise projects.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const name = config.requireObject<any>("name");
    const test = opentelekomcloud.getEnterpriseProjectsV1({
        name: name,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    name = config.require_object("name")
    test = opentelekomcloud.get_enterprise_projects_v1(name=name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		name := cfg.RequireObject("name")
    		_, err := opentelekomcloud.GetEnterpriseProjectsV1(ctx, &opentelekomcloud.GetEnterpriseProjectsV1Args{
    			Name: pulumi.StringRef(name),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.RequireObject<dynamic>("name");
        var test = Opentelekomcloud.GetEnterpriseProjectsV1.Invoke(new()
        {
            Name = name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
    import com.pulumi.opentelekomcloud.inputs.GetEnterpriseProjectsV1Args;
    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 config = ctx.config();
            final var name = config.get("name");
            final var test = OpentelekomcloudFunctions.getEnterpriseProjectsV1(GetEnterpriseProjectsV1Args.builder()
                .name(name)
                .build());
    
        }
    }
    
    configuration:
      name:
        type: dynamic
    variables:
      test:
        fn::invoke:
          function: opentelekomcloud:getEnterpriseProjectsV1
          arguments:
            name: ${name}
    
    Example coming soon!
    

    Using getEnterpriseProjectsV1

    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 getEnterpriseProjectsV1(args: GetEnterpriseProjectsV1Args, opts?: InvokeOptions): Promise<GetEnterpriseProjectsV1Result>
    function getEnterpriseProjectsV1Output(args: GetEnterpriseProjectsV1OutputArgs, opts?: InvokeOptions): Output<GetEnterpriseProjectsV1Result>
    def get_enterprise_projects_v1(enterprise_project_id: Optional[str] = None,
                                   id: Optional[str] = None,
                                   name: Optional[str] = None,
                                   status: Optional[float] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetEnterpriseProjectsV1Result
    def get_enterprise_projects_v1_output(enterprise_project_id: pulumi.Input[Optional[str]] = None,
                                   id: pulumi.Input[Optional[str]] = None,
                                   name: pulumi.Input[Optional[str]] = None,
                                   status: pulumi.Input[Optional[float]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetEnterpriseProjectsV1Result]
    func GetEnterpriseProjectsV1(ctx *Context, args *GetEnterpriseProjectsV1Args, opts ...InvokeOption) (*GetEnterpriseProjectsV1Result, error)
    func GetEnterpriseProjectsV1Output(ctx *Context, args *GetEnterpriseProjectsV1OutputArgs, opts ...InvokeOption) GetEnterpriseProjectsV1ResultOutput

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

    public static class GetEnterpriseProjectsV1 
    {
        public static Task<GetEnterpriseProjectsV1Result> InvokeAsync(GetEnterpriseProjectsV1Args args, InvokeOptions? opts = null)
        public static Output<GetEnterpriseProjectsV1Result> Invoke(GetEnterpriseProjectsV1InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEnterpriseProjectsV1Result> getEnterpriseProjectsV1(GetEnterpriseProjectsV1Args args, InvokeOptions options)
    public static Output<GetEnterpriseProjectsV1Result> getEnterpriseProjectsV1(GetEnterpriseProjectsV1Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getEnterpriseProjectsV1:getEnterpriseProjectsV1
      arguments:
        # arguments dictionary
    data "opentelekomcloud_get_enterprise_projects_v1" "name" {
        # arguments
    }

    The following arguments are supported:

    EnterpriseProjectId string
    Specifies the ID of an enterprise project. The value 0 indicates enterprise project default.
    Id string
    The ID of the enterprise project.
    Name string
    Specifies the enterprise project name. Fuzzy search is supported.
    Status double
    Specifies the status of an enterprise project. The valid values are as follows:

    • 1: Enabled.
    • 2: Disabled.
    EnterpriseProjectId string
    Specifies the ID of an enterprise project. The value 0 indicates enterprise project default.
    Id string
    The ID of the enterprise project.
    Name string
    Specifies the enterprise project name. Fuzzy search is supported.
    Status float64
    Specifies the status of an enterprise project. The valid values are as follows:

    • 1: Enabled.
    • 2: Disabled.
    enterprise_project_id string
    Specifies the ID of an enterprise project. The value 0 indicates enterprise project default.
    id string
    The ID of the enterprise project.
    name string
    Specifies the enterprise project name. Fuzzy search is supported.
    status number
    Specifies the status of an enterprise project. The valid values are as follows:

    • 1: Enabled.
    • 2: Disabled.
    enterpriseProjectId String
    Specifies the ID of an enterprise project. The value 0 indicates enterprise project default.
    id String
    The ID of the enterprise project.
    name String
    Specifies the enterprise project name. Fuzzy search is supported.
    status Double
    Specifies the status of an enterprise project. The valid values are as follows:

    • 1: Enabled.
    • 2: Disabled.
    enterpriseProjectId string
    Specifies the ID of an enterprise project. The value 0 indicates enterprise project default.
    id string
    The ID of the enterprise project.
    name string
    Specifies the enterprise project name. Fuzzy search is supported.
    status number
    Specifies the status of an enterprise project. The valid values are as follows:

    • 1: Enabled.
    • 2: Disabled.
    enterprise_project_id str
    Specifies the ID of an enterprise project. The value 0 indicates enterprise project default.
    id str
    The ID of the enterprise project.
    name str
    Specifies the enterprise project name. Fuzzy search is supported.
    status float
    Specifies the status of an enterprise project. The valid values are as follows:

    • 1: Enabled.
    • 2: Disabled.
    enterpriseProjectId String
    Specifies the ID of an enterprise project. The value 0 indicates enterprise project default.
    id String
    The ID of the enterprise project.
    name String
    Specifies the enterprise project name. Fuzzy search is supported.
    status Number
    Specifies the status of an enterprise project. The valid values are as follows:

    • 1: Enabled.
    • 2: Disabled.

    getEnterpriseProjectsV1 Result

    The following output properties are available:

    EnterpriseProjects List<GetEnterpriseProjectsV1EnterpriseProject>
    All projects that match the filter parameters. The enterprise_projects structure is documented below.
    Id string
    The ID of the enterprise project.
    EnterpriseProjectId string
    Name string
    The name of the enterprise project.
    Status double
    The status of the enterprise project.
    EnterpriseProjects []GetEnterpriseProjectsV1EnterpriseProject
    All projects that match the filter parameters. The enterprise_projects structure is documented below.
    Id string
    The ID of the enterprise project.
    EnterpriseProjectId string
    Name string
    The name of the enterprise project.
    Status float64
    The status of the enterprise project.
    enterprise_projects list(object)
    All projects that match the filter parameters. The enterprise_projects structure is documented below.
    id string
    The ID of the enterprise project.
    enterprise_project_id string
    name string
    The name of the enterprise project.
    status number
    The status of the enterprise project.
    enterpriseProjects List<GetEnterpriseProjectsV1EnterpriseProject>
    All projects that match the filter parameters. The enterprise_projects structure is documented below.
    id String
    The ID of the enterprise project.
    enterpriseProjectId String
    name String
    The name of the enterprise project.
    status Double
    The status of the enterprise project.
    enterpriseProjects GetEnterpriseProjectsV1EnterpriseProject[]
    All projects that match the filter parameters. The enterprise_projects structure is documented below.
    id string
    The ID of the enterprise project.
    enterpriseProjectId string
    name string
    The name of the enterprise project.
    status number
    The status of the enterprise project.
    enterprise_projects Sequence[GetEnterpriseProjectsV1EnterpriseProject]
    All projects that match the filter parameters. The enterprise_projects structure is documented below.
    id str
    The ID of the enterprise project.
    enterprise_project_id str
    name str
    The name of the enterprise project.
    status float
    The status of the enterprise project.
    enterpriseProjects List<Property Map>
    All projects that match the filter parameters. The enterprise_projects structure is documented below.
    id String
    The ID of the enterprise project.
    enterpriseProjectId String
    name String
    The name of the enterprise project.
    status Number
    The status of the enterprise project.

    Supporting Types

    GetEnterpriseProjectsV1EnterpriseProject

    CreatedAt string
    The time (UTC) when the enterprise project was created. Example: 2023-11-15T06:49:06Z
    Description string
    The description of the enterprise project.
    Id string
    The ID of the enterprise project.
    Name string
    Specifies the enterprise project name. Fuzzy search is supported.
    Status double
    Specifies the status of an enterprise project. The valid values are as follows:

    • 1: Enabled.
    • 2: Disabled.
    Type string
    The type of the enterprise project.
    UpdatedAt string
    The time (UTC) when the enterprise project was modified. Example: 2023-11-16T02:21:36Z
    CreatedAt string
    The time (UTC) when the enterprise project was created. Example: 2023-11-15T06:49:06Z
    Description string
    The description of the enterprise project.
    Id string
    The ID of the enterprise project.
    Name string
    Specifies the enterprise project name. Fuzzy search is supported.
    Status float64
    Specifies the status of an enterprise project. The valid values are as follows:

    • 1: Enabled.
    • 2: Disabled.
    Type string
    The type of the enterprise project.
    UpdatedAt string
    The time (UTC) when the enterprise project was modified. Example: 2023-11-16T02:21:36Z
    created_at string
    The time (UTC) when the enterprise project was created. Example: 2023-11-15T06:49:06Z
    description string
    The description of the enterprise project.
    id string
    The ID of the enterprise project.
    name string
    Specifies the enterprise project name. Fuzzy search is supported.
    status number
    Specifies the status of an enterprise project. The valid values are as follows:

    • 1: Enabled.
    • 2: Disabled.
    type string
    The type of the enterprise project.
    updated_at string
    The time (UTC) when the enterprise project was modified. Example: 2023-11-16T02:21:36Z
    createdAt String
    The time (UTC) when the enterprise project was created. Example: 2023-11-15T06:49:06Z
    description String
    The description of the enterprise project.
    id String
    The ID of the enterprise project.
    name String
    Specifies the enterprise project name. Fuzzy search is supported.
    status Double
    Specifies the status of an enterprise project. The valid values are as follows:

    • 1: Enabled.
    • 2: Disabled.
    type String
    The type of the enterprise project.
    updatedAt String
    The time (UTC) when the enterprise project was modified. Example: 2023-11-16T02:21:36Z
    createdAt string
    The time (UTC) when the enterprise project was created. Example: 2023-11-15T06:49:06Z
    description string
    The description of the enterprise project.
    id string
    The ID of the enterprise project.
    name string
    Specifies the enterprise project name. Fuzzy search is supported.
    status number
    Specifies the status of an enterprise project. The valid values are as follows:

    • 1: Enabled.
    • 2: Disabled.
    type string
    The type of the enterprise project.
    updatedAt string
    The time (UTC) when the enterprise project was modified. Example: 2023-11-16T02:21:36Z
    created_at str
    The time (UTC) when the enterprise project was created. Example: 2023-11-15T06:49:06Z
    description str
    The description of the enterprise project.
    id str
    The ID of the enterprise project.
    name str
    Specifies the enterprise project name. Fuzzy search is supported.
    status float
    Specifies the status of an enterprise project. The valid values are as follows:

    • 1: Enabled.
    • 2: Disabled.
    type str
    The type of the enterprise project.
    updated_at str
    The time (UTC) when the enterprise project was modified. Example: 2023-11-16T02:21:36Z
    createdAt String
    The time (UTC) when the enterprise project was created. Example: 2023-11-15T06:49:06Z
    description String
    The description of the enterprise project.
    id String
    The ID of the enterprise project.
    name String
    Specifies the enterprise project name. Fuzzy search is supported.
    status Number
    Specifies the status of an enterprise project. The valid values are as follows:

    • 1: Enabled.
    • 2: Disabled.
    type String
    The type of the enterprise project.
    updatedAt String
    The time (UTC) when the enterprise project was modified. Example: 2023-11-16T02:21:36Z

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    Viewing docs for opentelekomcloud 1.37.3
    published on Friday, Jul 31, 2026 by opentelekomcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial