Qovery v0.28.10 published on Friday, Jun 7, 2024 by dirien
qovery.getProject
Explore with Pulumi AI
# qovery.Project (Data Source)
Provides a Qovery project resource. This can be used to create and manage Qovery projects.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as qovery from "@pulumi/qovery";
const myProject = qovery.getProject({
    id: "<project_id>",
});
import pulumi
import pulumi_qovery as qovery
my_project = qovery.get_project(id="<project_id>")
package main
import (
	"github.com/dirien/pulumi-qovery/sdk/go/qovery"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := qovery.LookupProject(ctx, &qovery.LookupProjectArgs{
			Id: "<project_id>",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Qovery = Pulumi.Qovery;
return await Deployment.RunAsync(() => 
{
    var myProject = Qovery.GetProject.Invoke(new()
    {
        Id = "<project_id>",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.qovery.QoveryFunctions;
import com.pulumi.qovery.inputs.GetProjectArgs;
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 myProject = QoveryFunctions.getProject(GetProjectArgs.builder()
            .id("<project_id>")
            .build());
    }
}
variables:
  myProject:
    fn::invoke:
      Function: qovery:getProject
      Arguments:
        id: <project_id>
Using getProject
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 getProject(args: GetProjectArgs, opts?: InvokeOptions): Promise<GetProjectResult>
function getProjectOutput(args: GetProjectOutputArgs, opts?: InvokeOptions): Output<GetProjectResult>def get_project(description: Optional[str] = None,
                environment_variable_aliases: Optional[Sequence[GetProjectEnvironmentVariableAlias]] = None,
                environment_variables: Optional[Sequence[GetProjectEnvironmentVariable]] = None,
                id: Optional[str] = None,
                secret_aliases: Optional[Sequence[GetProjectSecretAlias]] = None,
                secrets: Optional[Sequence[GetProjectSecret]] = None,
                opts: Optional[InvokeOptions] = None) -> GetProjectResult
def get_project_output(description: Optional[pulumi.Input[str]] = None,
                environment_variable_aliases: Optional[pulumi.Input[Sequence[pulumi.Input[GetProjectEnvironmentVariableAliasArgs]]]] = None,
                environment_variables: Optional[pulumi.Input[Sequence[pulumi.Input[GetProjectEnvironmentVariableArgs]]]] = None,
                id: Optional[pulumi.Input[str]] = None,
                secret_aliases: Optional[pulumi.Input[Sequence[pulumi.Input[GetProjectSecretAliasArgs]]]] = None,
                secrets: Optional[pulumi.Input[Sequence[pulumi.Input[GetProjectSecretArgs]]]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetProjectResult]func LookupProject(ctx *Context, args *LookupProjectArgs, opts ...InvokeOption) (*LookupProjectResult, error)
func LookupProjectOutput(ctx *Context, args *LookupProjectOutputArgs, opts ...InvokeOption) LookupProjectResultOutput> Note: This function is named LookupProject in the Go SDK.
public static class GetProject 
{
    public static Task<GetProjectResult> InvokeAsync(GetProjectArgs args, InvokeOptions? opts = null)
    public static Output<GetProjectResult> Invoke(GetProjectInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProjectResult> getProject(GetProjectArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: qovery:index/getProject:getProject
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
 - Id of the project.
 - Description string
 - Description of the project.
 - Environment
Variable List<ediri.Aliases Qovery. Inputs. Get Project Environment Variable Alias>  - List of environment variable aliases linked to this project.
 - Environment
Variables List<ediri.Qovery. Inputs. Get Project Environment Variable>  - List of environment variables linked to this project.
 - Secret
Aliases List<ediri.Qovery. Inputs. Get Project Secret Alias>  - List of secret aliases linked to this project.
 - Secrets
List<ediri.
Qovery. Inputs. Get Project Secret>  - List of secrets linked to this project.
 
- Id string
 - Id of the project.
 - Description string
 - Description of the project.
 - Environment
Variable []GetAliases Project Environment Variable Alias  - List of environment variable aliases linked to this project.
 - Environment
Variables []GetProject Environment Variable  - List of environment variables linked to this project.
 - Secret
Aliases []GetProject Secret Alias  - List of secret aliases linked to this project.
 - Secrets
[]Get
Project Secret  - List of secrets linked to this project.
 
- id String
 - Id of the project.
 - description String
 - Description of the project.
 - environment
Variable List<GetAliases Project Environment Variable Alias>  - List of environment variable aliases linked to this project.
 - environment
Variables List<GetProject Environment Variable>  - List of environment variables linked to this project.
 - secret
Aliases List<GetProject Secret Alias>  - List of secret aliases linked to this project.
 - secrets
List<Get
Project Secret>  - List of secrets linked to this project.
 
- id string
 - Id of the project.
 - description string
 - Description of the project.
 - environment
Variable GetAliases Project Environment Variable Alias[]  - List of environment variable aliases linked to this project.
 - environment
Variables GetProject Environment Variable[]  - List of environment variables linked to this project.
 - secret
Aliases GetProject Secret Alias[]  - List of secret aliases linked to this project.
 - secrets
Get
Project Secret[]  - List of secrets linked to this project.
 
- id str
 - Id of the project.
 - description str
 - Description of the project.
 - environment_
variable_ Sequence[Getaliases Project Environment Variable Alias]  - List of environment variable aliases linked to this project.
 - environment_
variables Sequence[GetProject Environment Variable]  - List of environment variables linked to this project.
 - secret_
aliases Sequence[GetProject Secret Alias]  - List of secret aliases linked to this project.
 - secrets
Sequence[Get
Project Secret]  - List of secrets linked to this project.
 
- id String
 - Id of the project.
 - description String
 - Description of the project.
 - environment
Variable List<Property Map>Aliases  - List of environment variable aliases linked to this project.
 - environment
Variables List<Property Map> - List of environment variables linked to this project.
 - secret
Aliases List<Property Map> - List of secret aliases linked to this project.
 - secrets List<Property Map>
 - List of secrets linked to this project.
 
getProject Result
The following output properties are available:
- Built
In List<ediri.Environment Variables Qovery. Outputs. Get Project Built In Environment Variable>  - List of built-in environment variables linked to this project.
 - Description string
 - Description of the project.
 - Environment
Variable List<ediri.Aliases Qovery. Outputs. Get Project Environment Variable Alias>  - List of environment variable aliases linked to this project.
 - Environment
Variables List<ediri.Qovery. Outputs. Get Project Environment Variable>  - List of environment variables linked to this project.
 - Id string
 - Id of the project.
 - Name string
 - Name of the project.
 - Organization
Id string - Id of the organization.
 - Secret
Aliases List<ediri.Qovery. Outputs. Get Project Secret Alias>  - List of secret aliases linked to this project.
 - Secrets
List<ediri.
Qovery. Outputs. Get Project Secret>  - List of secrets linked to this project.
 
- Built
In []GetEnvironment Variables Project Built In Environment Variable  - List of built-in environment variables linked to this project.
 - Description string
 - Description of the project.
 - Environment
Variable []GetAliases Project Environment Variable Alias  - List of environment variable aliases linked to this project.
 - Environment
Variables []GetProject Environment Variable  - List of environment variables linked to this project.
 - Id string
 - Id of the project.
 - Name string
 - Name of the project.
 - Organization
Id string - Id of the organization.
 - Secret
Aliases []GetProject Secret Alias  - List of secret aliases linked to this project.
 - Secrets
[]Get
Project Secret  - List of secrets linked to this project.
 
- built
In List<GetEnvironment Variables Project Built In Environment Variable>  - List of built-in environment variables linked to this project.
 - description String
 - Description of the project.
 - environment
Variable List<GetAliases Project Environment Variable Alias>  - List of environment variable aliases linked to this project.
 - environment
Variables List<GetProject Environment Variable>  - List of environment variables linked to this project.
 - id String
 - Id of the project.
 - name String
 - Name of the project.
 - organization
Id String - Id of the organization.
 - secret
Aliases List<GetProject Secret Alias>  - List of secret aliases linked to this project.
 - secrets
List<Get
Project Secret>  - List of secrets linked to this project.
 
- built
In GetEnvironment Variables Project Built In Environment Variable[]  - List of built-in environment variables linked to this project.
 - description string
 - Description of the project.
 - environment
Variable GetAliases Project Environment Variable Alias[]  - List of environment variable aliases linked to this project.
 - environment
Variables GetProject Environment Variable[]  - List of environment variables linked to this project.
 - id string
 - Id of the project.
 - name string
 - Name of the project.
 - organization
Id string - Id of the organization.
 - secret
Aliases GetProject Secret Alias[]  - List of secret aliases linked to this project.
 - secrets
Get
Project Secret[]  - List of secrets linked to this project.
 
- built_
in_ Sequence[Getenvironment_ variables Project Built In Environment Variable]  - List of built-in environment variables linked to this project.
 - description str
 - Description of the project.
 - environment_
variable_ Sequence[Getaliases Project Environment Variable Alias]  - List of environment variable aliases linked to this project.
 - environment_
variables Sequence[GetProject Environment Variable]  - List of environment variables linked to this project.
 - id str
 - Id of the project.
 - name str
 - Name of the project.
 - organization_
id str - Id of the organization.
 - secret_
aliases Sequence[GetProject Secret Alias]  - List of secret aliases linked to this project.
 - secrets
Sequence[Get
Project Secret]  - List of secrets linked to this project.
 
- built
In List<Property Map>Environment Variables  - List of built-in environment variables linked to this project.
 - description String
 - Description of the project.
 - environment
Variable List<Property Map>Aliases  - List of environment variable aliases linked to this project.
 - environment
Variables List<Property Map> - List of environment variables linked to this project.
 - id String
 - Id of the project.
 - name String
 - Name of the project.
 - organization
Id String - Id of the organization.
 - secret
Aliases List<Property Map> - List of secret aliases linked to this project.
 - secrets List<Property Map>
 - List of secrets linked to this project.
 
Supporting Types
GetProjectBuiltInEnvironmentVariable     
GetProjectEnvironmentVariable   
GetProjectEnvironmentVariableAlias    
GetProjectSecret  
GetProjectSecretAlias   
Package Details
- Repository
 - qovery dirien/pulumi-qovery
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
qoveryTerraform Provider.