flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getEnterpriseProject
Start a Neo task
Explain and create a flexibleengine.getEnterpriseProject resource
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to get an enterprise project from Flexibleengine.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const test = flexibleengine.getEnterpriseProject({
name: "test",
});
import pulumi
import pulumi_flexibleengine as flexibleengine
test = flexibleengine.get_enterprise_project(name="test")
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.LookupEnterpriseProject(ctx, &flexibleengine.LookupEnterpriseProjectArgs{
Name: pulumi.StringRef("test"),
}, 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 test = Flexibleengine.GetEnterpriseProject.Invoke(new()
{
Name = "test",
});
});
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.GetEnterpriseProjectArgs;
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 test = FlexibleengineFunctions.getEnterpriseProject(GetEnterpriseProjectArgs.builder()
.name("test")
.build());
}
}
variables:
test:
fn::invoke:
function: flexibleengine:getEnterpriseProject
arguments:
name: test
Using getEnterpriseProject
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 getEnterpriseProject(args: GetEnterpriseProjectArgs, opts?: InvokeOptions): Promise<GetEnterpriseProjectResult>
function getEnterpriseProjectOutput(args: GetEnterpriseProjectOutputArgs, opts?: InvokeOptions): Output<GetEnterpriseProjectResult>def get_enterprise_project(id: Optional[str] = None,
name: Optional[str] = None,
status: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetEnterpriseProjectResult
def get_enterprise_project_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEnterpriseProjectResult]func LookupEnterpriseProject(ctx *Context, args *LookupEnterpriseProjectArgs, opts ...InvokeOption) (*LookupEnterpriseProjectResult, error)
func LookupEnterpriseProjectOutput(ctx *Context, args *LookupEnterpriseProjectOutputArgs, opts ...InvokeOption) LookupEnterpriseProjectResultOutput> Note: This function is named LookupEnterpriseProject in the Go SDK.
public static class GetEnterpriseProject
{
public static Task<GetEnterpriseProjectResult> InvokeAsync(GetEnterpriseProjectArgs args, InvokeOptions? opts = null)
public static Output<GetEnterpriseProjectResult> Invoke(GetEnterpriseProjectInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEnterpriseProjectResult> getEnterpriseProject(GetEnterpriseProjectArgs args, InvokeOptions options)
public static Output<GetEnterpriseProjectResult> getEnterpriseProject(GetEnterpriseProjectArgs args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getEnterpriseProject:getEnterpriseProject
arguments:
# arguments dictionaryThe following arguments are supported:
getEnterpriseProject Result
The following output properties are available:
- Created
At string - The UTC time when the enterprise project was created. Example: 2018-05-18T06:49:06Z
- Description string
- The supplementary information about the enterprise project.
- Id string
- Name string
- Status double
- Updated
At string - The UTC time when the enterprise project was modified. Example: 2018-05-28T02:21:36Z
- Created
At string - The UTC time when the enterprise project was created. Example: 2018-05-18T06:49:06Z
- Description string
- The supplementary information about the enterprise project.
- Id string
- Name string
- Status float64
- Updated
At string - The UTC time when the enterprise project was modified. Example: 2018-05-28T02:21:36Z
- created
At String - The UTC time when the enterprise project was created. Example: 2018-05-18T06:49:06Z
- description String
- The supplementary information about the enterprise project.
- id String
- name String
- status Double
- updated
At String - The UTC time when the enterprise project was modified. Example: 2018-05-28T02:21:36Z
- created
At string - The UTC time when the enterprise project was created. Example: 2018-05-18T06:49:06Z
- description string
- The supplementary information about the enterprise project.
- id string
- name string
- status number
- updated
At string - The UTC time when the enterprise project was modified. Example: 2018-05-28T02:21:36Z
- created_
at str - The UTC time when the enterprise project was created. Example: 2018-05-18T06:49:06Z
- description str
- The supplementary information about the enterprise project.
- id str
- name str
- status float
- updated_
at str - The UTC time when the enterprise project was modified. Example: 2018-05-28T02:21:36Z
- created
At String - The UTC time when the enterprise project was created. Example: 2018-05-18T06:49:06Z
- description String
- The supplementary information about the enterprise project.
- id String
- name String
- status Number
- updated
At String - The UTC time when the enterprise project was modified. Example: 2018-05-28T02:21:36Z
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengineTerraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
