tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getDnspodRecordAnalytics
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query detailed information of dnspod record_analytics
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const recordAnalytics = tencentcloud.getDnspodRecordAnalytics({
dnsFormat: "HOUR",
domain: "iac-tf.cloud",
endDate: "2023-11-07",
startDate: "2023-09-07",
subdomain: "www",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
record_analytics = tencentcloud.get_dnspod_record_analytics(dns_format="HOUR",
domain="iac-tf.cloud",
end_date="2023-11-07",
start_date="2023-09-07",
subdomain="www")
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.GetDnspodRecordAnalytics(ctx, &tencentcloud.GetDnspodRecordAnalyticsArgs{
DnsFormat: pulumi.StringRef("HOUR"),
Domain: "iac-tf.cloud",
EndDate: "2023-11-07",
StartDate: "2023-09-07",
Subdomain: "www",
}, 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 recordAnalytics = Tencentcloud.GetDnspodRecordAnalytics.Invoke(new()
{
DnsFormat = "HOUR",
Domain = "iac-tf.cloud",
EndDate = "2023-11-07",
StartDate = "2023-09-07",
Subdomain = "www",
});
});
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.GetDnspodRecordAnalyticsArgs;
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 recordAnalytics = TencentcloudFunctions.getDnspodRecordAnalytics(GetDnspodRecordAnalyticsArgs.builder()
.dnsFormat("HOUR")
.domain("iac-tf.cloud")
.endDate("2023-11-07")
.startDate("2023-09-07")
.subdomain("www")
.build());
}
}
variables:
recordAnalytics:
fn::invoke:
function: tencentcloud:getDnspodRecordAnalytics
arguments:
dnsFormat: HOUR
domain: iac-tf.cloud
endDate: 2023-11-07
startDate: 2023-09-07
subdomain: www
Using getDnspodRecordAnalytics
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 getDnspodRecordAnalytics(args: GetDnspodRecordAnalyticsArgs, opts?: InvokeOptions): Promise<GetDnspodRecordAnalyticsResult>
function getDnspodRecordAnalyticsOutput(args: GetDnspodRecordAnalyticsOutputArgs, opts?: InvokeOptions): Output<GetDnspodRecordAnalyticsResult>
def get_dnspod_record_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,
subdomain: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDnspodRecordAnalyticsResult
def get_dnspod_record_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,
subdomain: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDnspodRecordAnalyticsResult]
func GetDnspodRecordAnalytics(ctx *Context, args *GetDnspodRecordAnalyticsArgs, opts ...InvokeOption) (*GetDnspodRecordAnalyticsResult, error)
func GetDnspodRecordAnalyticsOutput(ctx *Context, args *GetDnspodRecordAnalyticsOutputArgs, opts ...InvokeOption) GetDnspodRecordAnalyticsResultOutput
> Note: This function is named GetDnspodRecordAnalytics
in the Go SDK.
public static class GetDnspodRecordAnalytics
{
public static Task<GetDnspodRecordAnalyticsResult> InvokeAsync(GetDnspodRecordAnalyticsArgs args, InvokeOptions? opts = null)
public static Output<GetDnspodRecordAnalyticsResult> Invoke(GetDnspodRecordAnalyticsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDnspodRecordAnalyticsResult> getDnspodRecordAnalytics(GetDnspodRecordAnalyticsArgs args, InvokeOptions options)
public static Output<GetDnspodRecordAnalyticsResult> getDnspodRecordAnalytics(GetDnspodRecordAnalyticsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getDnspodRecordAnalytics:getDnspodRecordAnalytics
arguments:
# arguments dictionary
The following arguments are supported:
- Domain string
- The domain 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.
- Subdomain string
- The subdomain to query for resolution volume.
- 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 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.
- Subdomain string
- The subdomain to query for resolution volume.
- 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 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.
- subdomain String
- The subdomain to query for resolution volume.
- 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 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.
- subdomain string
- The subdomain to query for resolution volume.
- 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 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.
- subdomain str
- The subdomain to query for resolution volume.
- 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 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.
- subdomain String
- The subdomain to query for resolution volume.
- 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.
getDnspodRecordAnalytics Result
The following output properties are available:
- Alias
Datas List<GetDnspod Record Analytics Alias Data> - Subdomain alias resolution statistics information.
- Datas
List<Get
Dnspod Record Analytics Data> - The subtotal of the resolution volume for the current statistical dimension.
- Domain string
- The domain currently being queried.
- End
Date string - End date of the current statistical period.
- Id string
- Infos
List<Get
Dnspod Record Analytics Info> - Subdomain resolution statistics query information.
- Start
Date string - Start date of the current statistical period.
- Subdomain string
- The subdomain currently being analyzed.
- Dns
Format string - DATE: Daily statistics, HOUR: Hourly statistics.
- Domain
Id double - Result
Output stringFile
- Alias
Datas []GetDnspod Record Analytics Alias Data - Subdomain alias resolution statistics information.
- Datas
[]Get
Dnspod Record Analytics Data - The subtotal of the resolution volume for the current statistical dimension.
- Domain string
- The domain currently being queried.
- End
Date string - End date of the current statistical period.
- Id string
- Infos
[]Get
Dnspod Record Analytics Info - Subdomain resolution statistics query information.
- Start
Date string - Start date of the current statistical period.
- Subdomain string
- The subdomain currently being analyzed.
- Dns
Format string - DATE: Daily statistics, HOUR: Hourly statistics.
- Domain
Id float64 - Result
Output stringFile
- alias
Datas List<GetDnspod Record Analytics Alias Data> - Subdomain alias resolution statistics information.
- datas
List<Get
Dnspod Record Analytics Data> - The subtotal of the resolution volume for the current statistical dimension.
- domain String
- The domain currently being queried.
- end
Date String - End date of the current statistical period.
- id String
- infos
List<Get
Dnspod Record Analytics Info> - Subdomain resolution statistics query information.
- start
Date String - Start date of the current statistical period.
- subdomain String
- The subdomain currently being analyzed.
- dns
Format String - DATE: Daily statistics, HOUR: Hourly statistics.
- domain
Id Double - result
Output StringFile
- alias
Datas GetDnspod Record Analytics Alias Data[] - Subdomain alias resolution statistics information.
- datas
Get
Dnspod Record Analytics Data[] - The subtotal of the resolution volume for the current statistical dimension.
- domain string
- The domain currently being queried.
- end
Date string - End date of the current statistical period.
- id string
- infos
Get
Dnspod Record Analytics Info[] - Subdomain resolution statistics query information.
- start
Date string - Start date of the current statistical period.
- subdomain string
- The subdomain currently being analyzed.
- dns
Format string - DATE: Daily statistics, HOUR: Hourly statistics.
- domain
Id number - result
Output stringFile
- alias_
datas Sequence[GetDnspod Record Analytics Alias Data] - Subdomain alias resolution statistics information.
- datas
Sequence[Get
Dnspod Record Analytics Data] - The subtotal of the resolution volume for the current statistical dimension.
- domain str
- The domain currently being queried.
- end_
date str - End date of the current statistical period.
- id str
- infos
Sequence[Get
Dnspod Record Analytics Info] - Subdomain resolution statistics query information.
- start_
date str - Start date of the current statistical period.
- subdomain str
- The subdomain currently being analyzed.
- dns_
format str - DATE: Daily statistics, HOUR: Hourly statistics.
- domain_
id float - result_
output_ strfile
- alias
Datas List<Property Map> - Subdomain alias resolution statistics information.
- datas List<Property Map>
- The subtotal of the resolution volume for the current statistical dimension.
- domain String
- The domain currently being queried.
- end
Date String - End date of the current statistical period.
- id String
- infos List<Property Map>
- Subdomain resolution statistics query information.
- start
Date String - Start date of the current statistical period.
- subdomain String
- The subdomain currently being analyzed.
- dns
Format String - DATE: Daily statistics, HOUR: Hourly statistics.
- domain
Id Number - result
Output StringFile
Supporting Types
GetDnspodRecordAnalyticsAliasData
- Datas
List<Get
Dnspod Record Analytics Alias Data Data> - The subtotal of the resolution volume for the current statistical dimension.
- Infos
List<Get
Dnspod Record Analytics Alias Data Info> - Subdomain resolution statistics query information.
- Datas
[]Get
Dnspod Record Analytics Alias Data Data - The subtotal of the resolution volume for the current statistical dimension.
- Infos
[]Get
Dnspod Record Analytics Alias Data Info - Subdomain resolution statistics query information.
- datas
List<Get
Dnspod Record Analytics Alias Data Data> - The subtotal of the resolution volume for the current statistical dimension.
- infos
List<Get
Dnspod Record Analytics Alias Data Info> - Subdomain resolution statistics query information.
- datas
Get
Dnspod Record Analytics Alias Data Data[] - The subtotal of the resolution volume for the current statistical dimension.
- infos
Get
Dnspod Record Analytics Alias Data Info[] - Subdomain resolution statistics query information.
- datas
Sequence[Get
Dnspod Record Analytics Alias Data Data] - The subtotal of the resolution volume for the current statistical dimension.
- infos
Sequence[Get
Dnspod Record Analytics Alias Data Info] - Subdomain resolution statistics query information.
- datas List<Property Map>
- The subtotal of the resolution volume for the current statistical dimension.
- infos List<Property Map>
- Subdomain resolution statistics query information.
GetDnspodRecordAnalyticsAliasDataData
- 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 for statistics (0-23), e.g., 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
- The subtotal of the 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 for statistics (0-23), e.g., 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
- The subtotal of the 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 for statistics (0-23), e.g., 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
- The subtotal of the 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 for statistics (0-23), e.g., 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
- The subtotal of the 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 for statistics (0-23), e.g., 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
- The subtotal of the 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 for statistics (0-23), e.g., 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
- The subtotal of the resolution volume for the current statistical dimension.
GetDnspodRecordAnalyticsAliasDataInfo
- Dns
Format string - DATE: Statistics by day dimension, HOUR: Statistics by hour dimension.
- Dns
Total double - Total resolution count for the current statistical period.
- Domain string
- The domain 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.
- Subdomain string
- The subdomain to query for resolution volume.
- Dns
Format string - DATE: Statistics by day dimension, HOUR: Statistics by hour dimension.
- Dns
Total float64 - Total resolution count for the current statistical period.
- Domain string
- The domain 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.
- Subdomain string
- The subdomain to query for resolution volume.
- dns
Format String - DATE: Statistics by day dimension, HOUR: Statistics by hour dimension.
- dns
Total Double - Total resolution count for the current statistical period.
- domain String
- The domain 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.
- subdomain String
- The subdomain to query for resolution volume.
- dns
Format string - DATE: Statistics by day dimension, HOUR: Statistics by hour dimension.
- dns
Total number - Total resolution count for the current statistical period.
- domain string
- The domain 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.
- subdomain string
- The subdomain to query for resolution volume.
- dns_
format str - DATE: Statistics by day dimension, HOUR: Statistics by hour dimension.
- dns_
total float - Total resolution count for the current statistical period.
- domain str
- The domain 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.
- subdomain str
- The subdomain to query for resolution volume.
- dns
Format String - DATE: Statistics by day dimension, HOUR: Statistics by hour dimension.
- dns
Total Number - Total resolution count for the current statistical period.
- domain String
- The domain 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.
- subdomain String
- The subdomain to query for resolution volume.
GetDnspodRecordAnalyticsData
- 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 for statistics (0-23), e.g., 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
- The subtotal of the 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 for statistics (0-23), e.g., 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
- The subtotal of the 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 for statistics (0-23), e.g., 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
- The subtotal of the 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 for statistics (0-23), e.g., 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
- The subtotal of the 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 for statistics (0-23), e.g., 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
- The subtotal of the 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 for statistics (0-23), e.g., 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
- The subtotal of the resolution volume for the current statistical dimension.
GetDnspodRecordAnalyticsInfo
- Dns
Format string - DATE: Statistics by day dimension, HOUR: Statistics by hour dimension.
- Dns
Total double - Total resolution count for the current statistical period.
- Domain string
- The domain 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.
- Subdomain string
- The subdomain to query for resolution volume.
- Dns
Format string - DATE: Statistics by day dimension, HOUR: Statistics by hour dimension.
- Dns
Total float64 - Total resolution count for the current statistical period.
- Domain string
- The domain 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.
- Subdomain string
- The subdomain to query for resolution volume.
- dns
Format String - DATE: Statistics by day dimension, HOUR: Statistics by hour dimension.
- dns
Total Double - Total resolution count for the current statistical period.
- domain String
- The domain 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.
- subdomain String
- The subdomain to query for resolution volume.
- dns
Format string - DATE: Statistics by day dimension, HOUR: Statistics by hour dimension.
- dns
Total number - Total resolution count for the current statistical period.
- domain string
- The domain 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.
- subdomain string
- The subdomain to query for resolution volume.
- dns_
format str - DATE: Statistics by day dimension, HOUR: Statistics by hour dimension.
- dns_
total float - Total resolution count for the current statistical period.
- domain str
- The domain 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.
- subdomain str
- The subdomain to query for resolution volume.
- dns
Format String - DATE: Statistics by day dimension, HOUR: Statistics by hour dimension.
- dns
Total Number - Total resolution count for the current statistical period.
- domain String
- The domain 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.
- subdomain String
- The subdomain to query for resolution volume.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack