tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getHaVips
Start a Neo task
Explain and create a tencentcloud.getHaVips resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 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(GetHaVipsArgs.builder()
.build());
}
}
variables:
haVips:
fn::invoke:
function: tencentcloud:getHaVips
arguments: {}
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:
- Address
Ip 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.
- Result
Output stringFile - Used to save results.
- Subnet
Id string - Subnet id of the HA VIP to be queried.
- Vpc
Id string - VPC id of the HA VIP to be queried.
- Address
Ip 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.
- Result
Output stringFile - Used to save results.
- Subnet
Id string - Subnet id of the HA VIP to be queried.
- Vpc
Id string - VPC id of the HA VIP to be queried.
- address
Ip 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.
- result
Output StringFile - Used to save results.
- subnet
Id String - Subnet id of the HA VIP to be queried.
- vpc
Id String - VPC id of the HA VIP to be queried.
- address
Ip 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.
- result
Output stringFile - Used to save results.
- subnet
Id string - Subnet id of the HA VIP to be queried.
- vpc
Id 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.
- address
Ip 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.
- result
Output StringFile - Used to save results.
- subnet
Id String - Subnet id of the HA VIP to be queried.
- vpc
Id String - VPC id of the HA VIP to be queried.
getHaVips Result
The following output properties are available:
- Ha
Vip List<GetLists Ha Vips Ha Vip List> - Information list of the dedicated HA VIPs.
- Address
Ip string - EIP that is associated.
- Id string
- ID of the HA VIP.
- Name string
- Name of the HA VIP.
- Result
Output stringFile - Subnet
Id string - Subnet id.
- Vpc
Id string - VPC id.
- Ha
Vip []GetLists Ha Vips Ha Vip List - Information list of the dedicated HA VIPs.
- Address
Ip string - EIP that is associated.
- Id string
- ID of the HA VIP.
- Name string
- Name of the HA VIP.
- Result
Output stringFile - Subnet
Id string - Subnet id.
- Vpc
Id string - VPC id.
- ha
Vip List<GetLists Ha Vips Ha Vip List> - Information list of the dedicated HA VIPs.
- address
Ip String - EIP that is associated.
- id String
- ID of the HA VIP.
- name String
- Name of the HA VIP.
- result
Output StringFile - subnet
Id String - Subnet id.
- vpc
Id String - VPC id.
- ha
Vip GetLists Ha Vips Ha Vip List[] - Information list of the dedicated HA VIPs.
- address
Ip string - EIP that is associated.
- id string
- ID of the HA VIP.
- name string
- Name of the HA VIP.
- result
Output stringFile - subnet
Id string - Subnet id.
- vpc
Id 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.
- ha
Vip List<Property Map>Lists - Information list of the dedicated HA VIPs.
- address
Ip String - EIP that is associated.
- id String
- ID of the HA VIP.
- name String
- Name of the HA VIP.
- result
Output StringFile - subnet
Id String - Subnet id.
- vpc
Id String - VPC id.
Supporting Types
GetHaVipsHaVipList
- Address
Ip string - EIP of the HA VIP to be queried.
- Create
Time string - Create time of the HA VIP.
- Id string
- ID of the HA VIP to be queried.
- Instance
Id string - Instance id that is associated.
- Name string
- Name of the HA VIP. The length of character is limited to 1-60.
- Network
Interface stringId - Network interface id that is associated.
- State string
- State of the HA VIP. Valid values:
AVAILABLE,UNBIND. - Subnet
Id 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.
- Vpc
Id string - VPC id of the HA VIP to be queried.
- Address
Ip string - EIP of the HA VIP to be queried.
- Create
Time string - Create time of the HA VIP.
- Id string
- ID of the HA VIP to be queried.
- Instance
Id string - Instance id that is associated.
- Name string
- Name of the HA VIP. The length of character is limited to 1-60.
- Network
Interface stringId - Network interface id that is associated.
- State string
- State of the HA VIP. Valid values:
AVAILABLE,UNBIND. - Subnet
Id 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.
- Vpc
Id string - VPC id of the HA VIP to be queried.
- address
Ip String - EIP of the HA VIP to be queried.
- create
Time String - Create time of the HA VIP.
- id String
- ID of the HA VIP to be queried.
- instance
Id String - Instance id that is associated.
- name String
- Name of the HA VIP. The length of character is limited to 1-60.
- network
Interface StringId - Network interface id that is associated.
- state String
- State of the HA VIP. Valid values:
AVAILABLE,UNBIND. - subnet
Id 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.
- vpc
Id String - VPC id of the HA VIP to be queried.
- address
Ip string - EIP of the HA VIP to be queried.
- create
Time string - Create time of the HA VIP.
- id string
- ID of the HA VIP to be queried.
- instance
Id string - Instance id that is associated.
- name string
- Name of the HA VIP. The length of character is limited to 1-60.
- network
Interface stringId - Network interface id that is associated.
- state string
- State of the HA VIP. Valid values:
AVAILABLE,UNBIND. - subnet
Id 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.
- vpc
Id 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.
- address
Ip String - EIP of the HA VIP to be queried.
- create
Time String - Create time of the HA VIP.
- id String
- ID of the HA VIP to be queried.
- instance
Id String - Instance id that is associated.
- name String
- Name of the HA VIP. The length of character is limited to 1-60.
- network
Interface StringId - Network interface id that is associated.
- state String
- State of the HA VIP. Valid values:
AVAILABLE,UNBIND. - subnet
Id 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.
- vpc
Id 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.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
