Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

getFusionEnvironmentAdminUser

This data source provides details about a specific Fusion Environment Admin User resource in Oracle Cloud Infrastructure Fusion Apps service.

List all FusionEnvironment admin users

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testFusionEnvironmentAdminUser = Oci.Functions.GetFusionEnvironmentAdminUser.Invoke(new()
    {
        FusionEnvironmentId = oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Functions"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Functions.GetFusionEnvironmentAdminUser(ctx, &functions.GetFusionEnvironmentAdminUserArgs{
			FusionEnvironmentId: oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Functions.FunctionsFunctions;
import com.pulumi.oci.Functions.inputs.GetFusionEnvironmentAdminUserArgs;
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 testFusionEnvironmentAdminUser = FunctionsFunctions.getFusionEnvironmentAdminUser(GetFusionEnvironmentAdminUserArgs.builder()
            .fusionEnvironmentId(oci_fusion_apps_fusion_environment.test_fusion_environment().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_fusion_environment_admin_user = oci.Functions.get_fusion_environment_admin_user(fusion_environment_id=oci_fusion_apps_fusion_environment["test_fusion_environment"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testFusionEnvironmentAdminUser = oci.Functions.getFusionEnvironmentAdminUser({
    fusionEnvironmentId: oci_fusion_apps_fusion_environment.test_fusion_environment.id,
});
variables:
  testFusionEnvironmentAdminUser:
    Fn::Invoke:
      Function: oci:Functions:getFusionEnvironmentAdminUser
      Arguments:
        fusionEnvironmentId: ${oci_fusion_apps_fusion_environment.test_fusion_environment.id}

Using getFusionEnvironmentAdminUser

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 getFusionEnvironmentAdminUser(args: GetFusionEnvironmentAdminUserArgs, opts?: InvokeOptions): Promise<GetFusionEnvironmentAdminUserResult>
function getFusionEnvironmentAdminUserOutput(args: GetFusionEnvironmentAdminUserOutputArgs, opts?: InvokeOptions): Output<GetFusionEnvironmentAdminUserResult>
def get_fusion_environment_admin_user(fusion_environment_id: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetFusionEnvironmentAdminUserResult
def get_fusion_environment_admin_user_output(fusion_environment_id: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetFusionEnvironmentAdminUserResult]
func GetFusionEnvironmentAdminUser(ctx *Context, args *GetFusionEnvironmentAdminUserArgs, opts ...InvokeOption) (*GetFusionEnvironmentAdminUserResult, error)
func GetFusionEnvironmentAdminUserOutput(ctx *Context, args *GetFusionEnvironmentAdminUserOutputArgs, opts ...InvokeOption) GetFusionEnvironmentAdminUserResultOutput

> Note: This function is named GetFusionEnvironmentAdminUser in the Go SDK.

public static class GetFusionEnvironmentAdminUser 
{
    public static Task<GetFusionEnvironmentAdminUserResult> InvokeAsync(GetFusionEnvironmentAdminUserArgs args, InvokeOptions? opts = null)
    public static Output<GetFusionEnvironmentAdminUserResult> Invoke(GetFusionEnvironmentAdminUserInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFusionEnvironmentAdminUserResult> getFusionEnvironmentAdminUser(GetFusionEnvironmentAdminUserArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Functions/getFusionEnvironmentAdminUser:getFusionEnvironmentAdminUser
  Arguments:
    # Arguments dictionary

The following arguments are supported:

FusionEnvironmentId string

unique FusionEnvironment identifier

FusionEnvironmentId string

unique FusionEnvironment identifier

fusionEnvironmentId String

unique FusionEnvironment identifier

fusionEnvironmentId string

unique FusionEnvironment identifier

fusion_environment_id str

unique FusionEnvironment identifier

fusionEnvironmentId String

unique FusionEnvironment identifier

getFusionEnvironmentAdminUser Result

The following output properties are available:

EmailAddress string

Admin users email address

FirstName string

Admin users first name

FusionEnvironmentId string
Id string
Items List<GetFusionEnvironmentAdminUserItem>

A page of AdminUserSummary objects.

LastName string

Admin users last name

Password string
Username string

Admin username

EmailAddress string

Admin users email address

FirstName string

Admin users first name

FusionEnvironmentId string
Id string
Items []GetFusionEnvironmentAdminUserItem

A page of AdminUserSummary objects.

LastName string

Admin users last name

Password string
Username string

Admin username

emailAddress String

Admin users email address

firstName String

Admin users first name

fusionEnvironmentId String
id String
items List<GetFusionEnvironmentAdminUserItem>

A page of AdminUserSummary objects.

lastName String

Admin users last name

password String
username String

Admin username

emailAddress string

Admin users email address

firstName string

Admin users first name

fusionEnvironmentId string
id string
items GetFusionEnvironmentAdminUserItem[]

A page of AdminUserSummary objects.

lastName string

Admin users last name

password string
username string

Admin username

email_address str

Admin users email address

first_name str

Admin users first name

fusion_environment_id str
id str
items GetFusionEnvironmentAdminUserItem]

A page of AdminUserSummary objects.

last_name str

Admin users last name

password str
username str

Admin username

emailAddress String

Admin users email address

firstName String

Admin users first name

fusionEnvironmentId String
id String
items List<Property Map>

A page of AdminUserSummary objects.

lastName String

Admin users last name

password String
username String

Admin username

Supporting Types

GetFusionEnvironmentAdminUserItem

EmailAddress string

Admin users email address

FirstName string

Admin users first name

LastName string

Admin users last name

Username string

Admin username

EmailAddress string

Admin users email address

FirstName string

Admin users first name

LastName string

Admin users last name

Username string

Admin username

emailAddress String

Admin users email address

firstName String

Admin users first name

lastName String

Admin users last name

username String

Admin username

emailAddress string

Admin users email address

firstName string

Admin users first name

lastName string

Admin users last name

username string

Admin username

email_address str

Admin users email address

first_name str

Admin users first name

last_name str

Admin users last name

username str

Admin username

emailAddress String

Admin users email address

firstName String

Admin users first name

lastName String

Admin users last name

username String

Admin username

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.