1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. getIdentityProjectV3
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.getIdentityProjectV3

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    Use this data source to get the ID of a FlexibleEngine project.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const project1 = flexibleengine.getIdentityProjectV3({
        name: "eu-west-0",
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    project1 = flexibleengine.get_identity_project_v3(name="eu-west-0")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := flexibleengine.LookupIdentityProjectV3(ctx, &flexibleengine.LookupIdentityProjectV3Args{
    			Name: pulumi.StringRef("eu-west-0"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var project1 = Flexibleengine.GetIdentityProjectV3.Invoke(new()
        {
            Name = "eu-west-0",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.FlexibleengineFunctions;
    import com.pulumi.flexibleengine.inputs.GetIdentityProjectV3Args;
    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 project1 = FlexibleengineFunctions.getIdentityProjectV3(GetIdentityProjectV3Args.builder()
                .name("eu-west-0")
                .build());
    
        }
    }
    
    variables:
      project1:
        fn::invoke:
          function: flexibleengine:getIdentityProjectV3
          arguments:
            name: eu-west-0
    

    Using getIdentityProjectV3

    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 getIdentityProjectV3(args: GetIdentityProjectV3Args, opts?: InvokeOptions): Promise<GetIdentityProjectV3Result>
    function getIdentityProjectV3Output(args: GetIdentityProjectV3OutputArgs, opts?: InvokeOptions): Output<GetIdentityProjectV3Result>
    def get_identity_project_v3(domain_id: Optional[str] = None,
                                enabled: Optional[bool] = None,
                                id: Optional[str] = None,
                                is_domain: Optional[bool] = None,
                                name: Optional[str] = None,
                                parent_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetIdentityProjectV3Result
    def get_identity_project_v3_output(domain_id: Optional[pulumi.Input[str]] = None,
                                enabled: Optional[pulumi.Input[bool]] = None,
                                id: Optional[pulumi.Input[str]] = None,
                                is_domain: Optional[pulumi.Input[bool]] = None,
                                name: Optional[pulumi.Input[str]] = None,
                                parent_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetIdentityProjectV3Result]
    func LookupIdentityProjectV3(ctx *Context, args *LookupIdentityProjectV3Args, opts ...InvokeOption) (*LookupIdentityProjectV3Result, error)
    func LookupIdentityProjectV3Output(ctx *Context, args *LookupIdentityProjectV3OutputArgs, opts ...InvokeOption) LookupIdentityProjectV3ResultOutput

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

    public static class GetIdentityProjectV3 
    {
        public static Task<GetIdentityProjectV3Result> InvokeAsync(GetIdentityProjectV3Args args, InvokeOptions? opts = null)
        public static Output<GetIdentityProjectV3Result> Invoke(GetIdentityProjectV3InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIdentityProjectV3Result> getIdentityProjectV3(GetIdentityProjectV3Args args, InvokeOptions options)
    public static Output<GetIdentityProjectV3Result> getIdentityProjectV3(GetIdentityProjectV3Args args, InvokeOptions options)
    
    fn::invoke:
      function: flexibleengine:index/getIdentityProjectV3:getIdentityProjectV3
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DomainId string
    The domain this project belongs to.
    Enabled bool
    The enabling status of this project.
    Id string
    IsDomain bool
    Indicates whether the user calling the API is a tenant.
    Name string
    The name of the project.
    ParentId string
    The parent of this project.
    DomainId string
    The domain this project belongs to.
    Enabled bool
    The enabling status of this project.
    Id string
    IsDomain bool
    Indicates whether the user calling the API is a tenant.
    Name string
    The name of the project.
    ParentId string
    The parent of this project.
    domainId String
    The domain this project belongs to.
    enabled Boolean
    The enabling status of this project.
    id String
    isDomain Boolean
    Indicates whether the user calling the API is a tenant.
    name String
    The name of the project.
    parentId String
    The parent of this project.
    domainId string
    The domain this project belongs to.
    enabled boolean
    The enabling status of this project.
    id string
    isDomain boolean
    Indicates whether the user calling the API is a tenant.
    name string
    The name of the project.
    parentId string
    The parent of this project.
    domain_id str
    The domain this project belongs to.
    enabled bool
    The enabling status of this project.
    id str
    is_domain bool
    Indicates whether the user calling the API is a tenant.
    name str
    The name of the project.
    parent_id str
    The parent of this project.
    domainId String
    The domain this project belongs to.
    enabled Boolean
    The enabling status of this project.
    id String
    isDomain Boolean
    Indicates whether the user calling the API is a tenant.
    name String
    The name of the project.
    parentId String
    The parent of this project.

    getIdentityProjectV3 Result

    The following output properties are available:

    Description string
    The description of the project.
    DomainId string
    Enabled bool
    Id string
    IsDomain bool
    Name string
    ParentId string
    Description string
    The description of the project.
    DomainId string
    Enabled bool
    Id string
    IsDomain bool
    Name string
    ParentId string
    description String
    The description of the project.
    domainId String
    enabled Boolean
    id String
    isDomain Boolean
    name String
    parentId String
    description string
    The description of the project.
    domainId string
    enabled boolean
    id string
    isDomain boolean
    name string
    parentId string
    description str
    The description of the project.
    domain_id str
    enabled bool
    id str
    is_domain bool
    name str
    parent_id str
    description String
    The description of the project.
    domainId String
    enabled Boolean
    id String
    isDomain Boolean
    name String
    parentId String

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud