tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getGaapDomainErrorPageInfos
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 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:
- Error
Page List<string>Ids - Customized error ID list, supporting up to 10.
- Id string
- Result
Output stringFile - Used to save results.
- Error
Page []stringIds - Customized error ID list, supporting up to 10.
- Id string
- Result
Output stringFile - Used to save results.
- error
Page List<String>Ids - Customized error ID list, supporting up to 10.
- id String
- result
Output StringFile - Used to save results.
- error
Page string[]Ids - Customized error ID list, supporting up to 10.
- id string
- result
Output stringFile - Used to save results.
- error_
page_ Sequence[str]ids - Customized error ID list, supporting up to 10.
- id str
- result_
output_ strfile - Used to save results.
- error
Page List<String>Ids - Customized error ID list, supporting up to 10.
- id String
- result
Output StringFile - Used to save results.
getGaapDomainErrorPageInfos Result
The following output properties are available:
- Error
Page List<string>Ids - Error
Page List<GetSets Gaap Domain Error Page Infos Error Page Set> - Custom error response configuration setNote: This field may return null, indicating that a valid value cannot be obtained.
- Id string
- Result
Output stringFile
- Error
Page []stringIds - Error
Page []GetSets Gaap Domain Error Page Infos Error Page Set - Custom error response configuration setNote: This field may return null, indicating that a valid value cannot be obtained.
- Id string
- Result
Output stringFile
- error
Page List<String>Ids - error
Page List<GetSets Gaap Domain Error Page Infos Error Page Set> - Custom error response configuration setNote: This field may return null, indicating that a valid value cannot be obtained.
- id String
- result
Output StringFile
- error
Page string[]Ids - error
Page GetSets Gaap Domain Error Page Infos Error Page Set[] - Custom error response configuration setNote: This field may return null, indicating that a valid value cannot be obtained.
- id string
- result
Output stringFile
- error_
page_ Sequence[str]ids - error_
page_ Sequence[Getsets Gaap Domain Error Page Infos Error Page Set] - Custom error response configuration setNote: This field may return null, indicating that a valid value cannot be obtained.
- id str
- result_
output_ strfile
- error
Page List<String>Ids - error
Page List<Property Map>Sets - Custom error response configuration setNote: This field may return null, indicating that a valid value cannot be obtained.
- id String
- result
Output StringFile
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.
- Clear
Headers 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.
- Error
Nos List<double> - Original error code.
- Error
Page stringId - Configuration ID for error customization response.
- Listener
Id string - Listener ID.
- New
Error doubleNo - New error codeNote: This field may return null, indicating that a valid value cannot be obtained.
- Set
Headers List<GetGaap Domain Error Page Infos Error Page Set Set Header> - 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.
- Clear
Headers []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.
- Error
Nos []float64 - Original error code.
- Error
Page stringId - Configuration ID for error customization response.
- Listener
Id string - Listener ID.
- New
Error float64No - New error codeNote: This field may return null, indicating that a valid value cannot be obtained.
- Set
Headers []GetGaap Domain Error Page Infos Error Page Set Set Header - 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.
- clear
Headers 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.
- error
Nos List<Double> - Original error code.
- error
Page StringId - Configuration ID for error customization response.
- listener
Id String - Listener ID.
- new
Error DoubleNo - New error codeNote: This field may return null, indicating that a valid value cannot be obtained.
- set
Headers List<GetGaap Domain Error Page Infos Error Page Set Set Header> - 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.
- clear
Headers 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.
- error
Nos number[] - Original error code.
- error
Page stringId - Configuration ID for error customization response.
- listener
Id string - Listener ID.
- new
Error numberNo - New error codeNote: This field may return null, indicating that a valid value cannot be obtained.
- set
Headers GetGaap Domain Error Page Infos Error Page Set Set Header[] - 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_ strid - Configuration ID for error customization response.
- listener_
id str - Listener ID.
- new_
error_ floatno - New error codeNote: This field may return null, indicating that a valid value cannot be obtained.
- set_
headers Sequence[GetGaap Domain Error Page Infos Error Page Set Set Header] - 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.
- clear
Headers 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.
- error
Nos List<Number> - Original error code.
- error
Page StringId - Configuration ID for error customization response.
- listener
Id String - Listener ID.
- new
Error NumberNo - New error codeNote: This field may return null, indicating that a valid value cannot be obtained.
- set
Headers 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
- Header
Name string - HTTP header name.
- Header
Value string - HTTP header value.
- Header
Name string - HTTP header name.
- Header
Value string - HTTP header value.
- header
Name String - HTTP header name.
- header
Value String - HTTP header value.
- header
Name string - HTTP header name.
- header
Value string - HTTP header value.
- header_
name str - HTTP header name.
- header_
value str - HTTP header value.
- header
Name String - HTTP header name.
- header
Value 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 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack