Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.Functions.getFusionEnvironmentScheduledActivity
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFusionEnvironmentScheduledActivity = oci.Functions.getFusionEnvironmentScheduledActivity({
fusionEnvironmentId: testFusionEnvironment.id,
scheduledActivityId: testScheduledActivity.id,
});
import pulumi
import pulumi_oci as oci
test_fusion_environment_scheduled_activity = oci.Functions.get_fusion_environment_scheduled_activity(fusion_environment_id=test_fusion_environment["id"],
scheduled_activity_id=test_scheduled_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.GetFusionEnvironmentScheduledActivity(ctx, &functions.GetFusionEnvironmentScheduledActivityArgs{
FusionEnvironmentId: testFusionEnvironment.Id,
ScheduledActivityId: testScheduledActivity.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 testFusionEnvironmentScheduledActivity = Oci.Functions.GetFusionEnvironmentScheduledActivity.Invoke(new()
{
FusionEnvironmentId = testFusionEnvironment.Id,
ScheduledActivityId = testScheduledActivity.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.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(testFusionEnvironment.id())
.scheduledActivityId(testScheduledActivity.id())
.build());
}
}
variables:
testFusionEnvironmentScheduledActivity:
fn::invoke:
Function: oci:Functions:getFusionEnvironmentScheduledActivity
Arguments:
fusionEnvironmentId: ${testFusionEnvironment.id}
scheduledActivityId: ${testScheduledActivity.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:
- Fusion
Environment stringId - unique FusionEnvironment identifier
- Scheduled
Activity stringId - Unique ScheduledActivity identifier.
- Fusion
Environment stringId - unique FusionEnvironment identifier
- Scheduled
Activity stringId - Unique ScheduledActivity identifier.
- fusion
Environment StringId - unique FusionEnvironment identifier
- scheduled
Activity StringId - Unique ScheduledActivity identifier.
- fusion
Environment stringId - unique FusionEnvironment identifier
- scheduled
Activity stringId - Unique ScheduledActivity identifier.
- fusion_
environment_ strid - unique FusionEnvironment identifier
- scheduled_
activity_ strid - Unique ScheduledActivity identifier.
- fusion
Environment StringId - unique FusionEnvironment identifier
- scheduled
Activity StringId - Unique ScheduledActivity identifier.
getFusionEnvironmentScheduledActivity Result
The following output properties are available:
- Actions
List<Get
Fusion Environment Scheduled Activity Action> - List of actions
- Delay
In intHours - Cumulative delay hours
- Display
Name string - scheduled activity display name, can be renamed.
- Fusion
Environment stringId - FAaaS Environment Identifier.
- 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.
- Run
Cycle string - run cadence.
- Scheduled
Activity stringId - Service
Availability string - Service availability / impact during scheduled activity execution up down
- State string
- The current state of the scheduledActivity.
- Time
Created string - The time the scheduled activity record was created. An RFC3339 formatted datetime string.
- Time
Expected stringFinish - Current time the scheduled activity is scheduled to end. An RFC3339 formatted datetime string.
- Time
Finished string - The time the scheduled activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
- Time
Scheduled stringStart - Current time the scheduled activity is scheduled to start. An RFC3339 formatted datetime string.
- Time
Updated string - The time the scheduled activity record was updated. An RFC3339 formatted datetime string.
- Actions
[]Get
Fusion Environment Scheduled Activity Action - List of actions
- Delay
In intHours - Cumulative delay hours
- Display
Name string - scheduled activity display name, can be renamed.
- Fusion
Environment stringId - FAaaS Environment Identifier.
- 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.
- Run
Cycle string - run cadence.
- Scheduled
Activity stringId - Service
Availability string - Service availability / impact during scheduled activity execution up down
- State string
- The current state of the scheduledActivity.
- Time
Created string - The time the scheduled activity record was created. An RFC3339 formatted datetime string.
- Time
Expected stringFinish - Current time the scheduled activity is scheduled to end. An RFC3339 formatted datetime string.
- Time
Finished string - The time the scheduled activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
- Time
Scheduled stringStart - Current time the scheduled activity is scheduled to start. An RFC3339 formatted datetime string.
- Time
Updated string - The time the scheduled activity record was updated. An RFC3339 formatted datetime string.
- actions
List<Get
Fusion Environment Scheduled Activity Action> - List of actions
- delay
In IntegerHours - Cumulative delay hours
- display
Name String - scheduled activity display name, can be renamed.
- fusion
Environment StringId - FAaaS Environment Identifier.
- 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.
- run
Cycle String - run cadence.
- scheduled
Activity StringId - service
Availability String - Service availability / impact during scheduled activity execution up down
- state String
- The current state of the scheduledActivity.
- time
Created String - The time the scheduled activity record was created. An RFC3339 formatted datetime string.
- time
Expected StringFinish - Current time the scheduled activity is scheduled to end. An RFC3339 formatted datetime string.
- time
Finished String - The time the scheduled activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
- time
Scheduled StringStart - Current time the scheduled activity is scheduled to start. An RFC3339 formatted datetime string.
- time
Updated String - The time the scheduled activity record was updated. An RFC3339 formatted datetime string.
- actions
Get
Fusion Environment Scheduled Activity Action[] - List of actions
- delay
In numberHours - Cumulative delay hours
- display
Name string - scheduled activity display name, can be renamed.
- fusion
Environment stringId - FAaaS Environment Identifier.
- 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.
- run
Cycle string - run cadence.
- scheduled
Activity stringId - service
Availability string - Service availability / impact during scheduled activity execution up down
- state string
- The current state of the scheduledActivity.
- time
Created string - The time the scheduled activity record was created. An RFC3339 formatted datetime string.
- time
Expected stringFinish - Current time the scheduled activity is scheduled to end. An RFC3339 formatted datetime string.
- time
Finished string - The time the scheduled activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
- time
Scheduled stringStart - Current time the scheduled activity is scheduled to start. An RFC3339 formatted datetime string.
- time
Updated string - The time the scheduled activity record was updated. An RFC3339 formatted datetime string.
- actions
Sequence[functions.
Get Fusion Environment Scheduled Activity Action] - List of actions
- delay_
in_ inthours - Cumulative delay hours
- display_
name str - scheduled activity display name, can be renamed.
- fusion_
environment_ strid - 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_ strid - 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_ strfinish - 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_ strstart - 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
- delay
In NumberHours - Cumulative delay hours
- display
Name String - scheduled activity display name, can be renamed.
- fusion
Environment StringId - FAaaS Environment Identifier.
- 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.
- run
Cycle String - run cadence.
- scheduled
Activity StringId - service
Availability String - Service availability / impact during scheduled activity execution up down
- state String
- The current state of the scheduledActivity.
- time
Created String - The time the scheduled activity record was created. An RFC3339 formatted datetime string.
- time
Expected StringFinish - Current time the scheduled activity is scheduled to end. An RFC3339 formatted datetime string.
- time
Finished String - The time the scheduled activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
- time
Scheduled StringStart - Current time the scheduled activity is scheduled to start. An RFC3339 formatted datetime string.
- time
Updated String - The time the scheduled activity record was updated. An RFC3339 formatted datetime string.
Supporting Types
GetFusionEnvironmentScheduledActivityAction
- Action
Type 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
- Reference
Key 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 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
- Reference
Key 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 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
- reference
Key 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 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
- reference
Key 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
- action
Type 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
- reference
Key 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
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.