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

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",
});
Copy
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")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  domainAnalytics:
    fn::invoke:
      function: tencentcloud:getDnspodDomainAnalytics
      arguments:
        dnsFormat: HOUR
        domain: dnspod.cn
        endDate: 2023-10-12
        startDate: 2023-10-07
Copy

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>
Copy
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]
Copy
func GetDnspodDomainAnalytics(ctx *Context, args *GetDnspodDomainAnalyticsArgs, opts ...InvokeOption) (*GetDnspodDomainAnalyticsResult, error)
func GetDnspodDomainAnalyticsOutput(ctx *Context, args *GetDnspodDomainAnalyticsOutputArgs, opts ...InvokeOption) GetDnspodDomainAnalyticsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetDnspodDomainAnalyticsResult> getDnspodDomainAnalytics(GetDnspodDomainAnalyticsArgs args, InvokeOptions options)
public static Output<GetDnspodDomainAnalyticsResult> getDnspodDomainAnalytics(GetDnspodDomainAnalyticsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getDnspodDomainAnalytics:getDnspodDomainAnalytics
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Domain This property is required. string
The domain name to query for resolution volume.
EndDate This property is required. string
The end date of the query, format: YYYY-MM-DD.
StartDate This property is required. 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 This property is required. string
The domain name to query for resolution volume.
EndDate This property is required. string
The end date of the query, format: YYYY-MM-DD.
StartDate This property is required. 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 This property is required. String
The domain name to query for resolution volume.
endDate This property is required. String
The end date of the query, format: YYYY-MM-DD.
startDate This property is required. 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 This property is required. string
The domain name to query for resolution volume.
endDate This property is required. string
The end date of the query, format: YYYY-MM-DD.
startDate This property is required. 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 This property is required. str
The domain name to query for resolution volume.
end_date This property is required. str
The end date of the query, format: YYYY-MM-DD.
start_date This property is required. 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 This property is required. String
The domain name to query for resolution volume.
endDate This property is required. String
The end date of the query, format: YYYY-MM-DD.
startDate This property is required. 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 This property is required. List<GetDnspodDomainAnalyticsAliasDataData>
Subtotal of resolution volume for the current statistical dimension.
Infos This property is required. List<GetDnspodDomainAnalyticsAliasDataInfo>
Domain resolution volume statistics query information.
Datas This property is required. []GetDnspodDomainAnalyticsAliasDataData
Subtotal of resolution volume for the current statistical dimension.
Infos This property is required. []GetDnspodDomainAnalyticsAliasDataInfo
Domain resolution volume statistics query information.
datas This property is required. List<GetDnspodDomainAnalyticsAliasDataData>
Subtotal of resolution volume for the current statistical dimension.
infos This property is required. List<GetDnspodDomainAnalyticsAliasDataInfo>
Domain resolution volume statistics query information.
datas This property is required. GetDnspodDomainAnalyticsAliasDataData[]
Subtotal of resolution volume for the current statistical dimension.
infos This property is required. GetDnspodDomainAnalyticsAliasDataInfo[]
Domain resolution volume statistics query information.
datas This property is required. Sequence[GetDnspodDomainAnalyticsAliasDataData]
Subtotal of resolution volume for the current statistical dimension.
infos This property is required. Sequence[GetDnspodDomainAnalyticsAliasDataInfo]
Domain resolution volume statistics query information.
datas This property is required. List<Property Map>
Subtotal of resolution volume for the current statistical dimension.
infos This property is required. List<Property Map>
Domain resolution volume statistics query information.

GetDnspodDomainAnalyticsAliasDataData

DateKey This property is required. string
For daily statistics, it is the statistical date.
HourKey This property is required. 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 This property is required. double
Subtotal of resolution volume for the current statistical dimension.
DateKey This property is required. string
For daily statistics, it is the statistical date.
HourKey This property is required. 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 This property is required. float64
Subtotal of resolution volume for the current statistical dimension.
dateKey This property is required. String
For daily statistics, it is the statistical date.
hourKey This property is required. 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 This property is required. Double
Subtotal of resolution volume for the current statistical dimension.
dateKey This property is required. string
For daily statistics, it is the statistical date.
hourKey This property is required. 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 This property is required. number
Subtotal of resolution volume for the current statistical dimension.
date_key This property is required. str
For daily statistics, it is the statistical date.
hour_key This property is required. 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 This property is required. float
Subtotal of resolution volume for the current statistical dimension.
dateKey This property is required. String
For daily statistics, it is the statistical date.
hourKey This property is required. 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 This property is required. Number
Subtotal of resolution volume for the current statistical dimension.

GetDnspodDomainAnalyticsAliasDataInfo

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

GetDnspodDomainAnalyticsData

DateKey This property is required. string
For daily statistics, it is the statistical date.
HourKey This property is required. 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 This property is required. double
Subtotal of resolution volume for the current statistical dimension.
DateKey This property is required. string
For daily statistics, it is the statistical date.
HourKey This property is required. 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 This property is required. float64
Subtotal of resolution volume for the current statistical dimension.
dateKey This property is required. String
For daily statistics, it is the statistical date.
hourKey This property is required. 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 This property is required. Double
Subtotal of resolution volume for the current statistical dimension.
dateKey This property is required. string
For daily statistics, it is the statistical date.
hourKey This property is required. 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 This property is required. number
Subtotal of resolution volume for the current statistical dimension.
date_key This property is required. str
For daily statistics, it is the statistical date.
hour_key This property is required. 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 This property is required. float
Subtotal of resolution volume for the current statistical dimension.
dateKey This property is required. String
For daily statistics, it is the statistical date.
hourKey This property is required. 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 This property is required. Number
Subtotal of resolution volume for the current statistical dimension.

GetDnspodDomainAnalyticsInfo

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