1. Packages
  2. Gcorelabs Provider
  3. API Docs
  4. getProject
gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core

gcorelabs.getProject

Explore with Pulumi AI

gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core

Represent project data

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>
Copy
def get_project(id: Optional[str] = None,
                name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetProjectResult
def get_project_output(id: Optional[pulumi.Input[str]] = None,
                name: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetProjectResult]
Copy
func GetProject(ctx *Context, args *GetProjectArgs, opts ...InvokeOption) (*GetProjectResult, error)
func GetProjectOutput(ctx *Context, args *GetProjectOutputArgs, opts ...InvokeOption) GetProjectResultOutput
Copy

> Note: This function is named GetProject 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)
}
Copy
public static CompletableFuture<GetProjectResult> getProject(GetProjectArgs args, InvokeOptions options)
public static Output<GetProjectResult> getProject(GetProjectArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: gcorelabs:index/getProject:getProject
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
Displayed project name
Id string
The ID of this resource.
Name This property is required. string
Displayed project name
Id string
The ID of this resource.
name This property is required. String
Displayed project name
id String
The ID of this resource.
name This property is required. string
Displayed project name
id string
The ID of this resource.
name This property is required. str
Displayed project name
id str
The ID of this resource.
name This property is required. String
Displayed project name
id String
The ID of this resource.

getProject Result

The following output properties are available:

Id string
The ID of this resource.
Name string
Displayed project name
Id string
The ID of this resource.
Name string
Displayed project name
id String
The ID of this resource.
name String
Displayed project name
id string
The ID of this resource.
name string
Displayed project name
id str
The ID of this resource.
name str
Displayed project name
id String
The ID of this resource.
name String
Displayed project name

Package Details

Repository
gcorelabs g-core/terraform-provider-gcorelabs
License
Notes
This Pulumi package is based on the gcorelabs Terraform Provider.
gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core