1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. AiVision
  5. getStreamJobs
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

oci.AiVision.getStreamJobs

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

    This data source provides the list of Stream Jobs in Oracle Cloud Infrastructure Ai Vision service.

    Get list of stream jobs

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testStreamJobs = oci.AiVision.getStreamJobs({
        compartmentId: compartmentId,
        displayName: streamJobDisplayName,
        id: streamJobId,
        state: streamJobState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_stream_jobs = oci.AiVision.get_stream_jobs(compartment_id=compartment_id,
        display_name=stream_job_display_name,
        id=stream_job_id,
        state=stream_job_state)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/aivision"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := aivision.GetStreamJobs(ctx, &aivision.GetStreamJobsArgs{
    			CompartmentId: pulumi.StringRef(compartmentId),
    			DisplayName:   pulumi.StringRef(streamJobDisplayName),
    			Id:            pulumi.StringRef(streamJobId),
    			State:         pulumi.StringRef(streamJobState),
    		}, 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 testStreamJobs = Oci.AiVision.GetStreamJobs.Invoke(new()
        {
            CompartmentId = compartmentId,
            DisplayName = streamJobDisplayName,
            Id = streamJobId,
            State = streamJobState,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.AiVision.AiVisionFunctions;
    import com.pulumi.oci.AiVision.inputs.GetStreamJobsArgs;
    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 testStreamJobs = AiVisionFunctions.getStreamJobs(GetStreamJobsArgs.builder()
                .compartmentId(compartmentId)
                .displayName(streamJobDisplayName)
                .id(streamJobId)
                .state(streamJobState)
                .build());
    
        }
    }
    
    variables:
      testStreamJobs:
        fn::invoke:
          function: oci:AiVision:getStreamJobs
          arguments:
            compartmentId: ${compartmentId}
            displayName: ${streamJobDisplayName}
            id: ${streamJobId}
            state: ${streamJobState}
    

    Using getStreamJobs

    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 getStreamJobs(args: GetStreamJobsArgs, opts?: InvokeOptions): Promise<GetStreamJobsResult>
    function getStreamJobsOutput(args: GetStreamJobsOutputArgs, opts?: InvokeOptions): Output<GetStreamJobsResult>
    def get_stream_jobs(compartment_id: Optional[str] = None,
                        display_name: Optional[str] = None,
                        filters: Optional[Sequence[GetStreamJobsFilter]] = None,
                        id: Optional[str] = None,
                        state: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetStreamJobsResult
    def get_stream_jobs_output(compartment_id: Optional[pulumi.Input[str]] = None,
                        display_name: Optional[pulumi.Input[str]] = None,
                        filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetStreamJobsFilterArgs]]]] = None,
                        id: Optional[pulumi.Input[str]] = None,
                        state: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetStreamJobsResult]
    func GetStreamJobs(ctx *Context, args *GetStreamJobsArgs, opts ...InvokeOption) (*GetStreamJobsResult, error)
    func GetStreamJobsOutput(ctx *Context, args *GetStreamJobsOutputArgs, opts ...InvokeOption) GetStreamJobsResultOutput

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

    public static class GetStreamJobs 
    {
        public static Task<GetStreamJobsResult> InvokeAsync(GetStreamJobsArgs args, InvokeOptions? opts = null)
        public static Output<GetStreamJobsResult> Invoke(GetStreamJobsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetStreamJobsResult> getStreamJobs(GetStreamJobsArgs args, InvokeOptions options)
    public static Output<GetStreamJobsResult> getStreamJobs(GetStreamJobsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:AiVision/getStreamJobs:getStreamJobs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The ID of the compartment in which to list resources.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters List<GetStreamJobsFilter>
    Id string
    The filter to find the streamjob with the given identifier.
    State string
    The filter to match projects with the given lifecycleState.
    CompartmentId string
    The ID of the compartment in which to list resources.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters []GetStreamJobsFilter
    Id string
    The filter to find the streamjob with the given identifier.
    State string
    The filter to match projects with the given lifecycleState.
    compartmentId String
    The ID of the compartment in which to list resources.
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<GetStreamJobsFilter>
    id String
    The filter to find the streamjob with the given identifier.
    state String
    The filter to match projects with the given lifecycleState.
    compartmentId string
    The ID of the compartment in which to list resources.
    displayName string
    A filter to return only resources that match the entire display name given.
    filters GetStreamJobsFilter[]
    id string
    The filter to find the streamjob with the given identifier.
    state string
    The filter to match projects with the given lifecycleState.
    compartment_id str
    The ID of the compartment in which to list resources.
    display_name str
    A filter to return only resources that match the entire display name given.
    filters Sequence[GetStreamJobsFilter]
    id str
    The filter to find the streamjob with the given identifier.
    state str
    The filter to match projects with the given lifecycleState.
    compartmentId String
    The ID of the compartment in which to list resources.
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<Property Map>
    id String
    The filter to find the streamjob with the given identifier.
    state String
    The filter to match projects with the given lifecycleState.

    getStreamJobs Result

    The following output properties are available:

    StreamJobCollections List<GetStreamJobsStreamJobCollection>
    The list of stream_job_collection.
    CompartmentId string
    OCID of compartment
    DisplayName string
    Stream job display name.
    Filters List<GetStreamJobsFilter>
    Id string
    OCID of the streamJob.
    State string
    The current state of the Stream job.
    StreamJobCollections []GetStreamJobsStreamJobCollection
    The list of stream_job_collection.
    CompartmentId string
    OCID of compartment
    DisplayName string
    Stream job display name.
    Filters []GetStreamJobsFilter
    Id string
    OCID of the streamJob.
    State string
    The current state of the Stream job.
    streamJobCollections List<GetStreamJobsStreamJobCollection>
    The list of stream_job_collection.
    compartmentId String
    OCID of compartment
    displayName String
    Stream job display name.
    filters List<GetStreamJobsFilter>
    id String
    OCID of the streamJob.
    state String
    The current state of the Stream job.
    streamJobCollections GetStreamJobsStreamJobCollection[]
    The list of stream_job_collection.
    compartmentId string
    OCID of compartment
    displayName string
    Stream job display name.
    filters GetStreamJobsFilter[]
    id string
    OCID of the streamJob.
    state string
    The current state of the Stream job.
    stream_job_collections Sequence[GetStreamJobsStreamJobCollection]
    The list of stream_job_collection.
    compartment_id str
    OCID of compartment
    display_name str
    Stream job display name.
    filters Sequence[GetStreamJobsFilter]
    id str
    OCID of the streamJob.
    state str
    The current state of the Stream job.
    streamJobCollections List<Property Map>
    The list of stream_job_collection.
    compartmentId String
    OCID of compartment
    displayName String
    Stream job display name.
    filters List<Property Map>
    id String
    OCID of the streamJob.
    state String
    The current state of the Stream job.

    Supporting Types

    GetStreamJobsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetStreamJobsStreamJobCollection

    GetStreamJobsStreamJobCollectionItem

    AgentParticipantId string
    participant id of agent where results need to be sent
    CompartmentId string
    The ID of the compartment in which to list resources.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Features List<GetStreamJobsStreamJobCollectionItemFeature>
    a list of document analysis features.
    FreeformTags Dictionary<string, string>
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    Id string
    The filter to find the streamjob with the given identifier.
    LifecycleDetails string
    Additional details about current state of streamJob
    State string
    The filter to match projects with the given lifecycleState.
    StreamOutputLocations List<GetStreamJobsStreamJobCollectionItemStreamOutputLocation>
    Details about a where results will be Sent
    StreamSourceId string
    OCID of the streamSource
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. For example: {"orcl-cloud": {"free-tier-retained": "true"}}
    TimeCreated string
    When the streamJob was created, as an RFC3339 datetime string.
    TimeUpdated string
    When the stream job was updated, as an RFC3339 datetime string.
    AgentParticipantId string
    participant id of agent where results need to be sent
    CompartmentId string
    The ID of the compartment in which to list resources.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Features []GetStreamJobsStreamJobCollectionItemFeature
    a list of document analysis features.
    FreeformTags map[string]string
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    Id string
    The filter to find the streamjob with the given identifier.
    LifecycleDetails string
    Additional details about current state of streamJob
    State string
    The filter to match projects with the given lifecycleState.
    StreamOutputLocations []GetStreamJobsStreamJobCollectionItemStreamOutputLocation
    Details about a where results will be Sent
    StreamSourceId string
    OCID of the streamSource
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. For example: {"orcl-cloud": {"free-tier-retained": "true"}}
    TimeCreated string
    When the streamJob was created, as an RFC3339 datetime string.
    TimeUpdated string
    When the stream job was updated, as an RFC3339 datetime string.
    agentParticipantId String
    participant id of agent where results need to be sent
    compartmentId String
    The ID of the compartment in which to list resources.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
    displayName String
    A filter to return only resources that match the entire display name given.
    features List<GetStreamJobsStreamJobCollectionItemFeature>
    a list of document analysis features.
    freeformTags Map<String,String>
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    id String
    The filter to find the streamjob with the given identifier.
    lifecycleDetails String
    Additional details about current state of streamJob
    state String
    The filter to match projects with the given lifecycleState.
    streamOutputLocations List<GetStreamJobsStreamJobCollectionItemStreamOutputLocation>
    Details about a where results will be Sent
    streamSourceId String
    OCID of the streamSource
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. For example: {"orcl-cloud": {"free-tier-retained": "true"}}
    timeCreated String
    When the streamJob was created, as an RFC3339 datetime string.
    timeUpdated String
    When the stream job was updated, as an RFC3339 datetime string.
    agentParticipantId string
    participant id of agent where results need to be sent
    compartmentId string
    The ID of the compartment in which to list resources.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
    displayName string
    A filter to return only resources that match the entire display name given.
    features GetStreamJobsStreamJobCollectionItemFeature[]
    a list of document analysis features.
    freeformTags {[key: string]: string}
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    id string
    The filter to find the streamjob with the given identifier.
    lifecycleDetails string
    Additional details about current state of streamJob
    state string
    The filter to match projects with the given lifecycleState.
    streamOutputLocations GetStreamJobsStreamJobCollectionItemStreamOutputLocation[]
    Details about a where results will be Sent
    streamSourceId string
    OCID of the streamSource
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. For example: {"orcl-cloud": {"free-tier-retained": "true"}}
    timeCreated string
    When the streamJob was created, as an RFC3339 datetime string.
    timeUpdated string
    When the stream job was updated, as an RFC3339 datetime string.
    agent_participant_id str
    participant id of agent where results need to be sent
    compartment_id str
    The ID of the compartment in which to list resources.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
    display_name str
    A filter to return only resources that match the entire display name given.
    features Sequence[GetStreamJobsStreamJobCollectionItemFeature]
    a list of document analysis features.
    freeform_tags Mapping[str, str]
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    id str
    The filter to find the streamjob with the given identifier.
    lifecycle_details str
    Additional details about current state of streamJob
    state str
    The filter to match projects with the given lifecycleState.
    stream_output_locations Sequence[GetStreamJobsStreamJobCollectionItemStreamOutputLocation]
    Details about a where results will be Sent
    stream_source_id str
    OCID of the streamSource
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. For example: {"orcl-cloud": {"free-tier-retained": "true"}}
    time_created str
    When the streamJob was created, as an RFC3339 datetime string.
    time_updated str
    When the stream job was updated, as an RFC3339 datetime string.
    agentParticipantId String
    participant id of agent where results need to be sent
    compartmentId String
    The ID of the compartment in which to list resources.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
    displayName String
    A filter to return only resources that match the entire display name given.
    features List<Property Map>
    a list of document analysis features.
    freeformTags Map<String>
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    id String
    The filter to find the streamjob with the given identifier.
    lifecycleDetails String
    Additional details about current state of streamJob
    state String
    The filter to match projects with the given lifecycleState.
    streamOutputLocations List<Property Map>
    Details about a where results will be Sent
    streamSourceId String
    OCID of the streamSource
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. For example: {"orcl-cloud": {"free-tier-retained": "true"}}
    timeCreated String
    When the streamJob was created, as an RFC3339 datetime string.
    timeUpdated String
    When the stream job was updated, as an RFC3339 datetime string.

    GetStreamJobsStreamJobCollectionItemFeature

    FeatureType string
    The feature of video analysis. Allowed values are:

    • OBJECT_TRACKING: Object tracking feature(OT).
    • FACE_DETECTION: Face detection feature(FD).
    MaxResults int
    The maximum number of results to return.
    ShouldReturnLandmarks bool
    Whether or not return face landmarks.
    TrackingTypes List<GetStreamJobsStreamJobCollectionItemFeatureTrackingType>
    List of details of what to track.
    FeatureType string
    The feature of video analysis. Allowed values are:

    • OBJECT_TRACKING: Object tracking feature(OT).
    • FACE_DETECTION: Face detection feature(FD).
    MaxResults int
    The maximum number of results to return.
    ShouldReturnLandmarks bool
    Whether or not return face landmarks.
    TrackingTypes []GetStreamJobsStreamJobCollectionItemFeatureTrackingType
    List of details of what to track.
    featureType String
    The feature of video analysis. Allowed values are:

    • OBJECT_TRACKING: Object tracking feature(OT).
    • FACE_DETECTION: Face detection feature(FD).
    maxResults Integer
    The maximum number of results to return.
    shouldReturnLandmarks Boolean
    Whether or not return face landmarks.
    trackingTypes List<GetStreamJobsStreamJobCollectionItemFeatureTrackingType>
    List of details of what to track.
    featureType string
    The feature of video analysis. Allowed values are:

    • OBJECT_TRACKING: Object tracking feature(OT).
    • FACE_DETECTION: Face detection feature(FD).
    maxResults number
    The maximum number of results to return.
    shouldReturnLandmarks boolean
    Whether or not return face landmarks.
    trackingTypes GetStreamJobsStreamJobCollectionItemFeatureTrackingType[]
    List of details of what to track.
    feature_type str
    The feature of video analysis. Allowed values are:

    • OBJECT_TRACKING: Object tracking feature(OT).
    • FACE_DETECTION: Face detection feature(FD).
    max_results int
    The maximum number of results to return.
    should_return_landmarks bool
    Whether or not return face landmarks.
    tracking_types Sequence[GetStreamJobsStreamJobCollectionItemFeatureTrackingType]
    List of details of what to track.
    featureType String
    The feature of video analysis. Allowed values are:

    • OBJECT_TRACKING: Object tracking feature(OT).
    • FACE_DETECTION: Face detection feature(FD).
    maxResults Number
    The maximum number of results to return.
    shouldReturnLandmarks Boolean
    Whether or not return face landmarks.
    trackingTypes List<Property Map>
    List of details of what to track.

    GetStreamJobsStreamJobCollectionItemFeatureTrackingType

    BiometricStoreCompartmentId string
    compartment Id of biometric compartment.
    BiometricStoreId string
    Which biometric store user wants to do face recognition
    DetectionModelId string
    The detection model OCID.
    MaxResults int
    The maximum number of results to return.
    Objects List<string>
    List of the objects to be tracked.
    ShouldReturnLandmarks bool
    Whether or not return face landmarks.
    TrackingModelId string
    The tracking model OCID.
    BiometricStoreCompartmentId string
    compartment Id of biometric compartment.
    BiometricStoreId string
    Which biometric store user wants to do face recognition
    DetectionModelId string
    The detection model OCID.
    MaxResults int
    The maximum number of results to return.
    Objects []string
    List of the objects to be tracked.
    ShouldReturnLandmarks bool
    Whether or not return face landmarks.
    TrackingModelId string
    The tracking model OCID.
    biometricStoreCompartmentId String
    compartment Id of biometric compartment.
    biometricStoreId String
    Which biometric store user wants to do face recognition
    detectionModelId String
    The detection model OCID.
    maxResults Integer
    The maximum number of results to return.
    objects List<String>
    List of the objects to be tracked.
    shouldReturnLandmarks Boolean
    Whether or not return face landmarks.
    trackingModelId String
    The tracking model OCID.
    biometricStoreCompartmentId string
    compartment Id of biometric compartment.
    biometricStoreId string
    Which biometric store user wants to do face recognition
    detectionModelId string
    The detection model OCID.
    maxResults number
    The maximum number of results to return.
    objects string[]
    List of the objects to be tracked.
    shouldReturnLandmarks boolean
    Whether or not return face landmarks.
    trackingModelId string
    The tracking model OCID.
    biometric_store_compartment_id str
    compartment Id of biometric compartment.
    biometric_store_id str
    Which biometric store user wants to do face recognition
    detection_model_id str
    The detection model OCID.
    max_results int
    The maximum number of results to return.
    objects Sequence[str]
    List of the objects to be tracked.
    should_return_landmarks bool
    Whether or not return face landmarks.
    tracking_model_id str
    The tracking model OCID.
    biometricStoreCompartmentId String
    compartment Id of biometric compartment.
    biometricStoreId String
    Which biometric store user wants to do face recognition
    detectionModelId String
    The detection model OCID.
    maxResults Number
    The maximum number of results to return.
    objects List<String>
    List of the objects to be tracked.
    shouldReturnLandmarks Boolean
    Whether or not return face landmarks.
    trackingModelId String
    The tracking model OCID.

    GetStreamJobsStreamJobCollectionItemStreamOutputLocation

    Bucket string
    The Object Storage bucket name.
    Namespace string
    The Object Storage namespace.
    OboToken string
    Object storage output location
    OutputLocationType string
    Type of device Allowed values are:

    • OBJECT_STORAGE
    • LIVEKIT_WEBRTC_AGENT
    Prefix string
    The Object Storage folder name.
    Bucket string
    The Object Storage bucket name.
    Namespace string
    The Object Storage namespace.
    OboToken string
    Object storage output location
    OutputLocationType string
    Type of device Allowed values are:

    • OBJECT_STORAGE
    • LIVEKIT_WEBRTC_AGENT
    Prefix string
    The Object Storage folder name.
    bucket String
    The Object Storage bucket name.
    namespace String
    The Object Storage namespace.
    oboToken String
    Object storage output location
    outputLocationType String
    Type of device Allowed values are:

    • OBJECT_STORAGE
    • LIVEKIT_WEBRTC_AGENT
    prefix String
    The Object Storage folder name.
    bucket string
    The Object Storage bucket name.
    namespace string
    The Object Storage namespace.
    oboToken string
    Object storage output location
    outputLocationType string
    Type of device Allowed values are:

    • OBJECT_STORAGE
    • LIVEKIT_WEBRTC_AGENT
    prefix string
    The Object Storage folder name.
    bucket str
    The Object Storage bucket name.
    namespace str
    The Object Storage namespace.
    obo_token str
    Object storage output location
    output_location_type str
    Type of device Allowed values are:

    • OBJECT_STORAGE
    • LIVEKIT_WEBRTC_AGENT
    prefix str
    The Object Storage folder name.
    bucket String
    The Object Storage bucket name.
    namespace String
    The Object Storage namespace.
    oboToken String
    Object storage output location
    outputLocationType String
    Type of device Allowed values are:

    • OBJECT_STORAGE
    • LIVEKIT_WEBRTC_AGENT
    prefix String
    The Object Storage folder name.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi