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

tencentcloud.getCssTimeShiftStreamList

Explore with Pulumi AI

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",
});
Copy
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")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
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
Copy

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>
Copy
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]
Copy
func GetCssTimeShiftStreamList(ctx *Context, args *GetCssTimeShiftStreamListArgs, opts ...InvokeOption) (*GetCssTimeShiftStreamListResult, error)
func GetCssTimeShiftStreamListOutput(ctx *Context, args *GetCssTimeShiftStreamListOutputArgs, opts ...InvokeOption) GetCssTimeShiftStreamListResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetCssTimeShiftStreamListResult> getCssTimeShiftStreamList(GetCssTimeShiftStreamListArgs args, InvokeOptions options)
public static Output<GetCssTimeShiftStreamListResult> getCssTimeShiftStreamList(GetCssTimeShiftStreamListArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getCssTimeShiftStreamList:getCssTimeShiftStreamList
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

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