1. Packages
  2. Bytepluscc Provider
  3. API Docs
  4. vpc
  5. HaVip
Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.16
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)
    public HaVip(String name, HaVipArgs args)
    public HaVip(String name, HaVipArgs args, CustomResourceOptions options)
    
    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:

    SubnetId string
    HAVIP所属的子网 ID。
    AssociatedEipId string
    HAVIP绑定的公网IP的ID。
    AssociatedInstanceIds List<string>
    绑定HAVIP的实例ID列表。
    AssociatedInstanceType string
    绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
    Description string
    HAVIP的描述。长度限制为0~255个字符。
    HaVipName string
    HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
    IpAddress string
    HAVIP的IP地址。
    Tags List<Byteplus.HaVipTag>
    SubnetId string
    HAVIP所属的子网 ID。
    AssociatedEipId string
    HAVIP绑定的公网IP的ID。
    AssociatedInstanceIds []string
    绑定HAVIP的实例ID列表。
    AssociatedInstanceType string
    绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
    Description string
    HAVIP的描述。长度限制为0~255个字符。
    HaVipName string
    HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
    IpAddress string
    HAVIP的IP地址。
    Tags []HaVipTagArgs
    subnetId String
    HAVIP所属的子网 ID。
    associatedEipId String
    HAVIP绑定的公网IP的ID。
    associatedInstanceIds List<String>
    绑定HAVIP的实例ID列表。
    associatedInstanceType String
    绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
    description String
    HAVIP的描述。长度限制为0~255个字符。
    haVipName String
    HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
    ipAddress String
    HAVIP的IP地址。
    tags List<HaVipTag>
    subnetId string
    HAVIP所属的子网 ID。
    associatedEipId string
    HAVIP绑定的公网IP的ID。
    associatedInstanceIds string[]
    绑定HAVIP的实例ID列表。
    associatedInstanceType string
    绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
    description string
    HAVIP的描述。长度限制为0~255个字符。
    haVipName string
    HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
    ipAddress string
    HAVIP的IP地址。
    tags HaVipTag[]
    subnet_id str
    HAVIP所属的子网 ID。
    associated_eip_id str
    HAVIP绑定的公网IP的ID。
    associated_instance_ids Sequence[str]
    绑定HAVIP的实例ID列表。
    associated_instance_type str
    绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
    description str
    HAVIP的描述。长度限制为0~255个字符。
    ha_vip_name str
    HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
    ip_address str
    HAVIP的IP地址。
    tags Sequence[HaVipTagArgs]
    subnetId String
    HAVIP所属的子网 ID。
    associatedEipId String
    HAVIP绑定的公网IP的ID。
    associatedInstanceIds List<String>
    绑定HAVIP的实例ID列表。
    associatedInstanceType String
    绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
    description String
    HAVIP的描述。长度限制为0~255个字符。
    haVipName String
    HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
    ipAddress String
    HAVIP的IP地址。
    tags List<Property Map>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the HaVip resource produces the following output properties:

    AssociatedEipAddress string
    HAVIP绑定的公网IP的IP地址。
    CreatedAt string
    HAVIP的创建时间。
    HaVipId string
    HAVIP的ID。
    Id string
    The provider-assigned unique ID for this managed resource.
    MasterInstanceId string
    与HAVIP绑定的主实例的ID。
    ProjectName string
    HAVIP的项目名称。
    Status string
    HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
    UpdatedAt string
    HAVIP最近一次的修改时间。
    VpcId string
    HAVIP所属的VPC ID。
    AssociatedEipAddress string
    HAVIP绑定的公网IP的IP地址。
    CreatedAt string
    HAVIP的创建时间。
    HaVipId string
    HAVIP的ID。
    Id string
    The provider-assigned unique ID for this managed resource.
    MasterInstanceId string
    与HAVIP绑定的主实例的ID。
    ProjectName string
    HAVIP的项目名称。
    Status string
    HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
    UpdatedAt string
    HAVIP最近一次的修改时间。
    VpcId string
    HAVIP所属的VPC ID。
    associatedEipAddress String
    HAVIP绑定的公网IP的IP地址。
    createdAt String
    HAVIP的创建时间。
    haVipId String
    HAVIP的ID。
    id String
    The provider-assigned unique ID for this managed resource.
    masterInstanceId String
    与HAVIP绑定的主实例的ID。
    projectName String
    HAVIP的项目名称。
    status String
    HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
    updatedAt String
    HAVIP最近一次的修改时间。
    vpcId String
    HAVIP所属的VPC ID。
    associatedEipAddress string
    HAVIP绑定的公网IP的IP地址。
    createdAt string
    HAVIP的创建时间。
    haVipId string
    HAVIP的ID。
    id string
    The provider-assigned unique ID for this managed resource.
    masterInstanceId string
    与HAVIP绑定的主实例的ID。
    projectName string
    HAVIP的项目名称。
    status string
    HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
    updatedAt string
    HAVIP最近一次的修改时间。
    vpcId string
    HAVIP所属的VPC ID。
    associated_eip_address str
    HAVIP绑定的公网IP的IP地址。
    created_at str
    HAVIP的创建时间。
    ha_vip_id str
    HAVIP的ID。
    id str
    The provider-assigned unique ID for this managed resource.
    master_instance_id str
    与HAVIP绑定的主实例的ID。
    project_name str
    HAVIP的项目名称。
    status str
    HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
    updated_at str
    HAVIP最近一次的修改时间。
    vpc_id str
    HAVIP所属的VPC ID。
    associatedEipAddress String
    HAVIP绑定的公网IP的IP地址。
    createdAt String
    HAVIP的创建时间。
    haVipId String
    HAVIP的ID。
    id String
    The provider-assigned unique ID for this managed resource.
    masterInstanceId String
    与HAVIP绑定的主实例的ID。
    projectName String
    HAVIP的项目名称。
    status String
    HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
    updatedAt String
    HAVIP最近一次的修改时间。
    vpcId 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) -> HaVip
    func 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.
    The following state arguments are supported:
    AssociatedEipAddress string
    HAVIP绑定的公网IP的IP地址。
    AssociatedEipId string
    HAVIP绑定的公网IP的ID。
    AssociatedInstanceIds List<string>
    绑定HAVIP的实例ID列表。
    AssociatedInstanceType string
    绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
    CreatedAt string
    HAVIP的创建时间。
    Description string
    HAVIP的描述。长度限制为0~255个字符。
    HaVipId string
    HAVIP的ID。
    HaVipName string
    HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
    IpAddress string
    HAVIP的IP地址。
    MasterInstanceId string
    与HAVIP绑定的主实例的ID。
    ProjectName string
    HAVIP的项目名称。
    Status string
    HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
    SubnetId string
    HAVIP所属的子网 ID。
    Tags List<Byteplus.HaVipTag>
    UpdatedAt string
    HAVIP最近一次的修改时间。
    VpcId string
    HAVIP所属的VPC ID。
    AssociatedEipAddress string
    HAVIP绑定的公网IP的IP地址。
    AssociatedEipId string
    HAVIP绑定的公网IP的ID。
    AssociatedInstanceIds []string
    绑定HAVIP的实例ID列表。
    AssociatedInstanceType string
    绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
    CreatedAt string
    HAVIP的创建时间。
    Description string
    HAVIP的描述。长度限制为0~255个字符。
    HaVipId string
    HAVIP的ID。
    HaVipName string
    HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
    IpAddress string
    HAVIP的IP地址。
    MasterInstanceId string
    与HAVIP绑定的主实例的ID。
    ProjectName string
    HAVIP的项目名称。
    Status string
    HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
    SubnetId string
    HAVIP所属的子网 ID。
    Tags []HaVipTagArgs
    UpdatedAt string
    HAVIP最近一次的修改时间。
    VpcId string
    HAVIP所属的VPC ID。
    associatedEipAddress String
    HAVIP绑定的公网IP的IP地址。
    associatedEipId String
    HAVIP绑定的公网IP的ID。
    associatedInstanceIds List<String>
    绑定HAVIP的实例ID列表。
    associatedInstanceType String
    绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
    createdAt String
    HAVIP的创建时间。
    description String
    HAVIP的描述。长度限制为0~255个字符。
    haVipId String
    HAVIP的ID。
    haVipName String
    HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
    ipAddress String
    HAVIP的IP地址。
    masterInstanceId String
    与HAVIP绑定的主实例的ID。
    projectName String
    HAVIP的项目名称。
    status String
    HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
    subnetId String
    HAVIP所属的子网 ID。
    tags List<HaVipTag>
    updatedAt String
    HAVIP最近一次的修改时间。
    vpcId String
    HAVIP所属的VPC ID。
    associatedEipAddress string
    HAVIP绑定的公网IP的IP地址。
    associatedEipId string
    HAVIP绑定的公网IP的ID。
    associatedInstanceIds string[]
    绑定HAVIP的实例ID列表。
    associatedInstanceType string
    绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
    createdAt string
    HAVIP的创建时间。
    description string
    HAVIP的描述。长度限制为0~255个字符。
    haVipId string
    HAVIP的ID。
    haVipName string
    HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
    ipAddress string
    HAVIP的IP地址。
    masterInstanceId string
    与HAVIP绑定的主实例的ID。
    projectName string
    HAVIP的项目名称。
    status string
    HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
    subnetId string
    HAVIP所属的子网 ID。
    tags HaVipTag[]
    updatedAt string
    HAVIP最近一次的修改时间。
    vpcId string
    HAVIP所属的VPC ID。
    associated_eip_address str
    HAVIP绑定的公网IP的IP地址。
    associated_eip_id str
    HAVIP绑定的公网IP的ID。
    associated_instance_ids Sequence[str]
    绑定HAVIP的实例ID列表。
    associated_instance_type str
    绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
    created_at str
    HAVIP的创建时间。
    description str
    HAVIP的描述。长度限制为0~255个字符。
    ha_vip_id str
    HAVIP的ID。
    ha_vip_name str
    HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
    ip_address str
    HAVIP的IP地址。
    master_instance_id str
    与HAVIP绑定的主实例的ID。
    project_name str
    HAVIP的项目名称。
    status str
    HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
    subnet_id str
    HAVIP所属的子网 ID。
    tags Sequence[HaVipTagArgs]
    updated_at str
    HAVIP最近一次的修改时间。
    vpc_id str
    HAVIP所属的VPC ID。
    associatedEipAddress String
    HAVIP绑定的公网IP的IP地址。
    associatedEipId String
    HAVIP绑定的公网IP的ID。
    associatedInstanceIds List<String>
    绑定HAVIP的实例ID列表。
    associatedInstanceType String
    绑定HAVIP的实例类型。EcsInstance:云服务器实例。NetworkInterface:弹性网卡。
    createdAt String
    HAVIP的创建时间。
    description String
    HAVIP的描述。长度限制为0~255个字符。
    haVipId String
    HAVIP的ID。
    haVipName String
    HAVIP的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。长度限制在0~128字符之间。
    ipAddress String
    HAVIP的IP地址。
    masterInstanceId String
    与HAVIP绑定的主实例的ID。
    projectName String
    HAVIP的项目名称。
    status String
    HAVIP的状态。Available:可用。Creating:创建中。InUse:使用中。Deleting:删除中。
    subnetId String
    HAVIP所属的子网 ID。
    tags List<Property Map>
    updatedAt String
    HAVIP最近一次的修改时间。
    vpcId String
    HAVIP所属的VPC ID。

    Supporting Types

    HaVipTag, HaVipTagArgs

    Key string
    用户标签的标签键。长度取值范围为1~128字符,允许输入各国语言文字、数字、空格( )、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、中划线(-)和@(@)。若标签键开头或结尾存在空格,系统会自动为其去除。
    Value string
    用户标签的标签值。允许输入各国语言文字、数字、空格( )、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、中划线(-)和@(@)。大小写敏感。若标签值开头或结尾存在空格,系统会自动为其去除。
    Key string
    用户标签的标签键。长度取值范围为1~128字符,允许输入各国语言文字、数字、空格( )、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、中划线(-)和@(@)。若标签键开头或结尾存在空格,系统会自动为其去除。
    Value string
    用户标签的标签值。允许输入各国语言文字、数字、空格( )、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、中划线(-)和@(@)。大小写敏感。若标签值开头或结尾存在空格,系统会自动为其去除。
    key String
    用户标签的标签键。长度取值范围为1~128字符,允许输入各国语言文字、数字、空格( )、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、中划线(-)和@(@)。若标签键开头或结尾存在空格,系统会自动为其去除。
    value String
    用户标签的标签值。允许输入各国语言文字、数字、空格( )、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、中划线(-)和@(@)。大小写敏感。若标签值开头或结尾存在空格,系统会自动为其去除。
    key string
    用户标签的标签键。长度取值范围为1~128字符,允许输入各国语言文字、数字、空格( )、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、中划线(-)和@(@)。若标签键开头或结尾存在空格,系统会自动为其去除。
    value string
    用户标签的标签值。允许输入各国语言文字、数字、空格( )、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、中划线(-)和@(@)。大小写敏感。若标签值开头或结尾存在空格,系统会自动为其去除。
    key str
    用户标签的标签键。长度取值范围为1~128字符,允许输入各国语言文字、数字、空格( )、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、中划线(-)和@(@)。若标签键开头或结尾存在空格,系统会自动为其去除。
    value str
    用户标签的标签值。允许输入各国语言文字、数字、空格( )、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、中划线(-)和@(@)。大小写敏感。若标签值开头或结尾存在空格,系统会自动为其去除。
    key String
    用户标签的标签键。长度取值范围为1~128字符,允许输入各国语言文字、数字、空格( )、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、中划线(-)和@(@)。若标签键开头或结尾存在空格,系统会自动为其去除。
    value String
    用户标签的标签值。允许输入各国语言文字、数字、空格( )、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、中划线(-)和@(@)。大小写敏感。若标签值开头或结尾存在空格,系统会自动为其去除。

    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 bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.16
    published on Monday, Mar 9, 2026 by Byteplus
      Try Pulumi Cloud free. Your team will thank you.