import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Fusion Environment resource in Oracle Cloud Infrastructure Fusion Apps service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/fusion-applications/latest/FusionEnvironment * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/fusionapps * * Creates a new FusionEnvironment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFusionEnvironment = new oci.fusionapps.FusionEnvironment("test_fusion_environment", { * compartmentId: compartmentId, * createFusionEnvironmentAdminUserDetails: { * emailAddress: fusionEnvironmentCreateFusionEnvironmentAdminUserDetailsEmailAddress, * firstName: fusionEnvironmentCreateFusionEnvironmentAdminUserDetailsFirstName, * lastName: fusionEnvironmentCreateFusionEnvironmentAdminUserDetailsLastName, * username: fusionEnvironmentCreateFusionEnvironmentAdminUserDetailsUsername, * }, * displayName: fusionEnvironmentDisplayName, * fusionEnvironmentFamilyId: testFusionEnvironmentFamily.id, * fusionEnvironmentType: fusionEnvironmentFusionEnvironmentType, * additionalEgressRules: [{ * description: fusionEnvironmentAdditionalEgressRulesDescription, * destinationCidr: fusionEnvironmentAdditionalEgressRulesDestinationCidr, * maxDestinationPort: Number(fusionEnvironmentAdditionalEgressRulesMaxDestinationPort), * minDestinationPort: Number(fusionEnvironmentAdditionalEgressRulesMinDestinationPort), * }], * additionalLanguagePacks: fusionEnvironmentAdditionalLanguagePacks, * definedTags: { * "foo-namespace.bar-key": "value", * }, * dnsPrefix: fusionEnvironmentDnsPrefix, * freeformTags: { * "bar-key": "value", * }, * isIpv6dualStackEnabled: fusionEnvironmentIsIpv6dualStackEnabled === "true", * kmsKeyId: testKey.id, * maintenancePolicy: { * environmentMaintenanceOverride: fusionEnvironmentMaintenancePolicyEnvironmentMaintenanceOverride, * monthlyPatchingOverride: fusionEnvironmentMaintenancePolicyMonthlyPatchingOverride, * }, * rules: [{ * action: fusionEnvironmentRulesAction, * conditions: [{ * attributeName: fusionEnvironmentRulesConditionsAttributeName, * attributeValue: fusionEnvironmentRulesConditionsAttributeValue, * }], * description: fusionEnvironmentRulesDescription, * }], * }); * ``` * * ## Import * * FusionEnvironments can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:FusionApps/fusionEnvironment:FusionEnvironment test_fusion_environment "id" * ``` */ export declare class FusionEnvironment extends pulumi.CustomResource { /** * Get an existing FusionEnvironment resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: FusionEnvironmentState, opts?: pulumi.CustomResourceOptions): FusionEnvironment; /** * Returns true if the given object is an instance of FusionEnvironment. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is FusionEnvironment; /** * (Updatable) Additional egress rules that should be applied to the environment. Some standard ports are open for general use; see [Securing Network Access to a Fusion Applications Environment][iaas/Content/fusion-applications/plan-environment.htm#internet-cache]. If access to a non-standard port is required, however, they can be listed here. */ readonly additionalEgressRules: pulumi.Output; /** * (Updatable) Language packs. */ readonly additionalLanguagePacks: pulumi.Output; /** * Patch bundle names */ readonly appliedPatchBundles: pulumi.Output; /** * (Updatable) The unique identifier (OCID) of the compartment where the Fusion Environment is located. */ readonly compartmentId: pulumi.Output; /** * The credentials for the Fusion Applications service administrator. */ readonly createFusionEnvironmentAdminUserDetails: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) FusionEnvironment Identifier can be renamed. */ readonly displayName: pulumi.Output; /** * DNS prefix. */ readonly dnsPrefix: pulumi.Output; /** * The IDCS domain created for the fusion instance */ readonly domainId: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * The unique identifier (OCID) of the Fusion Environment Family that the Fusion Environment belongs to. */ readonly fusionEnvironmentFamilyId: pulumi.Output; /** * The type of environment. Valid values are Production, Test, or Development. */ readonly fusionEnvironmentType: pulumi.Output; /** * The IDCS Domain URL */ readonly idcsDomainUrl: pulumi.Output; /** * If it's true, then the Break Glass feature is enabled */ readonly isBreakGlassEnabled: pulumi.Output; /** * (Updatable) Enable IPv4/IPv6 dual stack support for the environment (where available). Setting to true will assign an IPv6 address to the environment in addition to an IPv4 address. The default value is false. */ readonly isIpv6dualStackEnabled: pulumi.Output; /** * (Updatable) byok kms keyId */ readonly kmsKeyId: pulumi.Output; /** * BYOK key info */ readonly kmsKeyInfos: pulumi.Output; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ readonly lifecycleDetails: pulumi.Output; /** * The lockbox Id of this fusion environment. If there's no lockbox id, this field will be null */ readonly lockboxId: pulumi.Output; /** * (Updatable) The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see [Understanding Environment Maintenance](https://docs.cloud.oracle.com/iaas/Content/fusion-applications/plan-environment-family.htm#about-env-maintenance). */ readonly maintenancePolicy: pulumi.Output; /** * Public URL */ readonly publicUrl: pulumi.Output; /** * Describes a refresh of a fusion environment */ readonly refreshes: pulumi.Output; /** * (Updatable) Rules. */ readonly rules: pulumi.Output; /** * The current state of the ServiceInstance. */ readonly state: pulumi.Output; /** * List of subscription IDs. */ readonly subscriptionIds: pulumi.Output; /** * Environment Specific Guid/ System Name */ readonly systemName: pulumi.Output; /** * The time the the FusionEnvironment was created. An RFC3339 formatted datetime string */ readonly timeCreated: pulumi.Output; /** * The next maintenance for this environment */ readonly timeUpcomingMaintenance: pulumi.Output; /** * The time the FusionEnvironment was updated. An RFC3339 formatted datetime string */ readonly timeUpdated: pulumi.Output; /** * Version of Fusion Apps used by this environment */ readonly version: pulumi.Output; /** * Create a FusionEnvironment resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: FusionEnvironmentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FusionEnvironment resources. */ export interface FusionEnvironmentState { /** * (Updatable) Additional egress rules that should be applied to the environment. Some standard ports are open for general use; see [Securing Network Access to a Fusion Applications Environment][iaas/Content/fusion-applications/plan-environment.htm#internet-cache]. If access to a non-standard port is required, however, they can be listed here. */ additionalEgressRules?: pulumi.Input[] | undefined>; /** * (Updatable) Language packs. */ additionalLanguagePacks?: pulumi.Input[] | undefined>; /** * Patch bundle names */ appliedPatchBundles?: pulumi.Input[] | undefined>; /** * (Updatable) The unique identifier (OCID) of the compartment where the Fusion Environment is located. */ compartmentId?: pulumi.Input; /** * The credentials for the Fusion Applications service administrator. */ createFusionEnvironmentAdminUserDetails?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) FusionEnvironment Identifier can be renamed. */ displayName?: pulumi.Input; /** * DNS prefix. */ dnsPrefix?: pulumi.Input; /** * The IDCS domain created for the fusion instance */ domainId?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The unique identifier (OCID) of the Fusion Environment Family that the Fusion Environment belongs to. */ fusionEnvironmentFamilyId?: pulumi.Input; /** * The type of environment. Valid values are Production, Test, or Development. */ fusionEnvironmentType?: pulumi.Input; /** * The IDCS Domain URL */ idcsDomainUrl?: pulumi.Input; /** * If it's true, then the Break Glass feature is enabled */ isBreakGlassEnabled?: pulumi.Input; /** * (Updatable) Enable IPv4/IPv6 dual stack support for the environment (where available). Setting to true will assign an IPv6 address to the environment in addition to an IPv4 address. The default value is false. */ isIpv6dualStackEnabled?: pulumi.Input; /** * (Updatable) byok kms keyId */ kmsKeyId?: pulumi.Input; /** * BYOK key info */ kmsKeyInfos?: pulumi.Input[] | undefined>; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ lifecycleDetails?: pulumi.Input; /** * The lockbox Id of this fusion environment. If there's no lockbox id, this field will be null */ lockboxId?: pulumi.Input; /** * (Updatable) The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see [Understanding Environment Maintenance](https://docs.cloud.oracle.com/iaas/Content/fusion-applications/plan-environment-family.htm#about-env-maintenance). */ maintenancePolicy?: pulumi.Input; /** * Public URL */ publicUrl?: pulumi.Input; /** * Describes a refresh of a fusion environment */ refreshes?: pulumi.Input[] | undefined>; /** * (Updatable) Rules. */ rules?: pulumi.Input[] | undefined>; /** * The current state of the ServiceInstance. */ state?: pulumi.Input; /** * List of subscription IDs. */ subscriptionIds?: pulumi.Input[] | undefined>; /** * Environment Specific Guid/ System Name */ systemName?: pulumi.Input; /** * The time the the FusionEnvironment was created. An RFC3339 formatted datetime string */ timeCreated?: pulumi.Input; /** * The next maintenance for this environment */ timeUpcomingMaintenance?: pulumi.Input; /** * The time the FusionEnvironment was updated. An RFC3339 formatted datetime string */ timeUpdated?: pulumi.Input; /** * Version of Fusion Apps used by this environment */ version?: pulumi.Input; } /** * The set of arguments for constructing a FusionEnvironment resource. */ export interface FusionEnvironmentArgs { /** * (Updatable) Additional egress rules that should be applied to the environment. Some standard ports are open for general use; see [Securing Network Access to a Fusion Applications Environment][iaas/Content/fusion-applications/plan-environment.htm#internet-cache]. If access to a non-standard port is required, however, they can be listed here. */ additionalEgressRules?: pulumi.Input[] | undefined>; /** * (Updatable) Language packs. */ additionalLanguagePacks?: pulumi.Input[] | undefined>; /** * (Updatable) The unique identifier (OCID) of the compartment where the Fusion Environment is located. */ compartmentId: pulumi.Input; /** * The credentials for the Fusion Applications service administrator. */ createFusionEnvironmentAdminUserDetails: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) FusionEnvironment Identifier can be renamed. */ displayName: pulumi.Input; /** * DNS prefix. */ dnsPrefix?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The unique identifier (OCID) of the Fusion Environment Family that the Fusion Environment belongs to. */ fusionEnvironmentFamilyId: pulumi.Input; /** * The type of environment. Valid values are Production, Test, or Development. */ fusionEnvironmentType: pulumi.Input; /** * (Updatable) Enable IPv4/IPv6 dual stack support for the environment (where available). Setting to true will assign an IPv6 address to the environment in addition to an IPv4 address. The default value is false. */ isIpv6dualStackEnabled?: pulumi.Input; /** * (Updatable) byok kms keyId */ kmsKeyId?: pulumi.Input; /** * (Updatable) The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see [Understanding Environment Maintenance](https://docs.cloud.oracle.com/iaas/Content/fusion-applications/plan-environment-family.htm#about-env-maintenance). */ maintenancePolicy?: pulumi.Input; /** * (Updatable) Rules. */ rules?: pulumi.Input[] | undefined>; } //# sourceMappingURL=fusionEnvironment.d.ts.map