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

tencentcloud.getSslDescribeHostWafInstanceList

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 ssl describe_host_waf_instance_list

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const describeHostWafInstanceList = tencentcloud.getSslDescribeHostWafInstanceList({
        certificateId: "8u8DII0l",
        resourceType: "waf",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    describe_host_waf_instance_list = tencentcloud.get_ssl_describe_host_waf_instance_list(certificate_id="8u8DII0l",
        resource_type="waf")
    
    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.GetSslDescribeHostWafInstanceList(ctx, &tencentcloud.GetSslDescribeHostWafInstanceListArgs{
    			CertificateId: "8u8DII0l",
    			ResourceType:  "waf",
    		}, 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 describeHostWafInstanceList = Tencentcloud.GetSslDescribeHostWafInstanceList.Invoke(new()
        {
            CertificateId = "8u8DII0l",
            ResourceType = "waf",
        });
    
    });
    
    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.GetSslDescribeHostWafInstanceListArgs;
    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 describeHostWafInstanceList = TencentcloudFunctions.getSslDescribeHostWafInstanceList(GetSslDescribeHostWafInstanceListArgs.builder()
                .certificateId("8u8DII0l")
                .resourceType("waf")
                .build());
    
        }
    }
    
    variables:
      describeHostWafInstanceList:
        fn::invoke:
          function: tencentcloud:getSslDescribeHostWafInstanceList
          arguments:
            certificateId: 8u8DII0l
            resourceType: waf
    

    Using getSslDescribeHostWafInstanceList

    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 getSslDescribeHostWafInstanceList(args: GetSslDescribeHostWafInstanceListArgs, opts?: InvokeOptions): Promise<GetSslDescribeHostWafInstanceListResult>
    function getSslDescribeHostWafInstanceListOutput(args: GetSslDescribeHostWafInstanceListOutputArgs, opts?: InvokeOptions): Output<GetSslDescribeHostWafInstanceListResult>
    def get_ssl_describe_host_waf_instance_list(certificate_id: Optional[str] = None,
                                                filters: Optional[Sequence[GetSslDescribeHostWafInstanceListFilter]] = None,
                                                id: Optional[str] = None,
                                                is_cache: Optional[float] = None,
                                                old_certificate_id: Optional[str] = None,
                                                resource_type: Optional[str] = None,
                                                result_output_file: Optional[str] = None,
                                                opts: Optional[InvokeOptions] = None) -> GetSslDescribeHostWafInstanceListResult
    def get_ssl_describe_host_waf_instance_list_output(certificate_id: Optional[pulumi.Input[str]] = None,
                                                filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetSslDescribeHostWafInstanceListFilterArgs]]]] = None,
                                                id: Optional[pulumi.Input[str]] = None,
                                                is_cache: Optional[pulumi.Input[float]] = None,
                                                old_certificate_id: Optional[pulumi.Input[str]] = None,
                                                resource_type: Optional[pulumi.Input[str]] = None,
                                                result_output_file: Optional[pulumi.Input[str]] = None,
                                                opts: Optional[InvokeOptions] = None) -> Output[GetSslDescribeHostWafInstanceListResult]
    func GetSslDescribeHostWafInstanceList(ctx *Context, args *GetSslDescribeHostWafInstanceListArgs, opts ...InvokeOption) (*GetSslDescribeHostWafInstanceListResult, error)
    func GetSslDescribeHostWafInstanceListOutput(ctx *Context, args *GetSslDescribeHostWafInstanceListOutputArgs, opts ...InvokeOption) GetSslDescribeHostWafInstanceListResultOutput

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

    public static class GetSslDescribeHostWafInstanceList 
    {
        public static Task<GetSslDescribeHostWafInstanceListResult> InvokeAsync(GetSslDescribeHostWafInstanceListArgs args, InvokeOptions? opts = null)
        public static Output<GetSslDescribeHostWafInstanceListResult> Invoke(GetSslDescribeHostWafInstanceListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSslDescribeHostWafInstanceListResult> getSslDescribeHostWafInstanceList(GetSslDescribeHostWafInstanceListArgs args, InvokeOptions options)
    public static Output<GetSslDescribeHostWafInstanceListResult> getSslDescribeHostWafInstanceList(GetSslDescribeHostWafInstanceListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getSslDescribeHostWafInstanceList:getSslDescribeHostWafInstanceList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CertificateId string
    Certificate ID to be deployed.
    ResourceType string
    Deploy resource type.
    Filters List<GetSslDescribeHostWafInstanceListFilter>
    List of filtering parameters; Filterkey: domainmatch.
    Id string
    IsCache double
    Whether to query the cache, 1: Yes; 0: No, the default is the query cache, the cache is half an hour.
    OldCertificateId string
    Deployed certificate ID.
    ResultOutputFile string
    Used to save results.
    CertificateId string
    Certificate ID to be deployed.
    ResourceType string
    Deploy resource type.
    Filters []GetSslDescribeHostWafInstanceListFilter
    List of filtering parameters; Filterkey: domainmatch.
    Id string
    IsCache float64
    Whether to query the cache, 1: Yes; 0: No, the default is the query cache, the cache is half an hour.
    OldCertificateId string
    Deployed certificate ID.
    ResultOutputFile string
    Used to save results.
    certificateId String
    Certificate ID to be deployed.
    resourceType String
    Deploy resource type.
    filters List<GetSslDescribeHostWafInstanceListFilter>
    List of filtering parameters; Filterkey: domainmatch.
    id String
    isCache Double
    Whether to query the cache, 1: Yes; 0: No, the default is the query cache, the cache is half an hour.
    oldCertificateId String
    Deployed certificate ID.
    resultOutputFile String
    Used to save results.
    certificateId string
    Certificate ID to be deployed.
    resourceType string
    Deploy resource type.
    filters GetSslDescribeHostWafInstanceListFilter[]
    List of filtering parameters; Filterkey: domainmatch.
    id string
    isCache number
    Whether to query the cache, 1: Yes; 0: No, the default is the query cache, the cache is half an hour.
    oldCertificateId string
    Deployed certificate ID.
    resultOutputFile string
    Used to save results.
    certificate_id str
    Certificate ID to be deployed.
    resource_type str
    Deploy resource type.
    filters Sequence[GetSslDescribeHostWafInstanceListFilter]
    List of filtering parameters; Filterkey: domainmatch.
    id str
    is_cache float
    Whether to query the cache, 1: Yes; 0: No, the default is the query cache, the cache is half an hour.
    old_certificate_id str
    Deployed certificate ID.
    result_output_file str
    Used to save results.
    certificateId String
    Certificate ID to be deployed.
    resourceType String
    Deploy resource type.
    filters List<Property Map>
    List of filtering parameters; Filterkey: domainmatch.
    id String
    isCache Number
    Whether to query the cache, 1: Yes; 0: No, the default is the query cache, the cache is half an hour.
    oldCertificateId String
    Deployed certificate ID.
    resultOutputFile String
    Used to save results.

    getSslDescribeHostWafInstanceList Result

    The following output properties are available:

    CertificateId string
    Id string
    InstanceLists List<GetSslDescribeHostWafInstanceListInstanceList>
    WAF instance listNote: This field may return NULL, indicating that the valid value cannot be obtained.
    ResourceType string
    Filters List<GetSslDescribeHostWafInstanceListFilter>
    IsCache double
    OldCertificateId string
    ResultOutputFile string
    CertificateId string
    Id string
    InstanceLists []GetSslDescribeHostWafInstanceListInstanceList
    WAF instance listNote: This field may return NULL, indicating that the valid value cannot be obtained.
    ResourceType string
    Filters []GetSslDescribeHostWafInstanceListFilter
    IsCache float64
    OldCertificateId string
    ResultOutputFile string
    certificateId String
    id String
    instanceLists List<GetSslDescribeHostWafInstanceListInstanceList>
    WAF instance listNote: This field may return NULL, indicating that the valid value cannot be obtained.
    resourceType String
    filters List<GetSslDescribeHostWafInstanceListFilter>
    isCache Double
    oldCertificateId String
    resultOutputFile String
    certificateId string
    id string
    instanceLists GetSslDescribeHostWafInstanceListInstanceList[]
    WAF instance listNote: This field may return NULL, indicating that the valid value cannot be obtained.
    resourceType string
    filters GetSslDescribeHostWafInstanceListFilter[]
    isCache number
    oldCertificateId string
    resultOutputFile string
    certificateId String
    id String
    instanceLists List<Property Map>
    WAF instance listNote: This field may return NULL, indicating that the valid value cannot be obtained.
    resourceType String
    filters List<Property Map>
    isCache Number
    oldCertificateId String
    resultOutputFile String

    Supporting Types

    GetSslDescribeHostWafInstanceListFilter

    FilterKey string
    Filter parameter key.
    FilterValue string
    Filter parameter value.
    FilterKey string
    Filter parameter key.
    FilterValue string
    Filter parameter value.
    filterKey String
    Filter parameter key.
    filterValue String
    Filter parameter value.
    filterKey string
    Filter parameter key.
    filterValue string
    Filter parameter value.
    filter_key str
    Filter parameter key.
    filter_value str
    Filter parameter value.
    filterKey String
    Filter parameter key.
    filterValue String
    Filter parameter value.

    GetSslDescribeHostWafInstanceListInstanceList

    CertId string
    Binded certificate IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
    Domain string
    domain name.
    Status double
    -1: Unrelated certificate of domain name.1: The domain name HTTPS has been opened.0: The domain name HTTPS has been closed.
    CertId string
    Binded certificate IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
    Domain string
    domain name.
    Status float64
    -1: Unrelated certificate of domain name.1: The domain name HTTPS has been opened.0: The domain name HTTPS has been closed.
    certId String
    Binded certificate IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
    domain String
    domain name.
    status Double
    -1: Unrelated certificate of domain name.1: The domain name HTTPS has been opened.0: The domain name HTTPS has been closed.
    certId string
    Binded certificate IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
    domain string
    domain name.
    status number
    -1: Unrelated certificate of domain name.1: The domain name HTTPS has been opened.0: The domain name HTTPS has been closed.
    cert_id str
    Binded certificate IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
    domain str
    domain name.
    status float
    -1: Unrelated certificate of domain name.1: The domain name HTTPS has been opened.0: The domain name HTTPS has been closed.
    certId String
    Binded certificate IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
    domain String
    domain name.
    status Number
    -1: Unrelated certificate of domain name.1: The domain name HTTPS has been opened.0: The domain name HTTPS has been closed.

    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