1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getIdentityProjectsV3
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud

opentelekomcloud.getIdentityProjectsV3

Explore with Pulumi AI

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({});
Copy
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud

all = opentelekomcloud.get_identity_projects_v3()
Copy
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
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;

return await Deployment.RunAsync(() => 
{
    var all = Opentelekomcloud.GetIdentityProjectsV3.Invoke();

});
Copy
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();

    }
}
Copy
variables:
  all:
    fn::invoke:
      function: opentelekomcloud:getIdentityProjectsV3
      arguments: {}
Copy

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>
Copy
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]
Copy
func GetIdentityProjectsV3(ctx *Context, args *GetIdentityProjectsV3Args, opts ...InvokeOption) (*GetIdentityProjectsV3Result, error)
func GetIdentityProjectsV3Output(ctx *Context, args *GetIdentityProjectsV3OutputArgs, opts ...InvokeOption) GetIdentityProjectsV3ResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetIdentityProjectsV3Result> getIdentityProjectsV3(GetIdentityProjectsV3Args args, InvokeOptions options)
public static Output<GetIdentityProjectsV3Result> getIdentityProjectsV3(GetIdentityProjectsV3Args args, InvokeOptions options)
Copy
fn::invoke:
  function: opentelekomcloud:index/getIdentityProjectsV3:getIdentityProjectsV3
  arguments:
    # arguments dictionary
Copy

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