Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
This data source provides the list of Scheduler Job Job Activity Resources in Oracle Cloud Infrastructure Fleet Apps Management service.
Returns a list of resources for an Activity Execution.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSchedulerJobJobActivityResources = oci.FleetAppsManagement.getSchedulerJobJobActivityResources({
jobActivityId: testJobActivity.id,
schedulerJobId: testJob.id,
resourceTaskId: testResourceTask.id,
sequence: schedulerJobJobActivityResourceSequence,
stepName: schedulerJobJobActivityResourceStepName,
targetName: testTarget.name,
});
import pulumi
import pulumi_oci as oci
test_scheduler_job_job_activity_resources = oci.FleetAppsManagement.get_scheduler_job_job_activity_resources(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_resource_sequence,
step_name=scheduler_job_job_activity_resource_step_name,
target_name=test_target["name"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/fleetappsmanagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fleetappsmanagement.GetSchedulerJobJobActivityResources(ctx, &fleetappsmanagement.GetSchedulerJobJobActivityResourcesArgs{
JobActivityId: testJobActivity.Id,
SchedulerJobId: testJob.Id,
ResourceTaskId: pulumi.StringRef(testResourceTask.Id),
Sequence: pulumi.StringRef(schedulerJobJobActivityResourceSequence),
StepName: pulumi.StringRef(schedulerJobJobActivityResourceStepName),
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 testSchedulerJobJobActivityResources = Oci.FleetAppsManagement.GetSchedulerJobJobActivityResources.Invoke(new()
{
JobActivityId = testJobActivity.Id,
SchedulerJobId = testJob.Id,
ResourceTaskId = testResourceTask.Id,
Sequence = schedulerJobJobActivityResourceSequence,
StepName = schedulerJobJobActivityResourceStepName,
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.GetSchedulerJobJobActivityResourcesArgs;
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 testSchedulerJobJobActivityResources = FleetAppsManagementFunctions.getSchedulerJobJobActivityResources(GetSchedulerJobJobActivityResourcesArgs.builder()
.jobActivityId(testJobActivity.id())
.schedulerJobId(testJob.id())
.resourceTaskId(testResourceTask.id())
.sequence(schedulerJobJobActivityResourceSequence)
.stepName(schedulerJobJobActivityResourceStepName)
.targetName(testTarget.name())
.build());
}
}
variables:
testSchedulerJobJobActivityResources:
fn::invoke:
function: oci:FleetAppsManagement:getSchedulerJobJobActivityResources
arguments:
jobActivityId: ${testJobActivity.id}
schedulerJobId: ${testJob.id}
resourceTaskId: ${testResourceTask.id}
sequence: ${schedulerJobJobActivityResourceSequence}
stepName: ${schedulerJobJobActivityResourceStepName}
targetName: ${testTarget.name}
Using getSchedulerJobJobActivityResources
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 getSchedulerJobJobActivityResources(args: GetSchedulerJobJobActivityResourcesArgs, opts?: InvokeOptions): Promise<GetSchedulerJobJobActivityResourcesResult>
function getSchedulerJobJobActivityResourcesOutput(args: GetSchedulerJobJobActivityResourcesOutputArgs, opts?: InvokeOptions): Output<GetSchedulerJobJobActivityResourcesResult>def get_scheduler_job_job_activity_resources(filters: Optional[Sequence[GetSchedulerJobJobActivityResourcesFilter]] = 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) -> GetSchedulerJobJobActivityResourcesResult
def get_scheduler_job_job_activity_resources_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetSchedulerJobJobActivityResourcesFilterArgs]]]] = 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[GetSchedulerJobJobActivityResourcesResult]func GetSchedulerJobJobActivityResources(ctx *Context, args *GetSchedulerJobJobActivityResourcesArgs, opts ...InvokeOption) (*GetSchedulerJobJobActivityResourcesResult, error)
func GetSchedulerJobJobActivityResourcesOutput(ctx *Context, args *GetSchedulerJobJobActivityResourcesOutputArgs, opts ...InvokeOption) GetSchedulerJobJobActivityResourcesResultOutput> Note: This function is named GetSchedulerJobJobActivityResources in the Go SDK.
public static class GetSchedulerJobJobActivityResources
{
public static Task<GetSchedulerJobJobActivityResourcesResult> InvokeAsync(GetSchedulerJobJobActivityResourcesArgs args, InvokeOptions? opts = null)
public static Output<GetSchedulerJobJobActivityResourcesResult> Invoke(GetSchedulerJobJobActivityResourcesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSchedulerJobJobActivityResourcesResult> getSchedulerJobJobActivityResources(GetSchedulerJobJobActivityResourcesArgs args, InvokeOptions options)
public static Output<GetSchedulerJobJobActivityResourcesResult> getSchedulerJobJobActivityResources(GetSchedulerJobJobActivityResourcesArgs args, InvokeOptions options)
fn::invoke:
function: oci:FleetAppsManagement/getSchedulerJobJobActivityResources:getSchedulerJobJobActivityResources
arguments:
# arguments dictionaryThe following arguments are supported:
- Job
Activity stringId - unique jobActivity identifier
- Scheduler
Job stringId - unique SchedulerJob identifier
- Filters
List<Get
Scheduler Job Job Activity Resources 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 Resources 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 Resources 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 Resources 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[Get
Scheduler Job Job Activity Resources 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
getSchedulerJobJobActivityResources Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Job
Activity stringId - Resource
Collections List<GetScheduler Job Job Activity Resources Resource Collection> - The list of resource_collection.
- Scheduler
Job stringId - Filters
List<Get
Scheduler Job Job Activity Resources Filter> - Resource
Task stringId - Sequence string
- The sequence of the Resource.
- Step
Name string - Target
Name string - Target Name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Job
Activity stringId - Resource
Collections []GetScheduler Job Job Activity Resources Resource Collection - The list of resource_collection.
- Scheduler
Job stringId - Filters
[]Get
Scheduler Job Job Activity Resources Filter - Resource
Task stringId - Sequence string
- The sequence of the Resource.
- Step
Name string - Target
Name string - Target Name.
- id String
- The provider-assigned unique ID for this managed resource.
- job
Activity StringId - resource
Collections List<GetScheduler Job Job Activity Resources Resource Collection> - The list of resource_collection.
- scheduler
Job StringId - filters
List<Get
Scheduler Job Job Activity Resources Filter> - resource
Task StringId - sequence String
- The sequence of the Resource.
- step
Name String - target
Name String - Target Name.
- id string
- The provider-assigned unique ID for this managed resource.
- job
Activity stringId - resource
Collections GetScheduler Job Job Activity Resources Resource Collection[] - The list of resource_collection.
- scheduler
Job stringId - filters
Get
Scheduler Job Job Activity Resources Filter[] - resource
Task stringId - sequence string
- The sequence of the Resource.
- step
Name string - target
Name string - Target Name.
- id str
- The provider-assigned unique ID for this managed resource.
- job_
activity_ strid - resource_
collections Sequence[GetScheduler Job Job Activity Resources Resource Collection] - The list of resource_collection.
- scheduler_
job_ strid - filters
Sequence[Get
Scheduler Job Job Activity Resources Filter] - resource_
task_ strid - sequence str
- The sequence of the Resource.
- step_
name str - target_
name str - Target Name.
- id String
- The provider-assigned unique ID for this managed resource.
- job
Activity StringId - resource
Collections List<Property Map> - The list of resource_collection.
- scheduler
Job StringId - filters List<Property Map>
- resource
Task StringId - sequence String
- The sequence of the Resource.
- step
Name String - target
Name String - Target Name.
Supporting Types
GetSchedulerJobJobActivityResourcesFilter
GetSchedulerJobJobActivityResourcesResourceCollection
- Items
List<Get
Scheduler Job Job Activity Resources Resource Collection Item> - List of Execution Resources.
- Items
[]Get
Scheduler Job Job Activity Resources Resource Collection Item - List of Execution Resources.
- items
List<Get
Scheduler Job Job Activity Resources Resource Collection Item> - List of Execution Resources.
- items
Get
Scheduler Job Job Activity Resources Resource Collection Item[] - List of Execution Resources.
- items
Sequence[Get
Scheduler Job Job Activity Resources Resource Collection Item] - List of Execution Resources.
- items List<Property Map>
- List of Execution Resources.
GetSchedulerJobJobActivityResourcesResourceCollectionItem
- Description string
- Description of the Execution status. If there are any errors, this can also include a short error message.
- Resource
Display stringName - Resource Display Name.
- Resource
Id string - Resource Identifier associated with the Work Request.
- Sequence string
- Task Order Sequence
- Status string
- Status of the Job at target Level.
- Targets
List<Get
Scheduler Job Job Activity Resources Resource Collection Item Target> - Targets associated with the resource.
- Time
Ended string - The time the task ended for the resource. An RFC3339 formatted datetime string
- Time
Started string - The time the task started for the resource. An RFC3339 formatted datetime string
- Description string
- Description of the Execution status. If there are any errors, this can also include a short error message.
- Resource
Display stringName - Resource Display Name.
- Resource
Id string - Resource Identifier associated with the Work Request.
- Sequence string
- Task Order Sequence
- Status string
- Status of the Job at target Level.
- Targets
[]Get
Scheduler Job Job Activity Resources Resource Collection Item Target - Targets associated with the resource.
- Time
Ended string - The time the task ended for the resource. An RFC3339 formatted datetime string
- Time
Started string - The time the task started for the resource. An RFC3339 formatted datetime string
- description String
- Description of the Execution status. If there are any errors, this can also include a short error message.
- resource
Display StringName - Resource Display Name.
- resource
Id String - Resource Identifier associated with the Work Request.
- sequence String
- Task Order Sequence
- status String
- Status of the Job at target Level.
- targets
List<Get
Scheduler Job Job Activity Resources Resource Collection Item Target> - Targets associated with the resource.
- time
Ended String - The time the task ended for the resource. An RFC3339 formatted datetime string
- time
Started String - The time the task started for the resource. An RFC3339 formatted datetime string
- description string
- Description of the Execution status. If there are any errors, this can also include a short error message.
- resource
Display stringName - Resource Display Name.
- resource
Id string - Resource Identifier associated with the Work Request.
- sequence string
- Task Order Sequence
- status string
- Status of the Job at target Level.
- targets
Get
Scheduler Job Job Activity Resources Resource Collection Item Target[] - Targets associated with the resource.
- time
Ended string - The time the task ended for the resource. An RFC3339 formatted datetime string
- time
Started string - The time the task started for the resource. An RFC3339 formatted datetime string
- description str
- Description of the Execution status. If there are any errors, this can also include a short error message.
- resource_
display_ strname - Resource Display Name.
- resource_
id str - Resource Identifier associated with the Work Request.
- sequence str
- Task Order Sequence
- status str
- Status of the Job at target Level.
- targets
Sequence[Get
Scheduler Job Job Activity Resources Resource Collection Item Target] - Targets associated with the resource.
- time_
ended str - The time the task ended for the resource. An RFC3339 formatted datetime string
- time_
started str - The time the task started for the resource. An RFC3339 formatted datetime string
- description String
- Description of the Execution status. If there are any errors, this can also include a short error message.
- resource
Display StringName - Resource Display Name.
- resource
Id String - Resource Identifier associated with the Work Request.
- sequence String
- Task Order Sequence
- status String
- Status of the Job at target Level.
- targets List<Property Map>
- Targets associated with the resource.
- time
Ended String - The time the task ended for the resource. An RFC3339 formatted datetime string
- time
Started String - The time the task started for the resource. An RFC3339 formatted datetime string
GetSchedulerJobJobActivityResourcesResourceCollectionItemTarget
- Description string
- Description of the Execution status. If there are any errors, this can also include a short error message.
- Status string
- Status of the Job at target Level.
- Target
Name string - Unique target name
- Description string
- Description of the Execution status. If there are any errors, this can also include a short error message.
- Status string
- Status of the Job at target Level.
- Target
Name string - Unique target name
- description String
- Description of the Execution status. If there are any errors, this can also include a short error message.
- status String
- Status of the Job at target Level.
- target
Name String - Unique target name
- description string
- Description of the Execution status. If there are any errors, this can also include a short error message.
- status string
- Status of the Job at target Level.
- target
Name string - Unique target name
- description str
- Description of the Execution status. If there are any errors, this can also include a short error message.
- status str
- Status of the Job at target Level.
- target_
name str - Unique target name
- description String
- Description of the Execution status. If there are any errors, this can also include a short error message.
- status String
- Status of the Job at target Level.
- target
Name String - Unique target name
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
