Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 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,
});
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"])
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
})
}
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,
});
});
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());
}
}
variables:
testFusionEnvironmentRefreshActivity:
fn::invoke:
Function: oci:Functions:getFusionEnvironmentRefreshActivity
Arguments:
fusionEnvironmentId: ${testFusionEnvironment.id}
refreshActivityId: ${testRefreshActivity.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:
- Fusion
Environment stringId - unique FusionEnvironment identifier
- Refresh
Activity stringId - The unique identifier (OCID) of the Refresh activity.
- Fusion
Environment stringId - unique FusionEnvironment identifier
- Refresh
Activity stringId - The unique identifier (OCID) of the Refresh activity.
- fusion
Environment StringId - unique FusionEnvironment identifier
- refresh
Activity StringId - The unique identifier (OCID) of the Refresh activity.
- fusion
Environment stringId - unique FusionEnvironment identifier
- refresh
Activity stringId - The unique identifier (OCID) of the Refresh activity.
- fusion_
environment_ strid - unique FusionEnvironment identifier
- refresh_
activity_ strid - The unique identifier (OCID) of the Refresh activity.
- fusion
Environment StringId - unique FusionEnvironment identifier
- refresh
Activity StringId - The unique identifier (OCID) of the Refresh activity.
getFusionEnvironmentRefreshActivity Result
The following output properties are available:
- Display
Name string - A friendly name for the refresh activity. Can be changed later.
- Fusion
Environment stringId - Id string
- The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
- 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<GetDetails Lists Fusion 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 Fusion environment that is the source environment for the refresh.
- 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 - Id string
- The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
- 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 []GetDetails Lists Fusion 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 Fusion environment that is the source environment for the refresh.
- 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 - id String
- The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
- 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<GetDetails Lists Fusion 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 Fusion environment that is the source environment for the refresh.
- 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 - id string
- The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
- 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 GetDetails Lists Fusion 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 Fusion environment that is the source environment for the refresh.
- 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 - 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_ strid - refresh_
issue_ Sequence[functions.details_ lists Get Fusion 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
- source_
fusion_ strenvironment_ id - 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_ 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 - id String
- The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
- 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 Fusion environment that is the source environment for the refresh.
- 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
GetFusionEnvironmentRefreshActivityRefreshIssueDetailsList
- 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.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.