oci.FusionApps.FusionEnvironmentRefreshActivity
Explore with Pulumi AI
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 System.Linq;
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 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:
- Fusion
Environment stringId unique FusionEnvironment identifier
- Source
Fusion stringEnvironment Id The OCID of the source environment
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Fusion
Environment stringId unique FusionEnvironment identifier
- Source
Fusion stringEnvironment Id The OCID of the source environment
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- fusion
Environment StringId unique FusionEnvironment identifier
- source
Fusion StringEnvironment Id The OCID of the source environment
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- fusion
Environment stringId unique FusionEnvironment identifier
- source
Fusion stringEnvironment Id The OCID of the source environment
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- fusion_
environment_ strid unique FusionEnvironment identifier
- source_
fusion_ strenvironment_ id The OCID of the source environment
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- fusion
Environment StringId unique FusionEnvironment identifier
- source
Fusion StringEnvironment Id The OCID of the source environment
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Outputs
All input properties are implicitly available as output properties. Additionally, the FusionEnvironmentRefreshActivity resource produces the following output properties:
- Display
Name string A friendly name for the refresh activity. Can be changed later.
- Id string
The provider-assigned unique ID for this managed resource.
- 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.
- Refresh
Activity stringId - Refresh
Issue List<FusionDetails Lists Environment Refresh Activity Refresh Issue Details List> Details of refresh investigation information, each item represents a different issue.
- Service
Availability string Service availability / impact during refresh activity execution up down
- State string
The current state of the refreshActivity.
- Time
Accepted string The time the refresh activity record was created. An RFC3339 formatted datetime string.
- Time
Expected stringFinish The time the refresh activity is scheduled to end. An RFC3339 formatted datetime string.
- Time
Finished string The time the refresh activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
- Time
Of stringRestoration Point The date and time of the most recent source environment backup used for the environment refresh.
- Time
Updated string The time the refresh activity record was updated. An RFC3339 formatted datetime string.
- Display
Name string A friendly name for the refresh activity. Can be changed later.
- Id string
The provider-assigned unique ID for this managed resource.
- 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.
- Refresh
Activity stringId - Refresh
Issue []FusionDetails Lists Environment Refresh Activity Refresh Issue Details List Details of refresh investigation information, each item represents a different issue.
- Service
Availability string Service availability / impact during refresh activity execution up down
- State string
The current state of the refreshActivity.
- Time
Accepted string The time the refresh activity record was created. An RFC3339 formatted datetime string.
- Time
Expected stringFinish The time the refresh activity is scheduled to end. An RFC3339 formatted datetime string.
- Time
Finished string The time the refresh activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
- Time
Of stringRestoration Point The date and time of the most recent source environment backup used for the environment refresh.
- Time
Updated string The time the refresh activity record was updated. An RFC3339 formatted datetime string.
- display
Name String A friendly name for the refresh activity. Can be changed later.
- id String
The provider-assigned unique ID for this managed resource.
- 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.
- refresh
Activity StringId - refresh
Issue List<FusionDetails Lists Environment Refresh Activity Refresh Issue Details List> Details of refresh investigation information, each item represents a different issue.
- service
Availability String Service availability / impact during refresh activity execution up down
- state String
The current state of the refreshActivity.
- time
Accepted String The time the refresh activity record was created. An RFC3339 formatted datetime string.
- time
Expected StringFinish The time the refresh activity is scheduled to end. An RFC3339 formatted datetime string.
- time
Finished String The time the refresh activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
- time
Of StringRestoration Point The date and time of the most recent source environment backup used for the environment refresh.
- time
Updated String The time the refresh activity record was updated. An RFC3339 formatted datetime string.
- display
Name string A friendly name for the refresh activity. Can be changed later.
- id string
The provider-assigned unique ID for this managed resource.
- 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.
- refresh
Activity stringId - refresh
Issue FusionDetails Lists Environment Refresh Activity Refresh Issue Details List[] Details of refresh investigation information, each item represents a different issue.
- service
Availability string Service availability / impact during refresh activity execution up down
- state string
The current state of the refreshActivity.
- time
Accepted string The time the refresh activity record was created. An RFC3339 formatted datetime string.
- time
Expected stringFinish The time the refresh activity is scheduled to end. An RFC3339 formatted datetime string.
- time
Finished string The time the refresh activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
- time
Of stringRestoration Point The date and time of the most recent source environment backup used for the environment refresh.
- time
Updated 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.
- refresh_
activity_ strid - refresh_
issue_ Fusiondetails_ lists Environment Refresh Activity Refresh Issue Details List] Details of refresh investigation information, each item represents a different issue.
- 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_ strfinish 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_ strrestoration_ point 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.
- display
Name String A friendly name for the refresh activity. Can be changed later.
- id String
The provider-assigned unique ID for this managed resource.
- 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.
- refresh
Activity StringId - refresh
Issue List<Property Map>Details Lists Details of refresh investigation information, each item represents a different issue.
- service
Availability String Service availability / impact during refresh activity execution up down
- state String
The current state of the refreshActivity.
- time
Accepted String The time the refresh activity record was created. An RFC3339 formatted datetime string.
- time
Expected StringFinish The time the refresh activity is scheduled to end. An RFC3339 formatted datetime string.
- time
Finished String The time the refresh activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
- time
Of StringRestoration Point The date and time of the most recent source environment backup used for the environment refresh.
- time
Updated String The time the refresh activity record was updated. An RFC3339 formatted datetime string.
Look up 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,
refresh_activity_id: Optional[str] = None,
refresh_issue_details_lists: Optional[Sequence[_fusionapps.FusionEnvironmentRefreshActivityRefreshIssueDetailsListArgs]] = 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_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.
- Display
Name string A friendly name for the refresh activity. Can be changed later.
- Fusion
Environment stringId unique FusionEnvironment identifier
- 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.
- Refresh
Activity stringId - Refresh
Issue List<FusionDetails Lists Environment Refresh Activity Refresh Issue Details List> Details of refresh investigation information, each item represents a different issue.
- Service
Availability string Service availability / impact during refresh activity execution up down
- Source
Fusion stringEnvironment Id The OCID of the source environment
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- State string
The current state of the refreshActivity.
- Time
Accepted string The time the refresh activity record was created. An RFC3339 formatted datetime string.
- Time
Expected stringFinish The time the refresh activity is scheduled to end. An RFC3339 formatted datetime string.
- Time
Finished string The time the refresh activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
- Time
Of stringRestoration Point The date and time of the most recent source environment backup used for the environment refresh.
- Time
Updated string The time the refresh activity record was updated. An RFC3339 formatted datetime string.
- Display
Name string A friendly name for the refresh activity. Can be changed later.
- Fusion
Environment stringId unique FusionEnvironment identifier
- 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.
- Refresh
Activity stringId - Refresh
Issue []FusionDetails Lists Environment Refresh Activity Refresh Issue Details List Args Details of refresh investigation information, each item represents a different issue.
- Service
Availability string Service availability / impact during refresh activity execution up down
- Source
Fusion stringEnvironment Id The OCID of the source environment
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- State string
The current state of the refreshActivity.
- Time
Accepted string The time the refresh activity record was created. An RFC3339 formatted datetime string.
- Time
Expected stringFinish The time the refresh activity is scheduled to end. An RFC3339 formatted datetime string.
- Time
Finished string The time the refresh activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
- Time
Of stringRestoration Point The date and time of the most recent source environment backup used for the environment refresh.
- Time
Updated string The time the refresh activity record was updated. An RFC3339 formatted datetime string.
- display
Name String A friendly name for the refresh activity. Can be changed later.
- fusion
Environment StringId unique FusionEnvironment identifier
- 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.
- refresh
Activity StringId - refresh
Issue List<FusionDetails Lists Environment Refresh Activity Refresh Issue Details List> Details of refresh investigation information, each item represents a different issue.
- service
Availability String Service availability / impact during refresh activity execution up down
- source
Fusion StringEnvironment Id The OCID of the source environment
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- state String
The current state of the refreshActivity.
- time
Accepted String The time the refresh activity record was created. An RFC3339 formatted datetime string.
- time
Expected StringFinish The time the refresh activity is scheduled to end. An RFC3339 formatted datetime string.
- time
Finished String The time the refresh activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
- time
Of StringRestoration Point The date and time of the most recent source environment backup used for the environment refresh.
- time
Updated String The time the refresh activity record was updated. An RFC3339 formatted datetime string.
- display
Name string A friendly name for the refresh activity. Can be changed later.
- fusion
Environment stringId unique FusionEnvironment identifier
- 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.
- refresh
Activity stringId - refresh
Issue FusionDetails Lists Environment Refresh Activity Refresh Issue Details List[] Details of refresh investigation information, each item represents a different issue.
- service
Availability string Service availability / impact during refresh activity execution up down
- source
Fusion stringEnvironment Id The OCID of the source environment
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- state string
The current state of the refreshActivity.
- time
Accepted string The time the refresh activity record was created. An RFC3339 formatted datetime string.
- time
Expected stringFinish The time the refresh activity is scheduled to end. An RFC3339 formatted datetime string.
- time
Finished string The time the refresh activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
- time
Of stringRestoration Point The date and time of the most recent source environment backup used for the environment refresh.
- time
Updated 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_ strid 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.
- refresh_
activity_ strid - refresh_
issue_ Fusiondetails_ lists Environment Refresh Activity Refresh Issue Details List Args] 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_ strenvironment_ id The OCID of the source environment
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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_ strfinish 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_ strrestoration_ point 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.
- display
Name String A friendly name for the refresh activity. Can be changed later.
- fusion
Environment StringId unique FusionEnvironment identifier
- 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.
- refresh
Activity StringId - refresh
Issue List<Property Map>Details Lists Details of refresh investigation information, each item represents a different issue.
- service
Availability String Service availability / impact during refresh activity execution up down
- source
Fusion StringEnvironment Id The OCID of the source environment
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- state String
The current state of the refreshActivity.
- time
Accepted String The time the refresh activity record was created. An RFC3339 formatted datetime string.
- time
Expected StringFinish The time the refresh activity is scheduled to end. An RFC3339 formatted datetime string.
- time
Finished String The time the refresh activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
- time
Of StringRestoration Point The date and time of the most recent source environment backup used for the environment refresh.
- time
Updated String The time the refresh activity record was updated. An RFC3339 formatted datetime string.
Supporting Types
FusionEnvironmentRefreshActivityRefreshIssueDetailsList, FusionEnvironmentRefreshActivityRefreshIssueDetailsListArgs
- Refresh
Issues string Detail reasons of refresh failure or validation failure that needs to be shown to customer.
- Refresh
Issues string Detail reasons of refresh failure or validation failure that needs to be shown to customer.
- refresh
Issues String Detail reasons of refresh failure or validation failure that needs to be shown to customer.
- refresh
Issues 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.
- refresh
Issues String Detail reasons of refresh failure or validation failure that needs to be shown to customer.
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
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.