Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Functions.getFusionEnvironmentFamilies
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides the list of Fusion Environment Families in Oracle Cloud Infrastructure Fusion Apps service.
Returns a list of FusionEnvironmentFamilies.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFusionEnvironmentFamilies = oci.Functions.getFusionEnvironmentFamilies({
compartmentId: compartmentId,
displayName: fusionEnvironmentFamilyDisplayName,
fusionEnvironmentFamilyId: testFusionEnvironmentFamily.id,
state: fusionEnvironmentFamilyState,
});
import pulumi
import pulumi_oci as oci
test_fusion_environment_families = oci.Functions.get_fusion_environment_families(compartment_id=compartment_id,
display_name=fusion_environment_family_display_name,
fusion_environment_family_id=test_fusion_environment_family["id"],
state=fusion_environment_family_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Functions"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Functions.GetFusionEnvironmentFamilies(ctx, &functions.GetFusionEnvironmentFamiliesArgs{
CompartmentId: compartmentId,
DisplayName: pulumi.StringRef(fusionEnvironmentFamilyDisplayName),
FusionEnvironmentFamilyId: pulumi.StringRef(testFusionEnvironmentFamily.Id),
State: pulumi.StringRef(fusionEnvironmentFamilyState),
}, nil)
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 testFusionEnvironmentFamilies = Oci.Functions.GetFusionEnvironmentFamilies.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = fusionEnvironmentFamilyDisplayName,
FusionEnvironmentFamilyId = testFusionEnvironmentFamily.Id,
State = fusionEnvironmentFamilyState,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Functions.FunctionsFunctions;
import com.pulumi.oci.Functions.inputs.GetFusionEnvironmentFamiliesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testFusionEnvironmentFamilies = FunctionsFunctions.getFusionEnvironmentFamilies(GetFusionEnvironmentFamiliesArgs.builder()
.compartmentId(compartmentId)
.displayName(fusionEnvironmentFamilyDisplayName)
.fusionEnvironmentFamilyId(testFusionEnvironmentFamily.id())
.state(fusionEnvironmentFamilyState)
.build());
}
}
variables:
testFusionEnvironmentFamilies:
fn::invoke:
Function: oci:Functions:getFusionEnvironmentFamilies
Arguments:
compartmentId: ${compartmentId}
displayName: ${fusionEnvironmentFamilyDisplayName}
fusionEnvironmentFamilyId: ${testFusionEnvironmentFamily.id}
state: ${fusionEnvironmentFamilyState}
Using getFusionEnvironmentFamilies
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getFusionEnvironmentFamilies(args: GetFusionEnvironmentFamiliesArgs, opts?: InvokeOptions): Promise<GetFusionEnvironmentFamiliesResult>
function getFusionEnvironmentFamiliesOutput(args: GetFusionEnvironmentFamiliesOutputArgs, opts?: InvokeOptions): Output<GetFusionEnvironmentFamiliesResult>
def get_fusion_environment_families(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[_functions.GetFusionEnvironmentFamiliesFilter]] = None,
fusion_environment_family_id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFusionEnvironmentFamiliesResult
def get_fusion_environment_families_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_functions.GetFusionEnvironmentFamiliesFilterArgs]]]] = None,
fusion_environment_family_id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFusionEnvironmentFamiliesResult]
func GetFusionEnvironmentFamilies(ctx *Context, args *GetFusionEnvironmentFamiliesArgs, opts ...InvokeOption) (*GetFusionEnvironmentFamiliesResult, error)
func GetFusionEnvironmentFamiliesOutput(ctx *Context, args *GetFusionEnvironmentFamiliesOutputArgs, opts ...InvokeOption) GetFusionEnvironmentFamiliesResultOutput
> Note: This function is named GetFusionEnvironmentFamilies
in the Go SDK.
public static class GetFusionEnvironmentFamilies
{
public static Task<GetFusionEnvironmentFamiliesResult> InvokeAsync(GetFusionEnvironmentFamiliesArgs args, InvokeOptions? opts = null)
public static Output<GetFusionEnvironmentFamiliesResult> Invoke(GetFusionEnvironmentFamiliesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFusionEnvironmentFamiliesResult> getFusionEnvironmentFamilies(GetFusionEnvironmentFamiliesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Functions/getFusionEnvironmentFamilies:getFusionEnvironmentFamilies
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The ID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Fusion Environment Families Filter> - Fusion
Environment stringFamily Id - The ID of the fusion environment family in which to list resources.
- State string
- A filter that returns all resources that match the specified lifecycle state.
- Compartment
Id string - The ID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Fusion Environment Families Filter - Fusion
Environment stringFamily Id - The ID of the fusion environment family in which to list resources.
- State string
- A filter that returns all resources that match the specified lifecycle state.
- compartment
Id String - The ID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Fusion Environment Families Filter> - fusion
Environment StringFamily Id - The ID of the fusion environment family in which to list resources.
- state String
- A filter that returns all resources that match the specified lifecycle state.
- compartment
Id string - The ID of the compartment in which to list resources.
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Fusion Environment Families Filter[] - fusion
Environment stringFamily Id - The ID of the fusion environment family in which to list resources.
- state string
- A filter that returns all resources that match the specified lifecycle state.
- compartment_
id str - The ID of the compartment in which to list resources.
- display_
name str - A filter to return only resources that match the entire display name given.
- filters
Sequence[functions.
Get Fusion Environment Families Filter] - fusion_
environment_ strfamily_ id - The ID of the fusion environment family in which to list resources.
- state str
- A filter that returns all resources that match the specified lifecycle state.
- compartment
Id String - The ID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- fusion
Environment StringFamily Id - The ID of the fusion environment family in which to list resources.
- state String
- A filter that returns all resources that match the specified lifecycle state.
getFusionEnvironmentFamilies Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment where the environment family is located.
- Fusion
Environment List<GetFamily Collections Fusion Environment Families Fusion Environment Family Collection> - The list of fusion_environment_family_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Display
Name string - A friendly name for the environment family. The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
- Filters
List<Get
Fusion Environment Families Filter> - Fusion
Environment stringFamily Id - State string
- The current state of the FusionEnvironmentFamily.
- Compartment
Id string - The OCID of the compartment where the environment family is located.
- Fusion
Environment []GetFamily Collections Fusion Environment Families Fusion Environment Family Collection - The list of fusion_environment_family_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Display
Name string - A friendly name for the environment family. The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
- Filters
[]Get
Fusion Environment Families Filter - Fusion
Environment stringFamily Id - State string
- The current state of the FusionEnvironmentFamily.
- compartment
Id String - The OCID of the compartment where the environment family is located.
- fusion
Environment List<GetFamily Collections Fusion Environment Families Fusion Environment Family Collection> - The list of fusion_environment_family_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- display
Name String - A friendly name for the environment family. The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
- filters
List<Get
Fusion Environment Families Filter> - fusion
Environment StringFamily Id - state String
- The current state of the FusionEnvironmentFamily.
- compartment
Id string - The OCID of the compartment where the environment family is located.
- fusion
Environment GetFamily Collections Fusion Environment Families Fusion Environment Family Collection[] - The list of fusion_environment_family_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- display
Name string - A friendly name for the environment family. The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
- filters
Get
Fusion Environment Families Filter[] - fusion
Environment stringFamily Id - state string
- The current state of the FusionEnvironmentFamily.
- compartment_
id str - The OCID of the compartment where the environment family is located.
- fusion_
environment_ Sequence[functions.family_ collections Get Fusion Environment Families Fusion Environment Family Collection] - The list of fusion_environment_family_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- display_
name str - A friendly name for the environment family. The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
- filters
Sequence[functions.
Get Fusion Environment Families Filter] - fusion_
environment_ strfamily_ id - state str
- The current state of the FusionEnvironmentFamily.
- compartment
Id String - The OCID of the compartment where the environment family is located.
- fusion
Environment List<Property Map>Family Collections - The list of fusion_environment_family_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- display
Name String - A friendly name for the environment family. The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
- filters List<Property Map>
- fusion
Environment StringFamily Id - state String
- The current state of the FusionEnvironmentFamily.
Supporting Types
GetFusionEnvironmentFamiliesFilter
GetFusionEnvironmentFamiliesFusionEnvironmentFamilyCollection
GetFusionEnvironmentFamiliesFusionEnvironmentFamilyCollectionItem
- Compartment
Id string - The ID of the compartment in which to list resources.
- Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - A filter to return only resources that match the entire display name given.
- Family
Maintenance List<GetPolicies Fusion Environment Families Fusion Environment Family Collection Item Family Maintenance Policy> - The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
- Dictionary<string, object>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
- The unique identifier (OCID) of the environment family. Can't be changed after creation.
- Is
Subscription boolUpdate Needed - When set to True, a subscription update is required for the environment family.
- Lifecycle
Details 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
- A filter that returns all resources that match the specified lifecycle state.
- Subscription
Ids List<string> - The list of the IDs of the applications subscriptions that are associated with the environment family.
- System
Name string - Environment Specific Guid/ System Name
- Time
Created string - The time the the FusionEnvironmentFamily was created. An RFC3339 formatted datetime string.
- Time
Updated string
- Compartment
Id string - The ID of the compartment in which to list resources.
- map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - A filter to return only resources that match the entire display name given.
- Family
Maintenance []GetPolicies Fusion Environment Families Fusion Environment Family Collection Item Family Maintenance Policy - The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
- map[string]interface{}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
- The unique identifier (OCID) of the environment family. Can't be changed after creation.
- Is
Subscription boolUpdate Needed - When set to True, a subscription update is required for the environment family.
- Lifecycle
Details 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
- A filter that returns all resources that match the specified lifecycle state.
- Subscription
Ids []string - The list of the IDs of the applications subscriptions that are associated with the environment family.
- System
Name string - Environment Specific Guid/ System Name
- Time
Created string - The time the the FusionEnvironmentFamily was created. An RFC3339 formatted datetime string.
- Time
Updated string
- compartment
Id String - The ID of the compartment in which to list resources.
- Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - A filter to return only resources that match the entire display name given.
- family
Maintenance List<GetPolicies Fusion Environment Families Fusion Environment Family Collection Item Family Maintenance Policy> - The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
- Map<String,Object>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
- The unique identifier (OCID) of the environment family. Can't be changed after creation.
- is
Subscription BooleanUpdate Needed - When set to True, a subscription update is required for the environment family.
- lifecycle
Details 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
- A filter that returns all resources that match the specified lifecycle state.
- subscription
Ids List<String> - The list of the IDs of the applications subscriptions that are associated with the environment family.
- system
Name String - Environment Specific Guid/ System Name
- time
Created String - The time the the FusionEnvironmentFamily was created. An RFC3339 formatted datetime string.
- time
Updated String
- compartment
Id string - The ID of the compartment in which to list resources.
- {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - A filter to return only resources that match the entire display name given.
- family
Maintenance GetPolicies Fusion Environment Families Fusion Environment Family Collection Item Family Maintenance Policy[] - The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
- {[key: string]: any}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id string
- The unique identifier (OCID) of the environment family. Can't be changed after creation.
- is
Subscription booleanUpdate Needed - When set to True, a subscription update is required for the environment family.
- lifecycle
Details 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
- A filter that returns all resources that match the specified lifecycle state.
- subscription
Ids string[] - The list of the IDs of the applications subscriptions that are associated with the environment family.
- system
Name string - Environment Specific Guid/ System Name
- time
Created string - The time the the FusionEnvironmentFamily was created. An RFC3339 formatted datetime string.
- time
Updated string
- compartment_
id str - The ID of the compartment in which to list resources.
- Mapping[str, Any]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str - A filter to return only resources that match the entire display name given.
- family_
maintenance_ Sequence[functions.policies Get Fusion Environment Families Fusion Environment Family Collection Item Family Maintenance Policy] - The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
- Mapping[str, Any]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id str
- The unique identifier (OCID) of the environment family. Can't be changed after creation.
- is_
subscription_ boolupdate_ needed - 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
- A filter that returns all resources that match the specified lifecycle state.
- subscription_
ids Sequence[str] - The list of the IDs of the applications subscriptions that are associated with the environment family.
- 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
- compartment
Id String - The ID of the compartment in which to list resources.
- Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - A filter to return only resources that match the entire display name given.
- family
Maintenance List<Property Map>Policies - The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
- Map<Any>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
- The unique identifier (OCID) of the environment family. Can't be changed after creation.
- is
Subscription BooleanUpdate Needed - When set to True, a subscription update is required for the environment family.
- lifecycle
Details 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
- A filter that returns all resources that match the specified lifecycle state.
- subscription
Ids List<String> - The list of the IDs of the applications subscriptions that are associated with the environment family.
- system
Name String - Environment Specific Guid/ System Name
- time
Created String - The time the the FusionEnvironmentFamily was created. An RFC3339 formatted datetime string.
- time
Updated String
GetFusionEnvironmentFamiliesFusionEnvironmentFamilyCollectionItemFamilyMaintenancePolicy
- Concurrent
Maintenance string - 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 boolPatching Enabled - When True, monthly patching is enabled for the environment family.
- Quarterly
Upgrade stringBegin Times - The quarterly maintenance month group schedule of the Fusion environment family.
- Concurrent
Maintenance string - 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 boolPatching Enabled - When True, monthly patching is enabled for the environment family.
- Quarterly
Upgrade stringBegin Times - The quarterly maintenance month group schedule of the Fusion environment family.
- concurrent
Maintenance String - 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 BooleanPatching Enabled - When True, monthly patching is enabled for the environment family.
- quarterly
Upgrade StringBegin Times - The quarterly maintenance month group schedule of the Fusion environment family.
- concurrent
Maintenance string - 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 booleanPatching Enabled - When True, monthly patching is enabled for the environment family.
- quarterly
Upgrade stringBegin Times - The quarterly maintenance month group schedule of the Fusion environment family.
- concurrent_
maintenance str - 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_ boolpatching_ enabled - When True, monthly patching is enabled for the environment family.
- quarterly_
upgrade_ strbegin_ times - The quarterly maintenance month group schedule of the Fusion environment family.
- concurrent
Maintenance String - 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 BooleanPatching Enabled - When True, monthly patching is enabled for the environment family.
- quarterly
Upgrade StringBegin Times - The quarterly maintenance month group schedule of the Fusion environment family.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi