1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getCssTimeShiftStreamList
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getCssTimeShiftStreamList

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of css time_shift_stream_list

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const timeShiftStreamList = tencentcloud.getCssTimeShiftStreamList({
        domain: "177154.push.tlivecloud.com",
        domainGroup: "tf-test",
        endTime: 1698820641,
        startTime: 1698768000,
        streamName: "live",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    time_shift_stream_list = tencentcloud.get_css_time_shift_stream_list(domain="177154.push.tlivecloud.com",
        domain_group="tf-test",
        end_time=1698820641,
        start_time=1698768000,
        stream_name="live")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetCssTimeShiftStreamList(ctx, &tencentcloud.GetCssTimeShiftStreamListArgs{
    			Domain:      pulumi.StringRef("177154.push.tlivecloud.com"),
    			DomainGroup: pulumi.StringRef("tf-test"),
    			EndTime:     1698820641,
    			StartTime:   1698768000,
    			StreamName:  pulumi.StringRef("live"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var timeShiftStreamList = Tencentcloud.GetCssTimeShiftStreamList.Invoke(new()
        {
            Domain = "177154.push.tlivecloud.com",
            DomainGroup = "tf-test",
            EndTime = 1698820641,
            StartTime = 1698768000,
            StreamName = "live",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetCssTimeShiftStreamListArgs;
    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 timeShiftStreamList = TencentcloudFunctions.getCssTimeShiftStreamList(GetCssTimeShiftStreamListArgs.builder()
                .domain("177154.push.tlivecloud.com")
                .domainGroup("tf-test")
                .endTime(1698820641)
                .startTime(1698768000)
                .streamName("live")
                .build());
    
        }
    }
    
    variables:
      timeShiftStreamList:
        fn::invoke:
          function: tencentcloud:getCssTimeShiftStreamList
          arguments:
            domain: 177154.push.tlivecloud.com
            domainGroup: tf-test
            endTime: 1.698820641e+09
            startTime: 1.698768e+09
            streamName: live
    

    Using getCssTimeShiftStreamList

    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 getCssTimeShiftStreamList(args: GetCssTimeShiftStreamListArgs, opts?: InvokeOptions): Promise<GetCssTimeShiftStreamListResult>
    function getCssTimeShiftStreamListOutput(args: GetCssTimeShiftStreamListOutputArgs, opts?: InvokeOptions): Output<GetCssTimeShiftStreamListResult>
    def get_css_time_shift_stream_list(domain: Optional[str] = None,
                                       domain_group: Optional[str] = None,
                                       end_time: Optional[float] = None,
                                       id: Optional[str] = None,
                                       result_output_file: Optional[str] = None,
                                       start_time: Optional[float] = None,
                                       stream_name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetCssTimeShiftStreamListResult
    def get_css_time_shift_stream_list_output(domain: Optional[pulumi.Input[str]] = None,
                                       domain_group: Optional[pulumi.Input[str]] = None,
                                       end_time: Optional[pulumi.Input[float]] = None,
                                       id: Optional[pulumi.Input[str]] = None,
                                       result_output_file: Optional[pulumi.Input[str]] = None,
                                       start_time: Optional[pulumi.Input[float]] = None,
                                       stream_name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetCssTimeShiftStreamListResult]
    func GetCssTimeShiftStreamList(ctx *Context, args *GetCssTimeShiftStreamListArgs, opts ...InvokeOption) (*GetCssTimeShiftStreamListResult, error)
    func GetCssTimeShiftStreamListOutput(ctx *Context, args *GetCssTimeShiftStreamListOutputArgs, opts ...InvokeOption) GetCssTimeShiftStreamListResultOutput

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

    public static class GetCssTimeShiftStreamList 
    {
        public static Task<GetCssTimeShiftStreamListResult> InvokeAsync(GetCssTimeShiftStreamListArgs args, InvokeOptions? opts = null)
        public static Output<GetCssTimeShiftStreamListResult> Invoke(GetCssTimeShiftStreamListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCssTimeShiftStreamListResult> getCssTimeShiftStreamList(GetCssTimeShiftStreamListArgs args, InvokeOptions options)
    public static Output<GetCssTimeShiftStreamListResult> getCssTimeShiftStreamList(GetCssTimeShiftStreamListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCssTimeShiftStreamList:getCssTimeShiftStreamList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EndTime double
    The end time, which must be a Unix timestamp.
    StartTime double
    The start time, which must be a Unix timestamp.
    Domain string
    The push domain.
    DomainGroup string
    The group the push domain belongs to.
    Id string
    ResultOutputFile string
    Used to save results.
    StreamName string
    The stream name.
    EndTime float64
    The end time, which must be a Unix timestamp.
    StartTime float64
    The start time, which must be a Unix timestamp.
    Domain string
    The push domain.
    DomainGroup string
    The group the push domain belongs to.
    Id string
    ResultOutputFile string
    Used to save results.
    StreamName string
    The stream name.
    endTime Double
    The end time, which must be a Unix timestamp.
    startTime Double
    The start time, which must be a Unix timestamp.
    domain String
    The push domain.
    domainGroup String
    The group the push domain belongs to.
    id String
    resultOutputFile String
    Used to save results.
    streamName String
    The stream name.
    endTime number
    The end time, which must be a Unix timestamp.
    startTime number
    The start time, which must be a Unix timestamp.
    domain string
    The push domain.
    domainGroup string
    The group the push domain belongs to.
    id string
    resultOutputFile string
    Used to save results.
    streamName string
    The stream name.
    end_time float
    The end time, which must be a Unix timestamp.
    start_time float
    The start time, which must be a Unix timestamp.
    domain str
    The push domain.
    domain_group str
    The group the push domain belongs to.
    id str
    result_output_file str
    Used to save results.
    stream_name str
    The stream name.
    endTime Number
    The end time, which must be a Unix timestamp.
    startTime Number
    The start time, which must be a Unix timestamp.
    domain String
    The push domain.
    domainGroup String
    The group the push domain belongs to.
    id String
    resultOutputFile String
    Used to save results.
    streamName String
    The stream name.

    getCssTimeShiftStreamList Result

    The following output properties are available:

    EndTime double
    The stream end time (for streams that ended before the time of query), which is a Unix timestamp.
    Id string
    StartTime double
    The stream start time, which is a Unix timestamp.
    StreamLists List<GetCssTimeShiftStreamListStreamList>
    The information of the streams.Note: This field may return null, indicating that no valid values can be obtained.
    TotalSize double
    The total number of records in the specified time period.
    Domain string
    The push domain.
    DomainGroup string
    The group the push domain belongs to.Note: This field may return null, indicating that no valid values can be obtained.
    ResultOutputFile string
    StreamName string
    The stream name.
    EndTime float64
    The stream end time (for streams that ended before the time of query), which is a Unix timestamp.
    Id string
    StartTime float64
    The stream start time, which is a Unix timestamp.
    StreamLists []GetCssTimeShiftStreamListStreamList
    The information of the streams.Note: This field may return null, indicating that no valid values can be obtained.
    TotalSize float64
    The total number of records in the specified time period.
    Domain string
    The push domain.
    DomainGroup string
    The group the push domain belongs to.Note: This field may return null, indicating that no valid values can be obtained.
    ResultOutputFile string
    StreamName string
    The stream name.
    endTime Double
    The stream end time (for streams that ended before the time of query), which is a Unix timestamp.
    id String
    startTime Double
    The stream start time, which is a Unix timestamp.
    streamLists List<GetCssTimeShiftStreamListStreamList>
    The information of the streams.Note: This field may return null, indicating that no valid values can be obtained.
    totalSize Double
    The total number of records in the specified time period.
    domain String
    The push domain.
    domainGroup String
    The group the push domain belongs to.Note: This field may return null, indicating that no valid values can be obtained.
    resultOutputFile String
    streamName String
    The stream name.
    endTime number
    The stream end time (for streams that ended before the time of query), which is a Unix timestamp.
    id string
    startTime number
    The stream start time, which is a Unix timestamp.
    streamLists GetCssTimeShiftStreamListStreamList[]
    The information of the streams.Note: This field may return null, indicating that no valid values can be obtained.
    totalSize number
    The total number of records in the specified time period.
    domain string
    The push domain.
    domainGroup string
    The group the push domain belongs to.Note: This field may return null, indicating that no valid values can be obtained.
    resultOutputFile string
    streamName string
    The stream name.
    end_time float
    The stream end time (for streams that ended before the time of query), which is a Unix timestamp.
    id str
    start_time float
    The stream start time, which is a Unix timestamp.
    stream_lists Sequence[GetCssTimeShiftStreamListStreamList]
    The information of the streams.Note: This field may return null, indicating that no valid values can be obtained.
    total_size float
    The total number of records in the specified time period.
    domain str
    The push domain.
    domain_group str
    The group the push domain belongs to.Note: This field may return null, indicating that no valid values can be obtained.
    result_output_file str
    stream_name str
    The stream name.
    endTime Number
    The stream end time (for streams that ended before the time of query), which is a Unix timestamp.
    id String
    startTime Number
    The stream start time, which is a Unix timestamp.
    streamLists List<Property Map>
    The information of the streams.Note: This field may return null, indicating that no valid values can be obtained.
    totalSize Number
    The total number of records in the specified time period.
    domain String
    The push domain.
    domainGroup String
    The group the push domain belongs to.Note: This field may return null, indicating that no valid values can be obtained.
    resultOutputFile String
    streamName String
    The stream name.

    Supporting Types

    GetCssTimeShiftStreamListStreamList

    AppName string
    The push path.
    Domain string
    The push domain.
    DomainGroup string
    The group the push domain belongs to.
    Duration double
    The storage duration (seconds) of the recording.Note: This field may return null, indicating that no valid values can be obtained.
    EndTime double
    The end time, which must be a Unix timestamp.
    StartTime double
    The start time, which must be a Unix timestamp.
    StreamName string
    The stream name.
    StreamType double
    The stream type. 0: The original stream; 1: The watermarked stream; 2: The transcoded stream.
    TransCodeId double
    The transcoding template ID.Note: This field may return null, indicating that no valid values can be obtained.
    AppName string
    The push path.
    Domain string
    The push domain.
    DomainGroup string
    The group the push domain belongs to.
    Duration float64
    The storage duration (seconds) of the recording.Note: This field may return null, indicating that no valid values can be obtained.
    EndTime float64
    The end time, which must be a Unix timestamp.
    StartTime float64
    The start time, which must be a Unix timestamp.
    StreamName string
    The stream name.
    StreamType float64
    The stream type. 0: The original stream; 1: The watermarked stream; 2: The transcoded stream.
    TransCodeId float64
    The transcoding template ID.Note: This field may return null, indicating that no valid values can be obtained.
    appName String
    The push path.
    domain String
    The push domain.
    domainGroup String
    The group the push domain belongs to.
    duration Double
    The storage duration (seconds) of the recording.Note: This field may return null, indicating that no valid values can be obtained.
    endTime Double
    The end time, which must be a Unix timestamp.
    startTime Double
    The start time, which must be a Unix timestamp.
    streamName String
    The stream name.
    streamType Double
    The stream type. 0: The original stream; 1: The watermarked stream; 2: The transcoded stream.
    transCodeId Double
    The transcoding template ID.Note: This field may return null, indicating that no valid values can be obtained.
    appName string
    The push path.
    domain string
    The push domain.
    domainGroup string
    The group the push domain belongs to.
    duration number
    The storage duration (seconds) of the recording.Note: This field may return null, indicating that no valid values can be obtained.
    endTime number
    The end time, which must be a Unix timestamp.
    startTime number
    The start time, which must be a Unix timestamp.
    streamName string
    The stream name.
    streamType number
    The stream type. 0: The original stream; 1: The watermarked stream; 2: The transcoded stream.
    transCodeId number
    The transcoding template ID.Note: This field may return null, indicating that no valid values can be obtained.
    app_name str
    The push path.
    domain str
    The push domain.
    domain_group str
    The group the push domain belongs to.
    duration float
    The storage duration (seconds) of the recording.Note: This field may return null, indicating that no valid values can be obtained.
    end_time float
    The end time, which must be a Unix timestamp.
    start_time float
    The start time, which must be a Unix timestamp.
    stream_name str
    The stream name.
    stream_type float
    The stream type. 0: The original stream; 1: The watermarked stream; 2: The transcoded stream.
    trans_code_id float
    The transcoding template ID.Note: This field may return null, indicating that no valid values can be obtained.
    appName String
    The push path.
    domain String
    The push domain.
    domainGroup String
    The group the push domain belongs to.
    duration Number
    The storage duration (seconds) of the recording.Note: This field may return null, indicating that no valid values can be obtained.
    endTime Number
    The end time, which must be a Unix timestamp.
    startTime Number
    The start time, which must be a Unix timestamp.
    streamName String
    The stream name.
    streamType Number
    The stream type. 0: The original stream; 1: The watermarked stream; 2: The transcoded stream.
    transCodeId Number
    The transcoding template ID.Note: This field may return null, indicating that no valid values can be obtained.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack