1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FusionApps
  5. FusionEnvironmentAdminUser
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.FusionApps.FusionEnvironmentAdminUser

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testFusionEnvironmentAdminUser = new oci.fusionapps.FusionEnvironmentAdminUser("test_fusion_environment_admin_user", {
        emailAddress: fusionEnvironmentAdminUserEmailAddress,
        firstName: fusionEnvironmentAdminUserFirstName,
        fusionEnvironmentId: testFusionEnvironment.id,
        lastName: fusionEnvironmentAdminUserLastName,
        username: fusionEnvironmentAdminUserUsername,
        password: fusionEnvironmentAdminUserPassword,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_fusion_environment_admin_user = oci.fusion_apps.FusionEnvironmentAdminUser("test_fusion_environment_admin_user",
        email_address=fusion_environment_admin_user_email_address,
        first_name=fusion_environment_admin_user_first_name,
        fusion_environment_id=test_fusion_environment["id"],
        last_name=fusion_environment_admin_user_last_name,
        username=fusion_environment_admin_user_username,
        password=fusion_environment_admin_user_password)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/FusionApps"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := FusionApps.NewFusionEnvironmentAdminUser(ctx, "test_fusion_environment_admin_user", &FusionApps.FusionEnvironmentAdminUserArgs{
    			EmailAddress:        pulumi.Any(fusionEnvironmentAdminUserEmailAddress),
    			FirstName:           pulumi.Any(fusionEnvironmentAdminUserFirstName),
    			FusionEnvironmentId: pulumi.Any(testFusionEnvironment.Id),
    			LastName:            pulumi.Any(fusionEnvironmentAdminUserLastName),
    			Username:            pulumi.Any(fusionEnvironmentAdminUserUsername),
    			Password:            pulumi.Any(fusionEnvironmentAdminUserPassword),
    		})
    		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 = new Oci.FusionApps.FusionEnvironmentAdminUser("test_fusion_environment_admin_user", new()
        {
            EmailAddress = fusionEnvironmentAdminUserEmailAddress,
            FirstName = fusionEnvironmentAdminUserFirstName,
            FusionEnvironmentId = testFusionEnvironment.Id,
            LastName = fusionEnvironmentAdminUserLastName,
            Username = fusionEnvironmentAdminUserUsername,
            Password = fusionEnvironmentAdminUserPassword,
        });
    
    });
    
    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(fusionEnvironmentAdminUserEmailAddress)
                .firstName(fusionEnvironmentAdminUserFirstName)
                .fusionEnvironmentId(testFusionEnvironment.id())
                .lastName(fusionEnvironmentAdminUserLastName)
                .username(fusionEnvironmentAdminUserUsername)
                .password(fusionEnvironmentAdminUserPassword)
                .build());
    
        }
    }
    
    resources:
      testFusionEnvironmentAdminUser:
        type: oci:FusionApps:FusionEnvironmentAdminUser
        name: test_fusion_environment_admin_user
        properties:
          emailAddress: ${fusionEnvironmentAdminUserEmailAddress}
          firstName: ${fusionEnvironmentAdminUserFirstName}
          fusionEnvironmentId: ${testFusionEnvironment.id}
          lastName: ${fusionEnvironmentAdminUserLastName}
          username: ${fusionEnvironmentAdminUserUsername}
          password: ${fusionEnvironmentAdminUserPassword}
    

    Create FusionEnvironmentAdminUser Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FusionEnvironmentAdminUser(name: string, args: FusionEnvironmentAdminUserArgs, opts?: CustomResourceOptions);
    @overload
    def FusionEnvironmentAdminUser(resource_name: str,
                                   args: FusionEnvironmentAdminUserArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @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,
                                   username: Optional[str] = None,
                                   password: Optional[str] = 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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var fusionEnvironmentAdminUserResource = new Oci.FusionApps.FusionEnvironmentAdminUser("fusionEnvironmentAdminUserResource", new()
    {
        EmailAddress = "string",
        FirstName = "string",
        FusionEnvironmentId = "string",
        LastName = "string",
        Username = "string",
        Password = "string",
    });
    
    example, err := FusionApps.NewFusionEnvironmentAdminUser(ctx, "fusionEnvironmentAdminUserResource", &FusionApps.FusionEnvironmentAdminUserArgs{
    	EmailAddress:        pulumi.String("string"),
    	FirstName:           pulumi.String("string"),
    	FusionEnvironmentId: pulumi.String("string"),
    	LastName:            pulumi.String("string"),
    	Username:            pulumi.String("string"),
    	Password:            pulumi.String("string"),
    })
    
    var fusionEnvironmentAdminUserResource = new FusionEnvironmentAdminUser("fusionEnvironmentAdminUserResource", FusionEnvironmentAdminUserArgs.builder()
        .emailAddress("string")
        .firstName("string")
        .fusionEnvironmentId("string")
        .lastName("string")
        .username("string")
        .password("string")
        .build());
    
    fusion_environment_admin_user_resource = oci.fusion_apps.FusionEnvironmentAdminUser("fusionEnvironmentAdminUserResource",
        email_address="string",
        first_name="string",
        fusion_environment_id="string",
        last_name="string",
        username="string",
        password="string")
    
    const fusionEnvironmentAdminUserResource = new oci.fusionapps.FusionEnvironmentAdminUser("fusionEnvironmentAdminUserResource", {
        emailAddress: "string",
        firstName: "string",
        fusionEnvironmentId: "string",
        lastName: "string",
        username: "string",
        password: "string",
    });
    
    type: oci:FusionApps:FusionEnvironmentAdminUser
    properties:
        emailAddress: string
        firstName: string
        fusionEnvironmentId: string
        lastName: string
        password: string
        username: string
    

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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.
    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

    Password string
    The password for the administrator.
    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.
    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

    Password string
    The password for the administrator.
    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.
    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

    password String
    The password for the administrator.
    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.
    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

    password string
    The password for the administrator.
    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.
    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

    password str
    The password for the administrator.
    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.
    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

    password String
    The password for the administrator.

    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 Sequence[fusionapps.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 Sequence[fusionapps.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}"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.17.0 published on Friday, Nov 15, 2024 by Pulumi