tencentcloud 1.82.29 published on Friday, Oct 10, 2025 by tencentcloudstack
tencentcloud.getHaVips
tencentcloud 1.82.29 published on Friday, Oct 10, 2025 by tencentcloudstack
Use this data source to query detailed information of HA VIPs.
Example Usage
Query all HA vips
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const haVips = tencentcloud.getHaVips({});
import pulumi
import pulumi_tencentcloud as tencentcloud
ha_vips = tencentcloud.get_ha_vips()
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.GetHaVips(ctx, &tencentcloud.GetHaVipsArgs{}, 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 haVips = Tencentcloud.GetHaVips.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.GetHaVipsArgs;
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 haVips = TencentcloudFunctions.getHaVips();
    }
}
variables:
  haVips:
    fn::invoke:
      function: tencentcloud:getHaVips
      arguments: {}
Query HA vips by filters
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const haVips = tencentcloud.getHaVips({
    subnetId: "subnet-g6c7yi7o",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
ha_vips = tencentcloud.get_ha_vips(subnet_id="subnet-g6c7yi7o")
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.GetHaVips(ctx, &tencentcloud.GetHaVipsArgs{
			SubnetId: pulumi.StringRef("subnet-g6c7yi7o"),
		}, 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 haVips = Tencentcloud.GetHaVips.Invoke(new()
    {
        SubnetId = "subnet-g6c7yi7o",
    });
});
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.GetHaVipsArgs;
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 haVips = TencentcloudFunctions.getHaVips(GetHaVipsArgs.builder()
            .subnetId("subnet-g6c7yi7o")
            .build());
    }
}
variables:
  haVips:
    fn::invoke:
      function: tencentcloud:getHaVips
      arguments:
        subnetId: subnet-g6c7yi7o
Using getHaVips
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 getHaVips(args: GetHaVipsArgs, opts?: InvokeOptions): Promise<GetHaVipsResult>
function getHaVipsOutput(args: GetHaVipsOutputArgs, opts?: InvokeOptions): Output<GetHaVipsResult>def get_ha_vips(address_ip: Optional[str] = None,
                id: Optional[str] = None,
                name: Optional[str] = None,
                result_output_file: Optional[str] = None,
                subnet_id: Optional[str] = None,
                vpc_id: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetHaVipsResult
def get_ha_vips_output(address_ip: Optional[pulumi.Input[str]] = None,
                id: Optional[pulumi.Input[str]] = None,
                name: Optional[pulumi.Input[str]] = None,
                result_output_file: Optional[pulumi.Input[str]] = None,
                subnet_id: Optional[pulumi.Input[str]] = None,
                vpc_id: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetHaVipsResult]func GetHaVips(ctx *Context, args *GetHaVipsArgs, opts ...InvokeOption) (*GetHaVipsResult, error)
func GetHaVipsOutput(ctx *Context, args *GetHaVipsOutputArgs, opts ...InvokeOption) GetHaVipsResultOutput> Note: This function is named GetHaVips in the Go SDK.
public static class GetHaVips 
{
    public static Task<GetHaVipsResult> InvokeAsync(GetHaVipsArgs args, InvokeOptions? opts = null)
    public static Output<GetHaVipsResult> Invoke(GetHaVipsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetHaVipsResult> getHaVips(GetHaVipsArgs args, InvokeOptions options)
public static Output<GetHaVipsResult> getHaVips(GetHaVipsArgs args, InvokeOptions options)
fn::invoke:
  function: tencentcloud:index/getHaVips:getHaVips
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AddressIp string
- EIP of the HA VIP to be queried.
- Id string
- ID of the HA VIP to be queried.
- Name string
- Name of the HA VIP. The length of character is limited to 1-60.
- ResultOutput stringFile 
- Used to save results.
- SubnetId string
- Subnet id of the HA VIP to be queried.
- VpcId string
- VPC id of the HA VIP to be queried.
- AddressIp string
- EIP of the HA VIP to be queried.
- Id string
- ID of the HA VIP to be queried.
- Name string
- Name of the HA VIP. The length of character is limited to 1-60.
- ResultOutput stringFile 
- Used to save results.
- SubnetId string
- Subnet id of the HA VIP to be queried.
- VpcId string
- VPC id of the HA VIP to be queried.
- addressIp String
- EIP of the HA VIP to be queried.
- id String
- ID of the HA VIP to be queried.
- name String
- Name of the HA VIP. The length of character is limited to 1-60.
- resultOutput StringFile 
- Used to save results.
- subnetId String
- Subnet id of the HA VIP to be queried.
- vpcId String
- VPC id of the HA VIP to be queried.
- addressIp string
- EIP of the HA VIP to be queried.
- id string
- ID of the HA VIP to be queried.
- name string
- Name of the HA VIP. The length of character is limited to 1-60.
- resultOutput stringFile 
- Used to save results.
- subnetId string
- Subnet id of the HA VIP to be queried.
- vpcId string
- VPC id of the HA VIP to be queried.
- address_ip str
- EIP of the HA VIP to be queried.
- id str
- ID of the HA VIP to be queried.
- name str
- Name of the HA VIP. The length of character is limited to 1-60.
- result_output_ strfile 
- Used to save results.
- subnet_id str
- Subnet id of the HA VIP to be queried.
- vpc_id str
- VPC id of the HA VIP to be queried.
- addressIp String
- EIP of the HA VIP to be queried.
- id String
- ID of the HA VIP to be queried.
- name String
- Name of the HA VIP. The length of character is limited to 1-60.
- resultOutput StringFile 
- Used to save results.
- subnetId String
- Subnet id of the HA VIP to be queried.
- vpcId String
- VPC id of the HA VIP to be queried.
getHaVips Result
The following output properties are available:
- HaVip List<GetLists Ha Vips Ha Vip List> 
- Information list of the dedicated HA VIPs.
- AddressIp string
- EIP that is associated.
- Id string
- ID of the HA VIP.
- Name string
- Name of the HA VIP.
- ResultOutput stringFile 
- SubnetId string
- Subnet id.
- VpcId string
- VPC id.
- HaVip []GetLists Ha Vips Ha Vip List 
- Information list of the dedicated HA VIPs.
- AddressIp string
- EIP that is associated.
- Id string
- ID of the HA VIP.
- Name string
- Name of the HA VIP.
- ResultOutput stringFile 
- SubnetId string
- Subnet id.
- VpcId string
- VPC id.
- haVip List<GetLists Ha Vips Ha Vip List> 
- Information list of the dedicated HA VIPs.
- addressIp String
- EIP that is associated.
- id String
- ID of the HA VIP.
- name String
- Name of the HA VIP.
- resultOutput StringFile 
- subnetId String
- Subnet id.
- vpcId String
- VPC id.
- haVip GetLists Ha Vips Ha Vip List[] 
- Information list of the dedicated HA VIPs.
- addressIp string
- EIP that is associated.
- id string
- ID of the HA VIP.
- name string
- Name of the HA VIP.
- resultOutput stringFile 
- subnetId string
- Subnet id.
- vpcId string
- VPC id.
- ha_vip_ Sequence[Getlists Ha Vips Ha Vip List] 
- Information list of the dedicated HA VIPs.
- address_ip str
- EIP that is associated.
- id str
- ID of the HA VIP.
- name str
- Name of the HA VIP.
- result_output_ strfile 
- subnet_id str
- Subnet id.
- vpc_id str
- VPC id.
- haVip List<Property Map>Lists 
- Information list of the dedicated HA VIPs.
- addressIp String
- EIP that is associated.
- id String
- ID of the HA VIP.
- name String
- Name of the HA VIP.
- resultOutput StringFile 
- subnetId String
- Subnet id.
- vpcId String
- VPC id.
Supporting Types
GetHaVipsHaVipList     
- AddressIp string
- EIP of the HA VIP to be queried.
- CreateTime string
- Create time of the HA VIP.
- Id string
- ID of the HA VIP to be queried.
- InstanceId string
- Instance id that is associated.
- Name string
- Name of the HA VIP. The length of character is limited to 1-60.
- NetworkInterface stringId 
- Network interface id that is associated.
- State string
- State of the HA VIP. Valid values: AVAILABLE,UNBIND.
- SubnetId string
- Subnet id of the HA VIP to be queried.
- Vip string
- Virtual IP address, it must not be occupied and in this VPC network segment. If not set, it will be assigned after resource created automatically.
- VpcId string
- VPC id of the HA VIP to be queried.
- AddressIp string
- EIP of the HA VIP to be queried.
- CreateTime string
- Create time of the HA VIP.
- Id string
- ID of the HA VIP to be queried.
- InstanceId string
- Instance id that is associated.
- Name string
- Name of the HA VIP. The length of character is limited to 1-60.
- NetworkInterface stringId 
- Network interface id that is associated.
- State string
- State of the HA VIP. Valid values: AVAILABLE,UNBIND.
- SubnetId string
- Subnet id of the HA VIP to be queried.
- Vip string
- Virtual IP address, it must not be occupied and in this VPC network segment. If not set, it will be assigned after resource created automatically.
- VpcId string
- VPC id of the HA VIP to be queried.
- addressIp String
- EIP of the HA VIP to be queried.
- createTime String
- Create time of the HA VIP.
- id String
- ID of the HA VIP to be queried.
- instanceId String
- Instance id that is associated.
- name String
- Name of the HA VIP. The length of character is limited to 1-60.
- networkInterface StringId 
- Network interface id that is associated.
- state String
- State of the HA VIP. Valid values: AVAILABLE,UNBIND.
- subnetId String
- Subnet id of the HA VIP to be queried.
- vip String
- Virtual IP address, it must not be occupied and in this VPC network segment. If not set, it will be assigned after resource created automatically.
- vpcId String
- VPC id of the HA VIP to be queried.
- addressIp string
- EIP of the HA VIP to be queried.
- createTime string
- Create time of the HA VIP.
- id string
- ID of the HA VIP to be queried.
- instanceId string
- Instance id that is associated.
- name string
- Name of the HA VIP. The length of character is limited to 1-60.
- networkInterface stringId 
- Network interface id that is associated.
- state string
- State of the HA VIP. Valid values: AVAILABLE,UNBIND.
- subnetId string
- Subnet id of the HA VIP to be queried.
- vip string
- Virtual IP address, it must not be occupied and in this VPC network segment. If not set, it will be assigned after resource created automatically.
- vpcId string
- VPC id of the HA VIP to be queried.
- address_ip str
- EIP of the HA VIP to be queried.
- create_time str
- Create time of the HA VIP.
- id str
- ID of the HA VIP to be queried.
- instance_id str
- Instance id that is associated.
- name str
- Name of the HA VIP. The length of character is limited to 1-60.
- network_interface_ strid 
- Network interface id that is associated.
- state str
- State of the HA VIP. Valid values: AVAILABLE,UNBIND.
- subnet_id str
- Subnet id of the HA VIP to be queried.
- vip str
- Virtual IP address, it must not be occupied and in this VPC network segment. If not set, it will be assigned after resource created automatically.
- vpc_id str
- VPC id of the HA VIP to be queried.
- addressIp String
- EIP of the HA VIP to be queried.
- createTime String
- Create time of the HA VIP.
- id String
- ID of the HA VIP to be queried.
- instanceId String
- Instance id that is associated.
- name String
- Name of the HA VIP. The length of character is limited to 1-60.
- networkInterface StringId 
- Network interface id that is associated.
- state String
- State of the HA VIP. Valid values: AVAILABLE,UNBIND.
- subnetId String
- Subnet id of the HA VIP to be queried.
- vip String
- Virtual IP address, it must not be occupied and in this VPC network segment. If not set, it will be assigned after resource created automatically.
- vpcId String
- VPC id of the HA VIP to be queried.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the tencentcloudTerraform Provider.
tencentcloud 1.82.29 published on Friday, Oct 10, 2025 by tencentcloudstack
