tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getWafTlsVersions
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 waf tls_versions
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getWafTlsVersions({});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_waf_tls_versions()
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.GetWafTlsVersions(ctx, &tencentcloud.GetWafTlsVersionsArgs{}, 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 example = Tencentcloud.GetWafTlsVersions.Invoke();
});
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.GetWafTlsVersionsArgs;
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 example = TencentcloudFunctions.getWafTlsVersions();
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getWafTlsVersions
arguments: {}
Using getWafTlsVersions
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 getWafTlsVersions(args: GetWafTlsVersionsArgs, opts?: InvokeOptions): Promise<GetWafTlsVersionsResult>
function getWafTlsVersionsOutput(args: GetWafTlsVersionsOutputArgs, opts?: InvokeOptions): Output<GetWafTlsVersionsResult>
def get_waf_tls_versions(id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWafTlsVersionsResult
def get_waf_tls_versions_output(id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWafTlsVersionsResult]
func GetWafTlsVersions(ctx *Context, args *GetWafTlsVersionsArgs, opts ...InvokeOption) (*GetWafTlsVersionsResult, error)
func GetWafTlsVersionsOutput(ctx *Context, args *GetWafTlsVersionsOutputArgs, opts ...InvokeOption) GetWafTlsVersionsResultOutput
> Note: This function is named GetWafTlsVersions
in the Go SDK.
public static class GetWafTlsVersions
{
public static Task<GetWafTlsVersionsResult> InvokeAsync(GetWafTlsVersionsArgs args, InvokeOptions? opts = null)
public static Output<GetWafTlsVersionsResult> Invoke(GetWafTlsVersionsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWafTlsVersionsResult> getWafTlsVersions(GetWafTlsVersionsArgs args, InvokeOptions options)
public static Output<GetWafTlsVersionsResult> getWafTlsVersions(GetWafTlsVersionsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getWafTlsVersions:getWafTlsVersions
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Result
Output stringFile - Used to save results.
- Id string
- Result
Output stringFile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
- id string
- result
Output stringFile - Used to save results.
- id str
- result_
output_ strfile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
getWafTlsVersions Result
The following output properties are available:
- Id string
- Tls
List<Get
Waf Tls Versions Tl> - TLS key value.
- Result
Output stringFile
- Id string
- Tls
[]Get
Waf Tls Versions Tl - TLS key value.
- Result
Output stringFile
- id String
- tls
List<Get
Waf Tls Versions Tl> - TLS key value.
- result
Output StringFile
- id string
- tls
Get
Waf Tls Versions Tl[] - TLS key value.
- result
Output stringFile
- id str
- tls
Sequence[Get
Waf Tls Versions Tl] - TLS key value.
- result_
output_ strfile
- id String
- tls List<Property Map>
- TLS key value.
- result
Output StringFile
Supporting Types
GetWafTlsVersionsTl
- Version
Id double - TLS version IDNote: This field may return null, indicating that a valid value cannot be obtained.
- Version
Name string - Tls version nameNote: This field may return null, indicating that a valid value cannot be obtained.
- Version
Id float64 - TLS version IDNote: This field may return null, indicating that a valid value cannot be obtained.
- Version
Name string - Tls version nameNote: This field may return null, indicating that a valid value cannot be obtained.
- version
Id Double - TLS version IDNote: This field may return null, indicating that a valid value cannot be obtained.
- version
Name String - Tls version nameNote: This field may return null, indicating that a valid value cannot be obtained.
- version
Id number - TLS version IDNote: This field may return null, indicating that a valid value cannot be obtained.
- version
Name string - Tls version nameNote: This field may return null, indicating that a valid value cannot be obtained.
- version_
id float - TLS version IDNote: This field may return null, indicating that a valid value cannot be obtained.
- version_
name str - Tls version nameNote: This field may return null, indicating that a valid value cannot be obtained.
- version
Id Number - TLS version IDNote: This field may return null, indicating that a valid value cannot be obtained.
- version
Name String - Tls version nameNote: This field may return null, indicating that a valid value cannot be obtained.
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