tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getCssXp2pDetailInfoList
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 xp2p_detail_info_list
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const xp2pDetailInfoList = tencentcloud.getCssXp2pDetailInfoList({
queryTime: "2023-11-01T14:55:01+08:00",
types: ["live"],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
xp2p_detail_info_list = tencentcloud.get_css_xp2p_detail_info_list(query_time="2023-11-01T14:55:01+08:00",
types=["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.GetCssXp2pDetailInfoList(ctx, &tencentcloud.GetCssXp2pDetailInfoListArgs{
QueryTime: pulumi.StringRef("2023-11-01T14:55:01+08:00"),
Types: []string{
"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 xp2pDetailInfoList = Tencentcloud.GetCssXp2pDetailInfoList.Invoke(new()
{
QueryTime = "2023-11-01T14:55:01+08:00",
Types = new[]
{
"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.GetCssXp2pDetailInfoListArgs;
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 xp2pDetailInfoList = TencentcloudFunctions.getCssXp2pDetailInfoList(GetCssXp2pDetailInfoListArgs.builder()
.queryTime("2023-11-01T14:55:01+08:00")
.types("live")
.build());
}
}
variables:
xp2pDetailInfoList:
fn::invoke:
function: tencentcloud:getCssXp2pDetailInfoList
arguments:
queryTime: 2023-11-01T14:55:01+08:00
types:
- live
Using getCssXp2pDetailInfoList
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 getCssXp2pDetailInfoList(args: GetCssXp2pDetailInfoListArgs, opts?: InvokeOptions): Promise<GetCssXp2pDetailInfoListResult>
function getCssXp2pDetailInfoListOutput(args: GetCssXp2pDetailInfoListOutputArgs, opts?: InvokeOptions): Output<GetCssXp2pDetailInfoListResult>
def get_css_xp2p_detail_info_list(dimensions: Optional[Sequence[str]] = None,
id: Optional[str] = None,
query_time: Optional[str] = None,
result_output_file: Optional[str] = None,
stream_names: Optional[Sequence[str]] = None,
types: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetCssXp2pDetailInfoListResult
def get_css_xp2p_detail_info_list_output(dimensions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
id: Optional[pulumi.Input[str]] = None,
query_time: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
stream_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCssXp2pDetailInfoListResult]
func GetCssXp2pDetailInfoList(ctx *Context, args *GetCssXp2pDetailInfoListArgs, opts ...InvokeOption) (*GetCssXp2pDetailInfoListResult, error)
func GetCssXp2pDetailInfoListOutput(ctx *Context, args *GetCssXp2pDetailInfoListOutputArgs, opts ...InvokeOption) GetCssXp2pDetailInfoListResultOutput
> Note: This function is named GetCssXp2pDetailInfoList
in the Go SDK.
public static class GetCssXp2pDetailInfoList
{
public static Task<GetCssXp2pDetailInfoListResult> InvokeAsync(GetCssXp2pDetailInfoListArgs args, InvokeOptions? opts = null)
public static Output<GetCssXp2pDetailInfoListResult> Invoke(GetCssXp2pDetailInfoListInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCssXp2pDetailInfoListResult> getCssXp2pDetailInfoList(GetCssXp2pDetailInfoListArgs args, InvokeOptions options)
public static Output<GetCssXp2pDetailInfoListResult> getCssXp2pDetailInfoList(GetCssXp2pDetailInfoListArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getCssXp2pDetailInfoList:getCssXp2pDetailInfoList
arguments:
# arguments dictionary
The following arguments are supported:
- Dimensions List<string>
- The dimension parameter can be used to specify the dimension for the query. If this parameter is not passed, the query will default to stream-level data. If you pass this parameter, it will only retrieve data for the specified dimension. The available dimension currently supported is AppId dimension, which allows you to query data based on the application ID. Please note that the returned fields will be related to the specified dimension.
- Id string
- Query
Time string - The UTC minute granularity query time for querying usage data for a specific minute is in the format: yyyy-mm-ddTHH:MM:00Z. Please refer to the link https://cloud.tencent.com/document/product/266/11732#I.For example, if the local time is 2019-01-08 10:00:00 in Beijing, the corresponding UTC time would be 2019-01-08T10:00:00+08:00.This query supports data from the past six months.
- Result
Output stringFile - Used to save results.
- Stream
Names List<string> - The stream array can be used to specify the streams to be queried. If no stream is specified, the query will include all streams by default.
- Types List<string>
- The type array can be used to specify the type of media content to be queried. The two available options are live for live streaming and vod for video on demand. If no type is specified, the query will include both live and VOD content by default.
- Dimensions []string
- The dimension parameter can be used to specify the dimension for the query. If this parameter is not passed, the query will default to stream-level data. If you pass this parameter, it will only retrieve data for the specified dimension. The available dimension currently supported is AppId dimension, which allows you to query data based on the application ID. Please note that the returned fields will be related to the specified dimension.
- Id string
- Query
Time string - The UTC minute granularity query time for querying usage data for a specific minute is in the format: yyyy-mm-ddTHH:MM:00Z. Please refer to the link https://cloud.tencent.com/document/product/266/11732#I.For example, if the local time is 2019-01-08 10:00:00 in Beijing, the corresponding UTC time would be 2019-01-08T10:00:00+08:00.This query supports data from the past six months.
- Result
Output stringFile - Used to save results.
- Stream
Names []string - The stream array can be used to specify the streams to be queried. If no stream is specified, the query will include all streams by default.
- Types []string
- The type array can be used to specify the type of media content to be queried. The two available options are live for live streaming and vod for video on demand. If no type is specified, the query will include both live and VOD content by default.
- dimensions List<String>
- The dimension parameter can be used to specify the dimension for the query. If this parameter is not passed, the query will default to stream-level data. If you pass this parameter, it will only retrieve data for the specified dimension. The available dimension currently supported is AppId dimension, which allows you to query data based on the application ID. Please note that the returned fields will be related to the specified dimension.
- id String
- query
Time String - The UTC minute granularity query time for querying usage data for a specific minute is in the format: yyyy-mm-ddTHH:MM:00Z. Please refer to the link https://cloud.tencent.com/document/product/266/11732#I.For example, if the local time is 2019-01-08 10:00:00 in Beijing, the corresponding UTC time would be 2019-01-08T10:00:00+08:00.This query supports data from the past six months.
- result
Output StringFile - Used to save results.
- stream
Names List<String> - The stream array can be used to specify the streams to be queried. If no stream is specified, the query will include all streams by default.
- types List<String>
- The type array can be used to specify the type of media content to be queried. The two available options are live for live streaming and vod for video on demand. If no type is specified, the query will include both live and VOD content by default.
- dimensions string[]
- The dimension parameter can be used to specify the dimension for the query. If this parameter is not passed, the query will default to stream-level data. If you pass this parameter, it will only retrieve data for the specified dimension. The available dimension currently supported is AppId dimension, which allows you to query data based on the application ID. Please note that the returned fields will be related to the specified dimension.
- id string
- query
Time string - The UTC minute granularity query time for querying usage data for a specific minute is in the format: yyyy-mm-ddTHH:MM:00Z. Please refer to the link https://cloud.tencent.com/document/product/266/11732#I.For example, if the local time is 2019-01-08 10:00:00 in Beijing, the corresponding UTC time would be 2019-01-08T10:00:00+08:00.This query supports data from the past six months.
- result
Output stringFile - Used to save results.
- stream
Names string[] - The stream array can be used to specify the streams to be queried. If no stream is specified, the query will include all streams by default.
- types string[]
- The type array can be used to specify the type of media content to be queried. The two available options are live for live streaming and vod for video on demand. If no type is specified, the query will include both live and VOD content by default.
- dimensions Sequence[str]
- The dimension parameter can be used to specify the dimension for the query. If this parameter is not passed, the query will default to stream-level data. If you pass this parameter, it will only retrieve data for the specified dimension. The available dimension currently supported is AppId dimension, which allows you to query data based on the application ID. Please note that the returned fields will be related to the specified dimension.
- id str
- query_
time str - The UTC minute granularity query time for querying usage data for a specific minute is in the format: yyyy-mm-ddTHH:MM:00Z. Please refer to the link https://cloud.tencent.com/document/product/266/11732#I.For example, if the local time is 2019-01-08 10:00:00 in Beijing, the corresponding UTC time would be 2019-01-08T10:00:00+08:00.This query supports data from the past six months.
- result_
output_ strfile - Used to save results.
- stream_
names Sequence[str] - The stream array can be used to specify the streams to be queried. If no stream is specified, the query will include all streams by default.
- types Sequence[str]
- The type array can be used to specify the type of media content to be queried. The two available options are live for live streaming and vod for video on demand. If no type is specified, the query will include both live and VOD content by default.
- dimensions List<String>
- The dimension parameter can be used to specify the dimension for the query. If this parameter is not passed, the query will default to stream-level data. If you pass this parameter, it will only retrieve data for the specified dimension. The available dimension currently supported is AppId dimension, which allows you to query data based on the application ID. Please note that the returned fields will be related to the specified dimension.
- id String
- query
Time String - The UTC minute granularity query time for querying usage data for a specific minute is in the format: yyyy-mm-ddTHH:MM:00Z. Please refer to the link https://cloud.tencent.com/document/product/266/11732#I.For example, if the local time is 2019-01-08 10:00:00 in Beijing, the corresponding UTC time would be 2019-01-08T10:00:00+08:00.This query supports data from the past six months.
- result
Output StringFile - Used to save results.
- stream
Names List<String> - The stream array can be used to specify the streams to be queried. If no stream is specified, the query will include all streams by default.
- types List<String>
- The type array can be used to specify the type of media content to be queried. The two available options are live for live streaming and vod for video on demand. If no type is specified, the query will include both live and VOD content by default.
getCssXp2pDetailInfoList Result
The following output properties are available:
- Data
Info List<GetLists Css Xp2p Detail Info List Data Info List> - P2P streaming statistical information.
- Id string
- Dimensions List<string>
- Query
Time string - Result
Output stringFile - Stream
Names List<string> - Types List<string>
- Type, divided into two categories: live and vod.Note: This field may return null, indicating that no valid value is available.
- Data
Info []GetLists Css Xp2p Detail Info List Data Info List - P2P streaming statistical information.
- Id string
- Dimensions []string
- Query
Time string - Result
Output stringFile - Stream
Names []string - Types []string
- Type, divided into two categories: live and vod.Note: This field may return null, indicating that no valid value is available.
- data
Info List<GetLists Css Xp2p Detail Info List Data Info List> - P2P streaming statistical information.
- id String
- dimensions List<String>
- query
Time String - result
Output StringFile - stream
Names List<String> - types List<String>
- Type, divided into two categories: live and vod.Note: This field may return null, indicating that no valid value is available.
- data
Info GetLists Css Xp2p Detail Info List Data Info List[] - P2P streaming statistical information.
- id string
- dimensions string[]
- query
Time string - result
Output stringFile - stream
Names string[] - types string[]
- Type, divided into two categories: live and vod.Note: This field may return null, indicating that no valid value is available.
- data_
info_ Sequence[Getlists Css Xp2p Detail Info List Data Info List] - P2P streaming statistical information.
- id str
- dimensions Sequence[str]
- query_
time str - result_
output_ strfile - stream_
names Sequence[str] - types Sequence[str]
- Type, divided into two categories: live and vod.Note: This field may return null, indicating that no valid value is available.
- data
Info List<Property Map>Lists - P2P streaming statistical information.
- id String
- dimensions List<String>
- query
Time String - result
Output StringFile - stream
Names List<String> - types List<String>
- Type, divided into two categories: live and vod.Note: This field may return null, indicating that no valid value is available.
Supporting Types
GetCssXp2pDetailInfoListDataInfoList
- App
Id string - AppId. Note: This field may return null, indicating that no valid value is available.
- Cdn
Bytes double - CDN traffic.
- Online
People double - Online numbers.
- P2p
Bytes double - P2P traffic.
- Request double
- Request numbers.
- Request
Success double - Success numbers.
- Stream
Name string - Stream ID.Note: This field may return null, indicating that no valid value is available.
- Stuck
People double - People count.
- Stuck
Times double - Count.
- Time string
- The requested format for time in UTC with one-minute granularity is yyyy-mm-ddTHH:MM:SSZ. This format follows the ISO 8601 standard and is commonly used for representing timestamps in UTC. For more information and examples, you can refer to the link provided: https://cloud.tencent.com/document/product/266/11732#I.
- Type string
- The type array can be used to specify the type of media content to be queried. The two available options are live for live streaming and vod for video on demand. If no type is specified, the query will include both live and VOD content by default.
- App
Id string - AppId. Note: This field may return null, indicating that no valid value is available.
- Cdn
Bytes float64 - CDN traffic.
- Online
People float64 - Online numbers.
- P2p
Bytes float64 - P2P traffic.
- Request float64
- Request numbers.
- Request
Success float64 - Success numbers.
- Stream
Name string - Stream ID.Note: This field may return null, indicating that no valid value is available.
- Stuck
People float64 - People count.
- Stuck
Times float64 - Count.
- Time string
- The requested format for time in UTC with one-minute granularity is yyyy-mm-ddTHH:MM:SSZ. This format follows the ISO 8601 standard and is commonly used for representing timestamps in UTC. For more information and examples, you can refer to the link provided: https://cloud.tencent.com/document/product/266/11732#I.
- Type string
- The type array can be used to specify the type of media content to be queried. The two available options are live for live streaming and vod for video on demand. If no type is specified, the query will include both live and VOD content by default.
- app
Id String - AppId. Note: This field may return null, indicating that no valid value is available.
- cdn
Bytes Double - CDN traffic.
- online
People Double - Online numbers.
- p2p
Bytes Double - P2P traffic.
- request Double
- Request numbers.
- request
Success Double - Success numbers.
- stream
Name String - Stream ID.Note: This field may return null, indicating that no valid value is available.
- stuck
People Double - People count.
- stuck
Times Double - Count.
- time String
- The requested format for time in UTC with one-minute granularity is yyyy-mm-ddTHH:MM:SSZ. This format follows the ISO 8601 standard and is commonly used for representing timestamps in UTC. For more information and examples, you can refer to the link provided: https://cloud.tencent.com/document/product/266/11732#I.
- type String
- The type array can be used to specify the type of media content to be queried. The two available options are live for live streaming and vod for video on demand. If no type is specified, the query will include both live and VOD content by default.
- app
Id string - AppId. Note: This field may return null, indicating that no valid value is available.
- cdn
Bytes number - CDN traffic.
- online
People number - Online numbers.
- p2p
Bytes number - P2P traffic.
- request number
- Request numbers.
- request
Success number - Success numbers.
- stream
Name string - Stream ID.Note: This field may return null, indicating that no valid value is available.
- stuck
People number - People count.
- stuck
Times number - Count.
- time string
- The requested format for time in UTC with one-minute granularity is yyyy-mm-ddTHH:MM:SSZ. This format follows the ISO 8601 standard and is commonly used for representing timestamps in UTC. For more information and examples, you can refer to the link provided: https://cloud.tencent.com/document/product/266/11732#I.
- type string
- The type array can be used to specify the type of media content to be queried. The two available options are live for live streaming and vod for video on demand. If no type is specified, the query will include both live and VOD content by default.
- app_
id str - AppId. Note: This field may return null, indicating that no valid value is available.
- cdn_
bytes float - CDN traffic.
- online_
people float - Online numbers.
- p2p_
bytes float - P2P traffic.
- request float
- Request numbers.
- request_
success float - Success numbers.
- stream_
name str - Stream ID.Note: This field may return null, indicating that no valid value is available.
- stuck_
people float - People count.
- stuck_
times float - Count.
- time str
- The requested format for time in UTC with one-minute granularity is yyyy-mm-ddTHH:MM:SSZ. This format follows the ISO 8601 standard and is commonly used for representing timestamps in UTC. For more information and examples, you can refer to the link provided: https://cloud.tencent.com/document/product/266/11732#I.
- type str
- The type array can be used to specify the type of media content to be queried. The two available options are live for live streaming and vod for video on demand. If no type is specified, the query will include both live and VOD content by default.
- app
Id String - AppId. Note: This field may return null, indicating that no valid value is available.
- cdn
Bytes Number - CDN traffic.
- online
People Number - Online numbers.
- p2p
Bytes Number - P2P traffic.
- request Number
- Request numbers.
- request
Success Number - Success numbers.
- stream
Name String - Stream ID.Note: This field may return null, indicating that no valid value is available.
- stuck
People Number - People count.
- stuck
Times Number - Count.
- time String
- The requested format for time in UTC with one-minute granularity is yyyy-mm-ddTHH:MM:SSZ. This format follows the ISO 8601 standard and is commonly used for representing timestamps in UTC. For more information and examples, you can refer to the link provided: https://cloud.tencent.com/document/product/266/11732#I.
- type String
- The type array can be used to specify the type of media content to be queried. The two available options are live for live streaming and vod for video on demand. If no type is specified, the query will include both live and VOD content by default.
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