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

tencentcloud.getGaapCustomHeader

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 custom header

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const customHeader = tencentcloud.getGaapCustomHeader({
        ruleId: "rule-hddrxgpd",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    custom_header = tencentcloud.get_gaap_custom_header(rule_id="rule-hddrxgpd")
    
    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.LookupGaapCustomHeader(ctx, &tencentcloud.LookupGaapCustomHeaderArgs{
    			RuleId: "rule-hddrxgpd",
    		}, 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 customHeader = Tencentcloud.GetGaapCustomHeader.Invoke(new()
        {
            RuleId = "rule-hddrxgpd",
        });
    
    });
    
    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.GetGaapCustomHeaderArgs;
    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 customHeader = TencentcloudFunctions.getGaapCustomHeader(GetGaapCustomHeaderArgs.builder()
                .ruleId("rule-hddrxgpd")
                .build());
    
        }
    }
    
    variables:
      customHeader:
        fn::invoke:
          function: tencentcloud:getGaapCustomHeader
          arguments:
            ruleId: rule-hddrxgpd
    

    Using getGaapCustomHeader

    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 getGaapCustomHeader(args: GetGaapCustomHeaderArgs, opts?: InvokeOptions): Promise<GetGaapCustomHeaderResult>
    function getGaapCustomHeaderOutput(args: GetGaapCustomHeaderOutputArgs, opts?: InvokeOptions): Output<GetGaapCustomHeaderResult>
    def get_gaap_custom_header(id: Optional[str] = None,
                               result_output_file: Optional[str] = None,
                               rule_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetGaapCustomHeaderResult
    def get_gaap_custom_header_output(id: Optional[pulumi.Input[str]] = None,
                               result_output_file: Optional[pulumi.Input[str]] = None,
                               rule_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetGaapCustomHeaderResult]
    func LookupGaapCustomHeader(ctx *Context, args *LookupGaapCustomHeaderArgs, opts ...InvokeOption) (*LookupGaapCustomHeaderResult, error)
    func LookupGaapCustomHeaderOutput(ctx *Context, args *LookupGaapCustomHeaderOutputArgs, opts ...InvokeOption) LookupGaapCustomHeaderResultOutput

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

    public static class GetGaapCustomHeader 
    {
        public static Task<GetGaapCustomHeaderResult> InvokeAsync(GetGaapCustomHeaderArgs args, InvokeOptions? opts = null)
        public static Output<GetGaapCustomHeaderResult> Invoke(GetGaapCustomHeaderInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGaapCustomHeaderResult> getGaapCustomHeader(GetGaapCustomHeaderArgs args, InvokeOptions options)
    public static Output<GetGaapCustomHeaderResult> getGaapCustomHeader(GetGaapCustomHeaderArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getGaapCustomHeader:getGaapCustomHeader
      arguments:
        # arguments dictionary

    The following arguments are supported:

    RuleId string
    Rule IdNote: This field may return null, indicating that a valid value cannot be obtained.
    Id string
    ResultOutputFile string
    Used to save results.
    RuleId string
    Rule IdNote: This field may return null, indicating that a valid value cannot be obtained.
    Id string
    ResultOutputFile string
    Used to save results.
    ruleId String
    Rule IdNote: This field may return null, indicating that a valid value cannot be obtained.
    id String
    resultOutputFile String
    Used to save results.
    ruleId string
    Rule IdNote: This field may return null, indicating that a valid value cannot be obtained.
    id string
    resultOutputFile string
    Used to save results.
    rule_id str
    Rule IdNote: This field may return null, indicating that a valid value cannot be obtained.
    id str
    result_output_file str
    Used to save results.
    ruleId String
    Rule IdNote: This field may return null, indicating that a valid value cannot be obtained.
    id String
    resultOutputFile String
    Used to save results.

    getGaapCustomHeader Result

    The following output properties are available:

    Headers List<GetGaapCustomHeaderHeader>
    HeadersNote: This field may return null, indicating that a valid value cannot be obtained.
    Id string
    RuleId string
    ResultOutputFile string
    Headers []GetGaapCustomHeaderHeader
    HeadersNote: This field may return null, indicating that a valid value cannot be obtained.
    Id string
    RuleId string
    ResultOutputFile string
    headers List<GetGaapCustomHeaderHeader>
    HeadersNote: This field may return null, indicating that a valid value cannot be obtained.
    id String
    ruleId String
    resultOutputFile String
    headers GetGaapCustomHeaderHeader[]
    HeadersNote: This field may return null, indicating that a valid value cannot be obtained.
    id string
    ruleId string
    resultOutputFile string
    headers Sequence[GetGaapCustomHeaderHeader]
    HeadersNote: This field may return null, indicating that a valid value cannot be obtained.
    id str
    rule_id str
    result_output_file str
    headers List<Property Map>
    HeadersNote: This field may return null, indicating that a valid value cannot be obtained.
    id String
    ruleId String
    resultOutputFile String

    Supporting Types

    GetGaapCustomHeaderHeader

    HeaderName string
    Header Name.
    HeaderValue string
    Header Value.
    HeaderName string
    Header Name.
    HeaderValue string
    Header Value.
    headerName String
    Header Name.
    headerValue String
    Header Value.
    headerName string
    Header Name.
    headerValue string
    Header Value.
    header_name str
    Header Name.
    header_value str
    Header Value.
    headerName String
    Header Name.
    headerValue String
    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