1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Functions
  5. getFusionEnvironmentRefreshActivities
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.Functions.getFusionEnvironmentRefreshActivities

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This data source provides the list of Fusion Environment Refresh Activities in Oracle Cloud Infrastructure Fusion Apps service.

    Returns a list of RefreshActivities.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testFusionEnvironmentRefreshActivities = oci.Functions.getFusionEnvironmentRefreshActivities({
        fusionEnvironmentId: testFusionEnvironment.id,
        displayName: fusionEnvironmentRefreshActivityDisplayName,
        state: fusionEnvironmentRefreshActivityState,
        timeExpectedFinishLessThanOrEqualTo: fusionEnvironmentRefreshActivityTimeExpectedFinishLessThanOrEqualTo,
        timeScheduledStartGreaterThanOrEqualTo: fusionEnvironmentRefreshActivityTimeScheduledStartGreaterThanOrEqualTo,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_fusion_environment_refresh_activities = oci.Functions.get_fusion_environment_refresh_activities(fusion_environment_id=test_fusion_environment["id"],
        display_name=fusion_environment_refresh_activity_display_name,
        state=fusion_environment_refresh_activity_state,
        time_expected_finish_less_than_or_equal_to=fusion_environment_refresh_activity_time_expected_finish_less_than_or_equal_to,
        time_scheduled_start_greater_than_or_equal_to=fusion_environment_refresh_activity_time_scheduled_start_greater_than_or_equal_to)
    
    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.GetFusionEnvironmentRefreshActivities(ctx, &functions.GetFusionEnvironmentRefreshActivitiesArgs{
    			FusionEnvironmentId:                    testFusionEnvironment.Id,
    			DisplayName:                            pulumi.StringRef(fusionEnvironmentRefreshActivityDisplayName),
    			State:                                  pulumi.StringRef(fusionEnvironmentRefreshActivityState),
    			TimeExpectedFinishLessThanOrEqualTo:    pulumi.StringRef(fusionEnvironmentRefreshActivityTimeExpectedFinishLessThanOrEqualTo),
    			TimeScheduledStartGreaterThanOrEqualTo: pulumi.StringRef(fusionEnvironmentRefreshActivityTimeScheduledStartGreaterThanOrEqualTo),
    		}, 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 testFusionEnvironmentRefreshActivities = Oci.Functions.GetFusionEnvironmentRefreshActivities.Invoke(new()
        {
            FusionEnvironmentId = testFusionEnvironment.Id,
            DisplayName = fusionEnvironmentRefreshActivityDisplayName,
            State = fusionEnvironmentRefreshActivityState,
            TimeExpectedFinishLessThanOrEqualTo = fusionEnvironmentRefreshActivityTimeExpectedFinishLessThanOrEqualTo,
            TimeScheduledStartGreaterThanOrEqualTo = fusionEnvironmentRefreshActivityTimeScheduledStartGreaterThanOrEqualTo,
        });
    
    });
    
    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.GetFusionEnvironmentRefreshActivitiesArgs;
    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 testFusionEnvironmentRefreshActivities = FunctionsFunctions.getFusionEnvironmentRefreshActivities(GetFusionEnvironmentRefreshActivitiesArgs.builder()
                .fusionEnvironmentId(testFusionEnvironment.id())
                .displayName(fusionEnvironmentRefreshActivityDisplayName)
                .state(fusionEnvironmentRefreshActivityState)
                .timeExpectedFinishLessThanOrEqualTo(fusionEnvironmentRefreshActivityTimeExpectedFinishLessThanOrEqualTo)
                .timeScheduledStartGreaterThanOrEqualTo(fusionEnvironmentRefreshActivityTimeScheduledStartGreaterThanOrEqualTo)
                .build());
    
        }
    }
    
    variables:
      testFusionEnvironmentRefreshActivities:
        fn::invoke:
          Function: oci:Functions:getFusionEnvironmentRefreshActivities
          Arguments:
            fusionEnvironmentId: ${testFusionEnvironment.id}
            displayName: ${fusionEnvironmentRefreshActivityDisplayName}
            state: ${fusionEnvironmentRefreshActivityState}
            timeExpectedFinishLessThanOrEqualTo: ${fusionEnvironmentRefreshActivityTimeExpectedFinishLessThanOrEqualTo}
            timeScheduledStartGreaterThanOrEqualTo: ${fusionEnvironmentRefreshActivityTimeScheduledStartGreaterThanOrEqualTo}
    

    Using getFusionEnvironmentRefreshActivities

    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 getFusionEnvironmentRefreshActivities(args: GetFusionEnvironmentRefreshActivitiesArgs, opts?: InvokeOptions): Promise<GetFusionEnvironmentRefreshActivitiesResult>
    function getFusionEnvironmentRefreshActivitiesOutput(args: GetFusionEnvironmentRefreshActivitiesOutputArgs, opts?: InvokeOptions): Output<GetFusionEnvironmentRefreshActivitiesResult>
    def get_fusion_environment_refresh_activities(display_name: Optional[str] = None,
                                                  filters: Optional[Sequence[_functions.GetFusionEnvironmentRefreshActivitiesFilter]] = None,
                                                  fusion_environment_id: Optional[str] = None,
                                                  state: Optional[str] = None,
                                                  time_expected_finish_less_than_or_equal_to: Optional[str] = None,
                                                  time_scheduled_start_greater_than_or_equal_to: Optional[str] = None,
                                                  opts: Optional[InvokeOptions] = None) -> GetFusionEnvironmentRefreshActivitiesResult
    def get_fusion_environment_refresh_activities_output(display_name: Optional[pulumi.Input[str]] = None,
                                                  filters: Optional[pulumi.Input[Sequence[pulumi.Input[_functions.GetFusionEnvironmentRefreshActivitiesFilterArgs]]]] = None,
                                                  fusion_environment_id: Optional[pulumi.Input[str]] = None,
                                                  state: Optional[pulumi.Input[str]] = None,
                                                  time_expected_finish_less_than_or_equal_to: Optional[pulumi.Input[str]] = None,
                                                  time_scheduled_start_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
                                                  opts: Optional[InvokeOptions] = None) -> Output[GetFusionEnvironmentRefreshActivitiesResult]
    func GetFusionEnvironmentRefreshActivities(ctx *Context, args *GetFusionEnvironmentRefreshActivitiesArgs, opts ...InvokeOption) (*GetFusionEnvironmentRefreshActivitiesResult, error)
    func GetFusionEnvironmentRefreshActivitiesOutput(ctx *Context, args *GetFusionEnvironmentRefreshActivitiesOutputArgs, opts ...InvokeOption) GetFusionEnvironmentRefreshActivitiesResultOutput

    > Note: This function is named GetFusionEnvironmentRefreshActivities in the Go SDK.

    public static class GetFusionEnvironmentRefreshActivities 
    {
        public static Task<GetFusionEnvironmentRefreshActivitiesResult> InvokeAsync(GetFusionEnvironmentRefreshActivitiesArgs args, InvokeOptions? opts = null)
        public static Output<GetFusionEnvironmentRefreshActivitiesResult> Invoke(GetFusionEnvironmentRefreshActivitiesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFusionEnvironmentRefreshActivitiesResult> getFusionEnvironmentRefreshActivities(GetFusionEnvironmentRefreshActivitiesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Functions/getFusionEnvironmentRefreshActivities:getFusionEnvironmentRefreshActivities
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FusionEnvironmentId string
    unique FusionEnvironment identifier
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters List<GetFusionEnvironmentRefreshActivitiesFilter>
    State string
    A filter that returns all resources that match the specified status
    TimeExpectedFinishLessThanOrEqualTo string
    A filter that returns all resources that end before this date
    TimeScheduledStartGreaterThanOrEqualTo string
    A filter that returns all resources that are scheduled after this date
    FusionEnvironmentId string
    unique FusionEnvironment identifier
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters []GetFusionEnvironmentRefreshActivitiesFilter
    State string
    A filter that returns all resources that match the specified status
    TimeExpectedFinishLessThanOrEqualTo string
    A filter that returns all resources that end before this date
    TimeScheduledStartGreaterThanOrEqualTo string
    A filter that returns all resources that are scheduled after this date
    fusionEnvironmentId String
    unique FusionEnvironment identifier
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<GetFusionEnvironmentRefreshActivitiesFilter>
    state String
    A filter that returns all resources that match the specified status
    timeExpectedFinishLessThanOrEqualTo String
    A filter that returns all resources that end before this date
    timeScheduledStartGreaterThanOrEqualTo String
    A filter that returns all resources that are scheduled after this date
    fusionEnvironmentId string
    unique FusionEnvironment identifier
    displayName string
    A filter to return only resources that match the entire display name given.
    filters GetFusionEnvironmentRefreshActivitiesFilter[]
    state string
    A filter that returns all resources that match the specified status
    timeExpectedFinishLessThanOrEqualTo string
    A filter that returns all resources that end before this date
    timeScheduledStartGreaterThanOrEqualTo string
    A filter that returns all resources that are scheduled after this date
    fusion_environment_id str
    unique FusionEnvironment identifier
    display_name str
    A filter to return only resources that match the entire display name given.
    filters Sequence[functions.GetFusionEnvironmentRefreshActivitiesFilter]
    state str
    A filter that returns all resources that match the specified status
    time_expected_finish_less_than_or_equal_to str
    A filter that returns all resources that end before this date
    time_scheduled_start_greater_than_or_equal_to str
    A filter that returns all resources that are scheduled after this date
    fusionEnvironmentId String
    unique FusionEnvironment identifier
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<Property Map>
    state String
    A filter that returns all resources that match the specified status
    timeExpectedFinishLessThanOrEqualTo String
    A filter that returns all resources that end before this date
    timeScheduledStartGreaterThanOrEqualTo String
    A filter that returns all resources that are scheduled after this date

    getFusionEnvironmentRefreshActivities Result

    The following output properties are available:

    FusionEnvironmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    RefreshActivityCollections List<GetFusionEnvironmentRefreshActivitiesRefreshActivityCollection>
    The list of refresh_activity_collection.
    DisplayName string
    A friendly name for the refresh activity. Can be changed later.
    Filters List<GetFusionEnvironmentRefreshActivitiesFilter>
    State string
    The current state of the refreshActivity.
    TimeExpectedFinishLessThanOrEqualTo string
    TimeScheduledStartGreaterThanOrEqualTo string
    FusionEnvironmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    RefreshActivityCollections []GetFusionEnvironmentRefreshActivitiesRefreshActivityCollection
    The list of refresh_activity_collection.
    DisplayName string
    A friendly name for the refresh activity. Can be changed later.
    Filters []GetFusionEnvironmentRefreshActivitiesFilter
    State string
    The current state of the refreshActivity.
    TimeExpectedFinishLessThanOrEqualTo string
    TimeScheduledStartGreaterThanOrEqualTo string
    fusionEnvironmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    refreshActivityCollections List<GetFusionEnvironmentRefreshActivitiesRefreshActivityCollection>
    The list of refresh_activity_collection.
    displayName String
    A friendly name for the refresh activity. Can be changed later.
    filters List<GetFusionEnvironmentRefreshActivitiesFilter>
    state String
    The current state of the refreshActivity.
    timeExpectedFinishLessThanOrEqualTo String
    timeScheduledStartGreaterThanOrEqualTo String
    fusionEnvironmentId string
    id string
    The provider-assigned unique ID for this managed resource.
    refreshActivityCollections GetFusionEnvironmentRefreshActivitiesRefreshActivityCollection[]
    The list of refresh_activity_collection.
    displayName string
    A friendly name for the refresh activity. Can be changed later.
    filters GetFusionEnvironmentRefreshActivitiesFilter[]
    state string
    The current state of the refreshActivity.
    timeExpectedFinishLessThanOrEqualTo string
    timeScheduledStartGreaterThanOrEqualTo string
    fusion_environment_id str
    id str
    The provider-assigned unique ID for this managed resource.
    refresh_activity_collections Sequence[functions.GetFusionEnvironmentRefreshActivitiesRefreshActivityCollection]
    The list of refresh_activity_collection.
    display_name str
    A friendly name for the refresh activity. Can be changed later.
    filters Sequence[functions.GetFusionEnvironmentRefreshActivitiesFilter]
    state str
    The current state of the refreshActivity.
    time_expected_finish_less_than_or_equal_to str
    time_scheduled_start_greater_than_or_equal_to str
    fusionEnvironmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    refreshActivityCollections List<Property Map>
    The list of refresh_activity_collection.
    displayName String
    A friendly name for the refresh activity. Can be changed later.
    filters List<Property Map>
    state String
    The current state of the refreshActivity.
    timeExpectedFinishLessThanOrEqualTo String
    timeScheduledStartGreaterThanOrEqualTo String

    Supporting Types

    GetFusionEnvironmentRefreshActivitiesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetFusionEnvironmentRefreshActivitiesRefreshActivityCollection

    GetFusionEnvironmentRefreshActivitiesRefreshActivityCollectionItem

    DisplayName string
    A filter to return only resources that match the entire display name given.
    FusionEnvironmentId string
    unique FusionEnvironment identifier
    Id string
    The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
    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.
    RefreshActivityId string
    RefreshIssueDetailsLists List<GetFusionEnvironmentRefreshActivitiesRefreshActivityCollectionItemRefreshIssueDetailsList>
    Details of refresh investigation information, each item represents a different issue.
    ServiceAvailability string
    Service availability / impact during refresh activity execution up down
    SourceFusionEnvironmentId string
    The OCID of the Fusion environment that is the source environment for the refresh.
    State string
    A filter that returns all resources that match the specified status
    TimeAccepted string
    The time the refresh activity record was created. An RFC3339 formatted datetime string.
    TimeExpectedFinish string
    The time the refresh activity is scheduled to end. An RFC3339 formatted datetime string.
    TimeFinished string
    The time the refresh activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
    TimeOfRestorationPoint string
    The date and time of the most recent source environment backup used for the environment refresh.
    TimeUpdated string
    The time the refresh activity record was updated. An RFC3339 formatted datetime string.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    FusionEnvironmentId string
    unique FusionEnvironment identifier
    Id string
    The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
    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.
    RefreshActivityId string
    RefreshIssueDetailsLists []GetFusionEnvironmentRefreshActivitiesRefreshActivityCollectionItemRefreshIssueDetailsList
    Details of refresh investigation information, each item represents a different issue.
    ServiceAvailability string
    Service availability / impact during refresh activity execution up down
    SourceFusionEnvironmentId string
    The OCID of the Fusion environment that is the source environment for the refresh.
    State string
    A filter that returns all resources that match the specified status
    TimeAccepted string
    The time the refresh activity record was created. An RFC3339 formatted datetime string.
    TimeExpectedFinish string
    The time the refresh activity is scheduled to end. An RFC3339 formatted datetime string.
    TimeFinished string
    The time the refresh activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
    TimeOfRestorationPoint string
    The date and time of the most recent source environment backup used for the environment refresh.
    TimeUpdated string
    The time the refresh activity record was updated. An RFC3339 formatted datetime string.
    displayName String
    A filter to return only resources that match the entire display name given.
    fusionEnvironmentId String
    unique FusionEnvironment identifier
    id String
    The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
    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.
    refreshActivityId String
    refreshIssueDetailsLists List<GetFusionEnvironmentRefreshActivitiesRefreshActivityCollectionItemRefreshIssueDetailsList>
    Details of refresh investigation information, each item represents a different issue.
    serviceAvailability String
    Service availability / impact during refresh activity execution up down
    sourceFusionEnvironmentId String
    The OCID of the Fusion environment that is the source environment for the refresh.
    state String
    A filter that returns all resources that match the specified status
    timeAccepted String
    The time the refresh activity record was created. An RFC3339 formatted datetime string.
    timeExpectedFinish String
    The time the refresh activity is scheduled to end. An RFC3339 formatted datetime string.
    timeFinished String
    The time the refresh activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
    timeOfRestorationPoint String
    The date and time of the most recent source environment backup used for the environment refresh.
    timeUpdated String
    The time the refresh activity record was updated. An RFC3339 formatted datetime string.
    displayName string
    A filter to return only resources that match the entire display name given.
    fusionEnvironmentId string
    unique FusionEnvironment identifier
    id string
    The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
    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.
    refreshActivityId string
    refreshIssueDetailsLists GetFusionEnvironmentRefreshActivitiesRefreshActivityCollectionItemRefreshIssueDetailsList[]
    Details of refresh investigation information, each item represents a different issue.
    serviceAvailability string
    Service availability / impact during refresh activity execution up down
    sourceFusionEnvironmentId string
    The OCID of the Fusion environment that is the source environment for the refresh.
    state string
    A filter that returns all resources that match the specified status
    timeAccepted string
    The time the refresh activity record was created. An RFC3339 formatted datetime string.
    timeExpectedFinish string
    The time the refresh activity is scheduled to end. An RFC3339 formatted datetime string.
    timeFinished string
    The time the refresh activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
    timeOfRestorationPoint string
    The date and time of the most recent source environment backup used for the environment refresh.
    timeUpdated string
    The time the refresh activity record was updated. An RFC3339 formatted datetime string.
    display_name str
    A filter to return only resources that match the entire display name given.
    fusion_environment_id str
    unique FusionEnvironment identifier
    id str
    The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
    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.
    refresh_activity_id str
    refresh_issue_details_lists Sequence[functions.GetFusionEnvironmentRefreshActivitiesRefreshActivityCollectionItemRefreshIssueDetailsList]
    Details of refresh investigation information, each item represents a different issue.
    service_availability str
    Service availability / impact during refresh activity execution up down
    source_fusion_environment_id str
    The OCID of the Fusion environment that is the source environment for the refresh.
    state str
    A filter that returns all resources that match the specified status
    time_accepted str
    The time the refresh activity record was created. An RFC3339 formatted datetime string.
    time_expected_finish str
    The time the refresh activity is scheduled to end. An RFC3339 formatted datetime string.
    time_finished str
    The time the refresh activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
    time_of_restoration_point str
    The date and time of the most recent source environment backup used for the environment refresh.
    time_updated str
    The time the refresh activity record was updated. An RFC3339 formatted datetime string.
    displayName String
    A filter to return only resources that match the entire display name given.
    fusionEnvironmentId String
    unique FusionEnvironment identifier
    id String
    The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
    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.
    refreshActivityId String
    refreshIssueDetailsLists List<Property Map>
    Details of refresh investigation information, each item represents a different issue.
    serviceAvailability String
    Service availability / impact during refresh activity execution up down
    sourceFusionEnvironmentId String
    The OCID of the Fusion environment that is the source environment for the refresh.
    state String
    A filter that returns all resources that match the specified status
    timeAccepted String
    The time the refresh activity record was created. An RFC3339 formatted datetime string.
    timeExpectedFinish String
    The time the refresh activity is scheduled to end. An RFC3339 formatted datetime string.
    timeFinished String
    The time the refresh activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
    timeOfRestorationPoint String
    The date and time of the most recent source environment backup used for the environment refresh.
    timeUpdated String
    The time the refresh activity record was updated. An RFC3339 formatted datetime string.

    GetFusionEnvironmentRefreshActivitiesRefreshActivityCollectionItemRefreshIssueDetailsList

    RefreshIssues string
    Detail reasons of refresh failure or validation failure that needs to be shown to customer.
    RefreshIssues string
    Detail reasons of refresh failure or validation failure that needs to be shown to customer.
    refreshIssues String
    Detail reasons of refresh failure or validation failure that needs to be shown to customer.
    refreshIssues string
    Detail reasons of refresh failure or validation failure that needs to be shown to customer.
    refresh_issues str
    Detail reasons of refresh failure or validation failure that needs to be shown to customer.
    refreshIssues String
    Detail reasons of refresh failure or validation failure that needs to be shown to customer.

    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.41.0 published on Wednesday, Jun 19, 2024 by Pulumi