Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.Functions.getFusionEnvironmentAdminUser
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFusionEnvironmentAdminUser = oci.Functions.getFusionEnvironmentAdminUser({
fusionEnvironmentId: testFusionEnvironment.id,
});
import pulumi
import pulumi_oci as oci
test_fusion_environment_admin_user = oci.Functions.get_fusion_environment_admin_user(fusion_environment_id=test_fusion_environment["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/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: testFusionEnvironment.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testFusionEnvironmentAdminUser = Oci.Functions.GetFusionEnvironmentAdminUser.Invoke(new()
{
FusionEnvironmentId = testFusionEnvironment.Id,
});
});
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(testFusionEnvironment.id())
.build());
}
}
variables:
testFusionEnvironmentAdminUser:
fn::invoke:
Function: oci:Functions:getFusionEnvironmentAdminUser
Arguments:
fusionEnvironmentId: ${testFusionEnvironment.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:
- Fusion
Environment stringId - unique FusionEnvironment identifier
- Fusion
Environment stringId - unique FusionEnvironment identifier
- fusion
Environment StringId - unique FusionEnvironment identifier
- fusion
Environment stringId - unique FusionEnvironment identifier
- fusion_
environment_ strid - unique FusionEnvironment identifier
- fusion
Environment StringId - unique FusionEnvironment identifier
getFusionEnvironmentAdminUser Result
The following output properties are available:
- Email
Address string - Admin users email address
- First
Name string - Admin users first name
- Fusion
Environment stringId - Id string
- Items
List<Get
Fusion Environment Admin User Item> - A page of AdminUserSummary objects.
- Last
Name string - Admin users last name
- Password string
- Username string
- Admin username
- Email
Address string - Admin users email address
- First
Name string - Admin users first name
- Fusion
Environment stringId - Id string
- Items
[]Get
Fusion Environment Admin User Item - A page of AdminUserSummary objects.
- Last
Name string - Admin users last name
- Password string
- Username string
- Admin username
- email
Address String - Admin users email address
- first
Name String - Admin users first name
- fusion
Environment StringId - id String
- items
List<Get
Fusion Environment Admin User Item> - A page of AdminUserSummary objects.
- last
Name String - Admin users last name
- password String
- username String
- Admin username
- email
Address string - Admin users email address
- first
Name string - Admin users first name
- fusion
Environment stringId - id string
- items
Get
Fusion Environment Admin User Item[] - A page of AdminUserSummary objects.
- last
Name 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_ strid - id str
- items
Sequence[functions.
Get Fusion Environment Admin User Item] - A page of AdminUserSummary objects.
- last_
name str - Admin users last name
- password str
- username str
- Admin username
- email
Address String - Admin users email address
- first
Name String - Admin users first name
- fusion
Environment StringId - id String
- items List<Property Map>
- A page of AdminUserSummary objects.
- last
Name String - Admin users last name
- password String
- username String
- Admin username
Supporting Types
GetFusionEnvironmentAdminUserItem
- Email
Address string - Admin users email address
- First
Name string - Admin users first name
- Last
Name string - Admin users last name
- Username string
- Admin username
- Email
Address string - Admin users email address
- First
Name string - Admin users first name
- Last
Name string - Admin users last name
- Username string
- Admin username
- email
Address String - Admin users email address
- first
Name String - Admin users first name
- last
Name String - Admin users last name
- username String
- Admin username
- email
Address string - Admin users email address
- first
Name string - Admin users first name
- last
Name 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
- email
Address String - Admin users email address
- first
Name String - Admin users first name
- last
Name String - Admin users last name
- username String
- Admin username
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.