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

oci.AiVision.getStreamGroup

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 Group resource in Oracle Cloud Infrastructure Ai Vision service.

    Get a streamGroup

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testStreamGroup = oci.AiVision.getStreamGroup({
        streamGroupId: testStreamGroupOciAiVisionStreamGroup.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_stream_group = oci.AiVision.get_stream_group(stream_group_id=test_stream_group_oci_ai_vision_stream_group["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.GetStreamGroup(ctx, &aivision.GetStreamGroupArgs{
    			StreamGroupId: testStreamGroupOciAiVisionStreamGroup.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 testStreamGroup = Oci.AiVision.GetStreamGroup.Invoke(new()
        {
            StreamGroupId = testStreamGroupOciAiVisionStreamGroup.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.GetStreamGroupArgs;
    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 testStreamGroup = AiVisionFunctions.getStreamGroup(GetStreamGroupArgs.builder()
                .streamGroupId(testStreamGroupOciAiVisionStreamGroup.id())
                .build());
    
        }
    }
    
    variables:
      testStreamGroup:
        fn::invoke:
          function: oci:AiVision:getStreamGroup
          arguments:
            streamGroupId: ${testStreamGroupOciAiVisionStreamGroup.id}
    

    Using getStreamGroup

    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 getStreamGroup(args: GetStreamGroupArgs, opts?: InvokeOptions): Promise<GetStreamGroupResult>
    function getStreamGroupOutput(args: GetStreamGroupOutputArgs, opts?: InvokeOptions): Output<GetStreamGroupResult>
    def get_stream_group(stream_group_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetStreamGroupResult
    def get_stream_group_output(stream_group_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetStreamGroupResult]
    func LookupStreamGroup(ctx *Context, args *LookupStreamGroupArgs, opts ...InvokeOption) (*LookupStreamGroupResult, error)
    func LookupStreamGroupOutput(ctx *Context, args *LookupStreamGroupOutputArgs, opts ...InvokeOption) LookupStreamGroupResultOutput

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

    public static class GetStreamGroup 
    {
        public static Task<GetStreamGroupResult> InvokeAsync(GetStreamGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetStreamGroupResult> Invoke(GetStreamGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetStreamGroupResult> getStreamGroup(GetStreamGroupArgs args, InvokeOptions options)
    public static Output<GetStreamGroupResult> getStreamGroup(GetStreamGroupArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:AiVision/getStreamGroup:getStreamGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    StreamGroupId string
    StreamGroup Id.
    StreamGroupId string
    StreamGroup Id.
    streamGroupId String
    StreamGroup Id.
    streamGroupId string
    StreamGroup Id.
    stream_group_id str
    StreamGroup Id.
    streamGroupId String
    StreamGroup Id.

    getStreamGroup Result

    The following output properties are available:

    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
    A human-friendly name for the streamGroup.
    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 streamGroup.
    IsEnabled bool
    Stream
    State string
    The current state of the streamGroup.
    StreamGroupId string
    StreamOverlaps List<GetStreamGroupStreamOverlap>
    List of streamSource OCIDs where the streamSource overlaps in field of view.
    StreamSourceIds List<string>
    List of streamSource OCIDs associated with the stream group
    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 streamGroup was created, as an RFC3339 datetime string.
    TimeUpdated string
    When the streamGroup was updated, as an RFC3339 datetime string.
    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
    A human-friendly name for the streamGroup.
    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 streamGroup.
    IsEnabled bool
    Stream
    State string
    The current state of the streamGroup.
    StreamGroupId string
    StreamOverlaps []GetStreamGroupStreamOverlap
    List of streamSource OCIDs where the streamSource overlaps in field of view.
    StreamSourceIds []string
    List of streamSource OCIDs associated with the stream group
    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 streamGroup was created, as an RFC3339 datetime string.
    TimeUpdated string
    When the streamGroup was updated, as an RFC3339 datetime string.
    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
    A human-friendly name for the streamGroup.
    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 streamGroup.
    isEnabled Boolean
    Stream
    state String
    The current state of the streamGroup.
    streamGroupId String
    streamOverlaps List<GetStreamGroupStreamOverlap>
    List of streamSource OCIDs where the streamSource overlaps in field of view.
    streamSourceIds List<String>
    List of streamSource OCIDs associated with the stream group
    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 streamGroup was created, as an RFC3339 datetime string.
    timeUpdated String
    When the streamGroup was updated, as an RFC3339 datetime string.
    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
    A human-friendly name for the streamGroup.
    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 streamGroup.
    isEnabled boolean
    Stream
    state string
    The current state of the streamGroup.
    streamGroupId string
    streamOverlaps GetStreamGroupStreamOverlap[]
    List of streamSource OCIDs where the streamSource overlaps in field of view.
    streamSourceIds string[]
    List of streamSource OCIDs associated with the stream group
    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 streamGroup was created, as an RFC3339 datetime string.
    timeUpdated string
    When the streamGroup was updated, as an RFC3339 datetime string.
    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
    A human-friendly name for the streamGroup.
    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 streamGroup.
    is_enabled bool
    Stream
    state str
    The current state of the streamGroup.
    stream_group_id str
    stream_overlaps Sequence[GetStreamGroupStreamOverlap]
    List of streamSource OCIDs where the streamSource overlaps in field of view.
    stream_source_ids Sequence[str]
    List of streamSource OCIDs associated with the stream group
    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 streamGroup was created, as an RFC3339 datetime string.
    time_updated str
    When the streamGroup was updated, as an RFC3339 datetime string.
    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
    A human-friendly name for the streamGroup.
    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 streamGroup.
    isEnabled Boolean
    Stream
    state String
    The current state of the streamGroup.
    streamGroupId String
    streamOverlaps List<Property Map>
    List of streamSource OCIDs where the streamSource overlaps in field of view.
    streamSourceIds List<String>
    List of streamSource OCIDs associated with the stream group
    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 streamGroup was created, as an RFC3339 datetime string.
    timeUpdated String
    When the streamGroup was updated, as an RFC3339 datetime string.

    Supporting Types

    GetStreamGroupStreamOverlap

    OverlappingStreams List<string>
    List of streamSource OCIDs.
    OverlappingStreams []string
    List of streamSource OCIDs.
    overlappingStreams List<String>
    List of streamSource OCIDs.
    overlappingStreams string[]
    List of streamSource OCIDs.
    overlapping_streams Sequence[str]
    List of streamSource OCIDs.
    overlappingStreams List<String>
    List of streamSource OCIDs.

    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