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

tencentcloud.getDnspodDomainAnalytics

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

    Use this data source to query detailed information of dnspod domain_analytics

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const domainAnalytics = tencentcloud.getDnspodDomainAnalytics({
        dnsFormat: "HOUR",
        domain: "dnspod.cn",
        endDate: "2023-10-12",
        startDate: "2023-10-07",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    domain_analytics = tencentcloud.get_dnspod_domain_analytics(dns_format="HOUR",
        domain="dnspod.cn",
        end_date="2023-10-12",
        start_date="2023-10-07")
    
    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.GetDnspodDomainAnalytics(ctx, &tencentcloud.GetDnspodDomainAnalyticsArgs{
    			DnsFormat: pulumi.StringRef("HOUR"),
    			Domain:    "dnspod.cn",
    			EndDate:   "2023-10-12",
    			StartDate: "2023-10-07",
    		}, 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 domainAnalytics = Tencentcloud.GetDnspodDomainAnalytics.Invoke(new()
        {
            DnsFormat = "HOUR",
            Domain = "dnspod.cn",
            EndDate = "2023-10-12",
            StartDate = "2023-10-07",
        });
    
    });
    
    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.GetDnspodDomainAnalyticsArgs;
    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 domainAnalytics = TencentcloudFunctions.getDnspodDomainAnalytics(GetDnspodDomainAnalyticsArgs.builder()
                .dnsFormat("HOUR")
                .domain("dnspod.cn")
                .endDate("2023-10-12")
                .startDate("2023-10-07")
                .build());
    
        }
    }
    
    variables:
      domainAnalytics:
        fn::invoke:
          function: tencentcloud:getDnspodDomainAnalytics
          arguments:
            dnsFormat: HOUR
            domain: dnspod.cn
            endDate: 2023-10-12
            startDate: 2023-10-07
    

    Using getDnspodDomainAnalytics

    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 getDnspodDomainAnalytics(args: GetDnspodDomainAnalyticsArgs, opts?: InvokeOptions): Promise<GetDnspodDomainAnalyticsResult>
    function getDnspodDomainAnalyticsOutput(args: GetDnspodDomainAnalyticsOutputArgs, opts?: InvokeOptions): Output<GetDnspodDomainAnalyticsResult>
    def get_dnspod_domain_analytics(dns_format: Optional[str] = None,
                                    domain: Optional[str] = None,
                                    domain_id: Optional[float] = None,
                                    end_date: Optional[str] = None,
                                    id: Optional[str] = None,
                                    result_output_file: Optional[str] = None,
                                    start_date: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetDnspodDomainAnalyticsResult
    def get_dnspod_domain_analytics_output(dns_format: Optional[pulumi.Input[str]] = None,
                                    domain: Optional[pulumi.Input[str]] = None,
                                    domain_id: Optional[pulumi.Input[float]] = None,
                                    end_date: Optional[pulumi.Input[str]] = None,
                                    id: Optional[pulumi.Input[str]] = None,
                                    result_output_file: Optional[pulumi.Input[str]] = None,
                                    start_date: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetDnspodDomainAnalyticsResult]
    func GetDnspodDomainAnalytics(ctx *Context, args *GetDnspodDomainAnalyticsArgs, opts ...InvokeOption) (*GetDnspodDomainAnalyticsResult, error)
    func GetDnspodDomainAnalyticsOutput(ctx *Context, args *GetDnspodDomainAnalyticsOutputArgs, opts ...InvokeOption) GetDnspodDomainAnalyticsResultOutput

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

    public static class GetDnspodDomainAnalytics 
    {
        public static Task<GetDnspodDomainAnalyticsResult> InvokeAsync(GetDnspodDomainAnalyticsArgs args, InvokeOptions? opts = null)
        public static Output<GetDnspodDomainAnalyticsResult> Invoke(GetDnspodDomainAnalyticsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDnspodDomainAnalyticsResult> getDnspodDomainAnalytics(GetDnspodDomainAnalyticsArgs args, InvokeOptions options)
    public static Output<GetDnspodDomainAnalyticsResult> getDnspodDomainAnalytics(GetDnspodDomainAnalyticsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getDnspodDomainAnalytics:getDnspodDomainAnalytics
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Domain string
    The domain name to query for resolution volume.
    EndDate string
    The end date of the query, format: YYYY-MM-DD.
    StartDate string
    The start date of the query, format: YYYY-MM-DD.
    DnsFormat string
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    DomainId double
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    Id string
    ResultOutputFile string
    Used to save results.
    Domain string
    The domain name to query for resolution volume.
    EndDate string
    The end date of the query, format: YYYY-MM-DD.
    StartDate string
    The start date of the query, format: YYYY-MM-DD.
    DnsFormat string
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    DomainId float64
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    Id string
    ResultOutputFile string
    Used to save results.
    domain String
    The domain name to query for resolution volume.
    endDate String
    The end date of the query, format: YYYY-MM-DD.
    startDate String
    The start date of the query, format: YYYY-MM-DD.
    dnsFormat String
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    domainId Double
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    id String
    resultOutputFile String
    Used to save results.
    domain string
    The domain name to query for resolution volume.
    endDate string
    The end date of the query, format: YYYY-MM-DD.
    startDate string
    The start date of the query, format: YYYY-MM-DD.
    dnsFormat string
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    domainId number
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    id string
    resultOutputFile string
    Used to save results.
    domain str
    The domain name to query for resolution volume.
    end_date str
    The end date of the query, format: YYYY-MM-DD.
    start_date str
    The start date of the query, format: YYYY-MM-DD.
    dns_format str
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    domain_id float
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    id str
    result_output_file str
    Used to save results.
    domain String
    The domain name to query for resolution volume.
    endDate String
    The end date of the query, format: YYYY-MM-DD.
    startDate String
    The start date of the query, format: YYYY-MM-DD.
    dnsFormat String
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    domainId Number
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    id String
    resultOutputFile String
    Used to save results.

    getDnspodDomainAnalytics Result

    The following output properties are available:

    AliasDatas List<GetDnspodDomainAnalyticsAliasData>
    Domain alias resolution volume statistics information.
    Datas List<GetDnspodDomainAnalyticsData>
    Subtotal of resolution volume for the current statistical dimension.
    Domain string
    The domain name currently being queried.
    EndDate string
    End time of the current statistical period.
    Id string
    Infos List<GetDnspodDomainAnalyticsInfo>
    Domain resolution volume statistics query information.
    StartDate string
    Start time of the current statistical period.
    DnsFormat string
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    DomainId double
    ResultOutputFile string
    AliasDatas []GetDnspodDomainAnalyticsAliasData
    Domain alias resolution volume statistics information.
    Datas []GetDnspodDomainAnalyticsData
    Subtotal of resolution volume for the current statistical dimension.
    Domain string
    The domain name currently being queried.
    EndDate string
    End time of the current statistical period.
    Id string
    Infos []GetDnspodDomainAnalyticsInfo
    Domain resolution volume statistics query information.
    StartDate string
    Start time of the current statistical period.
    DnsFormat string
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    DomainId float64
    ResultOutputFile string
    aliasDatas List<GetDnspodDomainAnalyticsAliasData>
    Domain alias resolution volume statistics information.
    datas List<GetDnspodDomainAnalyticsData>
    Subtotal of resolution volume for the current statistical dimension.
    domain String
    The domain name currently being queried.
    endDate String
    End time of the current statistical period.
    id String
    infos List<GetDnspodDomainAnalyticsInfo>
    Domain resolution volume statistics query information.
    startDate String
    Start time of the current statistical period.
    dnsFormat String
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    domainId Double
    resultOutputFile String
    aliasDatas GetDnspodDomainAnalyticsAliasData[]
    Domain alias resolution volume statistics information.
    datas GetDnspodDomainAnalyticsData[]
    Subtotal of resolution volume for the current statistical dimension.
    domain string
    The domain name currently being queried.
    endDate string
    End time of the current statistical period.
    id string
    infos GetDnspodDomainAnalyticsInfo[]
    Domain resolution volume statistics query information.
    startDate string
    Start time of the current statistical period.
    dnsFormat string
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    domainId number
    resultOutputFile string
    alias_datas Sequence[GetDnspodDomainAnalyticsAliasData]
    Domain alias resolution volume statistics information.
    datas Sequence[GetDnspodDomainAnalyticsData]
    Subtotal of resolution volume for the current statistical dimension.
    domain str
    The domain name currently being queried.
    end_date str
    End time of the current statistical period.
    id str
    infos Sequence[GetDnspodDomainAnalyticsInfo]
    Domain resolution volume statistics query information.
    start_date str
    Start time of the current statistical period.
    dns_format str
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    domain_id float
    result_output_file str
    aliasDatas List<Property Map>
    Domain alias resolution volume statistics information.
    datas List<Property Map>
    Subtotal of resolution volume for the current statistical dimension.
    domain String
    The domain name currently being queried.
    endDate String
    End time of the current statistical period.
    id String
    infos List<Property Map>
    Domain resolution volume statistics query information.
    startDate String
    Start time of the current statistical period.
    dnsFormat String
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    domainId Number
    resultOutputFile String

    Supporting Types

    GetDnspodDomainAnalyticsAliasData

    Datas List<GetDnspodDomainAnalyticsAliasDataData>
    Subtotal of resolution volume for the current statistical dimension.
    Infos List<GetDnspodDomainAnalyticsAliasDataInfo>
    Domain resolution volume statistics query information.
    Datas []GetDnspodDomainAnalyticsAliasDataData
    Subtotal of resolution volume for the current statistical dimension.
    Infos []GetDnspodDomainAnalyticsAliasDataInfo
    Domain resolution volume statistics query information.
    datas List<GetDnspodDomainAnalyticsAliasDataData>
    Subtotal of resolution volume for the current statistical dimension.
    infos List<GetDnspodDomainAnalyticsAliasDataInfo>
    Domain resolution volume statistics query information.
    datas GetDnspodDomainAnalyticsAliasDataData[]
    Subtotal of resolution volume for the current statistical dimension.
    infos GetDnspodDomainAnalyticsAliasDataInfo[]
    Domain resolution volume statistics query information.
    datas Sequence[GetDnspodDomainAnalyticsAliasDataData]
    Subtotal of resolution volume for the current statistical dimension.
    infos Sequence[GetDnspodDomainAnalyticsAliasDataInfo]
    Domain resolution volume statistics query information.
    datas List<Property Map>
    Subtotal of resolution volume for the current statistical dimension.
    infos List<Property Map>
    Domain resolution volume statistics query information.

    GetDnspodDomainAnalyticsAliasDataData

    DateKey string
    For daily statistics, it is the statistical date.
    HourKey double
    For hourly statistics, it is the hour of the current time (0-23), for example, when HourKey is 23, the statistical period is the resolution volume from 22:00 to 23:00. Note: This field may return null, indicating that no valid value can be obtained.
    Num double
    Subtotal of resolution volume for the current statistical dimension.
    DateKey string
    For daily statistics, it is the statistical date.
    HourKey float64
    For hourly statistics, it is the hour of the current time (0-23), for example, when HourKey is 23, the statistical period is the resolution volume from 22:00 to 23:00. Note: This field may return null, indicating that no valid value can be obtained.
    Num float64
    Subtotal of resolution volume for the current statistical dimension.
    dateKey String
    For daily statistics, it is the statistical date.
    hourKey Double
    For hourly statistics, it is the hour of the current time (0-23), for example, when HourKey is 23, the statistical period is the resolution volume from 22:00 to 23:00. Note: This field may return null, indicating that no valid value can be obtained.
    num Double
    Subtotal of resolution volume for the current statistical dimension.
    dateKey string
    For daily statistics, it is the statistical date.
    hourKey number
    For hourly statistics, it is the hour of the current time (0-23), for example, when HourKey is 23, the statistical period is the resolution volume from 22:00 to 23:00. Note: This field may return null, indicating that no valid value can be obtained.
    num number
    Subtotal of resolution volume for the current statistical dimension.
    date_key str
    For daily statistics, it is the statistical date.
    hour_key float
    For hourly statistics, it is the hour of the current time (0-23), for example, when HourKey is 23, the statistical period is the resolution volume from 22:00 to 23:00. Note: This field may return null, indicating that no valid value can be obtained.
    num float
    Subtotal of resolution volume for the current statistical dimension.
    dateKey String
    For daily statistics, it is the statistical date.
    hourKey Number
    For hourly statistics, it is the hour of the current time (0-23), for example, when HourKey is 23, the statistical period is the resolution volume from 22:00 to 23:00. Note: This field may return null, indicating that no valid value can be obtained.
    num Number
    Subtotal of resolution volume for the current statistical dimension.

    GetDnspodDomainAnalyticsAliasDataInfo

    DnsFormat string
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    DnsTotal double
    Total resolution volume for the current statistical period.
    Domain string
    The domain name to query for resolution volume.
    EndDate string
    The end date of the query, format: YYYY-MM-DD.
    StartDate string
    The start date of the query, format: YYYY-MM-DD.
    DnsFormat string
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    DnsTotal float64
    Total resolution volume for the current statistical period.
    Domain string
    The domain name to query for resolution volume.
    EndDate string
    The end date of the query, format: YYYY-MM-DD.
    StartDate string
    The start date of the query, format: YYYY-MM-DD.
    dnsFormat String
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    dnsTotal Double
    Total resolution volume for the current statistical period.
    domain String
    The domain name to query for resolution volume.
    endDate String
    The end date of the query, format: YYYY-MM-DD.
    startDate String
    The start date of the query, format: YYYY-MM-DD.
    dnsFormat string
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    dnsTotal number
    Total resolution volume for the current statistical period.
    domain string
    The domain name to query for resolution volume.
    endDate string
    The end date of the query, format: YYYY-MM-DD.
    startDate string
    The start date of the query, format: YYYY-MM-DD.
    dns_format str
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    dns_total float
    Total resolution volume for the current statistical period.
    domain str
    The domain name to query for resolution volume.
    end_date str
    The end date of the query, format: YYYY-MM-DD.
    start_date str
    The start date of the query, format: YYYY-MM-DD.
    dnsFormat String
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    dnsTotal Number
    Total resolution volume for the current statistical period.
    domain String
    The domain name to query for resolution volume.
    endDate String
    The end date of the query, format: YYYY-MM-DD.
    startDate String
    The start date of the query, format: YYYY-MM-DD.

    GetDnspodDomainAnalyticsData

    DateKey string
    For daily statistics, it is the statistical date.
    HourKey double
    For hourly statistics, it is the hour of the current time (0-23), for example, when HourKey is 23, the statistical period is the resolution volume from 22:00 to 23:00. Note: This field may return null, indicating that no valid value can be obtained.
    Num double
    Subtotal of resolution volume for the current statistical dimension.
    DateKey string
    For daily statistics, it is the statistical date.
    HourKey float64
    For hourly statistics, it is the hour of the current time (0-23), for example, when HourKey is 23, the statistical period is the resolution volume from 22:00 to 23:00. Note: This field may return null, indicating that no valid value can be obtained.
    Num float64
    Subtotal of resolution volume for the current statistical dimension.
    dateKey String
    For daily statistics, it is the statistical date.
    hourKey Double
    For hourly statistics, it is the hour of the current time (0-23), for example, when HourKey is 23, the statistical period is the resolution volume from 22:00 to 23:00. Note: This field may return null, indicating that no valid value can be obtained.
    num Double
    Subtotal of resolution volume for the current statistical dimension.
    dateKey string
    For daily statistics, it is the statistical date.
    hourKey number
    For hourly statistics, it is the hour of the current time (0-23), for example, when HourKey is 23, the statistical period is the resolution volume from 22:00 to 23:00. Note: This field may return null, indicating that no valid value can be obtained.
    num number
    Subtotal of resolution volume for the current statistical dimension.
    date_key str
    For daily statistics, it is the statistical date.
    hour_key float
    For hourly statistics, it is the hour of the current time (0-23), for example, when HourKey is 23, the statistical period is the resolution volume from 22:00 to 23:00. Note: This field may return null, indicating that no valid value can be obtained.
    num float
    Subtotal of resolution volume for the current statistical dimension.
    dateKey String
    For daily statistics, it is the statistical date.
    hourKey Number
    For hourly statistics, it is the hour of the current time (0-23), for example, when HourKey is 23, the statistical period is the resolution volume from 22:00 to 23:00. Note: This field may return null, indicating that no valid value can be obtained.
    num Number
    Subtotal of resolution volume for the current statistical dimension.

    GetDnspodDomainAnalyticsInfo

    DnsFormat string
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    DnsTotal double
    Total resolution volume for the current statistical period.
    Domain string
    The domain name to query for resolution volume.
    EndDate string
    The end date of the query, format: YYYY-MM-DD.
    StartDate string
    The start date of the query, format: YYYY-MM-DD.
    DnsFormat string
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    DnsTotal float64
    Total resolution volume for the current statistical period.
    Domain string
    The domain name to query for resolution volume.
    EndDate string
    The end date of the query, format: YYYY-MM-DD.
    StartDate string
    The start date of the query, format: YYYY-MM-DD.
    dnsFormat String
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    dnsTotal Double
    Total resolution volume for the current statistical period.
    domain String
    The domain name to query for resolution volume.
    endDate String
    The end date of the query, format: YYYY-MM-DD.
    startDate String
    The start date of the query, format: YYYY-MM-DD.
    dnsFormat string
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    dnsTotal number
    Total resolution volume for the current statistical period.
    domain string
    The domain name to query for resolution volume.
    endDate string
    The end date of the query, format: YYYY-MM-DD.
    startDate string
    The start date of the query, format: YYYY-MM-DD.
    dns_format str
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    dns_total float
    Total resolution volume for the current statistical period.
    domain str
    The domain name to query for resolution volume.
    end_date str
    The end date of the query, format: YYYY-MM-DD.
    start_date str
    The start date of the query, format: YYYY-MM-DD.
    dnsFormat String
    DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
    dnsTotal Number
    Total resolution volume for the current statistical period.
    domain String
    The domain name to query for resolution volume.
    endDate String
    The end date of the query, format: YYYY-MM-DD.
    startDate String
    The start date of the query, format: YYYY-MM-DD.

    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.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack