1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getIdentityProjectsV3
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.getIdentityProjectsV3

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for IAM projects you can get at documentation portal

    Use this data source to get the list of all OpenTelekomCloud projects.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const all = opentelekomcloud.getIdentityProjectsV3({});
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    all = opentelekomcloud.get_identity_projects_v3()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.GetIdentityProjectsV3(ctx, &opentelekomcloud.GetIdentityProjectsV3Args{}, 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 all = Opentelekomcloud.GetIdentityProjectsV3.Invoke();
    
    });
    
    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.GetIdentityProjectsV3Args;
    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 all = OpentelekomcloudFunctions.getIdentityProjectsV3();
    
        }
    }
    
    variables:
      all:
        fn::invoke:
          function: opentelekomcloud:getIdentityProjectsV3
          arguments: {}
    

    Using getIdentityProjectsV3

    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 getIdentityProjectsV3(args: GetIdentityProjectsV3Args, opts?: InvokeOptions): Promise<GetIdentityProjectsV3Result>
    function getIdentityProjectsV3Output(args: GetIdentityProjectsV3OutputArgs, opts?: InvokeOptions): Output<GetIdentityProjectsV3Result>
    def get_identity_projects_v3(id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetIdentityProjectsV3Result
    def get_identity_projects_v3_output(id: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetIdentityProjectsV3Result]
    func GetIdentityProjectsV3(ctx *Context, args *GetIdentityProjectsV3Args, opts ...InvokeOption) (*GetIdentityProjectsV3Result, error)
    func GetIdentityProjectsV3Output(ctx *Context, args *GetIdentityProjectsV3OutputArgs, opts ...InvokeOption) GetIdentityProjectsV3ResultOutput

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

    public static class GetIdentityProjectsV3 
    {
        public static Task<GetIdentityProjectsV3Result> InvokeAsync(GetIdentityProjectsV3Args args, InvokeOptions? opts = null)
        public static Output<GetIdentityProjectsV3Result> Invoke(GetIdentityProjectsV3InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIdentityProjectsV3Result> getIdentityProjectsV3(GetIdentityProjectsV3Args args, InvokeOptions options)
    public static Output<GetIdentityProjectsV3Result> getIdentityProjectsV3(GetIdentityProjectsV3Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getIdentityProjectsV3:getIdentityProjectsV3
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Indicates the domain of queried projects.
    Id string
    Indicates the domain of queried projects.
    id String
    Indicates the domain of queried projects.
    id string
    Indicates the domain of queried projects.
    id str
    Indicates the domain of queried projects.
    id String
    Indicates the domain of queried projects.

    getIdentityProjectsV3 Result

    The following output properties are available:

    Id string
    Indicates the domain of queried projects.
    Projects List<GetIdentityProjectsV3Project>
    List of projects details. The object structure of each Project is documented below.
    Region string
    Indicates the region where the project is present.
    Id string
    Indicates the domain of queried projects.
    Projects []GetIdentityProjectsV3Project
    List of projects details. The object structure of each Project is documented below.
    Region string
    Indicates the region where the project is present.
    id String
    Indicates the domain of queried projects.
    projects List<GetIdentityProjectsV3Project>
    List of projects details. The object structure of each Project is documented below.
    region String
    Indicates the region where the project is present.
    id string
    Indicates the domain of queried projects.
    projects GetIdentityProjectsV3Project[]
    List of projects details. The object structure of each Project is documented below.
    region string
    Indicates the region where the project is present.
    id str
    Indicates the domain of queried projects.
    projects Sequence[GetIdentityProjectsV3Project]
    List of projects details. The object structure of each Project is documented below.
    region str
    Indicates the region where the project is present.
    id String
    Indicates the domain of queried projects.
    projects List<Property Map>
    List of projects details. The object structure of each Project is documented below.
    region String
    Indicates the region where the project is present.

    Supporting Types

    GetIdentityProjectsV3Project

    Description string
    The description of the project.
    DomainId string
    The domain this project belongs to.
    Enabled bool
    Describes whether the project is available
    IsDomain bool
    Indicates whether the user calling the API is a tenant.
    Name string
    Indicated the name of the project.
    ParentId string
    The parent of this project.
    ProjectId string
    The ID of the project.
    Description string
    The description of the project.
    DomainId string
    The domain this project belongs to.
    Enabled bool
    Describes whether the project is available
    IsDomain bool
    Indicates whether the user calling the API is a tenant.
    Name string
    Indicated the name of the project.
    ParentId string
    The parent of this project.
    ProjectId string
    The ID of the project.
    description String
    The description of the project.
    domainId String
    The domain this project belongs to.
    enabled Boolean
    Describes whether the project is available
    isDomain Boolean
    Indicates whether the user calling the API is a tenant.
    name String
    Indicated the name of the project.
    parentId String
    The parent of this project.
    projectId String
    The ID of the project.
    description string
    The description of the project.
    domainId string
    The domain this project belongs to.
    enabled boolean
    Describes whether the project is available
    isDomain boolean
    Indicates whether the user calling the API is a tenant.
    name string
    Indicated the name of the project.
    parentId string
    The parent of this project.
    projectId string
    The ID of the project.
    description str
    The description of the project.
    domain_id str
    The domain this project belongs to.
    enabled bool
    Describes whether the project is available
    is_domain bool
    Indicates whether the user calling the API is a tenant.
    name str
    Indicated the name of the project.
    parent_id str
    The parent of this project.
    project_id str
    The ID of the project.
    description String
    The description of the project.
    domainId String
    The domain this project belongs to.
    enabled Boolean
    Describes whether the project is available
    isDomain Boolean
    Indicates whether the user calling the API is a tenant.
    name String
    Indicated the name of the project.
    parentId String
    The parent of this project.
    projectId String
    The ID of the project.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud