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

tencentcloud.getGaapDomainErrorPageInfos

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 gaap domain error page infos

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const domainErrorPageInfos = tencentcloud.getGaapDomainErrorPageInfos({
        errorPageIds: ["errorPage-xxxxxx"],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    domain_error_page_infos = tencentcloud.get_gaap_domain_error_page_infos(error_page_ids=["errorPage-xxxxxx"])
    
    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.GetGaapDomainErrorPageInfos(ctx, &tencentcloud.GetGaapDomainErrorPageInfosArgs{
    			ErrorPageIds: []string{
    				"errorPage-xxxxxx",
    			},
    		}, 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 domainErrorPageInfos = Tencentcloud.GetGaapDomainErrorPageInfos.Invoke(new()
        {
            ErrorPageIds = new[]
            {
                "errorPage-xxxxxx",
            },
        });
    
    });
    
    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.GetGaapDomainErrorPageInfosArgs;
    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 domainErrorPageInfos = TencentcloudFunctions.getGaapDomainErrorPageInfos(GetGaapDomainErrorPageInfosArgs.builder()
                .errorPageIds("errorPage-xxxxxx")
                .build());
    
        }
    }
    
    variables:
      domainErrorPageInfos:
        fn::invoke:
          function: tencentcloud:getGaapDomainErrorPageInfos
          arguments:
            errorPageIds:
              - errorPage-xxxxxx
    

    Using getGaapDomainErrorPageInfos

    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 getGaapDomainErrorPageInfos(args: GetGaapDomainErrorPageInfosArgs, opts?: InvokeOptions): Promise<GetGaapDomainErrorPageInfosResult>
    function getGaapDomainErrorPageInfosOutput(args: GetGaapDomainErrorPageInfosOutputArgs, opts?: InvokeOptions): Output<GetGaapDomainErrorPageInfosResult>
    def get_gaap_domain_error_page_infos(error_page_ids: Optional[Sequence[str]] = None,
                                         id: Optional[str] = None,
                                         result_output_file: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetGaapDomainErrorPageInfosResult
    def get_gaap_domain_error_page_infos_output(error_page_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                         id: Optional[pulumi.Input[str]] = None,
                                         result_output_file: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetGaapDomainErrorPageInfosResult]
    func GetGaapDomainErrorPageInfos(ctx *Context, args *GetGaapDomainErrorPageInfosArgs, opts ...InvokeOption) (*GetGaapDomainErrorPageInfosResult, error)
    func GetGaapDomainErrorPageInfosOutput(ctx *Context, args *GetGaapDomainErrorPageInfosOutputArgs, opts ...InvokeOption) GetGaapDomainErrorPageInfosResultOutput

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

    public static class GetGaapDomainErrorPageInfos 
    {
        public static Task<GetGaapDomainErrorPageInfosResult> InvokeAsync(GetGaapDomainErrorPageInfosArgs args, InvokeOptions? opts = null)
        public static Output<GetGaapDomainErrorPageInfosResult> Invoke(GetGaapDomainErrorPageInfosInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGaapDomainErrorPageInfosResult> getGaapDomainErrorPageInfos(GetGaapDomainErrorPageInfosArgs args, InvokeOptions options)
    public static Output<GetGaapDomainErrorPageInfosResult> getGaapDomainErrorPageInfos(GetGaapDomainErrorPageInfosArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getGaapDomainErrorPageInfos:getGaapDomainErrorPageInfos
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ErrorPageIds List<string>
    Customized error ID list, supporting up to 10.
    Id string
    ResultOutputFile string
    Used to save results.
    ErrorPageIds []string
    Customized error ID list, supporting up to 10.
    Id string
    ResultOutputFile string
    Used to save results.
    errorPageIds List<String>
    Customized error ID list, supporting up to 10.
    id String
    resultOutputFile String
    Used to save results.
    errorPageIds string[]
    Customized error ID list, supporting up to 10.
    id string
    resultOutputFile string
    Used to save results.
    error_page_ids Sequence[str]
    Customized error ID list, supporting up to 10.
    id str
    result_output_file str
    Used to save results.
    errorPageIds List<String>
    Customized error ID list, supporting up to 10.
    id String
    resultOutputFile String
    Used to save results.

    getGaapDomainErrorPageInfos Result

    The following output properties are available:

    ErrorPageIds List<string>
    ErrorPageSets List<GetGaapDomainErrorPageInfosErrorPageSet>
    Custom error response configuration setNote: This field may return null, indicating that a valid value cannot be obtained.
    Id string
    ResultOutputFile string
    ErrorPageIds []string
    ErrorPageSets []GetGaapDomainErrorPageInfosErrorPageSet
    Custom error response configuration setNote: This field may return null, indicating that a valid value cannot be obtained.
    Id string
    ResultOutputFile string
    errorPageIds List<String>
    errorPageSets List<GetGaapDomainErrorPageInfosErrorPageSet>
    Custom error response configuration setNote: This field may return null, indicating that a valid value cannot be obtained.
    id String
    resultOutputFile String
    errorPageIds string[]
    errorPageSets GetGaapDomainErrorPageInfosErrorPageSet[]
    Custom error response configuration setNote: This field may return null, indicating that a valid value cannot be obtained.
    id string
    resultOutputFile string
    error_page_ids Sequence[str]
    error_page_sets Sequence[GetGaapDomainErrorPageInfosErrorPageSet]
    Custom error response configuration setNote: This field may return null, indicating that a valid value cannot be obtained.
    id str
    result_output_file str
    errorPageIds List<String>
    errorPageSets List<Property Map>
    Custom error response configuration setNote: This field may return null, indicating that a valid value cannot be obtained.
    id String
    resultOutputFile String

    Supporting Types

    GetGaapDomainErrorPageInfosErrorPageSet

    Body string
    Response body set (excluding HTTP header)Note: This field may return null, indicating that a valid value cannot be obtained.
    ClearHeaders List<string>
    Response headers that need to be cleanedNote: This field may return null, indicating that a valid value cannot be obtained.
    Domain string
    domain name.
    ErrorNos List<double>
    Original error code.
    ErrorPageId string
    Configuration ID for error customization response.
    ListenerId string
    Listener ID.
    NewErrorNo double
    New error codeNote: This field may return null, indicating that a valid value cannot be obtained.
    SetHeaders List<GetGaapDomainErrorPageInfosErrorPageSetSetHeader>
    Response header to be setNote: This field may return null, indicating that a valid value cannot be obtained.
    Status double
    Rule status, 0 indicates successNote: This field may return null, indicating that a valid value cannot be obtained.
    Body string
    Response body set (excluding HTTP header)Note: This field may return null, indicating that a valid value cannot be obtained.
    ClearHeaders []string
    Response headers that need to be cleanedNote: This field may return null, indicating that a valid value cannot be obtained.
    Domain string
    domain name.
    ErrorNos []float64
    Original error code.
    ErrorPageId string
    Configuration ID for error customization response.
    ListenerId string
    Listener ID.
    NewErrorNo float64
    New error codeNote: This field may return null, indicating that a valid value cannot be obtained.
    SetHeaders []GetGaapDomainErrorPageInfosErrorPageSetSetHeader
    Response header to be setNote: This field may return null, indicating that a valid value cannot be obtained.
    Status float64
    Rule status, 0 indicates successNote: This field may return null, indicating that a valid value cannot be obtained.
    body String
    Response body set (excluding HTTP header)Note: This field may return null, indicating that a valid value cannot be obtained.
    clearHeaders List<String>
    Response headers that need to be cleanedNote: This field may return null, indicating that a valid value cannot be obtained.
    domain String
    domain name.
    errorNos List<Double>
    Original error code.
    errorPageId String
    Configuration ID for error customization response.
    listenerId String
    Listener ID.
    newErrorNo Double
    New error codeNote: This field may return null, indicating that a valid value cannot be obtained.
    setHeaders List<GetGaapDomainErrorPageInfosErrorPageSetSetHeader>
    Response header to be setNote: This field may return null, indicating that a valid value cannot be obtained.
    status Double
    Rule status, 0 indicates successNote: This field may return null, indicating that a valid value cannot be obtained.
    body string
    Response body set (excluding HTTP header)Note: This field may return null, indicating that a valid value cannot be obtained.
    clearHeaders string[]
    Response headers that need to be cleanedNote: This field may return null, indicating that a valid value cannot be obtained.
    domain string
    domain name.
    errorNos number[]
    Original error code.
    errorPageId string
    Configuration ID for error customization response.
    listenerId string
    Listener ID.
    newErrorNo number
    New error codeNote: This field may return null, indicating that a valid value cannot be obtained.
    setHeaders GetGaapDomainErrorPageInfosErrorPageSetSetHeader[]
    Response header to be setNote: This field may return null, indicating that a valid value cannot be obtained.
    status number
    Rule status, 0 indicates successNote: This field may return null, indicating that a valid value cannot be obtained.
    body str
    Response body set (excluding HTTP header)Note: This field may return null, indicating that a valid value cannot be obtained.
    clear_headers Sequence[str]
    Response headers that need to be cleanedNote: This field may return null, indicating that a valid value cannot be obtained.
    domain str
    domain name.
    error_nos Sequence[float]
    Original error code.
    error_page_id str
    Configuration ID for error customization response.
    listener_id str
    Listener ID.
    new_error_no float
    New error codeNote: This field may return null, indicating that a valid value cannot be obtained.
    set_headers Sequence[GetGaapDomainErrorPageInfosErrorPageSetSetHeader]
    Response header to be setNote: This field may return null, indicating that a valid value cannot be obtained.
    status float
    Rule status, 0 indicates successNote: This field may return null, indicating that a valid value cannot be obtained.
    body String
    Response body set (excluding HTTP header)Note: This field may return null, indicating that a valid value cannot be obtained.
    clearHeaders List<String>
    Response headers that need to be cleanedNote: This field may return null, indicating that a valid value cannot be obtained.
    domain String
    domain name.
    errorNos List<Number>
    Original error code.
    errorPageId String
    Configuration ID for error customization response.
    listenerId String
    Listener ID.
    newErrorNo Number
    New error codeNote: This field may return null, indicating that a valid value cannot be obtained.
    setHeaders List<Property Map>
    Response header to be setNote: This field may return null, indicating that a valid value cannot be obtained.
    status Number
    Rule status, 0 indicates successNote: This field may return null, indicating that a valid value cannot be obtained.

    GetGaapDomainErrorPageInfosErrorPageSetSetHeader

    HeaderName string
    HTTP header name.
    HeaderValue string
    HTTP header value.
    HeaderName string
    HTTP header name.
    HeaderValue string
    HTTP header value.
    headerName String
    HTTP header name.
    headerValue String
    HTTP header value.
    headerName string
    HTTP header name.
    headerValue string
    HTTP header value.
    header_name str
    HTTP header name.
    header_value str
    HTTP header value.
    headerName String
    HTTP header name.
    headerValue String
    HTTP header value.

    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