Oracle Cloud Infrastructure v2.27.0 published on Thursday, Mar 20, 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[_fleetappsmanagement.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[_fleetappsmanagement.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 dictionary
The following arguments are supported:
- Job
Activity stringId - unique jobActivity identifier
- Scheduler
Job stringId - unique SchedulerJob identifier
- Filters
List<Get
Scheduler Job Job Activity Steps Filter> - Resource
Task stringId - Task Id
- Sequence string
- Task Order Sequence
- Step
Name string - Unique step name
- Target
Name string - Unique target name
- Job
Activity stringId - unique jobActivity identifier
- Scheduler
Job stringId - unique SchedulerJob identifier
- Filters
[]Get
Scheduler Job Job Activity Steps Filter - Resource
Task stringId - Task Id
- Sequence string
- Task Order Sequence
- Step
Name string - Unique step name
- Target
Name string - Unique target name
- job
Activity StringId - unique jobActivity identifier
- scheduler
Job StringId - unique SchedulerJob identifier
- filters
List<Get
Scheduler Job Job Activity Steps Filter> - resource
Task StringId - Task Id
- sequence String
- Task Order Sequence
- step
Name String - Unique step name
- target
Name String - Unique target name
- job
Activity stringId - unique jobActivity identifier
- scheduler
Job stringId - unique SchedulerJob identifier
- filters
Get
Scheduler Job Job Activity Steps Filter[] - resource
Task stringId - Task Id
- sequence string
- Task Order Sequence
- step
Name string - Unique step name
- target
Name string - Unique target name
- job_
activity_ strid - unique jobActivity identifier
- scheduler_
job_ strid - unique SchedulerJob identifier
- filters
Sequence[fleetappsmanagement.
Get Scheduler 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
- job
Activity StringId - unique jobActivity identifier
- scheduler
Job StringId - unique SchedulerJob identifier
- filters List<Property Map>
- resource
Task StringId - Task Id
- sequence String
- Task Order Sequence
- step
Name String - Unique step name
- target
Name String - Unique target name
getSchedulerJobJobActivitySteps Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Job
Activity stringId - Scheduler
Job stringId - Step
Collections List<GetScheduler Job Job Activity Steps Step Collection> - The list of step_collection.
- Filters
List<Get
Scheduler Job Job Activity Steps Filter> - Resource
Task stringId - Sequence string
- The sequence of the step
- Step
Name string - Name of the Step
- Target
Name string
- Id string
- The provider-assigned unique ID for this managed resource.
- Job
Activity stringId - Scheduler
Job stringId - Step
Collections []GetScheduler Job Job Activity Steps Step Collection - The list of step_collection.
- Filters
[]Get
Scheduler Job Job Activity Steps Filter - Resource
Task stringId - Sequence string
- The sequence of the step
- Step
Name string - Name of the Step
- Target
Name string
- id String
- The provider-assigned unique ID for this managed resource.
- job
Activity StringId - scheduler
Job StringId - step
Collections List<GetScheduler Job Job Activity Steps Step Collection> - The list of step_collection.
- filters
List<Get
Scheduler Job Job Activity Steps Filter> - resource
Task StringId - sequence String
- The sequence of the step
- step
Name String - Name of the Step
- target
Name String
- id string
- The provider-assigned unique ID for this managed resource.
- job
Activity stringId - scheduler
Job stringId - step
Collections GetScheduler Job Job Activity Steps Step Collection[] - The list of step_collection.
- filters
Get
Scheduler Job Job Activity Steps Filter[] - resource
Task stringId - sequence string
- The sequence of the step
- step
Name string - Name of the Step
- target
Name string
- id str
- The provider-assigned unique ID for this managed resource.
- job_
activity_ strid - scheduler_
job_ strid - step_
collections Sequence[fleetappsmanagement.Get Scheduler Job Job Activity Steps Step Collection] - The list of step_collection.
- filters
Sequence[fleetappsmanagement.
Get Scheduler 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.
- job
Activity StringId - scheduler
Job StringId - step
Collections List<Property Map> - The list of step_collection.
- filters List<Property Map>
- resource
Task StringId - sequence String
- The sequence of the step
- step
Name String - Name of the Step
- target
Name String
Supporting Types
GetSchedulerJobJobActivityStepsFilter
GetSchedulerJobJobActivityStepsStepCollection
- Items
List<Get
Scheduler Job Job Activity Steps Step Collection Item> - List of Execution steps.
- Items
[]Get
Scheduler Job Job Activity Steps Step Collection Item - List of Execution steps.
- items
List<Get
Scheduler Job Job Activity Steps Step Collection Item> - List of Execution steps.
- items
Get
Scheduler Job Job Activity Steps Step Collection Item[] - List of Execution steps.
- items
Sequence[fleetappsmanagement.
Get Scheduler 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
- Is
Rollback boolTask - Is this a rollback task?
- Sequence string
- Task Order Sequence
- Status string
- Status of the Task
- Step
Name 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"}
- Task
Record stringId - The OCID of taskRecord assocaited with the step
- Time
Ended string - The time the task ended. An RFC3339 formatted datetime string
- Time
Started string - The time the task started. An RFC3339 formatted datetime string
- Description string
- Description of the step Execution
- Is
Rollback boolTask - Is this a rollback task?
- Sequence string
- Task Order Sequence
- Status string
- Status of the Task
- Step
Name 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"}
- Task
Record stringId - The OCID of taskRecord assocaited with the step
- Time
Ended string - The time the task ended. An RFC3339 formatted datetime string
- Time
Started string - The time the task started. An RFC3339 formatted datetime string
- description String
- Description of the step Execution
- is
Rollback BooleanTask - Is this a rollback task?
- sequence String
- Task Order Sequence
- status String
- Status of the Task
- step
Name 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"}
- task
Record StringId - The OCID of taskRecord assocaited with the step
- time
Ended String - The time the task ended. An RFC3339 formatted datetime string
- time
Started String - The time the task started. An RFC3339 formatted datetime string
- description string
- Description of the step Execution
- is
Rollback booleanTask - Is this a rollback task?
- sequence string
- Task Order Sequence
- status string
- Status of the Task
- step
Name 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"}
- task
Record stringId - The OCID of taskRecord assocaited with the step
- time
Ended string - The time the task ended. An RFC3339 formatted datetime string
- time
Started 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
- is
Rollback BooleanTask - Is this a rollback task?
- sequence String
- Task Order Sequence
- status String
- Status of the Task
- step
Name 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"}
- task
Record StringId - The OCID of taskRecord assocaited with the step
- time
Ended String - The time the task ended. An RFC3339 formatted datetime string
- time
Started 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
oci
Terraform Provider.