tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getVpnDefaultHealthCheckIp
Start a Neo task
Explain and create a tencentcloud.getVpnDefaultHealthCheckIp resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query detailed information of vpn default_health_check_ip
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const defaultHealthCheckIp = tencentcloud.getVpnDefaultHealthCheckIp({
vpnGatewayId: "vpngw-gt8bianl",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
default_health_check_ip = tencentcloud.get_vpn_default_health_check_ip(vpn_gateway_id="vpngw-gt8bianl")
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.GetVpnDefaultHealthCheckIp(ctx, &tencentcloud.GetVpnDefaultHealthCheckIpArgs{
VpnGatewayId: "vpngw-gt8bianl",
}, 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 defaultHealthCheckIp = Tencentcloud.GetVpnDefaultHealthCheckIp.Invoke(new()
{
VpnGatewayId = "vpngw-gt8bianl",
});
});
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.GetVpnDefaultHealthCheckIpArgs;
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 defaultHealthCheckIp = TencentcloudFunctions.getVpnDefaultHealthCheckIp(GetVpnDefaultHealthCheckIpArgs.builder()
.vpnGatewayId("vpngw-gt8bianl")
.build());
}
}
variables:
defaultHealthCheckIp:
fn::invoke:
function: tencentcloud:getVpnDefaultHealthCheckIp
arguments:
vpnGatewayId: vpngw-gt8bianl
Using getVpnDefaultHealthCheckIp
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 getVpnDefaultHealthCheckIp(args: GetVpnDefaultHealthCheckIpArgs, opts?: InvokeOptions): Promise<GetVpnDefaultHealthCheckIpResult>
function getVpnDefaultHealthCheckIpOutput(args: GetVpnDefaultHealthCheckIpOutputArgs, opts?: InvokeOptions): Output<GetVpnDefaultHealthCheckIpResult>def get_vpn_default_health_check_ip(id: Optional[str] = None,
result_output_file: Optional[str] = None,
vpn_gateway_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpnDefaultHealthCheckIpResult
def get_vpn_default_health_check_ip_output(id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
vpn_gateway_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpnDefaultHealthCheckIpResult]func GetVpnDefaultHealthCheckIp(ctx *Context, args *GetVpnDefaultHealthCheckIpArgs, opts ...InvokeOption) (*GetVpnDefaultHealthCheckIpResult, error)
func GetVpnDefaultHealthCheckIpOutput(ctx *Context, args *GetVpnDefaultHealthCheckIpOutputArgs, opts ...InvokeOption) GetVpnDefaultHealthCheckIpResultOutput> Note: This function is named GetVpnDefaultHealthCheckIp in the Go SDK.
public static class GetVpnDefaultHealthCheckIp
{
public static Task<GetVpnDefaultHealthCheckIpResult> InvokeAsync(GetVpnDefaultHealthCheckIpArgs args, InvokeOptions? opts = null)
public static Output<GetVpnDefaultHealthCheckIpResult> Invoke(GetVpnDefaultHealthCheckIpInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVpnDefaultHealthCheckIpResult> getVpnDefaultHealthCheckIp(GetVpnDefaultHealthCheckIpArgs args, InvokeOptions options)
public static Output<GetVpnDefaultHealthCheckIpResult> getVpnDefaultHealthCheckIp(GetVpnDefaultHealthCheckIpArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getVpnDefaultHealthCheckIp:getVpnDefaultHealthCheckIp
arguments:
# arguments dictionaryThe following arguments are supported:
- Vpn
Gateway stringId - vpn gateway id.
- Id string
- Result
Output stringFile - Used to save results.
- Vpn
Gateway stringId - vpn gateway id.
- Id string
- Result
Output stringFile - Used to save results.
- vpn
Gateway StringId - vpn gateway id.
- id String
- result
Output StringFile - Used to save results.
- vpn
Gateway stringId - vpn gateway id.
- id string
- result
Output stringFile - Used to save results.
- vpn_
gateway_ strid - vpn gateway id.
- id str
- result_
output_ strfile - Used to save results.
- vpn
Gateway StringId - vpn gateway id.
- id String
- result
Output StringFile - Used to save results.
getVpnDefaultHealthCheckIp Result
The following output properties are available:
- Health
Check stringLocal Ip - local ip of health check.
- Health
Check stringRemote Ip - remote ip for health check.
- Id string
- Vpn
Gateway stringId - Result
Output stringFile
- Health
Check stringLocal Ip - local ip of health check.
- Health
Check stringRemote Ip - remote ip for health check.
- Id string
- Vpn
Gateway stringId - Result
Output stringFile
- health
Check StringLocal Ip - local ip of health check.
- health
Check StringRemote Ip - remote ip for health check.
- id String
- vpn
Gateway StringId - result
Output StringFile
- health
Check stringLocal Ip - local ip of health check.
- health
Check stringRemote Ip - remote ip for health check.
- id string
- vpn
Gateway stringId - result
Output stringFile
- health_
check_ strlocal_ ip - local ip of health check.
- health_
check_ strremote_ ip - remote ip for health check.
- id str
- vpn_
gateway_ strid - result_
output_ strfile
- health
Check StringLocal Ip - local ip of health check.
- health
Check StringRemote Ip - remote ip for health check.
- id String
- vpn
Gateway StringId - result
Output StringFile
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
