Oracle Cloud Infrastructure

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

getFusionEnvironmentScheduledActivity

This data source provides details about a specific Fusion Environment Scheduled Activity resource in Oracle Cloud Infrastructure Fusion Apps service.

Gets a ScheduledActivity by identifier

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var testFusionEnvironmentScheduledActivity = Oci.Functions.GetFusionEnvironmentScheduledActivity.Invoke(new()
    {
        FusionEnvironmentId = oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
        ScheduledActivityId = oci_fusion_apps_scheduled_activity.Test_scheduled_activity.Id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Functions"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Functions.GetFusionEnvironmentScheduledActivity(ctx, &functions.GetFusionEnvironmentScheduledActivityArgs{
			FusionEnvironmentId: oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
			ScheduledActivityId: oci_fusion_apps_scheduled_activity.Test_scheduled_activity.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Functions.FunctionsFunctions;
import com.pulumi.oci.Functions.inputs.GetFusionEnvironmentScheduledActivityArgs;
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 testFusionEnvironmentScheduledActivity = FunctionsFunctions.getFusionEnvironmentScheduledActivity(GetFusionEnvironmentScheduledActivityArgs.builder()
            .fusionEnvironmentId(oci_fusion_apps_fusion_environment.test_fusion_environment().id())
            .scheduledActivityId(oci_fusion_apps_scheduled_activity.test_scheduled_activity().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_fusion_environment_scheduled_activity = oci.Functions.get_fusion_environment_scheduled_activity(fusion_environment_id=oci_fusion_apps_fusion_environment["test_fusion_environment"]["id"],
    scheduled_activity_id=oci_fusion_apps_scheduled_activity["test_scheduled_activity"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testFusionEnvironmentScheduledActivity = oci.Functions.getFusionEnvironmentScheduledActivity({
    fusionEnvironmentId: oci_fusion_apps_fusion_environment.test_fusion_environment.id,
    scheduledActivityId: oci_fusion_apps_scheduled_activity.test_scheduled_activity.id,
});
variables:
  testFusionEnvironmentScheduledActivity:
    Fn::Invoke:
      Function: oci:Functions:getFusionEnvironmentScheduledActivity
      Arguments:
        fusionEnvironmentId: ${oci_fusion_apps_fusion_environment.test_fusion_environment.id}
        scheduledActivityId: ${oci_fusion_apps_scheduled_activity.test_scheduled_activity.id}

Using getFusionEnvironmentScheduledActivity

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 getFusionEnvironmentScheduledActivity(args: GetFusionEnvironmentScheduledActivityArgs, opts?: InvokeOptions): Promise<GetFusionEnvironmentScheduledActivityResult>
function getFusionEnvironmentScheduledActivityOutput(args: GetFusionEnvironmentScheduledActivityOutputArgs, opts?: InvokeOptions): Output<GetFusionEnvironmentScheduledActivityResult>
def get_fusion_environment_scheduled_activity(fusion_environment_id: Optional[str] = None,
                                              scheduled_activity_id: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetFusionEnvironmentScheduledActivityResult
def get_fusion_environment_scheduled_activity_output(fusion_environment_id: Optional[pulumi.Input[str]] = None,
                                              scheduled_activity_id: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetFusionEnvironmentScheduledActivityResult]
func GetFusionEnvironmentScheduledActivity(ctx *Context, args *GetFusionEnvironmentScheduledActivityArgs, opts ...InvokeOption) (*GetFusionEnvironmentScheduledActivityResult, error)
func GetFusionEnvironmentScheduledActivityOutput(ctx *Context, args *GetFusionEnvironmentScheduledActivityOutputArgs, opts ...InvokeOption) GetFusionEnvironmentScheduledActivityResultOutput

> Note: This function is named GetFusionEnvironmentScheduledActivity in the Go SDK.

public static class GetFusionEnvironmentScheduledActivity 
{
    public static Task<GetFusionEnvironmentScheduledActivityResult> InvokeAsync(GetFusionEnvironmentScheduledActivityArgs args, InvokeOptions? opts = null)
    public static Output<GetFusionEnvironmentScheduledActivityResult> Invoke(GetFusionEnvironmentScheduledActivityInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFusionEnvironmentScheduledActivityResult> getFusionEnvironmentScheduledActivity(GetFusionEnvironmentScheduledActivityArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Functions/getFusionEnvironmentScheduledActivity:getFusionEnvironmentScheduledActivity
  Arguments:
    # Arguments dictionary

The following arguments are supported:

FusionEnvironmentId string

unique FusionEnvironment identifier

ScheduledActivityId string

Unique ScheduledActivity identifier.

FusionEnvironmentId string

unique FusionEnvironment identifier

ScheduledActivityId string

Unique ScheduledActivity identifier.

fusionEnvironmentId String

unique FusionEnvironment identifier

scheduledActivityId String

Unique ScheduledActivity identifier.

fusionEnvironmentId string

unique FusionEnvironment identifier

scheduledActivityId string

Unique ScheduledActivity identifier.

fusion_environment_id str

unique FusionEnvironment identifier

scheduled_activity_id str

Unique ScheduledActivity identifier.

fusionEnvironmentId String

unique FusionEnvironment identifier

scheduledActivityId String

Unique ScheduledActivity identifier.

getFusionEnvironmentScheduledActivity Result

The following output properties are available:

Actions List<GetFusionEnvironmentScheduledActivityAction>

List of actions

DelayInHours int

Cumulative delay hours

DisplayName string

scheduled activity display name, can be renamed.

FusionEnvironmentId string

FAaaS Environment Identifier.

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.

RunCycle string

run cadence.

ScheduledActivityId string
ServiceAvailability string

Service availability / impact during scheduled activity execution up down

State string

The current state of the scheduledActivity.

TimeCreated string

The time the scheduled activity record was created. An RFC3339 formatted datetime string.

TimeExpectedFinish string

Current time the scheduled activity is scheduled to end. An RFC3339 formatted datetime string.

TimeFinished string

The time the scheduled activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.

TimeScheduledStart string

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

TimeUpdated string

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

Actions []GetFusionEnvironmentScheduledActivityAction

List of actions

DelayInHours int

Cumulative delay hours

DisplayName string

scheduled activity display name, can be renamed.

FusionEnvironmentId string

FAaaS Environment Identifier.

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.

RunCycle string

run cadence.

ScheduledActivityId string
ServiceAvailability string

Service availability / impact during scheduled activity execution up down

State string

The current state of the scheduledActivity.

TimeCreated string

The time the scheduled activity record was created. An RFC3339 formatted datetime string.

TimeExpectedFinish string

Current time the scheduled activity is scheduled to end. An RFC3339 formatted datetime string.

TimeFinished string

The time the scheduled activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.

TimeScheduledStart string

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

TimeUpdated string

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

actions List<GetFusionEnvironmentScheduledActivityAction>

List of actions

delayInHours Integer

Cumulative delay hours

displayName String

scheduled activity display name, can be renamed.

fusionEnvironmentId String

FAaaS Environment Identifier.

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.

runCycle String

run cadence.

scheduledActivityId String
serviceAvailability String

Service availability / impact during scheduled activity execution up down

state String

The current state of the scheduledActivity.

timeCreated String

The time the scheduled activity record was created. An RFC3339 formatted datetime string.

timeExpectedFinish String

Current time the scheduled activity is scheduled to end. An RFC3339 formatted datetime string.

timeFinished String

The time the scheduled activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.

timeScheduledStart String

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

timeUpdated String

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

actions GetFusionEnvironmentScheduledActivityAction[]

List of actions

delayInHours number

Cumulative delay hours

displayName string

scheduled activity display name, can be renamed.

fusionEnvironmentId string

FAaaS Environment Identifier.

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.

runCycle string

run cadence.

scheduledActivityId string
serviceAvailability string

Service availability / impact during scheduled activity execution up down

state string

The current state of the scheduledActivity.

timeCreated string

The time the scheduled activity record was created. An RFC3339 formatted datetime string.

timeExpectedFinish string

Current time the scheduled activity is scheduled to end. An RFC3339 formatted datetime string.

timeFinished string

The time the scheduled activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.

timeScheduledStart string

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

timeUpdated string

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

actions GetFusionEnvironmentScheduledActivityAction]

List of actions

delay_in_hours int

Cumulative delay hours

display_name str

scheduled activity display name, can be renamed.

fusion_environment_id str

FAaaS Environment Identifier.

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.

run_cycle str

run cadence.

scheduled_activity_id str
service_availability str

Service availability / impact during scheduled activity execution up down

state str

The current state of the scheduledActivity.

time_created str

The time the scheduled activity record was created. An RFC3339 formatted datetime string.

time_expected_finish str

Current time the scheduled activity is scheduled to end. An RFC3339 formatted datetime string.

time_finished str

The time the scheduled activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.

time_scheduled_start str

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

time_updated str

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

actions List<Property Map>

List of actions

delayInHours Number

Cumulative delay hours

displayName String

scheduled activity display name, can be renamed.

fusionEnvironmentId String

FAaaS Environment Identifier.

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.

runCycle String

run cadence.

scheduledActivityId String
serviceAvailability String

Service availability / impact during scheduled activity execution up down

state String

The current state of the scheduledActivity.

timeCreated String

The time the scheduled activity record was created. An RFC3339 formatted datetime string.

timeExpectedFinish String

Current time the scheduled activity is scheduled to end. An RFC3339 formatted datetime string.

timeFinished String

The time the scheduled activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.

timeScheduledStart String

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

timeUpdated String

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

Supporting Types

GetFusionEnvironmentScheduledActivityAction

ActionType string

Type of action

Artifact string

patch that delivered the vertex update prerequisite

Category string

patch artifact category

Description string

A string that describes the details of the action. It does not have to be unique, and you can change it. Avoid entering confidential information.

Mode string

A string that describeds whether the change is applied hot or cold

Qualifier string

month qualifier

ReferenceKey string

Unique identifier of the object that represents the action

State string

The current state of the scheduledActivity.

Version string

name of the repo

ActionType string

Type of action

Artifact string

patch that delivered the vertex update prerequisite

Category string

patch artifact category

Description string

A string that describes the details of the action. It does not have to be unique, and you can change it. Avoid entering confidential information.

Mode string

A string that describeds whether the change is applied hot or cold

Qualifier string

month qualifier

ReferenceKey string

Unique identifier of the object that represents the action

State string

The current state of the scheduledActivity.

Version string

name of the repo

actionType String

Type of action

artifact String

patch that delivered the vertex update prerequisite

category String

patch artifact category

description String

A string that describes the details of the action. It does not have to be unique, and you can change it. Avoid entering confidential information.

mode String

A string that describeds whether the change is applied hot or cold

qualifier String

month qualifier

referenceKey String

Unique identifier of the object that represents the action

state String

The current state of the scheduledActivity.

version String

name of the repo

actionType string

Type of action

artifact string

patch that delivered the vertex update prerequisite

category string

patch artifact category

description string

A string that describes the details of the action. It does not have to be unique, and you can change it. Avoid entering confidential information.

mode string

A string that describeds whether the change is applied hot or cold

qualifier string

month qualifier

referenceKey string

Unique identifier of the object that represents the action

state string

The current state of the scheduledActivity.

version string

name of the repo

action_type str

Type of action

artifact str

patch that delivered the vertex update prerequisite

category str

patch artifact category

description str

A string that describes the details of the action. It does not have to be unique, and you can change it. Avoid entering confidential information.

mode str

A string that describeds whether the change is applied hot or cold

qualifier str

month qualifier

reference_key str

Unique identifier of the object that represents the action

state str

The current state of the scheduledActivity.

version str

name of the repo

actionType String

Type of action

artifact String

patch that delivered the vertex update prerequisite

category String

patch artifact category

description String

A string that describes the details of the action. It does not have to be unique, and you can change it. Avoid entering confidential information.

mode String

A string that describeds whether the change is applied hot or cold

qualifier String

month qualifier

referenceKey String

Unique identifier of the object that represents the action

state String

The current state of the scheduledActivity.

version String

name of the repo

Package Details

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

This Pulumi package is based on the oci Terraform Provider.