edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center
edgecenter.getProject
Explore with Pulumi AI
edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center
Represent project data.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as edgecenter from "@pulumi/edgecenter";
const pr = edgecenter.getProject({
name: "test",
});
import pulumi
import pulumi_edgecenter as edgecenter
pr = edgecenter.get_project(name="test")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/edgecenter/edgecenter"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := edgecenter.LookupProject(ctx, &edgecenter.LookupProjectArgs{
Name: pulumi.StringRef("test"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Edgecenter = Pulumi.Edgecenter;
return await Deployment.RunAsync(() =>
{
var pr = Edgecenter.GetProject.Invoke(new()
{
Name = "test",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.edgecenter.EdgecenterFunctions;
import com.pulumi.edgecenter.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 pr = EdgecenterFunctions.getProject(GetProjectArgs.builder()
.name("test")
.build());
}
}
variables:
pr:
fn::invoke:
function: edgecenter:getProject
arguments:
name: test
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(client_id: Optional[float] = None,
id: Optional[float] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectResult
def get_project_output(client_id: Optional[pulumi.Input[float]] = None,
id: Optional[pulumi.Input[float]] = None,
name: Optional[pulumi.Input[str]] = 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)
public static Output<GetProjectResult> getProject(GetProjectArgs args, InvokeOptions options)
fn::invoke:
function: edgecenter:index/getProject:getProject
arguments:
# arguments dictionary
The following arguments are supported:
getProject Result
The following output properties are available:
- Client
Id double - The ID of the client.
- Created
At string - The datetime of the project creation. It is automatically generated when the project is created.
- Description string
- The description of the project.
- Id double
- Project ID.
- Is
Default bool - The default flag. There is always one default project for each client.
- Name string
- Displayed project name.
- State string
- The state of the project.
- Client
Id float64 - The ID of the client.
- Created
At string - The datetime of the project creation. It is automatically generated when the project is created.
- Description string
- The description of the project.
- Id float64
- Project ID.
- Is
Default bool - The default flag. There is always one default project for each client.
- Name string
- Displayed project name.
- State string
- The state of the project.
- client
Id Double - The ID of the client.
- created
At String - The datetime of the project creation. It is automatically generated when the project is created.
- description String
- The description of the project.
- id Double
- Project ID.
- is
Default Boolean - The default flag. There is always one default project for each client.
- name String
- Displayed project name.
- state String
- The state of the project.
- client
Id number - The ID of the client.
- created
At string - The datetime of the project creation. It is automatically generated when the project is created.
- description string
- The description of the project.
- id number
- Project ID.
- is
Default boolean - The default flag. There is always one default project for each client.
- name string
- Displayed project name.
- state string
- The state of the project.
- client_
id float - The ID of the client.
- created_
at str - The datetime of the project creation. It is automatically generated when the project is created.
- description str
- The description of the project.
- id float
- Project ID.
- is_
default bool - The default flag. There is always one default project for each client.
- name str
- Displayed project name.
- state str
- The state of the project.
- client
Id Number - The ID of the client.
- created
At String - The datetime of the project creation. It is automatically generated when the project is created.
- description String
- The description of the project.
- id Number
- Project ID.
- is
Default Boolean - The default flag. There is always one default project for each client.
- name String
- Displayed project name.
- state String
- The state of the project.
Package Details
- Repository
- edgecenter edge-center/terraform-provider-edgecenter
- License
- Notes
- This Pulumi package is based on the
edgecenter
Terraform Provider.
edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center