1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FusionApps
  5. FusionEnvironmentFamily
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

oci.FusionApps.FusionEnvironmentFamily

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

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

    Creates a new FusionEnvironmentFamily.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testFusionEnvironmentFamily = new oci.fusionapps.FusionEnvironmentFamily("testFusionEnvironmentFamily", {
        compartmentId: _var.compartment_id,
        displayName: _var.fusion_environment_family_display_name,
        subscriptionIds: _var.fusion_environment_family_subscription_ids,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        familyMaintenancePolicy: {
            concurrentMaintenance: _var.fusion_environment_family_family_maintenance_policy_concurrent_maintenance,
            isMonthlyPatchingEnabled: _var.fusion_environment_family_family_maintenance_policy_is_monthly_patching_enabled,
            quarterlyUpgradeBeginTimes: _var.fusion_environment_family_family_maintenance_policy_quarterly_upgrade_begin_times,
        },
        freeformTags: {
            "bar-key": "value",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_fusion_environment_family = oci.fusion_apps.FusionEnvironmentFamily("testFusionEnvironmentFamily",
        compartment_id=var["compartment_id"],
        display_name=var["fusion_environment_family_display_name"],
        subscription_ids=var["fusion_environment_family_subscription_ids"],
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        family_maintenance_policy=oci.fusion_apps.FusionEnvironmentFamilyFamilyMaintenancePolicyArgs(
            concurrent_maintenance=var["fusion_environment_family_family_maintenance_policy_concurrent_maintenance"],
            is_monthly_patching_enabled=var["fusion_environment_family_family_maintenance_policy_is_monthly_patching_enabled"],
            quarterly_upgrade_begin_times=var["fusion_environment_family_family_maintenance_policy_quarterly_upgrade_begin_times"],
        ),
        freeform_tags={
            "bar-key": "value",
        })
    
    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.NewFusionEnvironmentFamily(ctx, "testFusionEnvironmentFamily", &FusionApps.FusionEnvironmentFamilyArgs{
    			CompartmentId:   pulumi.Any(_var.Compartment_id),
    			DisplayName:     pulumi.Any(_var.Fusion_environment_family_display_name),
    			SubscriptionIds: pulumi.Any(_var.Fusion_environment_family_subscription_ids),
    			DefinedTags: pulumi.Map{
    				"foo-namespace.bar-key": pulumi.Any("value"),
    			},
    			FamilyMaintenancePolicy: &fusionapps.FusionEnvironmentFamilyFamilyMaintenancePolicyArgs{
    				ConcurrentMaintenance:      pulumi.Any(_var.Fusion_environment_family_family_maintenance_policy_concurrent_maintenance),
    				IsMonthlyPatchingEnabled:   pulumi.Any(_var.Fusion_environment_family_family_maintenance_policy_is_monthly_patching_enabled),
    				QuarterlyUpgradeBeginTimes: pulumi.Any(_var.Fusion_environment_family_family_maintenance_policy_quarterly_upgrade_begin_times),
    			},
    			FreeformTags: pulumi.Map{
    				"bar-key": pulumi.Any("value"),
    			},
    		})
    		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 testFusionEnvironmentFamily = new Oci.FusionApps.FusionEnvironmentFamily("testFusionEnvironmentFamily", new()
        {
            CompartmentId = @var.Compartment_id,
            DisplayName = @var.Fusion_environment_family_display_name,
            SubscriptionIds = @var.Fusion_environment_family_subscription_ids,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            FamilyMaintenancePolicy = new Oci.FusionApps.Inputs.FusionEnvironmentFamilyFamilyMaintenancePolicyArgs
            {
                ConcurrentMaintenance = @var.Fusion_environment_family_family_maintenance_policy_concurrent_maintenance,
                IsMonthlyPatchingEnabled = @var.Fusion_environment_family_family_maintenance_policy_is_monthly_patching_enabled,
                QuarterlyUpgradeBeginTimes = @var.Fusion_environment_family_family_maintenance_policy_quarterly_upgrade_begin_times,
            },
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.FusionApps.FusionEnvironmentFamily;
    import com.pulumi.oci.FusionApps.FusionEnvironmentFamilyArgs;
    import com.pulumi.oci.FusionApps.inputs.FusionEnvironmentFamilyFamilyMaintenancePolicyArgs;
    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 testFusionEnvironmentFamily = new FusionEnvironmentFamily("testFusionEnvironmentFamily", FusionEnvironmentFamilyArgs.builder()        
                .compartmentId(var_.compartment_id())
                .displayName(var_.fusion_environment_family_display_name())
                .subscriptionIds(var_.fusion_environment_family_subscription_ids())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .familyMaintenancePolicy(FusionEnvironmentFamilyFamilyMaintenancePolicyArgs.builder()
                    .concurrentMaintenance(var_.fusion_environment_family_family_maintenance_policy_concurrent_maintenance())
                    .isMonthlyPatchingEnabled(var_.fusion_environment_family_family_maintenance_policy_is_monthly_patching_enabled())
                    .quarterlyUpgradeBeginTimes(var_.fusion_environment_family_family_maintenance_policy_quarterly_upgrade_begin_times())
                    .build())
                .freeformTags(Map.of("bar-key", "value"))
                .build());
    
        }
    }
    
    resources:
      testFusionEnvironmentFamily:
        type: oci:FusionApps:FusionEnvironmentFamily
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          displayName: ${var.fusion_environment_family_display_name}
          subscriptionIds: ${var.fusion_environment_family_subscription_ids}
          #Optional
          definedTags:
            foo-namespace.bar-key: value
          familyMaintenancePolicy:
            concurrentMaintenance: ${var.fusion_environment_family_family_maintenance_policy_concurrent_maintenance}
            isMonthlyPatchingEnabled: ${var.fusion_environment_family_family_maintenance_policy_is_monthly_patching_enabled}
            quarterlyUpgradeBeginTimes: ${var.fusion_environment_family_family_maintenance_policy_quarterly_upgrade_begin_times}
          freeformTags:
            bar-key: value
    

    Create FusionEnvironmentFamily Resource

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

    Constructor syntax

    new FusionEnvironmentFamily(name: string, args: FusionEnvironmentFamilyArgs, opts?: CustomResourceOptions);
    @overload
    def FusionEnvironmentFamily(resource_name: str,
                                args: FusionEnvironmentFamilyArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def FusionEnvironmentFamily(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                compartment_id: Optional[str] = None,
                                display_name: Optional[str] = None,
                                subscription_ids: Optional[Sequence[str]] = None,
                                defined_tags: Optional[Mapping[str, Any]] = None,
                                family_maintenance_policy: Optional[_fusionapps.FusionEnvironmentFamilyFamilyMaintenancePolicyArgs] = None,
                                freeform_tags: Optional[Mapping[str, Any]] = None,
                                time_updated: Optional[str] = None)
    func NewFusionEnvironmentFamily(ctx *Context, name string, args FusionEnvironmentFamilyArgs, opts ...ResourceOption) (*FusionEnvironmentFamily, error)
    public FusionEnvironmentFamily(string name, FusionEnvironmentFamilyArgs args, CustomResourceOptions? opts = null)
    public FusionEnvironmentFamily(String name, FusionEnvironmentFamilyArgs args)
    public FusionEnvironmentFamily(String name, FusionEnvironmentFamilyArgs args, CustomResourceOptions options)
    
    type: oci:FusionApps:FusionEnvironmentFamily
    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 FusionEnvironmentFamilyArgs
    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 FusionEnvironmentFamilyArgs
    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 FusionEnvironmentFamilyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FusionEnvironmentFamilyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FusionEnvironmentFamilyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var fusionEnvironmentFamilyResource = new Oci.FusionApps.FusionEnvironmentFamily("fusionEnvironmentFamilyResource", new()
    {
        CompartmentId = "string",
        DisplayName = "string",
        SubscriptionIds = new[]
        {
            "string",
        },
        DefinedTags = 
        {
            { "string", "any" },
        },
        FamilyMaintenancePolicy = new Oci.FusionApps.Inputs.FusionEnvironmentFamilyFamilyMaintenancePolicyArgs
        {
            ConcurrentMaintenance = "string",
            IsMonthlyPatchingEnabled = false,
            QuarterlyUpgradeBeginTimes = "string",
        },
        FreeformTags = 
        {
            { "string", "any" },
        },
        TimeUpdated = "string",
    });
    
    example, err := FusionApps.NewFusionEnvironmentFamily(ctx, "fusionEnvironmentFamilyResource", &FusionApps.FusionEnvironmentFamilyArgs{
    	CompartmentId: pulumi.String("string"),
    	DisplayName:   pulumi.String("string"),
    	SubscriptionIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	FamilyMaintenancePolicy: &fusionapps.FusionEnvironmentFamilyFamilyMaintenancePolicyArgs{
    		ConcurrentMaintenance:      pulumi.String("string"),
    		IsMonthlyPatchingEnabled:   pulumi.Bool(false),
    		QuarterlyUpgradeBeginTimes: pulumi.String("string"),
    	},
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	TimeUpdated: pulumi.String("string"),
    })
    
    var fusionEnvironmentFamilyResource = new FusionEnvironmentFamily("fusionEnvironmentFamilyResource", FusionEnvironmentFamilyArgs.builder()        
        .compartmentId("string")
        .displayName("string")
        .subscriptionIds("string")
        .definedTags(Map.of("string", "any"))
        .familyMaintenancePolicy(FusionEnvironmentFamilyFamilyMaintenancePolicyArgs.builder()
            .concurrentMaintenance("string")
            .isMonthlyPatchingEnabled(false)
            .quarterlyUpgradeBeginTimes("string")
            .build())
        .freeformTags(Map.of("string", "any"))
        .timeUpdated("string")
        .build());
    
    fusion_environment_family_resource = oci.fusion_apps.FusionEnvironmentFamily("fusionEnvironmentFamilyResource",
        compartment_id="string",
        display_name="string",
        subscription_ids=["string"],
        defined_tags={
            "string": "any",
        },
        family_maintenance_policy=oci.fusion_apps.FusionEnvironmentFamilyFamilyMaintenancePolicyArgs(
            concurrent_maintenance="string",
            is_monthly_patching_enabled=False,
            quarterly_upgrade_begin_times="string",
        ),
        freeform_tags={
            "string": "any",
        },
        time_updated="string")
    
    const fusionEnvironmentFamilyResource = new oci.fusionapps.FusionEnvironmentFamily("fusionEnvironmentFamilyResource", {
        compartmentId: "string",
        displayName: "string",
        subscriptionIds: ["string"],
        definedTags: {
            string: "any",
        },
        familyMaintenancePolicy: {
            concurrentMaintenance: "string",
            isMonthlyPatchingEnabled: false,
            quarterlyUpgradeBeginTimes: "string",
        },
        freeformTags: {
            string: "any",
        },
        timeUpdated: "string",
    });
    
    type: oci:FusionApps:FusionEnvironmentFamily
    properties:
        compartmentId: string
        definedTags:
            string: any
        displayName: string
        familyMaintenancePolicy:
            concurrentMaintenance: string
            isMonthlyPatchingEnabled: false
            quarterlyUpgradeBeginTimes: string
        freeformTags:
            string: any
        subscriptionIds:
            - string
        timeUpdated: string
    

    FusionEnvironmentFamily 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 FusionEnvironmentFamily resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment where the environment family is located.
    DisplayName string
    (Updatable) A friendly name for the environment family. The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
    SubscriptionIds List<string>

    (Updatable) The list of the IDs of the applications subscriptions that are associated with the environment family.

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

    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FamilyMaintenancePolicy FusionEnvironmentFamilyFamilyMaintenancePolicy
    (Updatable) The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    TimeUpdated string
    CompartmentId string
    (Updatable) The OCID of the compartment where the environment family is located.
    DisplayName string
    (Updatable) A friendly name for the environment family. The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
    SubscriptionIds []string

    (Updatable) The list of the IDs of the applications subscriptions that are associated with the environment family.

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

    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FamilyMaintenancePolicy FusionEnvironmentFamilyFamilyMaintenancePolicyArgs
    (Updatable) The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    TimeUpdated string
    compartmentId String
    (Updatable) The OCID of the compartment where the environment family is located.
    displayName String
    (Updatable) A friendly name for the environment family. The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
    subscriptionIds List<String>

    (Updatable) The list of the IDs of the applications subscriptions that are associated with the environment family.

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

    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    familyMaintenancePolicy FusionEnvironmentFamilyFamilyMaintenancePolicy
    (Updatable) The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    timeUpdated String
    compartmentId string
    (Updatable) The OCID of the compartment where the environment family is located.
    displayName string
    (Updatable) A friendly name for the environment family. The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
    subscriptionIds string[]

    (Updatable) The list of the IDs of the applications subscriptions that are associated with the environment family.

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

    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    familyMaintenancePolicy FusionEnvironmentFamilyFamilyMaintenancePolicy
    (Updatable) The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    timeUpdated string
    compartment_id str
    (Updatable) The OCID of the compartment where the environment family is located.
    display_name str
    (Updatable) A friendly name for the environment family. The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
    subscription_ids Sequence[str]

    (Updatable) The list of the IDs of the applications subscriptions that are associated with the environment family.

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

    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    family_maintenance_policy fusionapps.FusionEnvironmentFamilyFamilyMaintenancePolicyArgs
    (Updatable) The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    time_updated str
    compartmentId String
    (Updatable) The OCID of the compartment where the environment family is located.
    displayName String
    (Updatable) A friendly name for the environment family. The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
    subscriptionIds List<String>

    (Updatable) The list of the IDs of the applications subscriptions that are associated with the environment family.

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

    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    familyMaintenancePolicy Property Map
    (Updatable) The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    timeUpdated String

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    IsSubscriptionUpdateNeeded bool
    When set to True, a subscription update is required for the environment family.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    State string
    The current state of the FusionEnvironmentFamily.
    SystemName string
    Environment Specific Guid/ System Name
    TimeCreated string
    The time the the FusionEnvironmentFamily was created. An RFC3339 formatted datetime string.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsSubscriptionUpdateNeeded bool
    When set to True, a subscription update is required for the environment family.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    State string
    The current state of the FusionEnvironmentFamily.
    SystemName string
    Environment Specific Guid/ System Name
    TimeCreated string
    The time the the FusionEnvironmentFamily was created. An RFC3339 formatted datetime string.
    id String
    The provider-assigned unique ID for this managed resource.
    isSubscriptionUpdateNeeded Boolean
    When set to True, a subscription update is required for the environment family.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    state String
    The current state of the FusionEnvironmentFamily.
    systemName String
    Environment Specific Guid/ System Name
    timeCreated String
    The time the the FusionEnvironmentFamily was created. An RFC3339 formatted datetime string.
    id string
    The provider-assigned unique ID for this managed resource.
    isSubscriptionUpdateNeeded boolean
    When set to True, a subscription update is required for the environment family.
    lifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    state string
    The current state of the FusionEnvironmentFamily.
    systemName string
    Environment Specific Guid/ System Name
    timeCreated string
    The time the the FusionEnvironmentFamily was created. An RFC3339 formatted datetime string.
    id str
    The provider-assigned unique ID for this managed resource.
    is_subscription_update_needed bool
    When set to True, a subscription update is required for the environment family.
    lifecycle_details str
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    state str
    The current state of the FusionEnvironmentFamily.
    system_name str
    Environment Specific Guid/ System Name
    time_created str
    The time the the FusionEnvironmentFamily was created. An RFC3339 formatted datetime string.
    id String
    The provider-assigned unique ID for this managed resource.
    isSubscriptionUpdateNeeded Boolean
    When set to True, a subscription update is required for the environment family.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    state String
    The current state of the FusionEnvironmentFamily.
    systemName String
    Environment Specific Guid/ System Name
    timeCreated String
    The time the the FusionEnvironmentFamily was created. An RFC3339 formatted datetime string.

    Look up Existing FusionEnvironmentFamily Resource

    Get an existing FusionEnvironmentFamily 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?: FusionEnvironmentFamilyState, opts?: CustomResourceOptions): FusionEnvironmentFamily
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            display_name: Optional[str] = None,
            family_maintenance_policy: Optional[_fusionapps.FusionEnvironmentFamilyFamilyMaintenancePolicyArgs] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            is_subscription_update_needed: Optional[bool] = None,
            lifecycle_details: Optional[str] = None,
            state: Optional[str] = None,
            subscription_ids: Optional[Sequence[str]] = None,
            system_name: Optional[str] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> FusionEnvironmentFamily
    func GetFusionEnvironmentFamily(ctx *Context, name string, id IDInput, state *FusionEnvironmentFamilyState, opts ...ResourceOption) (*FusionEnvironmentFamily, error)
    public static FusionEnvironmentFamily Get(string name, Input<string> id, FusionEnvironmentFamilyState? state, CustomResourceOptions? opts = null)
    public static FusionEnvironmentFamily get(String name, Output<String> id, FusionEnvironmentFamilyState 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:
    CompartmentId string
    (Updatable) The OCID of the compartment where the environment family is located.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) A friendly name for the environment family. The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
    FamilyMaintenancePolicy FusionEnvironmentFamilyFamilyMaintenancePolicy
    (Updatable) The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsSubscriptionUpdateNeeded bool
    When set to True, a subscription update is required for the environment family.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    State string
    The current state of the FusionEnvironmentFamily.
    SubscriptionIds List<string>

    (Updatable) The list of the IDs of the applications subscriptions that are associated with the environment family.

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

    SystemName string
    Environment Specific Guid/ System Name
    TimeCreated string
    The time the the FusionEnvironmentFamily was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    CompartmentId string
    (Updatable) The OCID of the compartment where the environment family is located.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) A friendly name for the environment family. The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
    FamilyMaintenancePolicy FusionEnvironmentFamilyFamilyMaintenancePolicyArgs
    (Updatable) The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsSubscriptionUpdateNeeded bool
    When set to True, a subscription update is required for the environment family.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    State string
    The current state of the FusionEnvironmentFamily.
    SubscriptionIds []string

    (Updatable) The list of the IDs of the applications subscriptions that are associated with the environment family.

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

    SystemName string
    Environment Specific Guid/ System Name
    TimeCreated string
    The time the the FusionEnvironmentFamily was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    compartmentId String
    (Updatable) The OCID of the compartment where the environment family is located.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) A friendly name for the environment family. The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
    familyMaintenancePolicy FusionEnvironmentFamilyFamilyMaintenancePolicy
    (Updatable) The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isSubscriptionUpdateNeeded Boolean
    When set to True, a subscription update is required for the environment family.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    state String
    The current state of the FusionEnvironmentFamily.
    subscriptionIds List<String>

    (Updatable) The list of the IDs of the applications subscriptions that are associated with the environment family.

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

    systemName String
    Environment Specific Guid/ System Name
    timeCreated String
    The time the the FusionEnvironmentFamily was created. An RFC3339 formatted datetime string.
    timeUpdated String
    compartmentId string
    (Updatable) The OCID of the compartment where the environment family is located.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    (Updatable) A friendly name for the environment family. The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
    familyMaintenancePolicy FusionEnvironmentFamilyFamilyMaintenancePolicy
    (Updatable) The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isSubscriptionUpdateNeeded boolean
    When set to True, a subscription update is required for the environment family.
    lifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    state string
    The current state of the FusionEnvironmentFamily.
    subscriptionIds string[]

    (Updatable) The list of the IDs of the applications subscriptions that are associated with the environment family.

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

    systemName string
    Environment Specific Guid/ System Name
    timeCreated string
    The time the the FusionEnvironmentFamily was created. An RFC3339 formatted datetime string.
    timeUpdated string
    compartment_id str
    (Updatable) The OCID of the compartment where the environment family is located.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    (Updatable) A friendly name for the environment family. The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
    family_maintenance_policy fusionapps.FusionEnvironmentFamilyFamilyMaintenancePolicyArgs
    (Updatable) The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    is_subscription_update_needed bool
    When set to True, a subscription update is required for the environment family.
    lifecycle_details str
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    state str
    The current state of the FusionEnvironmentFamily.
    subscription_ids Sequence[str]

    (Updatable) The list of the IDs of the applications subscriptions that are associated with the environment family.

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

    system_name str
    Environment Specific Guid/ System Name
    time_created str
    The time the the FusionEnvironmentFamily was created. An RFC3339 formatted datetime string.
    time_updated str
    compartmentId String
    (Updatable) The OCID of the compartment where the environment family is located.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) A friendly name for the environment family. The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
    familyMaintenancePolicy Property Map
    (Updatable) The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isSubscriptionUpdateNeeded Boolean
    When set to True, a subscription update is required for the environment family.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    state String
    The current state of the FusionEnvironmentFamily.
    subscriptionIds List<String>

    (Updatable) The list of the IDs of the applications subscriptions that are associated with the environment family.

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

    systemName String
    Environment Specific Guid/ System Name
    timeCreated String
    The time the the FusionEnvironmentFamily was created. An RFC3339 formatted datetime string.
    timeUpdated String

    Supporting Types

    FusionEnvironmentFamilyFamilyMaintenancePolicy, FusionEnvironmentFamilyFamilyMaintenancePolicyArgs

    ConcurrentMaintenance string
    (Updatable) Option to upgrade both production and non-production environments at the same time. When set to PROD both types of environnments are upgraded on the production schedule. When set to NON_PROD both types of environments are upgraded on the non-production schedule.
    IsMonthlyPatchingEnabled bool
    (Updatable) When True, monthly patching is enabled for the environment family.
    QuarterlyUpgradeBeginTimes string
    The quarterly maintenance month group schedule of the Fusion environment family.
    ConcurrentMaintenance string
    (Updatable) Option to upgrade both production and non-production environments at the same time. When set to PROD both types of environnments are upgraded on the production schedule. When set to NON_PROD both types of environments are upgraded on the non-production schedule.
    IsMonthlyPatchingEnabled bool
    (Updatable) When True, monthly patching is enabled for the environment family.
    QuarterlyUpgradeBeginTimes string
    The quarterly maintenance month group schedule of the Fusion environment family.
    concurrentMaintenance String
    (Updatable) Option to upgrade both production and non-production environments at the same time. When set to PROD both types of environnments are upgraded on the production schedule. When set to NON_PROD both types of environments are upgraded on the non-production schedule.
    isMonthlyPatchingEnabled Boolean
    (Updatable) When True, monthly patching is enabled for the environment family.
    quarterlyUpgradeBeginTimes String
    The quarterly maintenance month group schedule of the Fusion environment family.
    concurrentMaintenance string
    (Updatable) Option to upgrade both production and non-production environments at the same time. When set to PROD both types of environnments are upgraded on the production schedule. When set to NON_PROD both types of environments are upgraded on the non-production schedule.
    isMonthlyPatchingEnabled boolean
    (Updatable) When True, monthly patching is enabled for the environment family.
    quarterlyUpgradeBeginTimes string
    The quarterly maintenance month group schedule of the Fusion environment family.
    concurrent_maintenance str
    (Updatable) Option to upgrade both production and non-production environments at the same time. When set to PROD both types of environnments are upgraded on the production schedule. When set to NON_PROD both types of environments are upgraded on the non-production schedule.
    is_monthly_patching_enabled bool
    (Updatable) When True, monthly patching is enabled for the environment family.
    quarterly_upgrade_begin_times str
    The quarterly maintenance month group schedule of the Fusion environment family.
    concurrentMaintenance String
    (Updatable) Option to upgrade both production and non-production environments at the same time. When set to PROD both types of environnments are upgraded on the production schedule. When set to NON_PROD both types of environments are upgraded on the non-production schedule.
    isMonthlyPatchingEnabled Boolean
    (Updatable) When True, monthly patching is enabled for the environment family.
    quarterlyUpgradeBeginTimes String
    The quarterly maintenance month group schedule of the Fusion environment family.

    Import

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

    $ pulumi import oci:FusionApps/fusionEnvironmentFamily:FusionEnvironmentFamily test_fusion_environment_family "id"
    

    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 v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi