Oracle Cloud Infrastructure

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

getFusionEnvironmentAdminUsers

This data source provides the list of Fusion Environment Admin Users 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 testFusionEnvironmentAdminUsers = Oci.Functions.GetFusionEnvironmentAdminUsers.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.GetFusionEnvironmentAdminUsers(ctx, &functions.GetFusionEnvironmentAdminUsersArgs{
			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.GetFusionEnvironmentAdminUsersArgs;
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 testFusionEnvironmentAdminUsers = FunctionsFunctions.getFusionEnvironmentAdminUsers(GetFusionEnvironmentAdminUsersArgs.builder()
            .fusionEnvironmentId(oci_fusion_apps_fusion_environment.test_fusion_environment().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_fusion_environment_admin_users = oci.Functions.get_fusion_environment_admin_users(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 testFusionEnvironmentAdminUsers = oci.Functions.getFusionEnvironmentAdminUsers({
    fusionEnvironmentId: oci_fusion_apps_fusion_environment.test_fusion_environment.id,
});
variables:
  testFusionEnvironmentAdminUsers:
    Fn::Invoke:
      Function: oci:Functions:getFusionEnvironmentAdminUsers
      Arguments:
        fusionEnvironmentId: ${oci_fusion_apps_fusion_environment.test_fusion_environment.id}

Using getFusionEnvironmentAdminUsers

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 getFusionEnvironmentAdminUsers(args: GetFusionEnvironmentAdminUsersArgs, opts?: InvokeOptions): Promise<GetFusionEnvironmentAdminUsersResult>
function getFusionEnvironmentAdminUsersOutput(args: GetFusionEnvironmentAdminUsersOutputArgs, opts?: InvokeOptions): Output<GetFusionEnvironmentAdminUsersResult>
def get_fusion_environment_admin_users(filters: Optional[Sequence[_functions.GetFusionEnvironmentAdminUsersFilter]] = None,
                                       fusion_environment_id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetFusionEnvironmentAdminUsersResult
def get_fusion_environment_admin_users_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_functions.GetFusionEnvironmentAdminUsersFilterArgs]]]] = None,
                                       fusion_environment_id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetFusionEnvironmentAdminUsersResult]
func GetFusionEnvironmentAdminUsers(ctx *Context, args *GetFusionEnvironmentAdminUsersArgs, opts ...InvokeOption) (*GetFusionEnvironmentAdminUsersResult, error)
func GetFusionEnvironmentAdminUsersOutput(ctx *Context, args *GetFusionEnvironmentAdminUsersOutputArgs, opts ...InvokeOption) GetFusionEnvironmentAdminUsersResultOutput

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

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

The following arguments are supported:

FusionEnvironmentId string

unique FusionEnvironment identifier

Filters []GetFusionEnvironmentAdminUsersFilter
fusionEnvironmentId string

unique FusionEnvironment identifier

filters GetFusionEnvironmentAdminUsersFilter[]
fusionEnvironmentId String

unique FusionEnvironment identifier

filters List<Property Map>

getFusionEnvironmentAdminUsers Result

The following output properties are available:

AdminUserCollections List<GetFusionEnvironmentAdminUsersAdminUserCollection>

The list of admin_user_collection.

FusionEnvironmentId string
Id string

The provider-assigned unique ID for this managed resource.

Filters List<GetFusionEnvironmentAdminUsersFilter>
AdminUserCollections []GetFusionEnvironmentAdminUsersAdminUserCollection

The list of admin_user_collection.

FusionEnvironmentId string
Id string

The provider-assigned unique ID for this managed resource.

Filters []GetFusionEnvironmentAdminUsersFilter
adminUserCollections List<GetFusionEnvironmentAdminUsersAdminUserCollection>

The list of admin_user_collection.

fusionEnvironmentId String
id String

The provider-assigned unique ID for this managed resource.

filters List<GetFusionEnvironmentAdminUsersFilter>
adminUserCollections GetFusionEnvironmentAdminUsersAdminUserCollection[]

The list of admin_user_collection.

fusionEnvironmentId string
id string

The provider-assigned unique ID for this managed resource.

filters GetFusionEnvironmentAdminUsersFilter[]
admin_user_collections GetFusionEnvironmentAdminUsersAdminUserCollection]

The list of admin_user_collection.

fusion_environment_id str
id str

The provider-assigned unique ID for this managed resource.

filters GetFusionEnvironmentAdminUsersFilter]
adminUserCollections List<Property Map>

The list of admin_user_collection.

fusionEnvironmentId String
id String

The provider-assigned unique ID for this managed resource.

filters List<Property Map>

Supporting Types

GetFusionEnvironmentAdminUsersAdminUserCollection

items List<Property Map>

A page of AdminUserSummary objects.

GetFusionEnvironmentAdminUsersAdminUserCollectionItem

EmailAddress string

Admin users email address

FirstName string

Admin users first name

FusionEnvironmentId string

unique FusionEnvironment identifier

Id string
Items List<GetFusionEnvironmentAdminUsersAdminUserCollectionItemItem>

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

unique FusionEnvironment identifier

Id string
Items []GetFusionEnvironmentAdminUsersAdminUserCollectionItemItem

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

unique FusionEnvironment identifier

id String
items List<GetFusionEnvironmentAdminUsersAdminUserCollectionItemItem>

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

unique FusionEnvironment identifier

id string
items GetFusionEnvironmentAdminUsersAdminUserCollectionItemItem[]

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

unique FusionEnvironment identifier

id str
items GetFusionEnvironmentAdminUsersAdminUserCollectionItemItem]

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

unique FusionEnvironment identifier

id String
items List<Property Map>

A page of AdminUserSummary objects.

lastName String

Admin users last name

password String
username String

Admin username

GetFusionEnvironmentAdminUsersAdminUserCollectionItemItem

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

GetFusionEnvironmentAdminUsersFilter

Name string
Values List<string>
Regex bool
Name string
Values []string
Regex bool
name String
values List<String>
regex Boolean
name string
values string[]
regex boolean
name str
values Sequence[str]
regex bool
name String
values List<String>
regex Boolean

Package Details

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

This Pulumi package is based on the oci Terraform Provider.