Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.FleetAppsManagement.getSchedulerJobJobActivitySteps
Explore with Pulumi AI
This data source provides the list of Scheduler Job Job Activity Steps in Oracle Cloud Infrastructure Fleet Apps Management service.
Returns a list of Steps for an Activity Execution.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSchedulerJobJobActivitySteps = oci.FleetAppsManagement.getSchedulerJobJobActivitySteps({
    jobActivityId: testJobActivity.id,
    schedulerJobId: testJob.id,
    resourceTaskId: testResourceTask.id,
    sequence: schedulerJobJobActivityStepSequence,
    stepName: schedulerJobJobActivityStepStepName,
    targetName: testTarget.name,
});
import pulumi
import pulumi_oci as oci
test_scheduler_job_job_activity_steps = oci.FleetAppsManagement.get_scheduler_job_job_activity_steps(job_activity_id=test_job_activity["id"],
    scheduler_job_id=test_job["id"],
    resource_task_id=test_resource_task["id"],
    sequence=scheduler_job_job_activity_step_sequence,
    step_name=scheduler_job_job_activity_step_step_name,
    target_name=test_target["name"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/fleetappsmanagement"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fleetappsmanagement.GetSchedulerJobJobActivitySteps(ctx, &fleetappsmanagement.GetSchedulerJobJobActivityStepsArgs{
			JobActivityId:  testJobActivity.Id,
			SchedulerJobId: testJob.Id,
			ResourceTaskId: pulumi.StringRef(testResourceTask.Id),
			Sequence:       pulumi.StringRef(schedulerJobJobActivityStepSequence),
			StepName:       pulumi.StringRef(schedulerJobJobActivityStepStepName),
			TargetName:     pulumi.StringRef(testTarget.Name),
		}, 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 testSchedulerJobJobActivitySteps = Oci.FleetAppsManagement.GetSchedulerJobJobActivitySteps.Invoke(new()
    {
        JobActivityId = testJobActivity.Id,
        SchedulerJobId = testJob.Id,
        ResourceTaskId = testResourceTask.Id,
        Sequence = schedulerJobJobActivityStepSequence,
        StepName = schedulerJobJobActivityStepStepName,
        TargetName = testTarget.Name,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FleetAppsManagement.FleetAppsManagementFunctions;
import com.pulumi.oci.FleetAppsManagement.inputs.GetSchedulerJobJobActivityStepsArgs;
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 testSchedulerJobJobActivitySteps = FleetAppsManagementFunctions.getSchedulerJobJobActivitySteps(GetSchedulerJobJobActivityStepsArgs.builder()
            .jobActivityId(testJobActivity.id())
            .schedulerJobId(testJob.id())
            .resourceTaskId(testResourceTask.id())
            .sequence(schedulerJobJobActivityStepSequence)
            .stepName(schedulerJobJobActivityStepStepName)
            .targetName(testTarget.name())
            .build());
    }
}
variables:
  testSchedulerJobJobActivitySteps:
    fn::invoke:
      function: oci:FleetAppsManagement:getSchedulerJobJobActivitySteps
      arguments:
        jobActivityId: ${testJobActivity.id}
        schedulerJobId: ${testJob.id}
        resourceTaskId: ${testResourceTask.id}
        sequence: ${schedulerJobJobActivityStepSequence}
        stepName: ${schedulerJobJobActivityStepStepName}
        targetName: ${testTarget.name}
Using getSchedulerJobJobActivitySteps
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 getSchedulerJobJobActivitySteps(args: GetSchedulerJobJobActivityStepsArgs, opts?: InvokeOptions): Promise<GetSchedulerJobJobActivityStepsResult>
function getSchedulerJobJobActivityStepsOutput(args: GetSchedulerJobJobActivityStepsOutputArgs, opts?: InvokeOptions): Output<GetSchedulerJobJobActivityStepsResult>def get_scheduler_job_job_activity_steps(filters: Optional[Sequence[GetSchedulerJobJobActivityStepsFilter]] = None,
                                         job_activity_id: Optional[str] = None,
                                         resource_task_id: Optional[str] = None,
                                         scheduler_job_id: Optional[str] = None,
                                         sequence: Optional[str] = None,
                                         step_name: Optional[str] = None,
                                         target_name: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetSchedulerJobJobActivityStepsResult
def get_scheduler_job_job_activity_steps_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetSchedulerJobJobActivityStepsFilterArgs]]]] = None,
                                         job_activity_id: Optional[pulumi.Input[str]] = None,
                                         resource_task_id: Optional[pulumi.Input[str]] = None,
                                         scheduler_job_id: Optional[pulumi.Input[str]] = None,
                                         sequence: Optional[pulumi.Input[str]] = None,
                                         step_name: Optional[pulumi.Input[str]] = None,
                                         target_name: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetSchedulerJobJobActivityStepsResult]func GetSchedulerJobJobActivitySteps(ctx *Context, args *GetSchedulerJobJobActivityStepsArgs, opts ...InvokeOption) (*GetSchedulerJobJobActivityStepsResult, error)
func GetSchedulerJobJobActivityStepsOutput(ctx *Context, args *GetSchedulerJobJobActivityStepsOutputArgs, opts ...InvokeOption) GetSchedulerJobJobActivityStepsResultOutput> Note: This function is named GetSchedulerJobJobActivitySteps in the Go SDK.
public static class GetSchedulerJobJobActivitySteps 
{
    public static Task<GetSchedulerJobJobActivityStepsResult> InvokeAsync(GetSchedulerJobJobActivityStepsArgs args, InvokeOptions? opts = null)
    public static Output<GetSchedulerJobJobActivityStepsResult> Invoke(GetSchedulerJobJobActivityStepsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSchedulerJobJobActivityStepsResult> getSchedulerJobJobActivitySteps(GetSchedulerJobJobActivityStepsArgs args, InvokeOptions options)
public static Output<GetSchedulerJobJobActivityStepsResult> getSchedulerJobJobActivitySteps(GetSchedulerJobJobActivityStepsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:FleetAppsManagement/getSchedulerJobJobActivitySteps:getSchedulerJobJobActivitySteps
  arguments:
    # arguments dictionaryThe following arguments are supported:
- JobActivity stringId 
- unique jobActivity identifier
- SchedulerJob stringId 
- unique SchedulerJob identifier
- Filters
List<GetScheduler Job Job Activity Steps Filter> 
- ResourceTask stringId 
- Task Id
- Sequence string
- Task Order Sequence
- StepName string
- Unique step name
- TargetName string
- Unique target name
- JobActivity stringId 
- unique jobActivity identifier
- SchedulerJob stringId 
- unique SchedulerJob identifier
- Filters
[]GetScheduler Job Job Activity Steps Filter 
- ResourceTask stringId 
- Task Id
- Sequence string
- Task Order Sequence
- StepName string
- Unique step name
- TargetName string
- Unique target name
- jobActivity StringId 
- unique jobActivity identifier
- schedulerJob StringId 
- unique SchedulerJob identifier
- filters
List<GetScheduler Job Job Activity Steps Filter> 
- resourceTask StringId 
- Task Id
- sequence String
- Task Order Sequence
- stepName String
- Unique step name
- targetName String
- Unique target name
- jobActivity stringId 
- unique jobActivity identifier
- schedulerJob stringId 
- unique SchedulerJob identifier
- filters
GetScheduler Job Job Activity Steps Filter[] 
- resourceTask stringId 
- Task Id
- sequence string
- Task Order Sequence
- stepName string
- Unique step name
- targetName string
- Unique target name
- job_activity_ strid 
- unique jobActivity identifier
- scheduler_job_ strid 
- unique SchedulerJob identifier
- filters
Sequence[GetScheduler Job Job Activity Steps Filter] 
- resource_task_ strid 
- Task Id
- sequence str
- Task Order Sequence
- step_name str
- Unique step name
- target_name str
- Unique target name
- jobActivity StringId 
- unique jobActivity identifier
- schedulerJob StringId 
- unique SchedulerJob identifier
- filters List<Property Map>
- resourceTask StringId 
- Task Id
- sequence String
- Task Order Sequence
- stepName String
- Unique step name
- targetName String
- Unique target name
getSchedulerJobJobActivitySteps Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- JobActivity stringId 
- SchedulerJob stringId 
- StepCollections List<GetScheduler Job Job Activity Steps Step Collection> 
- The list of step_collection.
- Filters
List<GetScheduler Job Job Activity Steps Filter> 
- ResourceTask stringId 
- Sequence string
- The sequence of the step
- StepName string
- Name of the Step
- TargetName string
- Id string
- The provider-assigned unique ID for this managed resource.
- JobActivity stringId 
- SchedulerJob stringId 
- StepCollections []GetScheduler Job Job Activity Steps Step Collection 
- The list of step_collection.
- Filters
[]GetScheduler Job Job Activity Steps Filter 
- ResourceTask stringId 
- Sequence string
- The sequence of the step
- StepName string
- Name of the Step
- TargetName string
- id String
- The provider-assigned unique ID for this managed resource.
- jobActivity StringId 
- schedulerJob StringId 
- stepCollections List<GetScheduler Job Job Activity Steps Step Collection> 
- The list of step_collection.
- filters
List<GetScheduler Job Job Activity Steps Filter> 
- resourceTask StringId 
- sequence String
- The sequence of the step
- stepName String
- Name of the Step
- targetName String
- id string
- The provider-assigned unique ID for this managed resource.
- jobActivity stringId 
- schedulerJob stringId 
- stepCollections GetScheduler Job Job Activity Steps Step Collection[] 
- The list of step_collection.
- filters
GetScheduler Job Job Activity Steps Filter[] 
- resourceTask stringId 
- sequence string
- The sequence of the step
- stepName string
- Name of the Step
- targetName string
- id str
- The provider-assigned unique ID for this managed resource.
- job_activity_ strid 
- scheduler_job_ strid 
- step_collections Sequence[GetScheduler Job Job Activity Steps Step Collection] 
- The list of step_collection.
- filters
Sequence[GetScheduler Job Job Activity Steps Filter] 
- resource_task_ strid 
- sequence str
- The sequence of the step
- step_name str
- Name of the Step
- target_name str
- id String
- The provider-assigned unique ID for this managed resource.
- jobActivity StringId 
- schedulerJob StringId 
- stepCollections List<Property Map>
- The list of step_collection.
- filters List<Property Map>
- resourceTask StringId 
- sequence String
- The sequence of the step
- stepName String
- Name of the Step
- targetName String
Supporting Types
GetSchedulerJobJobActivityStepsFilter      
GetSchedulerJobJobActivityStepsStepCollection       
- Items
List<GetScheduler Job Job Activity Steps Step Collection Item> 
- List of Execution steps.
- Items
[]GetScheduler Job Job Activity Steps Step Collection Item 
- List of Execution steps.
- items
List<GetScheduler Job Job Activity Steps Step Collection Item> 
- List of Execution steps.
- items
GetScheduler Job Job Activity Steps Step Collection Item[] 
- List of Execution steps.
- items
Sequence[GetScheduler Job Job Activity Steps Step Collection Item] 
- List of Execution steps.
- items List<Property Map>
- List of Execution steps.
GetSchedulerJobJobActivityStepsStepCollectionItem        
- Description string
- Description of the step Execution
- IsRollback boolTask 
- Is this a rollback task?
- Sequence string
- Task Order Sequence
- Status string
- Status of the Task
- StepName string
- Unique step name
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- TaskRecord stringId 
- The OCID of taskRecord assocaited with the step
- TimeEnded string
- The time the task ended. An RFC3339 formatted datetime string
- TimeStarted string
- The time the task started. An RFC3339 formatted datetime string
- Description string
- Description of the step Execution
- IsRollback boolTask 
- Is this a rollback task?
- Sequence string
- Task Order Sequence
- Status string
- Status of the Task
- StepName string
- Unique step name
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- TaskRecord stringId 
- The OCID of taskRecord assocaited with the step
- TimeEnded string
- The time the task ended. An RFC3339 formatted datetime string
- TimeStarted string
- The time the task started. An RFC3339 formatted datetime string
- description String
- Description of the step Execution
- isRollback BooleanTask 
- Is this a rollback task?
- sequence String
- Task Order Sequence
- status String
- Status of the Task
- stepName String
- Unique step name
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- taskRecord StringId 
- The OCID of taskRecord assocaited with the step
- timeEnded String
- The time the task ended. An RFC3339 formatted datetime string
- timeStarted String
- The time the task started. An RFC3339 formatted datetime string
- description string
- Description of the step Execution
- isRollback booleanTask 
- Is this a rollback task?
- sequence string
- Task Order Sequence
- status string
- Status of the Task
- stepName string
- Unique step name
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- taskRecord stringId 
- The OCID of taskRecord assocaited with the step
- timeEnded string
- The time the task ended. An RFC3339 formatted datetime string
- timeStarted string
- The time the task started. An RFC3339 formatted datetime string
- description str
- Description of the step Execution
- is_rollback_ booltask 
- Is this a rollback task?
- sequence str
- Task Order Sequence
- status str
- Status of the Task
- step_name str
- Unique step name
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- task_record_ strid 
- The OCID of taskRecord assocaited with the step
- time_ended str
- The time the task ended. An RFC3339 formatted datetime string
- time_started str
- The time the task started. An RFC3339 formatted datetime string
- description String
- Description of the step Execution
- isRollback BooleanTask 
- Is this a rollback task?
- sequence String
- Task Order Sequence
- status String
- Status of the Task
- stepName String
- Unique step name
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- taskRecord StringId 
- The OCID of taskRecord assocaited with the step
- timeEnded String
- The time the task ended. An RFC3339 formatted datetime string
- timeStarted String
- The time the task started. An RFC3339 formatted datetime string
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.