tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getCssXp2pDetailInfoList
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 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 dictionaryThe 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
- QueryTime 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.
- ResultOutput stringFile 
- Used to save results.
- StreamNames 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
- QueryTime 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.
- ResultOutput stringFile 
- Used to save results.
- StreamNames []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
- queryTime 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.
- resultOutput StringFile 
- Used to save results.
- streamNames 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
- queryTime 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.
- resultOutput stringFile 
- Used to save results.
- streamNames 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
- queryTime 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.
- resultOutput StringFile 
- Used to save results.
- streamNames 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:
- DataInfo List<GetLists Css Xp2p Detail Info List Data Info List> 
- P2P streaming statistical information.
- Id string
- Dimensions List<string>
- QueryTime string
- ResultOutput stringFile 
- StreamNames 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.
- DataInfo []GetLists Css Xp2p Detail Info List Data Info List 
- P2P streaming statistical information.
- Id string
- Dimensions []string
- QueryTime string
- ResultOutput stringFile 
- StreamNames []string
- Types []string
- Type, divided into two categories: live and vod.Note: This field may return null, indicating that no valid value is available.
- dataInfo List<GetLists Css Xp2p Detail Info List Data Info List> 
- P2P streaming statistical information.
- id String
- dimensions List<String>
- queryTime String
- resultOutput StringFile 
- streamNames 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.
- dataInfo GetLists Css Xp2p Detail Info List Data Info List[] 
- P2P streaming statistical information.
- id string
- dimensions string[]
- queryTime string
- resultOutput stringFile 
- streamNames 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.
- dataInfo List<Property Map>Lists 
- P2P streaming statistical information.
- id String
- dimensions List<String>
- queryTime String
- resultOutput StringFile 
- streamNames 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        
- AppId string
- AppId. Note: This field may return null, indicating that no valid value is available.
- CdnBytes double
- CDN traffic.
- OnlinePeople double
- Online numbers.
- P2pBytes double
- P2P traffic.
- Request double
- Request numbers.
- RequestSuccess double
- Success numbers.
- StreamName string
- Stream ID.Note: This field may return null, indicating that no valid value is available.
- StuckPeople double
- People count.
- StuckTimes 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.
- AppId string
- AppId. Note: This field may return null, indicating that no valid value is available.
- CdnBytes float64
- CDN traffic.
- OnlinePeople float64
- Online numbers.
- P2pBytes float64
- P2P traffic.
- Request float64
- Request numbers.
- RequestSuccess float64
- Success numbers.
- StreamName string
- Stream ID.Note: This field may return null, indicating that no valid value is available.
- StuckPeople float64
- People count.
- StuckTimes 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.
- appId String
- AppId. Note: This field may return null, indicating that no valid value is available.
- cdnBytes Double
- CDN traffic.
- onlinePeople Double
- Online numbers.
- p2pBytes Double
- P2P traffic.
- request Double
- Request numbers.
- requestSuccess Double
- Success numbers.
- streamName String
- Stream ID.Note: This field may return null, indicating that no valid value is available.
- stuckPeople Double
- People count.
- stuckTimes 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.
- appId string
- AppId. Note: This field may return null, indicating that no valid value is available.
- cdnBytes number
- CDN traffic.
- onlinePeople number
- Online numbers.
- p2pBytes number
- P2P traffic.
- request number
- Request numbers.
- requestSuccess number
- Success numbers.
- streamName string
- Stream ID.Note: This field may return null, indicating that no valid value is available.
- stuckPeople number
- People count.
- stuckTimes 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.
- appId String
- AppId. Note: This field may return null, indicating that no valid value is available.
- cdnBytes Number
- CDN traffic.
- onlinePeople Number
- Online numbers.
- p2pBytes Number
- P2P traffic.
- request Number
- Request numbers.
- requestSuccess Number
- Success numbers.
- streamName String
- Stream ID.Note: This field may return null, indicating that no valid value is available.
- stuckPeople Number
- People count.
- stuckTimes 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 tencentcloudTerraform Provider.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack