Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

FusionEnvironmentRefreshActivity

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

Creates a new RefreshActivity.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testFusionEnvironmentRefreshActivity = new Oci.FusionApps.FusionEnvironmentRefreshActivity("testFusionEnvironmentRefreshActivity", new()
    {
        FusionEnvironmentId = oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
        SourceFusionEnvironmentId = oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
    });

});
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.NewFusionEnvironmentRefreshActivity(ctx, "testFusionEnvironmentRefreshActivity", &FusionApps.FusionEnvironmentRefreshActivityArgs{
			FusionEnvironmentId:       pulumi.Any(oci_fusion_apps_fusion_environment.Test_fusion_environment.Id),
			SourceFusionEnvironmentId: pulumi.Any(oci_fusion_apps_fusion_environment.Test_fusion_environment.Id),
		})
		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.FusionApps.FusionEnvironmentRefreshActivity;
import com.pulumi.oci.FusionApps.FusionEnvironmentRefreshActivityArgs;
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 testFusionEnvironmentRefreshActivity = new FusionEnvironmentRefreshActivity("testFusionEnvironmentRefreshActivity", FusionEnvironmentRefreshActivityArgs.builder()        
            .fusionEnvironmentId(oci_fusion_apps_fusion_environment.test_fusion_environment().id())
            .sourceFusionEnvironmentId(oci_fusion_apps_fusion_environment.test_fusion_environment().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_fusion_environment_refresh_activity = oci.fusion_apps.FusionEnvironmentRefreshActivity("testFusionEnvironmentRefreshActivity",
    fusion_environment_id=oci_fusion_apps_fusion_environment["test_fusion_environment"]["id"],
    source_fusion_environment_id=oci_fusion_apps_fusion_environment["test_fusion_environment"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testFusionEnvironmentRefreshActivity = new oci.fusionapps.FusionEnvironmentRefreshActivity("testFusionEnvironmentRefreshActivity", {
    fusionEnvironmentId: oci_fusion_apps_fusion_environment.test_fusion_environment.id,
    sourceFusionEnvironmentId: oci_fusion_apps_fusion_environment.test_fusion_environment.id,
});
resources:
  testFusionEnvironmentRefreshActivity:
    type: oci:FusionApps:FusionEnvironmentRefreshActivity
    properties:
      #Required
      fusionEnvironmentId: ${oci_fusion_apps_fusion_environment.test_fusion_environment.id}
      sourceFusionEnvironmentId: ${oci_fusion_apps_fusion_environment.test_fusion_environment.id}

Create a FusionEnvironmentRefreshActivity Resource

new FusionEnvironmentRefreshActivity(name: string, args: FusionEnvironmentRefreshActivityArgs, opts?: CustomResourceOptions);
@overload
def FusionEnvironmentRefreshActivity(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     fusion_environment_id: Optional[str] = None,
                                     source_fusion_environment_id: Optional[str] = None)
@overload
def FusionEnvironmentRefreshActivity(resource_name: str,
                                     args: FusionEnvironmentRefreshActivityArgs,
                                     opts: Optional[ResourceOptions] = None)
func NewFusionEnvironmentRefreshActivity(ctx *Context, name string, args FusionEnvironmentRefreshActivityArgs, opts ...ResourceOption) (*FusionEnvironmentRefreshActivity, error)
public FusionEnvironmentRefreshActivity(string name, FusionEnvironmentRefreshActivityArgs args, CustomResourceOptions? opts = null)
public FusionEnvironmentRefreshActivity(String name, FusionEnvironmentRefreshActivityArgs args)
public FusionEnvironmentRefreshActivity(String name, FusionEnvironmentRefreshActivityArgs args, CustomResourceOptions options)
type: oci:FusionApps:FusionEnvironmentRefreshActivity
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args FusionEnvironmentRefreshActivityArgs
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 FusionEnvironmentRefreshActivityArgs
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 FusionEnvironmentRefreshActivityArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FusionEnvironmentRefreshActivityArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FusionEnvironmentRefreshActivityArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

FusionEnvironmentId string

unique FusionEnvironment identifier

SourceFusionEnvironmentId string

The OCID of the source environment

FusionEnvironmentId string

unique FusionEnvironment identifier

SourceFusionEnvironmentId string

The OCID of the source environment

fusionEnvironmentId String

unique FusionEnvironment identifier

sourceFusionEnvironmentId String

The OCID of the source environment

fusionEnvironmentId string

unique FusionEnvironment identifier

sourceFusionEnvironmentId string

The OCID of the source environment

fusion_environment_id str

unique FusionEnvironment identifier

source_fusion_environment_id str

The OCID of the source environment

fusionEnvironmentId String

unique FusionEnvironment identifier

sourceFusionEnvironmentId String

The OCID of the source environment

Outputs

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

DisplayName string

A friendly name for the refresh activity. Can be changed later.

Id string

The provider-assigned unique ID for this managed resource.

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.

ServiceAvailability string

Service availability / impact during refresh activity execution up down

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.

TimeScheduledStart string

The time the refresh activity is scheduled to start. An RFC3339 formatted datetime string.

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.

Id string

The provider-assigned unique ID for this managed resource.

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.

ServiceAvailability string

Service availability / impact during refresh activity execution up down

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.

TimeScheduledStart string

The time the refresh activity is scheduled to start. An RFC3339 formatted datetime string.

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.

id String

The provider-assigned unique ID for this managed resource.

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.

serviceAvailability String

Service availability / impact during refresh activity execution up down

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.

timeScheduledStart String

The time the refresh activity is scheduled to start. An RFC3339 formatted datetime string.

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.

id string

The provider-assigned unique ID for this managed resource.

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.

serviceAvailability string

Service availability / impact during refresh activity execution up down

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.

timeScheduledStart string

The time the refresh activity is scheduled to start. An RFC3339 formatted datetime string.

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.

id str

The provider-assigned unique ID for this managed resource.

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.

service_availability str

Service availability / impact during refresh activity execution up down

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_scheduled_start str

The time the refresh activity is scheduled to start. An RFC3339 formatted datetime string.

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.

id String

The provider-assigned unique ID for this managed resource.

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.

serviceAvailability String

Service availability / impact during refresh activity execution up down

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.

timeScheduledStart String

The time the refresh activity is scheduled to start. An RFC3339 formatted datetime string.

timeUpdated String

The time the refresh activity record was updated. An RFC3339 formatted datetime string.

Look up an Existing FusionEnvironmentRefreshActivity Resource

Get an existing FusionEnvironmentRefreshActivity 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?: FusionEnvironmentRefreshActivityState, opts?: CustomResourceOptions): FusionEnvironmentRefreshActivity
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        display_name: Optional[str] = None,
        fusion_environment_id: Optional[str] = None,
        lifecycle_details: Optional[str] = None,
        service_availability: Optional[str] = None,
        source_fusion_environment_id: Optional[str] = None,
        state: Optional[str] = None,
        time_accepted: Optional[str] = None,
        time_expected_finish: Optional[str] = None,
        time_finished: Optional[str] = None,
        time_of_restoration_point: Optional[str] = None,
        time_scheduled_start: Optional[str] = None,
        time_updated: Optional[str] = None) -> FusionEnvironmentRefreshActivity
func GetFusionEnvironmentRefreshActivity(ctx *Context, name string, id IDInput, state *FusionEnvironmentRefreshActivityState, opts ...ResourceOption) (*FusionEnvironmentRefreshActivity, error)
public static FusionEnvironmentRefreshActivity Get(string name, Input<string> id, FusionEnvironmentRefreshActivityState? state, CustomResourceOptions? opts = null)
public static FusionEnvironmentRefreshActivity get(String name, Output<String> id, FusionEnvironmentRefreshActivityState 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:
DisplayName string

A friendly name for the refresh activity. Can be changed later.

FusionEnvironmentId string

unique FusionEnvironment identifier

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.

ServiceAvailability string

Service availability / impact during refresh activity execution up down

SourceFusionEnvironmentId string

The OCID of the source environment

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.

TimeScheduledStart string

The time the refresh activity is scheduled to start. An RFC3339 formatted datetime string.

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

unique FusionEnvironment identifier

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.

ServiceAvailability string

Service availability / impact during refresh activity execution up down

SourceFusionEnvironmentId string

The OCID of the source environment

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.

TimeScheduledStart string

The time the refresh activity is scheduled to start. An RFC3339 formatted datetime string.

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

unique FusionEnvironment identifier

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.

serviceAvailability String

Service availability / impact during refresh activity execution up down

sourceFusionEnvironmentId String

The OCID of the source environment

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.

timeScheduledStart String

The time the refresh activity is scheduled to start. An RFC3339 formatted datetime string.

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

unique FusionEnvironment identifier

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.

serviceAvailability string

Service availability / impact during refresh activity execution up down

sourceFusionEnvironmentId string

The OCID of the source environment

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.

timeScheduledStart string

The time the refresh activity is scheduled to start. An RFC3339 formatted datetime string.

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

unique FusionEnvironment identifier

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.

service_availability str

Service availability / impact during refresh activity execution up down

source_fusion_environment_id str

The OCID of the source environment

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_scheduled_start str

The time the refresh activity is scheduled to start. An RFC3339 formatted datetime string.

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

unique FusionEnvironment identifier

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.

serviceAvailability String

Service availability / impact during refresh activity execution up down

sourceFusionEnvironmentId String

The OCID of the source environment

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.

timeScheduledStart String

The time the refresh activity is scheduled to start. An RFC3339 formatted datetime string.

timeUpdated String

The time the refresh activity record was updated. An RFC3339 formatted datetime string.

Import

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

 $ pulumi import oci:FusionApps/fusionEnvironmentRefreshActivity:FusionEnvironmentRefreshActivity test_fusion_environment_refresh_activity "fusionEnvironments/{fusionEnvironmentId}/refreshActivities/{refreshActivityId}"

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.