tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getCssTimeShiftStreamList
Explore with Pulumi AI
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:
- End
Time double - The end time, which must be a Unix timestamp.
- Start
Time double - The start time, which must be a Unix timestamp.
- Domain string
- The push domain.
- Domain
Group string - The group the push domain belongs to.
- Id string
- Result
Output stringFile - Used to save results.
- Stream
Name string - The stream name.
- End
Time float64 - The end time, which must be a Unix timestamp.
- Start
Time float64 - The start time, which must be a Unix timestamp.
- Domain string
- The push domain.
- Domain
Group string - The group the push domain belongs to.
- Id string
- Result
Output stringFile - Used to save results.
- Stream
Name string - The stream name.
- end
Time Double - The end time, which must be a Unix timestamp.
- start
Time Double - The start time, which must be a Unix timestamp.
- domain String
- The push domain.
- domain
Group String - The group the push domain belongs to.
- id String
- result
Output StringFile - Used to save results.
- stream
Name String - The stream name.
- end
Time number - The end time, which must be a Unix timestamp.
- start
Time number - The start time, which must be a Unix timestamp.
- domain string
- The push domain.
- domain
Group string - The group the push domain belongs to.
- id string
- result
Output stringFile - Used to save results.
- stream
Name 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_ strfile - Used to save results.
- stream_
name str - The stream name.
- end
Time Number - The end time, which must be a Unix timestamp.
- start
Time Number - The start time, which must be a Unix timestamp.
- domain String
- The push domain.
- domain
Group String - The group the push domain belongs to.
- id String
- result
Output StringFile - Used to save results.
- stream
Name String - The stream name.
getCssTimeShiftStreamList Result
The following output properties are available:
- End
Time double - The stream end time (for streams that ended before the time of query), which is a Unix timestamp.
- Id string
- Start
Time double - The stream start time, which is a Unix timestamp.
- Stream
Lists List<GetCss Time Shift Stream List Stream List> - The information of the streams.Note: This field may return null, indicating that no valid values can be obtained.
- Total
Size double - The total number of records in the specified time period.
- Domain string
- The push domain.
- Domain
Group string - The group the push domain belongs to.Note: This field may return null, indicating that no valid values can be obtained.
- Result
Output stringFile - Stream
Name string - The stream name.
- End
Time float64 - The stream end time (for streams that ended before the time of query), which is a Unix timestamp.
- Id string
- Start
Time float64 - The stream start time, which is a Unix timestamp.
- Stream
Lists []GetCss Time Shift Stream List Stream List - The information of the streams.Note: This field may return null, indicating that no valid values can be obtained.
- Total
Size float64 - The total number of records in the specified time period.
- Domain string
- The push domain.
- Domain
Group string - The group the push domain belongs to.Note: This field may return null, indicating that no valid values can be obtained.
- Result
Output stringFile - Stream
Name string - The stream name.
- end
Time Double - The stream end time (for streams that ended before the time of query), which is a Unix timestamp.
- id String
- start
Time Double - The stream start time, which is a Unix timestamp.
- stream
Lists List<GetCss Time Shift Stream List Stream List> - The information of the streams.Note: This field may return null, indicating that no valid values can be obtained.
- total
Size Double - The total number of records in the specified time period.
- domain String
- The push domain.
- domain
Group String - The group the push domain belongs to.Note: This field may return null, indicating that no valid values can be obtained.
- result
Output StringFile - stream
Name String - The stream name.
- end
Time number - The stream end time (for streams that ended before the time of query), which is a Unix timestamp.
- id string
- start
Time number - The stream start time, which is a Unix timestamp.
- stream
Lists GetCss Time Shift Stream List Stream List[] - The information of the streams.Note: This field may return null, indicating that no valid values can be obtained.
- total
Size number - The total number of records in the specified time period.
- domain string
- The push domain.
- domain
Group string - The group the push domain belongs to.Note: This field may return null, indicating that no valid values can be obtained.
- result
Output stringFile - stream
Name 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[GetCss Time Shift Stream List Stream List] - 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_ strfile - stream_
name str - The stream name.
- end
Time Number - The stream end time (for streams that ended before the time of query), which is a Unix timestamp.
- id String
- start
Time Number - The stream start time, which is a Unix timestamp.
- stream
Lists List<Property Map> - The information of the streams.Note: This field may return null, indicating that no valid values can be obtained.
- total
Size Number - The total number of records in the specified time period.
- domain String
- The push domain.
- domain
Group String - The group the push domain belongs to.Note: This field may return null, indicating that no valid values can be obtained.
- result
Output StringFile - stream
Name String - The stream name.
Supporting Types
GetCssTimeShiftStreamListStreamList
- App
Name string - The push path.
- Domain string
- The push domain.
- Domain
Group 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.
- End
Time double - The end time, which must be a Unix timestamp.
- Start
Time double - The start time, which must be a Unix timestamp.
- Stream
Name string - The stream name.
- Stream
Type double - The stream type.
0
: The original stream;1
: The watermarked stream;2
: The transcoded stream. - Trans
Code doubleId - The transcoding template ID.Note: This field may return null, indicating that no valid values can be obtained.
- App
Name string - The push path.
- Domain string
- The push domain.
- Domain
Group 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.
- End
Time float64 - The end time, which must be a Unix timestamp.
- Start
Time float64 - The start time, which must be a Unix timestamp.
- Stream
Name string - The stream name.
- Stream
Type float64 - The stream type.
0
: The original stream;1
: The watermarked stream;2
: The transcoded stream. - Trans
Code float64Id - The transcoding template ID.Note: This field may return null, indicating that no valid values can be obtained.
- app
Name String - The push path.
- domain String
- The push domain.
- domain
Group 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.
- end
Time Double - The end time, which must be a Unix timestamp.
- start
Time Double - The start time, which must be a Unix timestamp.
- stream
Name String - The stream name.
- stream
Type Double - The stream type.
0
: The original stream;1
: The watermarked stream;2
: The transcoded stream. - trans
Code DoubleId - The transcoding template ID.Note: This field may return null, indicating that no valid values can be obtained.
- app
Name string - The push path.
- domain string
- The push domain.
- domain
Group 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.
- end
Time number - The end time, which must be a Unix timestamp.
- start
Time number - The start time, which must be a Unix timestamp.
- stream
Name string - The stream name.
- stream
Type number - The stream type.
0
: The original stream;1
: The watermarked stream;2
: The transcoded stream. - trans
Code numberId - 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_ floatid - The transcoding template ID.Note: This field may return null, indicating that no valid values can be obtained.
- app
Name String - The push path.
- domain String
- The push domain.
- domain
Group 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.
- end
Time Number - The end time, which must be a Unix timestamp.
- start
Time Number - The start time, which must be a Unix timestamp.
- stream
Name String - The stream name.
- stream
Type Number - The stream type.
0
: The original stream;1
: The watermarked stream;2
: The transcoded stream. - trans
Code NumberId - 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 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack