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

oci.AiVision.getStreamJob

Explore with Pulumi AI

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

    This data source provides details about a specific Stream Job resource in Oracle Cloud Infrastructure Ai Vision service.

    Get details of a stream analysis job.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testStreamJob = oci.AiVision.getStreamJob({
        streamJobId: testStreamJobOciAiVisionStreamJob.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_stream_job = oci.AiVision.get_stream_job(stream_job_id=test_stream_job_oci_ai_vision_stream_job["id"])
    
    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.GetStreamJob(ctx, &aivision.GetStreamJobArgs{
    			StreamJobId: testStreamJobOciAiVisionStreamJob.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 testStreamJob = Oci.AiVision.GetStreamJob.Invoke(new()
        {
            StreamJobId = testStreamJobOciAiVisionStreamJob.Id,
        });
    
    });
    
    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.GetStreamJobArgs;
    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 testStreamJob = AiVisionFunctions.getStreamJob(GetStreamJobArgs.builder()
                .streamJobId(testStreamJobOciAiVisionStreamJob.id())
                .build());
    
        }
    }
    
    variables:
      testStreamJob:
        fn::invoke:
          function: oci:AiVision:getStreamJob
          arguments:
            streamJobId: ${testStreamJobOciAiVisionStreamJob.id}
    

    Using getStreamJob

    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 getStreamJob(args: GetStreamJobArgs, opts?: InvokeOptions): Promise<GetStreamJobResult>
    function getStreamJobOutput(args: GetStreamJobOutputArgs, opts?: InvokeOptions): Output<GetStreamJobResult>
    def get_stream_job(stream_job_id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetStreamJobResult
    def get_stream_job_output(stream_job_id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetStreamJobResult]
    func LookupStreamJob(ctx *Context, args *LookupStreamJobArgs, opts ...InvokeOption) (*LookupStreamJobResult, error)
    func LookupStreamJobOutput(ctx *Context, args *LookupStreamJobOutputArgs, opts ...InvokeOption) LookupStreamJobResultOutput

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

    public static class GetStreamJob 
    {
        public static Task<GetStreamJobResult> InvokeAsync(GetStreamJobArgs args, InvokeOptions? opts = null)
        public static Output<GetStreamJobResult> Invoke(GetStreamJobInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetStreamJobResult> getStreamJob(GetStreamJobArgs args, InvokeOptions options)
    public static Output<GetStreamJobResult> getStreamJob(GetStreamJobArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:AiVision/getStreamJob:getStreamJob
      arguments:
        # arguments dictionary

    The following arguments are supported:

    StreamJobId string
    Stream job id.
    StreamJobId string
    Stream job id.
    streamJobId String
    Stream job id.
    streamJobId string
    Stream job id.
    stream_job_id str
    Stream job id.
    streamJobId String
    Stream job id.

    getStreamJob Result

    The following output properties are available:

    AgentParticipantId string
    participant id of agent where results need to be sent
    CompartmentId string
    OCID of compartment
    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
    Stream job display name.
    Features List<GetStreamJobFeature>
    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
    OCID of the streamJob.
    LifecycleDetails string
    Additional details about current state of streamJob
    State string
    The current state of the Stream job.
    StreamJobId string
    StreamOutputLocations List<GetStreamJobStreamOutputLocation>
    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
    OCID of compartment
    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
    Stream job display name.
    Features []GetStreamJobFeature
    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
    OCID of the streamJob.
    LifecycleDetails string
    Additional details about current state of streamJob
    State string
    The current state of the Stream job.
    StreamJobId string
    StreamOutputLocations []GetStreamJobStreamOutputLocation
    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
    OCID of compartment
    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
    Stream job display name.
    features List<GetStreamJobFeature>
    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
    OCID of the streamJob.
    lifecycleDetails String
    Additional details about current state of streamJob
    state String
    The current state of the Stream job.
    streamJobId String
    streamOutputLocations List<GetStreamJobStreamOutputLocation>
    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
    OCID of compartment
    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
    Stream job display name.
    features GetStreamJobFeature[]
    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
    OCID of the streamJob.
    lifecycleDetails string
    Additional details about current state of streamJob
    state string
    The current state of the Stream job.
    streamJobId string
    streamOutputLocations GetStreamJobStreamOutputLocation[]
    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
    OCID of compartment
    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
    Stream job display name.
    features Sequence[GetStreamJobFeature]
    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
    OCID of the streamJob.
    lifecycle_details str
    Additional details about current state of streamJob
    state str
    The current state of the Stream job.
    stream_job_id str
    stream_output_locations Sequence[GetStreamJobStreamOutputLocation]
    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
    OCID of compartment
    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
    Stream job display name.
    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
    OCID of the streamJob.
    lifecycleDetails String
    Additional details about current state of streamJob
    state String
    The current state of the Stream job.
    streamJobId String
    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.

    Supporting Types

    GetStreamJobFeature

    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<GetStreamJobFeatureTrackingType>
    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 []GetStreamJobFeatureTrackingType
    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<GetStreamJobFeatureTrackingType>
    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 GetStreamJobFeatureTrackingType[]
    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[GetStreamJobFeatureTrackingType]
    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.

    GetStreamJobFeatureTrackingType

    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.

    GetStreamJobStreamOutputLocation

    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