1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Functions
  5. getFusionEnvironmentAdminUser
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.Functions.getFusionEnvironmentAdminUser

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    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:

    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 Sequence[functions.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
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi