flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getIdentityProjects
Start a Neo task
Explain and create a flexibleengine.getIdentityProjects resource
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to query the IAM project list within FlexibleEngine.
NOTE: You must have IAM read privileges to use this data source.
Example Usage
Obtain project information by name
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const test = flexibleengine.getIdentityProjects({
name: "eu-west-0_demo",
});
import pulumi
import pulumi_flexibleengine as flexibleengine
test = flexibleengine.get_identity_projects(name="eu-west-0_demo")
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.GetIdentityProjects(ctx, &flexibleengine.GetIdentityProjectsArgs{
Name: pulumi.StringRef("eu-west-0_demo"),
}, 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.GetIdentityProjects.Invoke(new()
{
Name = "eu-west-0_demo",
});
});
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.GetIdentityProjectsArgs;
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.getIdentityProjects(GetIdentityProjectsArgs.builder()
.name("eu-west-0_demo")
.build());
}
}
variables:
test:
fn::invoke:
function: flexibleengine:getIdentityProjects
arguments:
name: eu-west-0_demo
Obtain special project information by name
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const test = flexibleengine.getIdentityProjects({
name: "MOS",
});
import pulumi
import pulumi_flexibleengine as flexibleengine
test = flexibleengine.get_identity_projects(name="MOS")
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.GetIdentityProjects(ctx, &flexibleengine.GetIdentityProjectsArgs{
Name: pulumi.StringRef("MOS"),
}, 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.GetIdentityProjects.Invoke(new()
{
Name = "MOS",
});
});
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.GetIdentityProjectsArgs;
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.getIdentityProjects(GetIdentityProjectsArgs.builder()
.name("MOS")
.build());
}
}
variables:
test:
fn::invoke:
function: flexibleengine:getIdentityProjects
arguments:
name: MOS
Using getIdentityProjects
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 getIdentityProjects(args: GetIdentityProjectsArgs, opts?: InvokeOptions): Promise<GetIdentityProjectsResult>
function getIdentityProjectsOutput(args: GetIdentityProjectsOutputArgs, opts?: InvokeOptions): Output<GetIdentityProjectsResult>def get_identity_projects(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIdentityProjectsResult
def get_identity_projects_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIdentityProjectsResult]func GetIdentityProjects(ctx *Context, args *GetIdentityProjectsArgs, opts ...InvokeOption) (*GetIdentityProjectsResult, error)
func GetIdentityProjectsOutput(ctx *Context, args *GetIdentityProjectsOutputArgs, opts ...InvokeOption) GetIdentityProjectsResultOutput> Note: This function is named GetIdentityProjects in the Go SDK.
public static class GetIdentityProjects
{
public static Task<GetIdentityProjectsResult> InvokeAsync(GetIdentityProjectsArgs args, InvokeOptions? opts = null)
public static Output<GetIdentityProjectsResult> Invoke(GetIdentityProjectsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIdentityProjectsResult> getIdentityProjects(GetIdentityProjectsArgs args, InvokeOptions options)
public static Output<GetIdentityProjectsResult> getIdentityProjects(GetIdentityProjectsArgs args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getIdentityProjects:getIdentityProjects
arguments:
# arguments dictionaryThe following arguments are supported:
getIdentityProjects Result
The following output properties are available:
- Id string
- The IAM project ID.
- Projects
List<Get
Identity Projects Project> - The details of the query projects. The projects object structure is documented below.
- Name string
- The IAM project name.
- Id string
- The IAM project ID.
- Projects
[]Get
Identity Projects Project - The details of the query projects. The projects object structure is documented below.
- Name string
- The IAM project name.
- id String
- The IAM project ID.
- projects
List<Get
Identity Projects Project> - The details of the query projects. The projects object structure is documented below.
- name String
- The IAM project name.
- id string
- The IAM project ID.
- projects
Get
Identity Projects Project[] - The details of the query projects. The projects object structure is documented below.
- name string
- The IAM project name.
- id str
- The IAM project ID.
- projects
Sequence[Get
Identity Projects Project] - The details of the query projects. The projects object structure is documented below.
- name str
- The IAM project name.
- id String
- The IAM project ID.
- projects List<Property Map>
- The details of the query projects. The projects object structure is documented below.
- name String
- The IAM project name.
Supporting Types
GetIdentityProjectsProject
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
