published on Monday, Mar 9, 2026 by Byteplus
published on Monday, Mar 9, 2026 by Byteplus
高可用虚拟IP是一种可独立持有,可根据实际业务需要随时创建或删除的私网IP资源。在主备集群场景下,高可用虚拟IP通常与高可用软件(如Keepalived、Window Server Failover Cluster)搭配使用,搭建高可用主备服务。
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
const vPCHAVIPDemo = new bytepluscc.vpc.HaVip("VPCHAVIPDemo", {
associatedEipId: "eip-1a1tzpbhmsphc8nvexxxxx",
associatedInstanceIds: [
"eni-btw4pmtcabr45h0b2xxxxx",
"eni-iiotcbjp7r4074o8xxxxx",
"eni-3nrjyim6prm68931ebbxxxxx",
],
associatedInstanceType: "NetworkInterface",
description: "this is a test",
haVipName: "HaVip-test",
ipAddress: "192.***.0.9",
subnetId: "subnet-rrwqhg3qzxfkv0x57xxxxx",
tags: [{
key: "env",
value: "test",
}],
});
import pulumi
import pulumi_bytepluscc as bytepluscc
v_pchavip_demo = bytepluscc.vpc.HaVip("VPCHAVIPDemo",
associated_eip_id="eip-1a1tzpbhmsphc8nvexxxxx",
associated_instance_ids=[
"eni-btw4pmtcabr45h0b2xxxxx",
"eni-iiotcbjp7r4074o8xxxxx",
"eni-3nrjyim6prm68931ebbxxxxx",
],
associated_instance_type="NetworkInterface",
description="this is a test",
ha_vip_name="HaVip-test",
ip_address="192.***.0.9",
subnet_id="subnet-rrwqhg3qzxfkv0x57xxxxx",
tags=[{
"key": "env",
"value": "test",
}])
package main
import (
"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vpc.NewHaVip(ctx, "VPCHAVIPDemo", &vpc.HaVipArgs{
AssociatedEipId: pulumi.String("eip-1a1tzpbhmsphc8nvexxxxx"),
AssociatedInstanceIds: pulumi.StringArray{
pulumi.String("eni-btw4pmtcabr45h0b2xxxxx"),
pulumi.String("eni-iiotcbjp7r4074o8xxxxx"),
pulumi.String("eni-3nrjyim6prm68931ebbxxxxx"),
},
AssociatedInstanceType: pulumi.String("NetworkInterface"),
Description: pulumi.String("this is a test"),
HaVipName: pulumi.String("HaVip-test"),
IpAddress: pulumi.String("192.***.0.9"),
SubnetId: pulumi.String("subnet-rrwqhg3qzxfkv0x57xxxxx"),
Tags: vpc.HaVipTagArray{
&vpc.HaVipTagArgs{
Key: pulumi.String("env"),
Value: pulumi.String("test"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Bytepluscc = Byteplus.Pulumi.Bytepluscc;
return await Deployment.RunAsync(() =>
{
var vPCHAVIPDemo = new Bytepluscc.Vpc.HaVip("VPCHAVIPDemo", new()
{
AssociatedEipId = "eip-1a1tzpbhmsphc8nvexxxxx",
AssociatedInstanceIds = new[]
{
"eni-btw4pmtcabr45h0b2xxxxx",
"eni-iiotcbjp7r4074o8xxxxx",
"eni-3nrjyim6prm68931ebbxxxxx",
},
AssociatedInstanceType = "NetworkInterface",
Description = "this is a test",
HaVipName = "HaVip-test",
IpAddress = "192.***.0.9",
SubnetId = "subnet-rrwqhg3qzxfkv0x57xxxxx",
Tags = new[]
{
new Bytepluscc.Vpc.Inputs.HaVipTagArgs
{
Key = "env",
Value = "test",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.byteplus.bytepluscc.vpc.HaVip;
import com.byteplus.bytepluscc.vpc.HaVipArgs;
import com.pulumi.bytepluscc.vpc.inputs.HaVipTagArgs;
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) {
var vPCHAVIPDemo = new HaVip("vPCHAVIPDemo", HaVipArgs.builder()
.associatedEipId("eip-1a1tzpbhmsphc8nvexxxxx")
.associatedInstanceIds(
"eni-btw4pmtcabr45h0b2xxxxx",
"eni-iiotcbjp7r4074o8xxxxx",
"eni-3nrjyim6prm68931ebbxxxxx")
.associatedInstanceType("NetworkInterface")
.description("this is a test")
.haVipName("HaVip-test")
.ipAddress("192.***.0.9")
.subnetId("subnet-rrwqhg3qzxfkv0x57xxxxx")
.tags(HaVipTagArgs.builder()
.key("env")
.value("test")
.build())
.build());
}
}
resources:
vPCHAVIPDemo:
type: bytepluscc:vpc:HaVip
name: VPCHAVIPDemo
properties:
associatedEipId: eip-1a1tzpbhmsphc8nvexxxxx
associatedInstanceIds:
- eni-btw4pmtcabr45h0b2xxxxx
- eni-iiotcbjp7r4074o8xxxxx
- eni-3nrjyim6prm68931ebbxxxxx
associatedInstanceType: NetworkInterface
description: this is a test
haVipName: HaVip-test
ipAddress: 192.***.0.9
subnetId: subnet-rrwqhg3qzxfkv0x57xxxxx
tags:
- key: env
value: test
Create HaVip Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HaVip(name: string, args: HaVipArgs, opts?: CustomResourceOptions);@overload
def HaVip(resource_name: str,
args: HaVipArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HaVip(resource_name: str,
opts: Optional[ResourceOptions] = None,
subnet_id: Optional[str] = None,
associated_eip_id: Optional[str] = None,
associated_instance_ids: Optional[Sequence[str]] = None,
associated_instance_type: Optional[str] = None,
description: Optional[str] = None,
ha_vip_name: Optional[str] = None,
ip_address: Optional[str] = None,
tags: Optional[Sequence[HaVipTagArgs]] = None)func NewHaVip(ctx *Context, name string, args HaVipArgs, opts ...ResourceOption) (*HaVip, error)public HaVip(string name, HaVipArgs args, CustomResourceOptions? opts = null)type: bytepluscc:vpc:HaVip
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args HaVipArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args HaVipArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args HaVipArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HaVipArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HaVipArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var haVipResource = new Bytepluscc.Vpc.HaVip("haVipResource", new()
{
SubnetId = "string",
AssociatedEipId = "string",
AssociatedInstanceIds = new[]
{
"string",
},
AssociatedInstanceType = "string",
Description = "string",
HaVipName = "string",
IpAddress = "string",
Tags = new[]
{
new Bytepluscc.Vpc.Inputs.HaVipTagArgs
{
Key = "string",
Value = "string",
},
},
});
example, err := vpc.NewHaVip(ctx, "haVipResource", &vpc.HaVipArgs{
SubnetId: pulumi.String("string"),
AssociatedEipId: pulumi.String("string"),
AssociatedInstanceIds: pulumi.StringArray{
pulumi.String("string"),
},
AssociatedInstanceType: pulumi.String("string"),
Description: pulumi.String("string"),
HaVipName: pulumi.String("string"),
IpAddress: pulumi.String("string"),
Tags: vpc.HaVipTagArray{
&vpc.HaVipTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
var haVipResource = new HaVip("haVipResource", HaVipArgs.builder()
.subnetId("string")
.associatedEipId("string")
.associatedInstanceIds("string")
.associatedInstanceType("string")
.description("string")
.haVipName("string")
.ipAddress("string")
.tags(HaVipTagArgs.builder()
.key("string")
.value("string")
.build())
.build());
ha_vip_resource = bytepluscc.vpc.HaVip("haVipResource",
subnet_id="string",
associated_eip_id="string",
associated_instance_ids=["string"],
associated_instance_type="string",
description="string",
ha_vip_name="string",
ip_address="string",
tags=[{
"key": "string",
"value": "string",
}])
const haVipResource = new bytepluscc.vpc.HaVip("haVipResource", {
subnetId: "string",
associatedEipId: "string",
associatedInstanceIds: ["string"],
associatedInstanceType: "string",
description: "string",
haVipName: "string",
ipAddress: "string",
tags: [{
key: "string",
value: "string",
}],
});
type: bytepluscc:vpc:HaVip
properties:
associatedEipId: string
associatedInstanceIds:
- string
associatedInstanceType: string
description: string
haVipName: string
ipAddress: string
subnetId: string
tags:
- key: string
value: string
HaVip Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The HaVip resource accepts the following input properties:
- Subnet
Id string - HAVIP所属的子网 ID。
- Associated
Eip stringId - HAVIP绑定的公网IP的ID。
- Associated
Instance List<string>Ids - 绑定HAVIP的实例ID列表。
- Associated
Instance stringType - 绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
- Description string
- HAVIP的描述。长度限制为0~255个字符。
- Ha
Vip stringName - HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
- Ip
Address string - HAVIP的IP地址。
-
List<Byteplus.
Ha Vip Tag>
- Subnet
Id string - HAVIP所属的子网 ID。
- Associated
Eip stringId - HAVIP绑定的公网IP的ID。
- Associated
Instance []stringIds - 绑定HAVIP的实例ID列表。
- Associated
Instance stringType - 绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
- Description string
- HAVIP的描述。长度限制为0~255个字符。
- Ha
Vip stringName - HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
- Ip
Address string - HAVIP的IP地址。
-
[]Ha
Vip Tag Args
- subnet
Id String - HAVIP所属的子网 ID。
- associated
Eip StringId - HAVIP绑定的公网IP的ID。
- associated
Instance List<String>Ids - 绑定HAVIP的实例ID列表。
- associated
Instance StringType - 绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
- description String
- HAVIP的描述。长度限制为0~255个字符。
- ha
Vip StringName - HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
- ip
Address String - HAVIP的IP地址。
-
List<Ha
Vip Tag>
- subnet
Id string - HAVIP所属的子网 ID。
- associated
Eip stringId - HAVIP绑定的公网IP的ID。
- associated
Instance string[]Ids - 绑定HAVIP的实例ID列表。
- associated
Instance stringType - 绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
- description string
- HAVIP的描述。长度限制为0~255个字符。
- ha
Vip stringName - HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
- ip
Address string - HAVIP的IP地址。
-
Ha
Vip Tag[]
- subnet_
id str - HAVIP所属的子网 ID。
- associated_
eip_ strid - HAVIP绑定的公网IP的ID。
- associated_
instance_ Sequence[str]ids - 绑定HAVIP的实例ID列表。
- associated_
instance_ strtype - 绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
- description str
- HAVIP的描述。长度限制为0~255个字符。
- ha_
vip_ strname - HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
- ip_
address str - HAVIP的IP地址。
-
Sequence[Ha
Vip Tag Args]
- subnet
Id String - HAVIP所属的子网 ID。
- associated
Eip StringId - HAVIP绑定的公网IP的ID。
- associated
Instance List<String>Ids - 绑定HAVIP的实例ID列表。
- associated
Instance StringType - 绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
- description String
- HAVIP的描述。长度限制为0~255个字符。
- ha
Vip StringName - HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
- ip
Address String - HAVIP的IP地址。
- List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the HaVip resource produces the following output properties:
- Associated
Eip stringAddress - HAVIP绑定的公网IP的IP地址。
- Created
At string - HAVIP的创建时间。
- Ha
Vip stringId - HAVIP的ID。
- Id string
- The provider-assigned unique ID for this managed resource.
- Master
Instance stringId - 与HAVIP绑定的主实例的ID。
- Project
Name string - HAVIP的项目名称。
- Status string
- HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
- Updated
At string - HAVIP最近一次的修改时间。
- Vpc
Id string - HAVIP所属的VPC ID。
- Associated
Eip stringAddress - HAVIP绑定的公网IP的IP地址。
- Created
At string - HAVIP的创建时间。
- Ha
Vip stringId - HAVIP的ID。
- Id string
- The provider-assigned unique ID for this managed resource.
- Master
Instance stringId - 与HAVIP绑定的主实例的ID。
- Project
Name string - HAVIP的项目名称。
- Status string
- HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
- Updated
At string - HAVIP最近一次的修改时间。
- Vpc
Id string - HAVIP所属的VPC ID。
- associated
Eip StringAddress - HAVIP绑定的公网IP的IP地址。
- created
At String - HAVIP的创建时间。
- ha
Vip StringId - HAVIP的ID。
- id String
- The provider-assigned unique ID for this managed resource.
- master
Instance StringId - 与HAVIP绑定的主实例的ID。
- project
Name String - HAVIP的项目名称。
- status String
- HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
- updated
At String - HAVIP最近一次的修改时间。
- vpc
Id String - HAVIP所属的VPC ID。
- associated
Eip stringAddress - HAVIP绑定的公网IP的IP地址。
- created
At string - HAVIP的创建时间。
- ha
Vip stringId - HAVIP的ID。
- id string
- The provider-assigned unique ID for this managed resource.
- master
Instance stringId - 与HAVIP绑定的主实例的ID。
- project
Name string - HAVIP的项目名称。
- status string
- HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
- updated
At string - HAVIP最近一次的修改时间。
- vpc
Id string - HAVIP所属的VPC ID。
- associated_
eip_ straddress - HAVIP绑定的公网IP的IP地址。
- created_
at str - HAVIP的创建时间。
- ha_
vip_ strid - HAVIP的ID。
- id str
- The provider-assigned unique ID for this managed resource.
- master_
instance_ strid - 与HAVIP绑定的主实例的ID。
- project_
name str - HAVIP的项目名称。
- status str
- HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
- updated_
at str - HAVIP最近一次的修改时间。
- vpc_
id str - HAVIP所属的VPC ID。
- associated
Eip StringAddress - HAVIP绑定的公网IP的IP地址。
- created
At String - HAVIP的创建时间。
- ha
Vip StringId - HAVIP的ID。
- id String
- The provider-assigned unique ID for this managed resource.
- master
Instance StringId - 与HAVIP绑定的主实例的ID。
- project
Name String - HAVIP的项目名称。
- status String
- HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
- updated
At String - HAVIP最近一次的修改时间。
- vpc
Id String - HAVIP所属的VPC ID。
Look up Existing HaVip Resource
Get an existing HaVip resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: HaVipState, opts?: CustomResourceOptions): HaVip@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
associated_eip_address: Optional[str] = None,
associated_eip_id: Optional[str] = None,
associated_instance_ids: Optional[Sequence[str]] = None,
associated_instance_type: Optional[str] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
ha_vip_id: Optional[str] = None,
ha_vip_name: Optional[str] = None,
ip_address: Optional[str] = None,
master_instance_id: Optional[str] = None,
project_name: Optional[str] = None,
status: Optional[str] = None,
subnet_id: Optional[str] = None,
tags: Optional[Sequence[HaVipTagArgs]] = None,
updated_at: Optional[str] = None,
vpc_id: Optional[str] = None) -> HaVipfunc GetHaVip(ctx *Context, name string, id IDInput, state *HaVipState, opts ...ResourceOption) (*HaVip, error)public static HaVip Get(string name, Input<string> id, HaVipState? state, CustomResourceOptions? opts = null)public static HaVip get(String name, Output<String> id, HaVipState state, CustomResourceOptions options)resources: _: type: bytepluscc:vpc:HaVip get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Associated
Eip stringAddress - HAVIP绑定的公网IP的IP地址。
- Associated
Eip stringId - HAVIP绑定的公网IP的ID。
- Associated
Instance List<string>Ids - 绑定HAVIP的实例ID列表。
- Associated
Instance stringType - 绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
- Created
At string - HAVIP的创建时间。
- Description string
- HAVIP的描述。长度限制为0~255个字符。
- Ha
Vip stringId - HAVIP的ID。
- Ha
Vip stringName - HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
- Ip
Address string - HAVIP的IP地址。
- Master
Instance stringId - 与HAVIP绑定的主实例的ID。
- Project
Name string - HAVIP的项目名称。
- Status string
- HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
- Subnet
Id string - HAVIP所属的子网 ID。
-
List<Byteplus.
Ha Vip Tag> - Updated
At string - HAVIP最近一次的修改时间。
- Vpc
Id string - HAVIP所属的VPC ID。
- Associated
Eip stringAddress - HAVIP绑定的公网IP的IP地址。
- Associated
Eip stringId - HAVIP绑定的公网IP的ID。
- Associated
Instance []stringIds - 绑定HAVIP的实例ID列表。
- Associated
Instance stringType - 绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
- Created
At string - HAVIP的创建时间。
- Description string
- HAVIP的描述。长度限制为0~255个字符。
- Ha
Vip stringId - HAVIP的ID。
- Ha
Vip stringName - HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
- Ip
Address string - HAVIP的IP地址。
- Master
Instance stringId - 与HAVIP绑定的主实例的ID。
- Project
Name string - HAVIP的项目名称。
- Status string
- HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
- Subnet
Id string - HAVIP所属的子网 ID。
-
[]Ha
Vip Tag Args - Updated
At string - HAVIP最近一次的修改时间。
- Vpc
Id string - HAVIP所属的VPC ID。
- associated
Eip StringAddress - HAVIP绑定的公网IP的IP地址。
- associated
Eip StringId - HAVIP绑定的公网IP的ID。
- associated
Instance List<String>Ids - 绑定HAVIP的实例ID列表。
- associated
Instance StringType - 绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
- created
At String - HAVIP的创建时间。
- description String
- HAVIP的描述。长度限制为0~255个字符。
- ha
Vip StringId - HAVIP的ID。
- ha
Vip StringName - HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
- ip
Address String - HAVIP的IP地址。
- master
Instance StringId - 与HAVIP绑定的主实例的ID。
- project
Name String - HAVIP的项目名称。
- status String
- HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
- subnet
Id String - HAVIP所属的子网 ID。
-
List<Ha
Vip Tag> - updated
At String - HAVIP最近一次的修改时间。
- vpc
Id String - HAVIP所属的VPC ID。
- associated
Eip stringAddress - HAVIP绑定的公网IP的IP地址。
- associated
Eip stringId - HAVIP绑定的公网IP的ID。
- associated
Instance string[]Ids - 绑定HAVIP的实例ID列表。
- associated
Instance stringType - 绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
- created
At string - HAVIP的创建时间。
- description string
- HAVIP的描述。长度限制为0~255个字符。
- ha
Vip stringId - HAVIP的ID。
- ha
Vip stringName - HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
- ip
Address string - HAVIP的IP地址。
- master
Instance stringId - 与HAVIP绑定的主实例的ID。
- project
Name string - HAVIP的项目名称。
- status string
- HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
- subnet
Id string - HAVIP所属的子网 ID。
-
Ha
Vip Tag[] - updated
At string - HAVIP最近一次的修改时间。
- vpc
Id string - HAVIP所属的VPC ID。
- associated_
eip_ straddress - HAVIP绑定的公网IP的IP地址。
- associated_
eip_ strid - HAVIP绑定的公网IP的ID。
- associated_
instance_ Sequence[str]ids - 绑定HAVIP的实例ID列表。
- associated_
instance_ strtype - 绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
- created_
at str - HAVIP的创建时间。
- description str
- HAVIP的描述。长度限制为0~255个字符。
- ha_
vip_ strid - HAVIP的ID。
- ha_
vip_ strname - HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
- ip_
address str - HAVIP的IP地址。
- master_
instance_ strid - 与HAVIP绑定的主实例的ID。
- project_
name str - HAVIP的项目名称。
- status str
- HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
- subnet_
id str - HAVIP所属的子网 ID。
-
Sequence[Ha
Vip Tag Args] - updated_
at str - HAVIP最近一次的修改时间。
- vpc_
id str - HAVIP所属的VPC ID。
- associated
Eip StringAddress - HAVIP绑定的公网IP的IP地址。
- associated
Eip StringId - HAVIP绑定的公网IP的ID。
- associated
Instance List<String>Ids - 绑定HAVIP的实例ID列表。
- associated
Instance StringType - 绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
- created
At String - HAVIP的创建时间。
- description String
- HAVIP的描述。长度限制为0~255个字符。
- ha
Vip StringId - HAVIP的ID。
- ha
Vip StringName - HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
- ip
Address String - HAVIP的IP地址。
- master
Instance StringId - 与HAVIP绑定的主实例的ID。
- project
Name String - HAVIP的项目名称。
- status String
- HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
- subnet
Id String - HAVIP所属的子网 ID。
- List<Property Map>
- updated
At String - HAVIP最近一次的修改时间。
- vpc
Id String - HAVIP所属的VPC ID。
Supporting Types
HaVipTag, HaVipTagArgs
Import
$ pulumi import bytepluscc:vpc/haVip:HaVip example "ha_vip_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
published on Monday, Mar 9, 2026 by Byteplus
