1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Functions
  5. getFusionEnvironmentRefreshActivity
Oracle Cloud Infrastructure v1.24.0 published on Thursday, Feb 22, 2024 by Pulumi

oci.Functions.getFusionEnvironmentRefreshActivity

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.24.0 published on Thursday, Feb 22, 2024 by Pulumi

    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

    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 = oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
            RefreshActivityId = oci_fusion_apps_refresh_activity.Test_refresh_activity.Id,
        });
    
    });
    
    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.GetFusionEnvironmentRefreshActivity(ctx, &functions.GetFusionEnvironmentRefreshActivityArgs{
    			FusionEnvironmentId: oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
    			RefreshActivityId:   oci_fusion_apps_refresh_activity.Test_refresh_activity.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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(oci_fusion_apps_fusion_environment.test_fusion_environment().id())
                .refreshActivityId(oci_fusion_apps_refresh_activity.test_refresh_activity().id())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_oci as oci
    
    test_fusion_environment_refresh_activity = oci.Functions.get_fusion_environment_refresh_activity(fusion_environment_id=oci_fusion_apps_fusion_environment["test_fusion_environment"]["id"],
        refresh_activity_id=oci_fusion_apps_refresh_activity["test_refresh_activity"]["id"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testFusionEnvironmentRefreshActivity = oci.Functions.getFusionEnvironmentRefreshActivity({
        fusionEnvironmentId: oci_fusion_apps_fusion_environment.test_fusion_environment.id,
        refreshActivityId: oci_fusion_apps_refresh_activity.test_refresh_activity.id,
    });
    
    variables:
      testFusionEnvironmentRefreshActivity:
        fn::invoke:
          Function: oci:Functions:getFusionEnvironmentRefreshActivity
          Arguments:
            fusionEnvironmentId: ${oci_fusion_apps_fusion_environment.test_fusion_environment.id}
            refreshActivityId: ${oci_fusion_apps_refresh_activity.test_refresh_activity.id}
    

    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>
    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]
    func GetFusionEnvironmentRefreshActivity(ctx *Context, args *GetFusionEnvironmentRefreshActivityArgs, opts ...InvokeOption) (*GetFusionEnvironmentRefreshActivityResult, error)
    func GetFusionEnvironmentRefreshActivityOutput(ctx *Context, args *GetFusionEnvironmentRefreshActivityOutputArgs, opts ...InvokeOption) GetFusionEnvironmentRefreshActivityResultOutput

    > 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)
    }
    public static CompletableFuture<GetFusionEnvironmentRefreshActivityResult> getFusionEnvironmentRefreshActivity(GetFusionEnvironmentRefreshActivityArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Functions/getFusionEnvironmentRefreshActivity:getFusionEnvironmentRefreshActivity
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FusionEnvironmentId string
    unique FusionEnvironment identifier
    RefreshActivityId string
    The unique identifier (OCID) of the Refresh activity.
    FusionEnvironmentId string
    unique FusionEnvironment identifier
    RefreshActivityId string
    The unique identifier (OCID) of the Refresh activity.
    fusionEnvironmentId String
    unique FusionEnvironment identifier
    refreshActivityId String
    The unique identifier (OCID) of the Refresh activity.
    fusionEnvironmentId string
    unique FusionEnvironment identifier
    refreshActivityId string
    The unique identifier (OCID) of the Refresh activity.
    fusion_environment_id str
    unique FusionEnvironment identifier
    refresh_activity_id str
    The unique identifier (OCID) of the Refresh activity.
    fusionEnvironmentId String
    unique FusionEnvironment identifier
    refreshActivityId 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.
    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.
    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.
    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.
    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.
    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 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.
    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 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.24.0 published on Thursday, Feb 22, 2024 by Pulumi