1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Functions
  5. getFusionEnvironmentRefreshActivity
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.Functions.getFusionEnvironmentRefreshActivity

Explore with Pulumi AI

This data source provides details about a specific Fusion Environment Refresh Activity resource in Oracle Cloud Infrastructure Fusion Apps service.

Gets a RefreshActivity by identifier

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testFusionEnvironmentRefreshActivity = oci.Functions.getFusionEnvironmentRefreshActivity({
    fusionEnvironmentId: testFusionEnvironment.id,
    refreshActivityId: testRefreshActivity.id,
});
Copy
import pulumi
import pulumi_oci as oci

test_fusion_environment_refresh_activity = oci.Functions.get_fusion_environment_refresh_activity(fusion_environment_id=test_fusion_environment["id"],
    refresh_activity_id=test_refresh_activity["id"])
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/functions"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := functions.GetFusionEnvironmentRefreshActivity(ctx, &functions.GetFusionEnvironmentRefreshActivityArgs{
			FusionEnvironmentId: testFusionEnvironment.Id,
			RefreshActivityId:   testRefreshActivity.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testFusionEnvironmentRefreshActivity = Oci.Functions.GetFusionEnvironmentRefreshActivity.Invoke(new()
    {
        FusionEnvironmentId = testFusionEnvironment.Id,
        RefreshActivityId = testRefreshActivity.Id,
    });

});
Copy
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.GetFusionEnvironmentRefreshActivityArgs;
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 testFusionEnvironmentRefreshActivity = FunctionsFunctions.getFusionEnvironmentRefreshActivity(GetFusionEnvironmentRefreshActivityArgs.builder()
            .fusionEnvironmentId(testFusionEnvironment.id())
            .refreshActivityId(testRefreshActivity.id())
            .build());

    }
}
Copy
variables:
  testFusionEnvironmentRefreshActivity:
    fn::invoke:
      function: oci:Functions:getFusionEnvironmentRefreshActivity
      arguments:
        fusionEnvironmentId: ${testFusionEnvironment.id}
        refreshActivityId: ${testRefreshActivity.id}
Copy

Using getFusionEnvironmentRefreshActivity

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 getFusionEnvironmentRefreshActivity(args: GetFusionEnvironmentRefreshActivityArgs, opts?: InvokeOptions): Promise<GetFusionEnvironmentRefreshActivityResult>
function getFusionEnvironmentRefreshActivityOutput(args: GetFusionEnvironmentRefreshActivityOutputArgs, opts?: InvokeOptions): Output<GetFusionEnvironmentRefreshActivityResult>
Copy
def get_fusion_environment_refresh_activity(fusion_environment_id: Optional[str] = None,
                                            refresh_activity_id: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetFusionEnvironmentRefreshActivityResult
def get_fusion_environment_refresh_activity_output(fusion_environment_id: Optional[pulumi.Input[str]] = None,
                                            refresh_activity_id: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetFusionEnvironmentRefreshActivityResult]
Copy
func GetFusionEnvironmentRefreshActivity(ctx *Context, args *GetFusionEnvironmentRefreshActivityArgs, opts ...InvokeOption) (*GetFusionEnvironmentRefreshActivityResult, error)
func GetFusionEnvironmentRefreshActivityOutput(ctx *Context, args *GetFusionEnvironmentRefreshActivityOutputArgs, opts ...InvokeOption) GetFusionEnvironmentRefreshActivityResultOutput
Copy

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

public static class GetFusionEnvironmentRefreshActivity 
{
    public static Task<GetFusionEnvironmentRefreshActivityResult> InvokeAsync(GetFusionEnvironmentRefreshActivityArgs args, InvokeOptions? opts = null)
    public static Output<GetFusionEnvironmentRefreshActivityResult> Invoke(GetFusionEnvironmentRefreshActivityInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetFusionEnvironmentRefreshActivityResult> getFusionEnvironmentRefreshActivity(GetFusionEnvironmentRefreshActivityArgs args, InvokeOptions options)
public static Output<GetFusionEnvironmentRefreshActivityResult> getFusionEnvironmentRefreshActivity(GetFusionEnvironmentRefreshActivityArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Functions/getFusionEnvironmentRefreshActivity:getFusionEnvironmentRefreshActivity
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

FusionEnvironmentId This property is required. string
unique FusionEnvironment identifier
RefreshActivityId This property is required. string
The unique identifier (OCID) of the Refresh activity.
FusionEnvironmentId This property is required. string
unique FusionEnvironment identifier
RefreshActivityId This property is required. string
The unique identifier (OCID) of the Refresh activity.
fusionEnvironmentId This property is required. String
unique FusionEnvironment identifier
refreshActivityId This property is required. String
The unique identifier (OCID) of the Refresh activity.
fusionEnvironmentId This property is required. string
unique FusionEnvironment identifier
refreshActivityId This property is required. string
The unique identifier (OCID) of the Refresh activity.
fusion_environment_id This property is required. str
unique FusionEnvironment identifier
refresh_activity_id This property is required. str
The unique identifier (OCID) of the Refresh activity.
fusionEnvironmentId This property is required. String
unique FusionEnvironment identifier
refreshActivityId This property is required. String
The unique identifier (OCID) of the Refresh activity.

getFusionEnvironmentRefreshActivity Result

The following output properties are available:

DisplayName string
A friendly name for the refresh activity. Can be changed later.
FusionEnvironmentId string
Id string
The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
IsDataMaskingOpted bool
Represents if the customer opted for Data Masking or not during refreshActivity.
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<GetFusionEnvironmentRefreshActivityRefreshIssueDetailsList>
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
The current state of the refreshActivity.
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 friendly name for the refresh activity. Can be changed later.
FusionEnvironmentId string
Id string
The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
IsDataMaskingOpted bool
Represents if the customer opted for Data Masking or not during refreshActivity.
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 []GetFusionEnvironmentRefreshActivityRefreshIssueDetailsList
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
The current state of the refreshActivity.
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 friendly name for the refresh activity. Can be changed later.
fusionEnvironmentId String
id String
The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
isDataMaskingOpted Boolean
Represents if the customer opted for Data Masking or not during refreshActivity.
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<GetFusionEnvironmentRefreshActivityRefreshIssueDetailsList>
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
The current state of the refreshActivity.
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 friendly name for the refresh activity. Can be changed later.
fusionEnvironmentId string
id string
The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
isDataMaskingOpted boolean
Represents if the customer opted for Data Masking or not during refreshActivity.
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 GetFusionEnvironmentRefreshActivityRefreshIssueDetailsList[]
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
The current state of the refreshActivity.
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 friendly name for the refresh activity. Can be changed later.
fusion_environment_id str
id str
The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
is_data_masking_opted bool
Represents if the customer opted for Data Masking or not during refreshActivity.
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.GetFusionEnvironmentRefreshActivityRefreshIssueDetailsList]
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
The current state of the refreshActivity.
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 friendly name for the refresh activity. Can be changed later.
fusionEnvironmentId String
id String
The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
isDataMaskingOpted Boolean
Represents if the customer opted for Data Masking or not during refreshActivity.
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
The current state of the refreshActivity.
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.

Supporting Types

GetFusionEnvironmentRefreshActivityRefreshIssueDetailsList

RefreshIssues This property is required. string
Detail reasons of refresh failure or validation failure that needs to be shown to customer.
RefreshIssues This property is required. string
Detail reasons of refresh failure or validation failure that needs to be shown to customer.
refreshIssues This property is required. String
Detail reasons of refresh failure or validation failure that needs to be shown to customer.
refreshIssues This property is required. string
Detail reasons of refresh failure or validation failure that needs to be shown to customer.
refresh_issues This property is required. str
Detail reasons of refresh failure or validation failure that needs to be shown to customer.
refreshIssues This property is required. 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.