1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FusionApps
  5. FusionEnvironmentAdminUser
Oracle Cloud Infrastructure v1.10.0 published on Thursday, Sep 7, 2023 by Pulumi

oci.FusionApps.FusionEnvironmentAdminUser

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.10.0 published on Thursday, Sep 7, 2023 by Pulumi

    This resource provides the Fusion Environment Admin User resource in Oracle Cloud Infrastructure Fusion Apps service.

    Create a FusionEnvironment admin user

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testFusionEnvironmentAdminUser = new Oci.FusionApps.FusionEnvironmentAdminUser("testFusionEnvironmentAdminUser", new()
        {
            EmailAddress = @var.Fusion_environment_admin_user_email_address,
            FirstName = @var.Fusion_environment_admin_user_first_name,
            FusionEnvironmentId = oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
            LastName = @var.Fusion_environment_admin_user_last_name,
            Password = @var.Fusion_environment_admin_user_password,
            Username = @var.Fusion_environment_admin_user_username,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/FusionApps"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := FusionApps.NewFusionEnvironmentAdminUser(ctx, "testFusionEnvironmentAdminUser", &FusionApps.FusionEnvironmentAdminUserArgs{
    			EmailAddress:        pulumi.Any(_var.Fusion_environment_admin_user_email_address),
    			FirstName:           pulumi.Any(_var.Fusion_environment_admin_user_first_name),
    			FusionEnvironmentId: pulumi.Any(oci_fusion_apps_fusion_environment.Test_fusion_environment.Id),
    			LastName:            pulumi.Any(_var.Fusion_environment_admin_user_last_name),
    			Password:            pulumi.Any(_var.Fusion_environment_admin_user_password),
    			Username:            pulumi.Any(_var.Fusion_environment_admin_user_username),
    		})
    		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.FusionApps.FusionEnvironmentAdminUser;
    import com.pulumi.oci.FusionApps.FusionEnvironmentAdminUserArgs;
    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) {
            var testFusionEnvironmentAdminUser = new FusionEnvironmentAdminUser("testFusionEnvironmentAdminUser", FusionEnvironmentAdminUserArgs.builder()        
                .emailAddress(var_.fusion_environment_admin_user_email_address())
                .firstName(var_.fusion_environment_admin_user_first_name())
                .fusionEnvironmentId(oci_fusion_apps_fusion_environment.test_fusion_environment().id())
                .lastName(var_.fusion_environment_admin_user_last_name())
                .password(var_.fusion_environment_admin_user_password())
                .username(var_.fusion_environment_admin_user_username())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_oci as oci
    
    test_fusion_environment_admin_user = oci.fusion_apps.FusionEnvironmentAdminUser("testFusionEnvironmentAdminUser",
        email_address=var["fusion_environment_admin_user_email_address"],
        first_name=var["fusion_environment_admin_user_first_name"],
        fusion_environment_id=oci_fusion_apps_fusion_environment["test_fusion_environment"]["id"],
        last_name=var["fusion_environment_admin_user_last_name"],
        password=var["fusion_environment_admin_user_password"],
        username=var["fusion_environment_admin_user_username"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testFusionEnvironmentAdminUser = new oci.fusionapps.FusionEnvironmentAdminUser("testFusionEnvironmentAdminUser", {
        emailAddress: _var.fusion_environment_admin_user_email_address,
        firstName: _var.fusion_environment_admin_user_first_name,
        fusionEnvironmentId: oci_fusion_apps_fusion_environment.test_fusion_environment.id,
        lastName: _var.fusion_environment_admin_user_last_name,
        password: _var.fusion_environment_admin_user_password,
        username: _var.fusion_environment_admin_user_username,
    });
    
    resources:
      testFusionEnvironmentAdminUser:
        type: oci:FusionApps:FusionEnvironmentAdminUser
        properties:
          #Required
          emailAddress: ${var.fusion_environment_admin_user_email_address}
          firstName: ${var.fusion_environment_admin_user_first_name}
          fusionEnvironmentId: ${oci_fusion_apps_fusion_environment.test_fusion_environment.id}
          lastName: ${var.fusion_environment_admin_user_last_name}
          password: ${var.fusion_environment_admin_user_password}
          username: ${var.fusion_environment_admin_user_username}
    

    Create FusionEnvironmentAdminUser Resource

    new FusionEnvironmentAdminUser(name: string, args: FusionEnvironmentAdminUserArgs, opts?: CustomResourceOptions);
    @overload
    def FusionEnvironmentAdminUser(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   email_address: Optional[str] = None,
                                   first_name: Optional[str] = None,
                                   fusion_environment_id: Optional[str] = None,
                                   last_name: Optional[str] = None,
                                   password: Optional[str] = None,
                                   username: Optional[str] = None)
    @overload
    def FusionEnvironmentAdminUser(resource_name: str,
                                   args: FusionEnvironmentAdminUserArgs,
                                   opts: Optional[ResourceOptions] = None)
    func NewFusionEnvironmentAdminUser(ctx *Context, name string, args FusionEnvironmentAdminUserArgs, opts ...ResourceOption) (*FusionEnvironmentAdminUser, error)
    public FusionEnvironmentAdminUser(string name, FusionEnvironmentAdminUserArgs args, CustomResourceOptions? opts = null)
    public FusionEnvironmentAdminUser(String name, FusionEnvironmentAdminUserArgs args)
    public FusionEnvironmentAdminUser(String name, FusionEnvironmentAdminUserArgs args, CustomResourceOptions options)
    
    type: oci:FusionApps:FusionEnvironmentAdminUser
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args FusionEnvironmentAdminUserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FusionEnvironmentAdminUserArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FusionEnvironmentAdminUserArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FusionEnvironmentAdminUserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FusionEnvironmentAdminUserArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    FusionEnvironmentAdminUser Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The FusionEnvironmentAdminUser resource accepts the following input properties:

    EmailAddress string

    The email address for the administrator.

    FirstName string

    The administrator's first name.

    FusionEnvironmentId string

    unique FusionEnvironment identifier

    LastName string

    The administrator's last name.

    Password string

    The password for the administrator.

    Username string

    The username for the administrator.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    EmailAddress string

    The email address for the administrator.

    FirstName string

    The administrator's first name.

    FusionEnvironmentId string

    unique FusionEnvironment identifier

    LastName string

    The administrator's last name.

    Password string

    The password for the administrator.

    Username string

    The username for the administrator.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    emailAddress String

    The email address for the administrator.

    firstName String

    The administrator's first name.

    fusionEnvironmentId String

    unique FusionEnvironment identifier

    lastName String

    The administrator's last name.

    password String

    The password for the administrator.

    username String

    The username for the administrator.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    emailAddress string

    The email address for the administrator.

    firstName string

    The administrator's first name.

    fusionEnvironmentId string

    unique FusionEnvironment identifier

    lastName string

    The administrator's last name.

    password string

    The password for the administrator.

    username string

    The username for the administrator.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    email_address str

    The email address for the administrator.

    first_name str

    The administrator's first name.

    fusion_environment_id str

    unique FusionEnvironment identifier

    last_name str

    The administrator's last name.

    password str

    The password for the administrator.

    username str

    The username for the administrator.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    emailAddress String

    The email address for the administrator.

    firstName String

    The administrator's first name.

    fusionEnvironmentId String

    unique FusionEnvironment identifier

    lastName String

    The administrator's last name.

    password String

    The password for the administrator.

    username String

    The username for the administrator.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FusionEnvironmentAdminUser resource produces the following output properties:

    Id string

    The provider-assigned unique ID for this managed resource.

    Items List<FusionEnvironmentAdminUserItem>

    A page of AdminUserSummary objects.

    Id string

    The provider-assigned unique ID for this managed resource.

    Items []FusionEnvironmentAdminUserItem

    A page of AdminUserSummary objects.

    id String

    The provider-assigned unique ID for this managed resource.

    items List<FusionEnvironmentAdminUserItem>

    A page of AdminUserSummary objects.

    id string

    The provider-assigned unique ID for this managed resource.

    items FusionEnvironmentAdminUserItem[]

    A page of AdminUserSummary objects.

    id str

    The provider-assigned unique ID for this managed resource.

    items FusionEnvironmentAdminUserItem]

    A page of AdminUserSummary objects.

    id String

    The provider-assigned unique ID for this managed resource.

    items List<Property Map>

    A page of AdminUserSummary objects.

    Look up Existing FusionEnvironmentAdminUser Resource

    Get an existing FusionEnvironmentAdminUser resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: FusionEnvironmentAdminUserState, opts?: CustomResourceOptions): FusionEnvironmentAdminUser
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            email_address: Optional[str] = None,
            first_name: Optional[str] = None,
            fusion_environment_id: Optional[str] = None,
            items: Optional[Sequence[_fusionapps.FusionEnvironmentAdminUserItemArgs]] = None,
            last_name: Optional[str] = None,
            password: Optional[str] = None,
            username: Optional[str] = None) -> FusionEnvironmentAdminUser
    func GetFusionEnvironmentAdminUser(ctx *Context, name string, id IDInput, state *FusionEnvironmentAdminUserState, opts ...ResourceOption) (*FusionEnvironmentAdminUser, error)
    public static FusionEnvironmentAdminUser Get(string name, Input<string> id, FusionEnvironmentAdminUserState? state, CustomResourceOptions? opts = null)
    public static FusionEnvironmentAdminUser get(String name, Output<String> id, FusionEnvironmentAdminUserState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    EmailAddress string

    The email address for the administrator.

    FirstName string

    The administrator's first name.

    FusionEnvironmentId string

    unique FusionEnvironment identifier

    Items List<FusionEnvironmentAdminUserItem>

    A page of AdminUserSummary objects.

    LastName string

    The administrator's last name.

    Password string

    The password for the administrator.

    Username string

    The username for the administrator.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    EmailAddress string

    The email address for the administrator.

    FirstName string

    The administrator's first name.

    FusionEnvironmentId string

    unique FusionEnvironment identifier

    Items []FusionEnvironmentAdminUserItemArgs

    A page of AdminUserSummary objects.

    LastName string

    The administrator's last name.

    Password string

    The password for the administrator.

    Username string

    The username for the administrator.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    emailAddress String

    The email address for the administrator.

    firstName String

    The administrator's first name.

    fusionEnvironmentId String

    unique FusionEnvironment identifier

    items List<FusionEnvironmentAdminUserItem>

    A page of AdminUserSummary objects.

    lastName String

    The administrator's last name.

    password String

    The password for the administrator.

    username String

    The username for the administrator.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    emailAddress string

    The email address for the administrator.

    firstName string

    The administrator's first name.

    fusionEnvironmentId string

    unique FusionEnvironment identifier

    items FusionEnvironmentAdminUserItem[]

    A page of AdminUserSummary objects.

    lastName string

    The administrator's last name.

    password string

    The password for the administrator.

    username string

    The username for the administrator.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    email_address str

    The email address for the administrator.

    first_name str

    The administrator's first name.

    fusion_environment_id str

    unique FusionEnvironment identifier

    items FusionEnvironmentAdminUserItemArgs]

    A page of AdminUserSummary objects.

    last_name str

    The administrator's last name.

    password str

    The password for the administrator.

    username str

    The username for the administrator.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    emailAddress String

    The email address for the administrator.

    firstName String

    The administrator's first name.

    fusionEnvironmentId String

    unique FusionEnvironment identifier

    items List<Property Map>

    A page of AdminUserSummary objects.

    lastName String

    The administrator's last name.

    password String

    The password for the administrator.

    username String

    The username for the administrator.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Supporting Types

    FusionEnvironmentAdminUserItem, FusionEnvironmentAdminUserItemArgs

    EmailAddress string

    The email address for the administrator.

    FirstName string

    The administrator's first name.

    LastName string

    The administrator's last name.

    Username string

    The username for the administrator.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    EmailAddress string

    The email address for the administrator.

    FirstName string

    The administrator's first name.

    LastName string

    The administrator's last name.

    Username string

    The username for the administrator.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    emailAddress String

    The email address for the administrator.

    firstName String

    The administrator's first name.

    lastName String

    The administrator's last name.

    username String

    The username for the administrator.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    emailAddress string

    The email address for the administrator.

    firstName string

    The administrator's first name.

    lastName string

    The administrator's last name.

    username string

    The username for the administrator.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    email_address str

    The email address for the administrator.

    first_name str

    The administrator's first name.

    last_name str

    The administrator's last name.

    username str

    The username for the administrator.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    emailAddress String

    The email address for the administrator.

    firstName String

    The administrator's first name.

    lastName String

    The administrator's last name.

    username String

    The username for the administrator.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Import

    FusionEnvironmentAdminUsers can be imported using the id, e.g.

     $ pulumi import oci:FusionApps/fusionEnvironmentAdminUser:FusionEnvironmentAdminUser test_fusion_environment_admin_user "fusionEnvironments/{fusionEnvironmentId}/adminUsers/{adminUsername}"
    

    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 v1.10.0 published on Thursday, Sep 7, 2023 by Pulumi