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

tencentcloud.getCssTimeShiftRecordDetail

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_record_detail

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const timeShiftRecordDetail = tencentcloud.getCssTimeShiftRecordDetail({
        appName: "qqq",
        domain: "177154.push.tlivecloud.com",
        domainGroup: "tf-test",
        endTime: 1698820641,
        startTime: 1698768000,
        streamName: "live",
        transCodeId: 0,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    time_shift_record_detail = tencentcloud.get_css_time_shift_record_detail(app_name="qqq",
        domain="177154.push.tlivecloud.com",
        domain_group="tf-test",
        end_time=1698820641,
        start_time=1698768000,
        stream_name="live",
        trans_code_id=0)
    
    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.GetCssTimeShiftRecordDetail(ctx, &tencentcloud.GetCssTimeShiftRecordDetailArgs{
    			AppName:     "qqq",
    			Domain:      "177154.push.tlivecloud.com",
    			DomainGroup: pulumi.StringRef("tf-test"),
    			EndTime:     1698820641,
    			StartTime:   1698768000,
    			StreamName:  "live",
    			TransCodeId: pulumi.Float64Ref(0),
    		}, 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 timeShiftRecordDetail = Tencentcloud.GetCssTimeShiftRecordDetail.Invoke(new()
        {
            AppName = "qqq",
            Domain = "177154.push.tlivecloud.com",
            DomainGroup = "tf-test",
            EndTime = 1698820641,
            StartTime = 1698768000,
            StreamName = "live",
            TransCodeId = 0,
        });
    
    });
    
    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.GetCssTimeShiftRecordDetailArgs;
    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 timeShiftRecordDetail = TencentcloudFunctions.getCssTimeShiftRecordDetail(GetCssTimeShiftRecordDetailArgs.builder()
                .appName("qqq")
                .domain("177154.push.tlivecloud.com")
                .domainGroup("tf-test")
                .endTime(1698820641)
                .startTime(1698768000)
                .streamName("live")
                .transCodeId(0)
                .build());
    
        }
    }
    
    variables:
      timeShiftRecordDetail:
        fn::invoke:
          function: tencentcloud:getCssTimeShiftRecordDetail
          arguments:
            appName: qqq
            domain: 177154.push.tlivecloud.com
            domainGroup: tf-test
            endTime: 1.698820641e+09
            startTime: 1.698768e+09
            streamName: live
            transCodeId: 0
    

    Using getCssTimeShiftRecordDetail

    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 getCssTimeShiftRecordDetail(args: GetCssTimeShiftRecordDetailArgs, opts?: InvokeOptions): Promise<GetCssTimeShiftRecordDetailResult>
    function getCssTimeShiftRecordDetailOutput(args: GetCssTimeShiftRecordDetailOutputArgs, opts?: InvokeOptions): Output<GetCssTimeShiftRecordDetailResult>
    def get_css_time_shift_record_detail(app_name: Optional[str] = None,
                                         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,
                                         trans_code_id: Optional[float] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetCssTimeShiftRecordDetailResult
    def get_css_time_shift_record_detail_output(app_name: Optional[pulumi.Input[str]] = None,
                                         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,
                                         trans_code_id: Optional[pulumi.Input[float]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetCssTimeShiftRecordDetailResult]
    func GetCssTimeShiftRecordDetail(ctx *Context, args *GetCssTimeShiftRecordDetailArgs, opts ...InvokeOption) (*GetCssTimeShiftRecordDetailResult, error)
    func GetCssTimeShiftRecordDetailOutput(ctx *Context, args *GetCssTimeShiftRecordDetailOutputArgs, opts ...InvokeOption) GetCssTimeShiftRecordDetailResultOutput

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

    public static class GetCssTimeShiftRecordDetail 
    {
        public static Task<GetCssTimeShiftRecordDetailResult> InvokeAsync(GetCssTimeShiftRecordDetailArgs args, InvokeOptions? opts = null)
        public static Output<GetCssTimeShiftRecordDetailResult> Invoke(GetCssTimeShiftRecordDetailInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCssTimeShiftRecordDetailResult> getCssTimeShiftRecordDetail(GetCssTimeShiftRecordDetailArgs args, InvokeOptions options)
    public static Output<GetCssTimeShiftRecordDetailResult> getCssTimeShiftRecordDetail(GetCssTimeShiftRecordDetailArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCssTimeShiftRecordDetail:getCssTimeShiftRecordDetail
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AppName string
    Push path.
    Domain string
    Push domain.
    EndTime double
    The ending time of the query range is specified in Unix timestamp.
    StartTime double
    The starting time of the query range is specified in Unix timestamp.
    StreamName string
    Stream name.
    DomainGroup string
    The streaming domain belongs to a group. If there is no domain group or the domain group is an empty string, it can be left blank.
    Id string
    ResultOutputFile string
    Used to save results.
    TransCodeId double
    The transcoding template ID can be left blank if it is 0.
    AppName string
    Push path.
    Domain string
    Push domain.
    EndTime float64
    The ending time of the query range is specified in Unix timestamp.
    StartTime float64
    The starting time of the query range is specified in Unix timestamp.
    StreamName string
    Stream name.
    DomainGroup string
    The streaming domain belongs to a group. If there is no domain group or the domain group is an empty string, it can be left blank.
    Id string
    ResultOutputFile string
    Used to save results.
    TransCodeId float64
    The transcoding template ID can be left blank if it is 0.
    appName String
    Push path.
    domain String
    Push domain.
    endTime Double
    The ending time of the query range is specified in Unix timestamp.
    startTime Double
    The starting time of the query range is specified in Unix timestamp.
    streamName String
    Stream name.
    domainGroup String
    The streaming domain belongs to a group. If there is no domain group or the domain group is an empty string, it can be left blank.
    id String
    resultOutputFile String
    Used to save results.
    transCodeId Double
    The transcoding template ID can be left blank if it is 0.
    appName string
    Push path.
    domain string
    Push domain.
    endTime number
    The ending time of the query range is specified in Unix timestamp.
    startTime number
    The starting time of the query range is specified in Unix timestamp.
    streamName string
    Stream name.
    domainGroup string
    The streaming domain belongs to a group. If there is no domain group or the domain group is an empty string, it can be left blank.
    id string
    resultOutputFile string
    Used to save results.
    transCodeId number
    The transcoding template ID can be left blank if it is 0.
    app_name str
    Push path.
    domain str
    Push domain.
    end_time float
    The ending time of the query range is specified in Unix timestamp.
    start_time float
    The starting time of the query range is specified in Unix timestamp.
    stream_name str
    Stream name.
    domain_group str
    The streaming domain belongs to a group. If there is no domain group or the domain group is an empty string, it can be left blank.
    id str
    result_output_file str
    Used to save results.
    trans_code_id float
    The transcoding template ID can be left blank if it is 0.
    appName String
    Push path.
    domain String
    Push domain.
    endTime Number
    The ending time of the query range is specified in Unix timestamp.
    startTime Number
    The starting time of the query range is specified in Unix timestamp.
    streamName String
    Stream name.
    domainGroup String
    The streaming domain belongs to a group. If there is no domain group or the domain group is an empty string, it can be left blank.
    id String
    resultOutputFile String
    Used to save results.
    transCodeId Number
    The transcoding template ID can be left blank if it is 0.

    getCssTimeShiftRecordDetail Result

    The following output properties are available:

    AppName string
    Domain string
    EndTime double
    The end time of the recording session is specified in Unix timestamp.
    Id string
    RecordLists List<GetCssTimeShiftRecordDetailRecordList>
    The array of time-shift recording sessions.Note: This field may return null, indicating that no valid value was found.
    StartTime double
    The start time of the recording session is specified in Unix timestamp.
    StreamName string
    DomainGroup string
    ResultOutputFile string
    TransCodeId double
    AppName string
    Domain string
    EndTime float64
    The end time of the recording session is specified in Unix timestamp.
    Id string
    RecordLists []GetCssTimeShiftRecordDetailRecordList
    The array of time-shift recording sessions.Note: This field may return null, indicating that no valid value was found.
    StartTime float64
    The start time of the recording session is specified in Unix timestamp.
    StreamName string
    DomainGroup string
    ResultOutputFile string
    TransCodeId float64
    appName String
    domain String
    endTime Double
    The end time of the recording session is specified in Unix timestamp.
    id String
    recordLists List<GetCssTimeShiftRecordDetailRecordList>
    The array of time-shift recording sessions.Note: This field may return null, indicating that no valid value was found.
    startTime Double
    The start time of the recording session is specified in Unix timestamp.
    streamName String
    domainGroup String
    resultOutputFile String
    transCodeId Double
    appName string
    domain string
    endTime number
    The end time of the recording session is specified in Unix timestamp.
    id string
    recordLists GetCssTimeShiftRecordDetailRecordList[]
    The array of time-shift recording sessions.Note: This field may return null, indicating that no valid value was found.
    startTime number
    The start time of the recording session is specified in Unix timestamp.
    streamName string
    domainGroup string
    resultOutputFile string
    transCodeId number
    app_name str
    domain str
    end_time float
    The end time of the recording session is specified in Unix timestamp.
    id str
    record_lists Sequence[GetCssTimeShiftRecordDetailRecordList]
    The array of time-shift recording sessions.Note: This field may return null, indicating that no valid value was found.
    start_time float
    The start time of the recording session is specified in Unix timestamp.
    stream_name str
    domain_group str
    result_output_file str
    trans_code_id float
    appName String
    domain String
    endTime Number
    The end time of the recording session is specified in Unix timestamp.
    id String
    recordLists List<Property Map>
    The array of time-shift recording sessions.Note: This field may return null, indicating that no valid value was found.
    startTime Number
    The start time of the recording session is specified in Unix timestamp.
    streamName String
    domainGroup String
    resultOutputFile String
    transCodeId Number

    Supporting Types

    GetCssTimeShiftRecordDetailRecordList

    EndTime double
    The ending time of the query range is specified in Unix timestamp.
    Sid string
    The identifier for the time-shift recording session.
    StartTime double
    The starting time of the query range is specified in Unix timestamp.
    EndTime float64
    The ending time of the query range is specified in Unix timestamp.
    Sid string
    The identifier for the time-shift recording session.
    StartTime float64
    The starting time of the query range is specified in Unix timestamp.
    endTime Double
    The ending time of the query range is specified in Unix timestamp.
    sid String
    The identifier for the time-shift recording session.
    startTime Double
    The starting time of the query range is specified in Unix timestamp.
    endTime number
    The ending time of the query range is specified in Unix timestamp.
    sid string
    The identifier for the time-shift recording session.
    startTime number
    The starting time of the query range is specified in Unix timestamp.
    end_time float
    The ending time of the query range is specified in Unix timestamp.
    sid str
    The identifier for the time-shift recording session.
    start_time float
    The starting time of the query range is specified in Unix timestamp.
    endTime Number
    The ending time of the query range is specified in Unix timestamp.
    sid String
    The identifier for the time-shift recording session.
    startTime Number
    The starting time of the query range is specified in Unix timestamp.

    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