opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
opentelekomcloud.getIdentityProjectsV3
Explore with Pulumi AI
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<Get
Identity Projects V3Project> - 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
[]Get
Identity Projects V3Project - 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<Get
Identity Projects V3Project> - 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
Get
Identity Projects V3Project[] - 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[Get
Identity Projects V3Project] - 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.
- Domain
Id string - 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 string
- Indicated the name of the project.
- Parent
Id string - The parent of this project.
- Project
Id string - The ID of the project.
- Description string
- The description of the project.
- Domain
Id string - 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 string
- Indicated the name of the project.
- Parent
Id string - The parent of this project.
- Project
Id string - The ID of the project.
- description String
- The description of the project.
- domain
Id String - The domain this project belongs to.
- enabled Boolean
- Describes whether the project is available
- is
Domain Boolean - Indicates whether the user calling the API is a tenant.
- name String
- Indicated the name of the project.
- parent
Id String - The parent of this project.
- project
Id String - The ID of the project.
- description string
- The description of the project.
- domain
Id string - The domain this project belongs to.
- enabled boolean
- Describes whether the project is available
- is
Domain boolean - Indicates whether the user calling the API is a tenant.
- name string
- Indicated the name of the project.
- parent
Id string - The parent of this project.
- project
Id 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.
- domain
Id String - The domain this project belongs to.
- enabled Boolean
- Describes whether the project is available
- is
Domain Boolean - Indicates whether the user calling the API is a tenant.
- name String
- Indicated the name of the project.
- parent
Id String - The parent of this project.
- project
Id 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 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud