tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getDnspodDomainAnalytics
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 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
This property is required. string - The domain name to query for resolution volume.
- End
Date This property is required. string - The end date of the query, format: YYYY-MM-DD.
- Start
Date This property is required. 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
This property is required. string - The domain name to query for resolution volume.
- End
Date This property is required. string - The end date of the query, format: YYYY-MM-DD.
- Start
Date This property is required. 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
This property is required. String - The domain name to query for resolution volume.
- end
Date This property is required. String - The end date of the query, format: YYYY-MM-DD.
- start
Date This property is required. 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
This property is required. string - The domain name to query for resolution volume.
- end
Date This property is required. string - The end date of the query, format: YYYY-MM-DD.
- start
Date This property is required. 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
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_ strfile - Used to save results.
- domain
This property is required. String - The domain name to query for resolution volume.
- end
Date This property is required. String - The end date of the query, format: YYYY-MM-DD.
- start
Date This property is required. 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
This property is required. List<GetDnspod Domain Analytics Alias Data Data> - Subtotal of resolution volume for the current statistical dimension.
- Infos
This property is required. List<GetDnspod Domain Analytics Alias Data Info> - Domain resolution volume statistics query information.
- Datas
This property is required. []GetDnspod Domain Analytics Alias Data Data - Subtotal of resolution volume for the current statistical dimension.
- Infos
This property is required. []GetDnspod Domain Analytics Alias Data Info - Domain resolution volume statistics query information.
- datas
This property is required. List<GetDnspod Domain Analytics Alias Data Data> - Subtotal of resolution volume for the current statistical dimension.
- infos
This property is required. List<GetDnspod Domain Analytics Alias Data Info> - Domain resolution volume statistics query information.
- datas
This property is required. GetDnspod Domain Analytics Alias Data Data[] - Subtotal of resolution volume for the current statistical dimension.
- infos
This property is required. GetDnspod Domain Analytics Alias Data Info[] - Domain resolution volume statistics query information.
- datas
This property is required. Sequence[GetDnspod Domain Analytics Alias Data Data] - Subtotal of resolution volume for the current statistical dimension.
- infos
This property is required. Sequence[GetDnspod Domain Analytics Alias Data Info] - 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
- Date
Key This property is required. string - For daily statistics, it is the statistical date.
- Hour
Key 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.
- Date
Key This property is required. string - For daily statistics, it is the statistical date.
- Hour
Key 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.
- date
Key This property is required. String - For daily statistics, it is the statistical date.
- hour
Key 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.
- date
Key This property is required. string - For daily statistics, it is the statistical date.
- hour
Key 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.
- date
Key This property is required. String - For daily statistics, it is the statistical date.
- hour
Key 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
- Dns
Format This property is required. string - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- Dns
Total 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.
- End
Date This property is required. string - The end date of the query, format: YYYY-MM-DD.
- Start
Date This property is required. string - The start date of the query, format: YYYY-MM-DD.
- Dns
Format This property is required. string - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- Dns
Total 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.
- End
Date This property is required. string - The end date of the query, format: YYYY-MM-DD.
- Start
Date This property is required. string - The start date of the query, format: YYYY-MM-DD.
- dns
Format This property is required. String - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- dns
Total 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.
- end
Date This property is required. String - The end date of the query, format: YYYY-MM-DD.
- start
Date This property is required. String - The start date of the query, format: YYYY-MM-DD.
- dns
Format This property is required. string - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- dns
Total 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.
- end
Date This property is required. string - The end date of the query, format: YYYY-MM-DD.
- start
Date 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.
- dns
Format This property is required. String - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- dns
Total 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.
- end
Date This property is required. String - The end date of the query, format: YYYY-MM-DD.
- start
Date This property is required. String - The start date of the query, format: YYYY-MM-DD.
GetDnspodDomainAnalyticsData
- Date
Key This property is required. string - For daily statistics, it is the statistical date.
- Hour
Key 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.
- Date
Key This property is required. string - For daily statistics, it is the statistical date.
- Hour
Key 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.
- date
Key This property is required. String - For daily statistics, it is the statistical date.
- hour
Key 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.
- date
Key This property is required. string - For daily statistics, it is the statistical date.
- hour
Key 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.
- date
Key This property is required. String - For daily statistics, it is the statistical date.
- hour
Key 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
- Dns
Format This property is required. string - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- Dns
Total 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.
- End
Date This property is required. string - The end date of the query, format: YYYY-MM-DD.
- Start
Date This property is required. string - The start date of the query, format: YYYY-MM-DD.
- Dns
Format This property is required. string - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- Dns
Total 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.
- End
Date This property is required. string - The end date of the query, format: YYYY-MM-DD.
- Start
Date This property is required. string - The start date of the query, format: YYYY-MM-DD.
- dns
Format This property is required. String - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- dns
Total 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.
- end
Date This property is required. String - The end date of the query, format: YYYY-MM-DD.
- start
Date This property is required. String - The start date of the query, format: YYYY-MM-DD.
- dns
Format This property is required. string - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- dns
Total 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.
- end
Date This property is required. string - The end date of the query, format: YYYY-MM-DD.
- start
Date 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.
- dns
Format This property is required. String - DATE: Statistics by day dimension HOUR: Statistics by hour dimension.
- dns
Total 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.
- end
Date This property is required. String - The end date of the query, format: YYYY-MM-DD.
- start
Date 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.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack