Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Functions.getFusionEnvironmentRefreshActivities
Explore with Pulumi AI
This data source provides the list of Fusion Environment Refresh Activities in Oracle Cloud Infrastructure Fusion Apps service.
Returns a list of RefreshActivities.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFusionEnvironmentRefreshActivities = oci.Functions.getFusionEnvironmentRefreshActivities({
fusionEnvironmentId: testFusionEnvironment.id,
displayName: fusionEnvironmentRefreshActivityDisplayName,
state: fusionEnvironmentRefreshActivityState,
timeExpectedFinishLessThanOrEqualTo: fusionEnvironmentRefreshActivityTimeExpectedFinishLessThanOrEqualTo,
timeScheduledStartGreaterThanOrEqualTo: fusionEnvironmentRefreshActivityTimeScheduledStartGreaterThanOrEqualTo,
});
import pulumi
import pulumi_oci as oci
test_fusion_environment_refresh_activities = oci.Functions.get_fusion_environment_refresh_activities(fusion_environment_id=test_fusion_environment["id"],
display_name=fusion_environment_refresh_activity_display_name,
state=fusion_environment_refresh_activity_state,
time_expected_finish_less_than_or_equal_to=fusion_environment_refresh_activity_time_expected_finish_less_than_or_equal_to,
time_scheduled_start_greater_than_or_equal_to=fusion_environment_refresh_activity_time_scheduled_start_greater_than_or_equal_to)
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.GetFusionEnvironmentRefreshActivities(ctx, &functions.GetFusionEnvironmentRefreshActivitiesArgs{
FusionEnvironmentId: testFusionEnvironment.Id,
DisplayName: pulumi.StringRef(fusionEnvironmentRefreshActivityDisplayName),
State: pulumi.StringRef(fusionEnvironmentRefreshActivityState),
TimeExpectedFinishLessThanOrEqualTo: pulumi.StringRef(fusionEnvironmentRefreshActivityTimeExpectedFinishLessThanOrEqualTo),
TimeScheduledStartGreaterThanOrEqualTo: pulumi.StringRef(fusionEnvironmentRefreshActivityTimeScheduledStartGreaterThanOrEqualTo),
}, 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 testFusionEnvironmentRefreshActivities = Oci.Functions.GetFusionEnvironmentRefreshActivities.Invoke(new()
{
FusionEnvironmentId = testFusionEnvironment.Id,
DisplayName = fusionEnvironmentRefreshActivityDisplayName,
State = fusionEnvironmentRefreshActivityState,
TimeExpectedFinishLessThanOrEqualTo = fusionEnvironmentRefreshActivityTimeExpectedFinishLessThanOrEqualTo,
TimeScheduledStartGreaterThanOrEqualTo = fusionEnvironmentRefreshActivityTimeScheduledStartGreaterThanOrEqualTo,
});
});
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.GetFusionEnvironmentRefreshActivitiesArgs;
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 testFusionEnvironmentRefreshActivities = FunctionsFunctions.getFusionEnvironmentRefreshActivities(GetFusionEnvironmentRefreshActivitiesArgs.builder()
.fusionEnvironmentId(testFusionEnvironment.id())
.displayName(fusionEnvironmentRefreshActivityDisplayName)
.state(fusionEnvironmentRefreshActivityState)
.timeExpectedFinishLessThanOrEqualTo(fusionEnvironmentRefreshActivityTimeExpectedFinishLessThanOrEqualTo)
.timeScheduledStartGreaterThanOrEqualTo(fusionEnvironmentRefreshActivityTimeScheduledStartGreaterThanOrEqualTo)
.build());
}
}
variables:
testFusionEnvironmentRefreshActivities:
fn::invoke:
Function: oci:Functions:getFusionEnvironmentRefreshActivities
Arguments:
fusionEnvironmentId: ${testFusionEnvironment.id}
displayName: ${fusionEnvironmentRefreshActivityDisplayName}
state: ${fusionEnvironmentRefreshActivityState}
timeExpectedFinishLessThanOrEqualTo: ${fusionEnvironmentRefreshActivityTimeExpectedFinishLessThanOrEqualTo}
timeScheduledStartGreaterThanOrEqualTo: ${fusionEnvironmentRefreshActivityTimeScheduledStartGreaterThanOrEqualTo}
Using getFusionEnvironmentRefreshActivities
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 getFusionEnvironmentRefreshActivities(args: GetFusionEnvironmentRefreshActivitiesArgs, opts?: InvokeOptions): Promise<GetFusionEnvironmentRefreshActivitiesResult>
function getFusionEnvironmentRefreshActivitiesOutput(args: GetFusionEnvironmentRefreshActivitiesOutputArgs, opts?: InvokeOptions): Output<GetFusionEnvironmentRefreshActivitiesResult>
def get_fusion_environment_refresh_activities(display_name: Optional[str] = None,
filters: Optional[Sequence[_functions.GetFusionEnvironmentRefreshActivitiesFilter]] = None,
fusion_environment_id: Optional[str] = None,
state: Optional[str] = None,
time_expected_finish_less_than_or_equal_to: Optional[str] = None,
time_scheduled_start_greater_than_or_equal_to: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFusionEnvironmentRefreshActivitiesResult
def get_fusion_environment_refresh_activities_output(display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_functions.GetFusionEnvironmentRefreshActivitiesFilterArgs]]]] = None,
fusion_environment_id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
time_expected_finish_less_than_or_equal_to: Optional[pulumi.Input[str]] = None,
time_scheduled_start_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFusionEnvironmentRefreshActivitiesResult]
func GetFusionEnvironmentRefreshActivities(ctx *Context, args *GetFusionEnvironmentRefreshActivitiesArgs, opts ...InvokeOption) (*GetFusionEnvironmentRefreshActivitiesResult, error)
func GetFusionEnvironmentRefreshActivitiesOutput(ctx *Context, args *GetFusionEnvironmentRefreshActivitiesOutputArgs, opts ...InvokeOption) GetFusionEnvironmentRefreshActivitiesResultOutput
> Note: This function is named GetFusionEnvironmentRefreshActivities
in the Go SDK.
public static class GetFusionEnvironmentRefreshActivities
{
public static Task<GetFusionEnvironmentRefreshActivitiesResult> InvokeAsync(GetFusionEnvironmentRefreshActivitiesArgs args, InvokeOptions? opts = null)
public static Output<GetFusionEnvironmentRefreshActivitiesResult> Invoke(GetFusionEnvironmentRefreshActivitiesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFusionEnvironmentRefreshActivitiesResult> getFusionEnvironmentRefreshActivities(GetFusionEnvironmentRefreshActivitiesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Functions/getFusionEnvironmentRefreshActivities:getFusionEnvironmentRefreshActivities
arguments:
# arguments dictionary
The following arguments are supported:
- Fusion
Environment stringId - unique FusionEnvironment identifier
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Fusion Environment Refresh Activities Filter> - State string
- A filter that returns all resources that match the specified status
- Time
Expected stringFinish Less Than Or Equal To - A filter that returns all resources that end before this date
- Time
Scheduled stringStart Greater Than Or Equal To - A filter that returns all resources that are scheduled after this date
- Fusion
Environment stringId - unique FusionEnvironment identifier
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Fusion Environment Refresh Activities Filter - State string
- A filter that returns all resources that match the specified status
- Time
Expected stringFinish Less Than Or Equal To - A filter that returns all resources that end before this date
- Time
Scheduled stringStart Greater Than Or Equal To - A filter that returns all resources that are scheduled after this date
- fusion
Environment StringId - unique FusionEnvironment identifier
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Fusion Environment Refresh Activities Filter> - state String
- A filter that returns all resources that match the specified status
- time
Expected StringFinish Less Than Or Equal To - A filter that returns all resources that end before this date
- time
Scheduled StringStart Greater Than Or Equal To - A filter that returns all resources that are scheduled after this date
- fusion
Environment stringId - unique FusionEnvironment identifier
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Fusion Environment Refresh Activities Filter[] - state string
- A filter that returns all resources that match the specified status
- time
Expected stringFinish Less Than Or Equal To - A filter that returns all resources that end before this date
- time
Scheduled stringStart Greater Than Or Equal To - A filter that returns all resources that are scheduled after this date
- fusion_
environment_ strid - unique FusionEnvironment identifier
- display_
name str - A filter to return only resources that match the entire display name given.
- filters
Sequence[functions.
Get Fusion Environment Refresh Activities Filter] - state str
- A filter that returns all resources that match the specified status
- time_
expected_ strfinish_ less_ than_ or_ equal_ to - A filter that returns all resources that end before this date
- time_
scheduled_ strstart_ greater_ than_ or_ equal_ to - A filter that returns all resources that are scheduled after this date
- fusion
Environment StringId - unique FusionEnvironment identifier
- display
Name String - A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- state String
- A filter that returns all resources that match the specified status
- time
Expected StringFinish Less Than Or Equal To - A filter that returns all resources that end before this date
- time
Scheduled StringStart Greater Than Or Equal To - A filter that returns all resources that are scheduled after this date
getFusionEnvironmentRefreshActivities Result
The following output properties are available:
- Fusion
Environment stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Refresh
Activity List<GetCollections Fusion Environment Refresh Activities Refresh Activity Collection> - The list of refresh_activity_collection.
- Display
Name string - A friendly name for the refresh activity. Can be changed later.
- Filters
List<Get
Fusion Environment Refresh Activities Filter> - State string
- The current state of the refreshActivity.
- Time
Expected stringFinish Less Than Or Equal To - Time
Scheduled stringStart Greater Than Or Equal To
- Fusion
Environment stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Refresh
Activity []GetCollections Fusion Environment Refresh Activities Refresh Activity Collection - The list of refresh_activity_collection.
- Display
Name string - A friendly name for the refresh activity. Can be changed later.
- Filters
[]Get
Fusion Environment Refresh Activities Filter - State string
- The current state of the refreshActivity.
- Time
Expected stringFinish Less Than Or Equal To - Time
Scheduled stringStart Greater Than Or Equal To
- fusion
Environment StringId - id String
- The provider-assigned unique ID for this managed resource.
- refresh
Activity List<GetCollections Fusion Environment Refresh Activities Refresh Activity Collection> - The list of refresh_activity_collection.
- display
Name String - A friendly name for the refresh activity. Can be changed later.
- filters
List<Get
Fusion Environment Refresh Activities Filter> - state String
- The current state of the refreshActivity.
- time
Expected StringFinish Less Than Or Equal To - time
Scheduled StringStart Greater Than Or Equal To
- fusion
Environment stringId - id string
- The provider-assigned unique ID for this managed resource.
- refresh
Activity GetCollections Fusion Environment Refresh Activities Refresh Activity Collection[] - The list of refresh_activity_collection.
- display
Name string - A friendly name for the refresh activity. Can be changed later.
- filters
Get
Fusion Environment Refresh Activities Filter[] - state string
- The current state of the refreshActivity.
- time
Expected stringFinish Less Than Or Equal To - time
Scheduled stringStart Greater Than Or Equal To
- fusion_
environment_ strid - id str
- The provider-assigned unique ID for this managed resource.
- refresh_
activity_ Sequence[functions.collections Get Fusion Environment Refresh Activities Refresh Activity Collection] - The list of refresh_activity_collection.
- display_
name str - A friendly name for the refresh activity. Can be changed later.
- filters
Sequence[functions.
Get Fusion Environment Refresh Activities Filter] - state str
- The current state of the refreshActivity.
- time_
expected_ strfinish_ less_ than_ or_ equal_ to - time_
scheduled_ strstart_ greater_ than_ or_ equal_ to
- fusion
Environment StringId - id String
- The provider-assigned unique ID for this managed resource.
- refresh
Activity List<Property Map>Collections - The list of refresh_activity_collection.
- display
Name String - A friendly name for the refresh activity. Can be changed later.
- filters List<Property Map>
- state String
- The current state of the refreshActivity.
- time
Expected StringFinish Less Than Or Equal To - time
Scheduled StringStart Greater Than Or Equal To
Supporting Types
GetFusionEnvironmentRefreshActivitiesFilter
GetFusionEnvironmentRefreshActivitiesRefreshActivityCollection
GetFusionEnvironmentRefreshActivitiesRefreshActivityCollectionItem
- Display
Name string - A filter to return only resources that match the entire display name given.
- Fusion
Environment stringId - unique FusionEnvironment identifier
- Id string
- The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
- Is
Data boolMasking Opted - Represents if the customer opted for Data Masking or not during refreshActivity.
- 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 Activities Refresh Activity Collection Item 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
- A filter that returns all resources that match the specified status
- 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 filter to return only resources that match the entire display name given.
- Fusion
Environment stringId - unique FusionEnvironment identifier
- Id string
- The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
- Is
Data boolMasking Opted - Represents if the customer opted for Data Masking or not during refreshActivity.
- 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 Activities Refresh Activity Collection Item 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
- A filter that returns all resources that match the specified status
- 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 filter to return only resources that match the entire display name given.
- fusion
Environment StringId - unique FusionEnvironment identifier
- id String
- The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
- is
Data BooleanMasking Opted - Represents if the customer opted for Data Masking or not during refreshActivity.
- 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 Activities Refresh Activity Collection Item 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
- A filter that returns all resources that match the specified status
- 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 filter to return only resources that match the entire display name given.
- fusion
Environment stringId - unique FusionEnvironment identifier
- id string
- The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
- is
Data booleanMasking Opted - Represents if the customer opted for Data Masking or not during refreshActivity.
- 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 Activities Refresh Activity Collection Item 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
- A filter that returns all resources that match the specified status
- 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 filter to return only resources that match the entire display name given.
- fusion_
environment_ strid - unique FusionEnvironment identifier
- id str
- The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
- is_
data_ boolmasking_ opted - 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_ strid - refresh_
issue_ Sequence[functions.details_ lists Get Fusion Environment Refresh Activities Refresh Activity Collection Item 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
- A filter that returns all resources that match the specified status
- 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 filter to return only resources that match the entire display name given.
- fusion
Environment StringId - unique FusionEnvironment identifier
- id String
- The unique identifier (OCID) of the refresh activity. Can't be changed after creation.
- is
Data BooleanMasking Opted - Represents if the customer opted for Data Masking or not during refreshActivity.
- 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
- A filter that returns all resources that match the specified status
- 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.
GetFusionEnvironmentRefreshActivitiesRefreshActivityCollectionItemRefreshIssueDetailsList
- 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.