tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getDnspodDomainAnalytics
Start a Neo task
Explain and create a tencentcloud.getDnspodDomainAnalytics resource
tencentcloud 1.82.35 published on Friday, Nov 7, 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({
domain: "dnspod.cn",
startDate: "2023-10-07",
endDate: "2023-10-12",
dnsFormat: "HOUR",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
domain_analytics = tencentcloud.get_dnspod_domain_analytics(domain="dnspod.cn",
start_date="2023-10-07",
end_date="2023-10-12",
dns_format="HOUR")
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{
Domain: "dnspod.cn",
StartDate: "2023-10-07",
EndDate: "2023-10-12",
DnsFormat: pulumi.StringRef("HOUR"),
}, 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()
{
Domain = "dnspod.cn",
StartDate = "2023-10-07",
EndDate = "2023-10-12",
DnsFormat = "HOUR",
});
});
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()
.domain("dnspod.cn")
.startDate("2023-10-07")
.endDate("2023-10-12")
.dnsFormat("HOUR")
.build());
}
}
variables:
domainAnalytics:
fn::invoke:
function: tencentcloud:getDnspodDomainAnalytics
arguments:
domain: dnspod.cn
startDate: 2023-10-07
endDate: 2023-10-12
dnsFormat: HOUR
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 dictionaryThe following arguments are supported:
- Domain string
- The domain name to query for resolution volume.
- End
Date string - The end date of the query, format: YYYY-MM-DD.
- Start
Date string - The start date of the query, format: YYYY-MM-DD.
- Dns
Format string - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- Domain
Id 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
- Result
Output stringFile - Used to save results.
- Domain string
- The domain name to query for resolution volume.
- End
Date string - The end date of the query, format: YYYY-MM-DD.
- Start
Date string - The start date of the query, format: YYYY-MM-DD.
- Dns
Format string - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- Domain
Id 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
- Result
Output stringFile - Used to save results.
- domain String
- The domain name to query for resolution volume.
- end
Date String - The end date of the query, format: YYYY-MM-DD.
- start
Date String - The start date of the query, format: YYYY-MM-DD.
- dns
Format String - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- domain
Id 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
- result
Output StringFile - Used to save results.
- domain string
- The domain name to query for resolution volume.
- end
Date string - The end date of the query, format: YYYY-MM-DD.
- start
Date string - The start date of the query, format: YYYY-MM-DD.
- dns
Format string - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- domain
Id 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
- result
Output stringFile - 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_ strfile - Used to save results.
- domain String
- The domain name to query for resolution volume.
- end
Date String - The end date of the query, format: YYYY-MM-DD.
- start
Date String - The start date of the query, format: YYYY-MM-DD.
- dns
Format String - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- domain
Id 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
- result
Output StringFile - Used to save results.
getDnspodDomainAnalytics Result
The following output properties are available:
- Alias
Datas List<GetDnspod Domain Analytics Alias Data> - Domain alias resolution volume statistics information.
- Datas
List<Get
Dnspod Domain Analytics Data> - Subtotal of resolution volume for the current statistical dimension.
- Domain string
- The domain name currently being queried.
- End
Date string - End time of the current statistical period.
- Id string
- Infos
List<Get
Dnspod Domain Analytics Info> - Domain resolution volume statistics query information.
- Start
Date string - Start time of the current statistical period.
- Dns
Format string - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- Domain
Id double - Result
Output stringFile
- Alias
Datas []GetDnspod Domain Analytics Alias Data - Domain alias resolution volume statistics information.
- Datas
[]Get
Dnspod Domain Analytics Data - Subtotal of resolution volume for the current statistical dimension.
- Domain string
- The domain name currently being queried.
- End
Date string - End time of the current statistical period.
- Id string
- Infos
[]Get
Dnspod Domain Analytics Info - Domain resolution volume statistics query information.
- Start
Date string - Start time of the current statistical period.
- Dns
Format string - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- Domain
Id float64 - Result
Output stringFile
- alias
Datas List<GetDnspod Domain Analytics Alias Data> - Domain alias resolution volume statistics information.
- datas
List<Get
Dnspod Domain Analytics Data> - Subtotal of resolution volume for the current statistical dimension.
- domain String
- The domain name currently being queried.
- end
Date String - End time of the current statistical period.
- id String
- infos
List<Get
Dnspod Domain Analytics Info> - Domain resolution volume statistics query information.
- start
Date String - Start time of the current statistical period.
- dns
Format String - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- domain
Id Double - result
Output StringFile
- alias
Datas GetDnspod Domain Analytics Alias Data[] - Domain alias resolution volume statistics information.
- datas
Get
Dnspod Domain Analytics Data[] - Subtotal of resolution volume for the current statistical dimension.
- domain string
- The domain name currently being queried.
- end
Date string - End time of the current statistical period.
- id string
- infos
Get
Dnspod Domain Analytics Info[] - Domain resolution volume statistics query information.
- start
Date string - Start time of the current statistical period.
- dns
Format string - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- domain
Id number - result
Output stringFile
- alias_
datas Sequence[GetDnspod Domain Analytics Alias Data] - Domain alias resolution volume statistics information.
- datas
Sequence[Get
Dnspod Domain Analytics Data] - 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[Get
Dnspod Domain Analytics Info] - 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_ strfile
- alias
Datas 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.
- end
Date String - End time of the current statistical period.
- id String
- infos List<Property Map>
- Domain resolution volume statistics query information.
- start
Date String - Start time of the current statistical period.
- dns
Format String - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- domain
Id Number - result
Output StringFile
Supporting Types
GetDnspodDomainAnalyticsAliasData
- Datas
List<Get
Dnspod Domain Analytics Alias Data Data> - Subtotal of resolution volume for the current statistical dimension.
- Infos
List<Get
Dnspod Domain Analytics Alias Data Info> - Domain resolution volume statistics query information.
- Datas
[]Get
Dnspod Domain Analytics Alias Data Data - Subtotal of resolution volume for the current statistical dimension.
- Infos
[]Get
Dnspod Domain Analytics Alias Data Info - Domain resolution volume statistics query information.
- datas
List<Get
Dnspod Domain Analytics Alias Data Data> - Subtotal of resolution volume for the current statistical dimension.
- infos
List<Get
Dnspod Domain Analytics Alias Data Info> - Domain resolution volume statistics query information.
- datas
Get
Dnspod Domain Analytics Alias Data Data[] - Subtotal of resolution volume for the current statistical dimension.
- infos
Get
Dnspod Domain Analytics Alias Data Info[] - Domain resolution volume statistics query information.
- datas
Sequence[Get
Dnspod Domain Analytics Alias Data Data] - Subtotal of resolution volume for the current statistical dimension.
- infos
Sequence[Get
Dnspod Domain Analytics Alias Data Info] - 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
- Date
Key string - For daily statistics, it is the statistical date.
- Hour
Key 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.
- Date
Key string - For daily statistics, it is the statistical date.
- Hour
Key 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.
- date
Key String - For daily statistics, it is the statistical date.
- hour
Key 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.
- date
Key string - For daily statistics, it is the statistical date.
- hour
Key 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.
- date
Key String - For daily statistics, it is the statistical date.
- hour
Key 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
- Dns
Format string - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- Dns
Total double - Total resolution volume for the current statistical period.
- Domain string
- The domain name to query for resolution volume.
- End
Date string - The end date of the query, format: YYYY-MM-DD.
- Start
Date string - The start date of the query, format: YYYY-MM-DD.
- Dns
Format string - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- Dns
Total float64 - Total resolution volume for the current statistical period.
- Domain string
- The domain name to query for resolution volume.
- End
Date string - The end date of the query, format: YYYY-MM-DD.
- Start
Date string - The start date of the query, format: YYYY-MM-DD.
- dns
Format String - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- dns
Total Double - Total resolution volume for the current statistical period.
- domain String
- The domain name to query for resolution volume.
- end
Date String - The end date of the query, format: YYYY-MM-DD.
- start
Date String - The start date of the query, format: YYYY-MM-DD.
- dns
Format string - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- dns
Total number - Total resolution volume for the current statistical period.
- domain string
- The domain name to query for resolution volume.
- end
Date string - The end date of the query, format: YYYY-MM-DD.
- start
Date 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.
- dns
Format String - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- dns
Total Number - Total resolution volume for the current statistical period.
- domain String
- The domain name to query for resolution volume.
- end
Date String - The end date of the query, format: YYYY-MM-DD.
- start
Date String - The start date of the query, format: YYYY-MM-DD.
GetDnspodDomainAnalyticsData
- Date
Key string - For daily statistics, it is the statistical date.
- Hour
Key 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.
- Date
Key string - For daily statistics, it is the statistical date.
- Hour
Key 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.
- date
Key String - For daily statistics, it is the statistical date.
- hour
Key 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.
- date
Key string - For daily statistics, it is the statistical date.
- hour
Key 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.
- date
Key String - For daily statistics, it is the statistical date.
- hour
Key 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
- Dns
Format string - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- Dns
Total double - Total resolution volume for the current statistical period.
- Domain string
- The domain name to query for resolution volume.
- End
Date string - The end date of the query, format: YYYY-MM-DD.
- Start
Date string - The start date of the query, format: YYYY-MM-DD.
- Dns
Format string - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- Dns
Total float64 - Total resolution volume for the current statistical period.
- Domain string
- The domain name to query for resolution volume.
- End
Date string - The end date of the query, format: YYYY-MM-DD.
- Start
Date string - The start date of the query, format: YYYY-MM-DD.
- dns
Format String - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- dns
Total Double - Total resolution volume for the current statistical period.
- domain String
- The domain name to query for resolution volume.
- end
Date String - The end date of the query, format: YYYY-MM-DD.
- start
Date String - The start date of the query, format: YYYY-MM-DD.
- dns
Format string - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- dns
Total number - Total resolution volume for the current statistical period.
- domain string
- The domain name to query for resolution volume.
- end
Date string - The end date of the query, format: YYYY-MM-DD.
- start
Date 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.
- dns
Format String - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- dns
Total Number - Total resolution volume for the current statistical period.
- domain String
- The domain name to query for resolution volume.
- end
Date String - The end date of the query, format: YYYY-MM-DD.
- start
Date 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
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
