1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getDnspodDomainLogList
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getDnspodDomainLogList

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of dnspod domain_log_list

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const domainLogList = tencentcloud.getDnspodDomainLogList({
        domain: "iac-tf.cloud",
        domainId: 123,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    domain_log_list = tencentcloud.get_dnspod_domain_log_list(domain="iac-tf.cloud",
        domain_id=123)
    
    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.GetDnspodDomainLogList(ctx, &tencentcloud.GetDnspodDomainLogListArgs{
    			Domain:   "iac-tf.cloud",
    			DomainId: pulumi.Float64Ref(123),
    		}, 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 domainLogList = Tencentcloud.GetDnspodDomainLogList.Invoke(new()
        {
            Domain = "iac-tf.cloud",
            DomainId = 123,
        });
    
    });
    
    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.GetDnspodDomainLogListArgs;
    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 domainLogList = TencentcloudFunctions.getDnspodDomainLogList(GetDnspodDomainLogListArgs.builder()
                .domain("iac-tf.cloud")
                .domainId(123)
                .build());
    
        }
    }
    
    variables:
      domainLogList:
        fn::invoke:
          function: tencentcloud:getDnspodDomainLogList
          arguments:
            domain: iac-tf.cloud
            domainId: 123
    

    Using getDnspodDomainLogList

    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 getDnspodDomainLogList(args: GetDnspodDomainLogListArgs, opts?: InvokeOptions): Promise<GetDnspodDomainLogListResult>
    function getDnspodDomainLogListOutput(args: GetDnspodDomainLogListOutputArgs, opts?: InvokeOptions): Output<GetDnspodDomainLogListResult>
    def get_dnspod_domain_log_list(domain: Optional[str] = None,
                                   domain_id: Optional[float] = None,
                                   id: Optional[str] = None,
                                   result_output_file: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetDnspodDomainLogListResult
    def get_dnspod_domain_log_list_output(domain: Optional[pulumi.Input[str]] = None,
                                   domain_id: Optional[pulumi.Input[float]] = None,
                                   id: Optional[pulumi.Input[str]] = None,
                                   result_output_file: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetDnspodDomainLogListResult]
    func GetDnspodDomainLogList(ctx *Context, args *GetDnspodDomainLogListArgs, opts ...InvokeOption) (*GetDnspodDomainLogListResult, error)
    func GetDnspodDomainLogListOutput(ctx *Context, args *GetDnspodDomainLogListOutputArgs, opts ...InvokeOption) GetDnspodDomainLogListResultOutput

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

    public static class GetDnspodDomainLogList 
    {
        public static Task<GetDnspodDomainLogListResult> InvokeAsync(GetDnspodDomainLogListArgs args, InvokeOptions? opts = null)
        public static Output<GetDnspodDomainLogListResult> Invoke(GetDnspodDomainLogListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDnspodDomainLogListResult> getDnspodDomainLogList(GetDnspodDomainLogListArgs args, InvokeOptions options)
    public static Output<GetDnspodDomainLogListResult> getDnspodDomainLogList(GetDnspodDomainLogListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getDnspodDomainLogList:getDnspodDomainLogList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Domain string
    Domain.
    DomainId double
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    Id string
    ResultOutputFile string
    Used to save results.
    Domain string
    Domain.
    DomainId float64
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    Id string
    ResultOutputFile string
    Used to save results.
    domain String
    Domain.
    domainId Double
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    id String
    resultOutputFile String
    Used to save results.
    domain string
    Domain.
    domainId number
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    id string
    resultOutputFile string
    Used to save results.
    domain str
    Domain.
    domain_id float
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    id str
    result_output_file str
    Used to save results.
    domain String
    Domain.
    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.

    getDnspodDomainLogList Result

    The following output properties are available:

    Domain string
    Id string
    LogLists List<string>
    Domain Operation Log List. Note: This field may return null, indicating that no valid value can be obtained.
    DomainId double
    ResultOutputFile string
    Domain string
    Id string
    LogLists []string
    Domain Operation Log List. Note: This field may return null, indicating that no valid value can be obtained.
    DomainId float64
    ResultOutputFile string
    domain String
    id String
    logLists List<String>
    Domain Operation Log List. Note: This field may return null, indicating that no valid value can be obtained.
    domainId Double
    resultOutputFile String
    domain string
    id string
    logLists string[]
    Domain Operation Log List. Note: This field may return null, indicating that no valid value can be obtained.
    domainId number
    resultOutputFile string
    domain str
    id str
    log_lists Sequence[str]
    Domain Operation Log List. Note: This field may return null, indicating that no valid value can be obtained.
    domain_id float
    result_output_file str
    domain String
    id String
    logLists List<String>
    Domain Operation Log List. Note: This field may return null, indicating that no valid value can be obtained.
    domainId Number
    resultOutputFile String

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack