tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getGaapCustomHeader
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 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:
- Rule
Id string - Rule IdNote: This field may return null, indicating that a valid value cannot be obtained.
- Id string
- Result
Output stringFile - Used to save results.
- Rule
Id string - Rule IdNote: This field may return null, indicating that a valid value cannot be obtained.
- Id string
- Result
Output stringFile - Used to save results.
- rule
Id String - Rule IdNote: This field may return null, indicating that a valid value cannot be obtained.
- id String
- result
Output StringFile - Used to save results.
- rule
Id string - Rule IdNote: This field may return null, indicating that a valid value cannot be obtained.
- id string
- result
Output stringFile - 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_ strfile - Used to save results.
- rule
Id String - Rule IdNote: This field may return null, indicating that a valid value cannot be obtained.
- id String
- result
Output StringFile - Used to save results.
getGaapCustomHeader Result
The following output properties are available:
- Headers
List<Get
Gaap Custom Header Header> - HeadersNote: This field may return null, indicating that a valid value cannot be obtained.
- Id string
- Rule
Id string - Result
Output stringFile
- Headers
[]Get
Gaap Custom Header Header - HeadersNote: This field may return null, indicating that a valid value cannot be obtained.
- Id string
- Rule
Id string - Result
Output stringFile
- headers
List<Get
Gaap Custom Header Header> - HeadersNote: This field may return null, indicating that a valid value cannot be obtained.
- id String
- rule
Id String - result
Output StringFile
- headers
Get
Gaap Custom Header Header[] - HeadersNote: This field may return null, indicating that a valid value cannot be obtained.
- id string
- rule
Id string - result
Output stringFile
- headers
Sequence[Get
Gaap Custom Header Header] - HeadersNote: This field may return null, indicating that a valid value cannot be obtained.
- id str
- rule_
id str - result_
output_ strfile
- headers List<Property Map>
- HeadersNote: This field may return null, indicating that a valid value cannot be obtained.
- id String
- rule
Id String - result
Output StringFile
Supporting Types
GetGaapCustomHeaderHeader
- Header
Name string - Header Name.
- Header
Value string - Header Value.
- Header
Name string - Header Name.
- Header
Value string - Header Value.
- header
Name String - Header Name.
- header
Value String - Header Value.
- header
Name string - Header Name.
- header
Value string - Header Value.
- header_
name str - Header Name.
- header_
value str - Header Value.
- header
Name String - Header Name.
- header
Value String - 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