Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.AiVision.getStreamSource
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
This data source provides details about a specific Stream Source resource in Oracle Cloud Infrastructure Ai Vision service.
Get a streamSource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testStreamSource = oci.AiVision.getStreamSource({
streamSourceId: testStreamSourceOciAiVisionStreamSource.id,
});
import pulumi
import pulumi_oci as oci
test_stream_source = oci.AiVision.get_stream_source(stream_source_id=test_stream_source_oci_ai_vision_stream_source["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.GetStreamSource(ctx, &aivision.GetStreamSourceArgs{
StreamSourceId: testStreamSourceOciAiVisionStreamSource.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 testStreamSource = Oci.AiVision.GetStreamSource.Invoke(new()
{
StreamSourceId = testStreamSourceOciAiVisionStreamSource.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.GetStreamSourceArgs;
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 testStreamSource = AiVisionFunctions.getStreamSource(GetStreamSourceArgs.builder()
.streamSourceId(testStreamSourceOciAiVisionStreamSource.id())
.build());
}
}
variables:
testStreamSource:
fn::invoke:
function: oci:AiVision:getStreamSource
arguments:
streamSourceId: ${testStreamSourceOciAiVisionStreamSource.id}
Using getStreamSource
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 getStreamSource(args: GetStreamSourceArgs, opts?: InvokeOptions): Promise<GetStreamSourceResult>
function getStreamSourceOutput(args: GetStreamSourceOutputArgs, opts?: InvokeOptions): Output<GetStreamSourceResult>def get_stream_source(stream_source_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStreamSourceResult
def get_stream_source_output(stream_source_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStreamSourceResult]func LookupStreamSource(ctx *Context, args *LookupStreamSourceArgs, opts ...InvokeOption) (*LookupStreamSourceResult, error)
func LookupStreamSourceOutput(ctx *Context, args *LookupStreamSourceOutputArgs, opts ...InvokeOption) LookupStreamSourceResultOutput> Note: This function is named LookupStreamSource in the Go SDK.
public static class GetStreamSource
{
public static Task<GetStreamSourceResult> InvokeAsync(GetStreamSourceArgs args, InvokeOptions? opts = null)
public static Output<GetStreamSourceResult> Invoke(GetStreamSourceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetStreamSourceResult> getStreamSource(GetStreamSourceArgs args, InvokeOptions options)
public static Output<GetStreamSourceResult> getStreamSource(GetStreamSourceArgs args, InvokeOptions options)
fn::invoke:
function: oci:AiVision/getStreamSource:getStreamSource
arguments:
# arguments dictionaryThe following arguments are supported:
- Stream
Source stringId - StreamSource Id.
- Stream
Source stringId - StreamSource Id.
- stream
Source StringId - StreamSource Id.
- stream
Source stringId - StreamSource Id.
- stream_
source_ strid - StreamSource Id.
- stream
Source StringId - StreamSource Id.
getStreamSource Result
The following output properties are available:
- Compartment
Id string - OCID of the compartm.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}} - Display
Name string - display name.
- 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 streamSource.
- State string
- The current state of the streamSource.
- Stream
Source List<GetDetails Stream Source Stream Source Detail> - Details about a stream source
- Stream
Source stringId - Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. For example:
{"orcl-cloud": {"free-tier-retained": "true"}} - Time
Created string - When the streamSource was created, as an RFC3339 datetime string.
- Time
Updated string - When the streamSource was updated, as an RFC3339 datetime string.
- Compartment
Id string - OCID of the compartm.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}} - Display
Name string - display name.
- 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 streamSource.
- State string
- The current state of the streamSource.
- Stream
Source []GetDetails Stream Source Stream Source Detail - Details about a stream source
- Stream
Source stringId - map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. For example:
{"orcl-cloud": {"free-tier-retained": "true"}} - Time
Created string - When the streamSource was created, as an RFC3339 datetime string.
- Time
Updated string - When the streamSource was updated, as an RFC3339 datetime string.
- compartment
Id String - OCID of the compartm.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}} - display
Name String - display name.
- 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 streamSource.
- state String
- The current state of the streamSource.
- stream
Source List<GetDetails Stream Source Stream Source Detail> - Details about a stream source
- stream
Source StringId - Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. For example:
{"orcl-cloud": {"free-tier-retained": "true"}} - time
Created String - When the streamSource was created, as an RFC3339 datetime string.
- time
Updated String - When the streamSource was updated, as an RFC3339 datetime string.
- compartment
Id string - OCID of the compartm.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}} - display
Name string - display name.
- {[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 streamSource.
- state string
- The current state of the streamSource.
- stream
Source GetDetails Stream Source Stream Source Detail[] - Details about a stream source
- stream
Source stringId - {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. For example:
{"orcl-cloud": {"free-tier-retained": "true"}} - time
Created string - When the streamSource was created, as an RFC3339 datetime string.
- time
Updated string - When the streamSource was updated, as an RFC3339 datetime string.
- compartment_
id str - OCID of the compartm.
- 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 - display name.
- 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 streamSource.
- state str
- The current state of the streamSource.
- stream_
source_ Sequence[Getdetails Stream Source Stream Source Detail] - Details about a stream source
- stream_
source_ strid - 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 streamSource was created, as an RFC3339 datetime string.
- time_
updated str - When the streamSource was updated, as an RFC3339 datetime string.
- compartment
Id String - OCID of the compartm.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}} - display
Name String - display name.
- 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 streamSource.
- state String
- The current state of the streamSource.
- stream
Source List<Property Map>Details - Details about a stream source
- stream
Source StringId - Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. For example:
{"orcl-cloud": {"free-tier-retained": "true"}} - time
Created String - When the streamSource was created, as an RFC3339 datetime string.
- time
Updated String - When the streamSource was updated, as an RFC3339 datetime string.
Supporting Types
GetStreamSourceStreamSourceDetail
- Camera
Url string - url of camera
- Secret
Id string - OCID of secret where credentials are stored in username:password format.
- Source
Type string - Type of source Allowed values are:
- RTSP
- Stream
Network List<GetAccess Details Stream Source Stream Source Detail Stream Network Access Detail> - Details about a stream Connection type
- Camera
Url string - url of camera
- Secret
Id string - OCID of secret where credentials are stored in username:password format.
- Source
Type string - Type of source Allowed values are:
- RTSP
- Stream
Network []GetAccess Details Stream Source Stream Source Detail Stream Network Access Detail - Details about a stream Connection type
- camera
Url String - url of camera
- secret
Id String - OCID of secret where credentials are stored in username:password format.
- source
Type String - Type of source Allowed values are:
- RTSP
- stream
Network List<GetAccess Details Stream Source Stream Source Detail Stream Network Access Detail> - Details about a stream Connection type
- camera
Url string - url of camera
- secret
Id string - OCID of secret where credentials are stored in username:password format.
- source
Type string - Type of source Allowed values are:
- RTSP
- stream
Network GetAccess Details Stream Source Stream Source Detail Stream Network Access Detail[] - Details about a stream Connection type
- camera_
url str - url of camera
- secret_
id str - OCID of secret where credentials are stored in username:password format.
- source_
type str - Type of source Allowed values are:
- RTSP
- stream_
network_ Sequence[Getaccess_ details Stream Source Stream Source Detail Stream Network Access Detail] - Details about a stream Connection type
- camera
Url String - url of camera
- secret
Id String - OCID of secret where credentials are stored in username:password format.
- source
Type String - Type of source Allowed values are:
- RTSP
- stream
Network List<Property Map>Access Details - Details about a stream Connection type
GetStreamSourceStreamSourceDetailStreamNetworkAccessDetail
- Private
Endpoint stringId - OCID of the private Endpoint
- Stream
Access stringType - Type of access Allowed values are:
- PRIVATE
- Private
Endpoint stringId - OCID of the private Endpoint
- Stream
Access stringType - Type of access Allowed values are:
- PRIVATE
- private
Endpoint StringId - OCID of the private Endpoint
- stream
Access StringType - Type of access Allowed values are:
- PRIVATE
- private
Endpoint stringId - OCID of the private Endpoint
- stream
Access stringType - Type of access Allowed values are:
- PRIVATE
- private_
endpoint_ strid - OCID of the private Endpoint
- stream_
access_ strtype - Type of access Allowed values are:
- PRIVATE
- private
Endpoint StringId - OCID of the private Endpoint
- stream
Access StringType - Type of access Allowed values are:
- PRIVATE
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.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
