alicloud logo
Alibaba Cloud v3.34.0, Mar 17 23

alicloud.vpc.HAVipAttachment

Import

The havip attachment can be imported using the id, e.g.

 $ pulumi import alicloud:vpc/hAVipAttachment:HAVipAttachment foo havip-abc123456:i-abc123456

Example Usage

Basic Usage

using System.Collections.Generic;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var defaultZones = AliCloud.GetZones.Invoke(new()
    {
        AvailableResourceCreation = "VSwitch",
    });

    var defaultInstanceTypes = AliCloud.Ecs.GetInstanceTypes.Invoke(new()
    {
        AvailabilityZone = defaultZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
        CpuCoreCount = 1,
        MemorySize = 2,
    });

    var defaultImages = AliCloud.Ecs.GetImages.Invoke(new()
    {
        NameRegex = "^ubuntu_18.*64",
        MostRecent = true,
        Owners = "system",
    });

    var config = new Config();
    var name = config.Get("name") ?? "test_havip_attachment";
    var fooNetwork = new AliCloud.Vpc.Network("fooNetwork", new()
    {
        CidrBlock = "172.16.0.0/12",
    });

    var fooSwitch = new AliCloud.Vpc.Switch("fooSwitch", new()
    {
        VpcId = fooNetwork.Id,
        CidrBlock = "172.16.0.0/21",
        ZoneId = defaultZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
    });

    var fooHAVip = new AliCloud.Vpc.HAVip("fooHAVip", new()
    {
        VswitchId = fooSwitch.Id,
        Description = name,
    });

    var tfTestFoo = new AliCloud.Ecs.SecurityGroup("tfTestFoo", new()
    {
        Description = "foo",
        VpcId = fooNetwork.Id,
    });

    var fooInstance = new AliCloud.Ecs.Instance("fooInstance", new()
    {
        AvailabilityZone = defaultZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
        VswitchId = fooSwitch.Id,
        ImageId = defaultImages.Apply(getImagesResult => getImagesResult.Images[0]?.Id),
        InstanceType = defaultInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes[0]?.Id),
        SystemDiskCategory = "cloud_efficiency",
        InternetChargeType = "PayByTraffic",
        InternetMaxBandwidthOut = 5,
        SecurityGroups = new[]
        {
            tfTestFoo.Id,
        },
        InstanceName = name,
        UserData = "echo 'net.ipv4.ip_forward=1'>> /etc/sysctl.conf",
    });

    var fooHAVipAttachment = new AliCloud.Vpc.HAVipAttachment("fooHAVipAttachment", new()
    {
        HavipId = fooHAVip.Id,
        InstanceId = fooInstance.Id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
		}, nil)
		if err != nil {
			return err
		}
		defaultInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
			AvailabilityZone: pulumi.StringRef(defaultZones.Zones[0].Id),
			CpuCoreCount:     pulumi.IntRef(1),
			MemorySize:       pulumi.Float64Ref(2),
		}, nil)
		if err != nil {
			return err
		}
		defaultImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{
			NameRegex:  pulumi.StringRef("^ubuntu_18.*64"),
			MostRecent: pulumi.BoolRef(true),
			Owners:     pulumi.StringRef("system"),
		}, nil)
		if err != nil {
			return err
		}
		cfg := config.New(ctx, "")
		name := "test_havip_attachment"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		fooNetwork, err := vpc.NewNetwork(ctx, "fooNetwork", &vpc.NetworkArgs{
			CidrBlock: pulumi.String("172.16.0.0/12"),
		})
		if err != nil {
			return err
		}
		fooSwitch, err := vpc.NewSwitch(ctx, "fooSwitch", &vpc.SwitchArgs{
			VpcId:     fooNetwork.ID(),
			CidrBlock: pulumi.String("172.16.0.0/21"),
			ZoneId:    *pulumi.String(defaultZones.Zones[0].Id),
		})
		if err != nil {
			return err
		}
		fooHAVip, err := vpc.NewHAVip(ctx, "fooHAVip", &vpc.HAVipArgs{
			VswitchId:   fooSwitch.ID(),
			Description: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		tfTestFoo, err := ecs.NewSecurityGroup(ctx, "tfTestFoo", &ecs.SecurityGroupArgs{
			Description: pulumi.String("foo"),
			VpcId:       fooNetwork.ID(),
		})
		if err != nil {
			return err
		}
		fooInstance, err := ecs.NewInstance(ctx, "fooInstance", &ecs.InstanceArgs{
			AvailabilityZone:        *pulumi.String(defaultZones.Zones[0].Id),
			VswitchId:               fooSwitch.ID(),
			ImageId:                 *pulumi.String(defaultImages.Images[0].Id),
			InstanceType:            *pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id),
			SystemDiskCategory:      pulumi.String("cloud_efficiency"),
			InternetChargeType:      pulumi.String("PayByTraffic"),
			InternetMaxBandwidthOut: pulumi.Int(5),
			SecurityGroups: pulumi.StringArray{
				tfTestFoo.ID(),
			},
			InstanceName: pulumi.String(name),
			UserData:     pulumi.String("echo 'net.ipv4.ip_forward=1'>> /etc/sysctl.conf"),
		})
		if err != nil {
			return err
		}
		_, err = vpc.NewHAVipAttachment(ctx, "fooHAVipAttachment", &vpc.HAVipAttachmentArgs{
			HavipId:    fooHAVip.ID(),
			InstanceId: fooInstance.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetZonesArgs;
import com.pulumi.alicloud.ecs.EcsFunctions;
import com.pulumi.alicloud.ecs.inputs.GetInstanceTypesArgs;
import com.pulumi.alicloud.ecs.inputs.GetImagesArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.vpc.HAVip;
import com.pulumi.alicloud.vpc.HAVipArgs;
import com.pulumi.alicloud.ecs.SecurityGroup;
import com.pulumi.alicloud.ecs.SecurityGroupArgs;
import com.pulumi.alicloud.ecs.Instance;
import com.pulumi.alicloud.ecs.InstanceArgs;
import com.pulumi.alicloud.vpc.HAVipAttachment;
import com.pulumi.alicloud.vpc.HAVipAttachmentArgs;
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 config = ctx.config();
        final var defaultZones = AlicloudFunctions.getZones(GetZonesArgs.builder()
            .availableResourceCreation("VSwitch")
            .build());

        final var defaultInstanceTypes = EcsFunctions.getInstanceTypes(GetInstanceTypesArgs.builder()
            .availabilityZone(defaultZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
            .cpuCoreCount(1)
            .memorySize(2)
            .build());

        final var defaultImages = EcsFunctions.getImages(GetImagesArgs.builder()
            .nameRegex("^ubuntu_18.*64")
            .mostRecent(true)
            .owners("system")
            .build());

        final var name = config.get("name").orElse("test_havip_attachment");
        var fooNetwork = new Network("fooNetwork", NetworkArgs.builder()        
            .cidrBlock("172.16.0.0/12")
            .build());

        var fooSwitch = new Switch("fooSwitch", SwitchArgs.builder()        
            .vpcId(fooNetwork.id())
            .cidrBlock("172.16.0.0/21")
            .zoneId(defaultZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
            .build());

        var fooHAVip = new HAVip("fooHAVip", HAVipArgs.builder()        
            .vswitchId(fooSwitch.id())
            .description(name)
            .build());

        var tfTestFoo = new SecurityGroup("tfTestFoo", SecurityGroupArgs.builder()        
            .description("foo")
            .vpcId(fooNetwork.id())
            .build());

        var fooInstance = new Instance("fooInstance", InstanceArgs.builder()        
            .availabilityZone(defaultZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
            .vswitchId(fooSwitch.id())
            .imageId(defaultImages.applyValue(getImagesResult -> getImagesResult.images()[0].id()))
            .instanceType(defaultInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].id()))
            .systemDiskCategory("cloud_efficiency")
            .internetChargeType("PayByTraffic")
            .internetMaxBandwidthOut(5)
            .securityGroups(tfTestFoo.id())
            .instanceName(name)
            .userData("echo 'net.ipv4.ip_forward=1'>> /etc/sysctl.conf")
            .build());

        var fooHAVipAttachment = new HAVipAttachment("fooHAVipAttachment", HAVipAttachmentArgs.builder()        
            .havipId(fooHAVip.id())
            .instanceId(fooInstance.id())
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

default_zones = alicloud.get_zones(available_resource_creation="VSwitch")
default_instance_types = alicloud.ecs.get_instance_types(availability_zone=default_zones.zones[0].id,
    cpu_core_count=1,
    memory_size=2)
default_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
    most_recent=True,
    owners="system")
config = pulumi.Config()
name = config.get("name")
if name is None:
    name = "test_havip_attachment"
foo_network = alicloud.vpc.Network("fooNetwork", cidr_block="172.16.0.0/12")
foo_switch = alicloud.vpc.Switch("fooSwitch",
    vpc_id=foo_network.id,
    cidr_block="172.16.0.0/21",
    zone_id=default_zones.zones[0].id)
foo_ha_vip = alicloud.vpc.HAVip("fooHAVip",
    vswitch_id=foo_switch.id,
    description=name)
tf_test_foo = alicloud.ecs.SecurityGroup("tfTestFoo",
    description="foo",
    vpc_id=foo_network.id)
foo_instance = alicloud.ecs.Instance("fooInstance",
    availability_zone=default_zones.zones[0].id,
    vswitch_id=foo_switch.id,
    image_id=default_images.images[0].id,
    instance_type=default_instance_types.instance_types[0].id,
    system_disk_category="cloud_efficiency",
    internet_charge_type="PayByTraffic",
    internet_max_bandwidth_out=5,
    security_groups=[tf_test_foo.id],
    instance_name=name,
    user_data="echo 'net.ipv4.ip_forward=1'>> /etc/sysctl.conf")
foo_ha_vip_attachment = alicloud.vpc.HAVipAttachment("fooHAVipAttachment",
    havip_id=foo_ha_vip.id,
    instance_id=foo_instance.id)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const defaultZones = alicloud.getZones({
    availableResourceCreation: "VSwitch",
});
const defaultInstanceTypes = defaultZones.then(defaultZones => alicloud.ecs.getInstanceTypes({
    availabilityZone: defaultZones.zones?.[0]?.id,
    cpuCoreCount: 1,
    memorySize: 2,
}));
const defaultImages = alicloud.ecs.getImages({
    nameRegex: "^ubuntu_18.*64",
    mostRecent: true,
    owners: "system",
});
const config = new pulumi.Config();
const name = config.get("name") || "test_havip_attachment";
const fooNetwork = new alicloud.vpc.Network("fooNetwork", {cidrBlock: "172.16.0.0/12"});
const fooSwitch = new alicloud.vpc.Switch("fooSwitch", {
    vpcId: fooNetwork.id,
    cidrBlock: "172.16.0.0/21",
    zoneId: defaultZones.then(defaultZones => defaultZones.zones?.[0]?.id),
});
const fooHAVip = new alicloud.vpc.HAVip("fooHAVip", {
    vswitchId: fooSwitch.id,
    description: name,
});
const tfTestFoo = new alicloud.ecs.SecurityGroup("tfTestFoo", {
    description: "foo",
    vpcId: fooNetwork.id,
});
const fooInstance = new alicloud.ecs.Instance("fooInstance", {
    availabilityZone: defaultZones.then(defaultZones => defaultZones.zones?.[0]?.id),
    vswitchId: fooSwitch.id,
    imageId: defaultImages.then(defaultImages => defaultImages.images?.[0]?.id),
    instanceType: defaultInstanceTypes.then(defaultInstanceTypes => defaultInstanceTypes.instanceTypes?.[0]?.id),
    systemDiskCategory: "cloud_efficiency",
    internetChargeType: "PayByTraffic",
    internetMaxBandwidthOut: 5,
    securityGroups: [tfTestFoo.id],
    instanceName: name,
    userData: "echo 'net.ipv4.ip_forward=1'>> /etc/sysctl.conf",
});
const fooHAVipAttachment = new alicloud.vpc.HAVipAttachment("fooHAVipAttachment", {
    havipId: fooHAVip.id,
    instanceId: fooInstance.id,
});
configuration:
  name:
    type: string
    default: test_havip_attachment
resources:
  fooNetwork:
    type: alicloud:vpc:Network
    properties:
      cidrBlock: 172.16.0.0/12
  fooSwitch:
    type: alicloud:vpc:Switch
    properties:
      vpcId: ${fooNetwork.id}
      cidrBlock: 172.16.0.0/21
      zoneId: ${defaultZones.zones[0].id}
  fooHAVip:
    type: alicloud:vpc:HAVip
    properties:
      vswitchId: ${fooSwitch.id}
      description: ${name}
  fooHAVipAttachment:
    type: alicloud:vpc:HAVipAttachment
    properties:
      havipId: ${fooHAVip.id}
      instanceId: ${fooInstance.id}
  tfTestFoo:
    type: alicloud:ecs:SecurityGroup
    properties:
      description: foo
      vpcId: ${fooNetwork.id}
  fooInstance:
    type: alicloud:ecs:Instance
    properties:
      availabilityZone: ${defaultZones.zones[0].id}
      vswitchId: ${fooSwitch.id}
      imageId: ${defaultImages.images[0].id}
      # series III
      instanceType: ${defaultInstanceTypes.instanceTypes[0].id}
      systemDiskCategory: cloud_efficiency
      internetChargeType: PayByTraffic
      internetMaxBandwidthOut: 5
      securityGroups:
        - ${tfTestFoo.id}
      instanceName: ${name}
      userData: echo 'net.ipv4.ip_forward=1'>> /etc/sysctl.conf
variables:
  defaultZones:
    fn::invoke:
      Function: alicloud:getZones
      Arguments:
        availableResourceCreation: VSwitch
  defaultInstanceTypes:
    fn::invoke:
      Function: alicloud:ecs:getInstanceTypes
      Arguments:
        availabilityZone: ${defaultZones.zones[0].id}
        cpuCoreCount: 1
        memorySize: 2
  defaultImages:
    fn::invoke:
      Function: alicloud:ecs:getImages
      Arguments:
        nameRegex: ^ubuntu_18.*64
        mostRecent: true
        owners: system

Create HAVipAttachment Resource

new HAVipAttachment(name: string, args: HAVipAttachmentArgs, opts?: CustomResourceOptions);
@overload
def HAVipAttachment(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    force: Optional[str] = None,
                    havip_id: Optional[str] = None,
                    instance_id: Optional[str] = None,
                    instance_type: Optional[str] = None)
@overload
def HAVipAttachment(resource_name: str,
                    args: HAVipAttachmentArgs,
                    opts: Optional[ResourceOptions] = None)
func NewHAVipAttachment(ctx *Context, name string, args HAVipAttachmentArgs, opts ...ResourceOption) (*HAVipAttachment, error)
public HAVipAttachment(string name, HAVipAttachmentArgs args, CustomResourceOptions? opts = null)
public HAVipAttachment(String name, HAVipAttachmentArgs args)
public HAVipAttachment(String name, HAVipAttachmentArgs args, CustomResourceOptions options)
type: alicloud:vpc:HAVipAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args HAVipAttachmentArgs
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 HAVipAttachmentArgs
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 HAVipAttachmentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args HAVipAttachmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args HAVipAttachmentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

HAVipAttachment Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The HAVipAttachment resource accepts the following input properties:

HavipId string

The havip_id of the havip attachment, the field can't be changed.

InstanceId string

The instance_id of the havip attachment, the field can't be changed.

Force string

Specifies whether to forcefully disassociate the HAVIP from the ECS instance or ENI. Default value: False. Valid values: True and False.

InstanceType string

The Type of instance to bind HaVip to. Valid values: EcsInstance and NetworkInterface. When the HaVip instance is bound to a resilient NIC, the resilient NIC instance must be filled in.

HavipId string

The havip_id of the havip attachment, the field can't be changed.

InstanceId string

The instance_id of the havip attachment, the field can't be changed.

Force string

Specifies whether to forcefully disassociate the HAVIP from the ECS instance or ENI. Default value: False. Valid values: True and False.

InstanceType string

The Type of instance to bind HaVip to. Valid values: EcsInstance and NetworkInterface. When the HaVip instance is bound to a resilient NIC, the resilient NIC instance must be filled in.

havipId String

The havip_id of the havip attachment, the field can't be changed.

instanceId String

The instance_id of the havip attachment, the field can't be changed.

force String

Specifies whether to forcefully disassociate the HAVIP from the ECS instance or ENI. Default value: False. Valid values: True and False.

instanceType String

The Type of instance to bind HaVip to. Valid values: EcsInstance and NetworkInterface. When the HaVip instance is bound to a resilient NIC, the resilient NIC instance must be filled in.

havipId string

The havip_id of the havip attachment, the field can't be changed.

instanceId string

The instance_id of the havip attachment, the field can't be changed.

force string

Specifies whether to forcefully disassociate the HAVIP from the ECS instance or ENI. Default value: False. Valid values: True and False.

instanceType string

The Type of instance to bind HaVip to. Valid values: EcsInstance and NetworkInterface. When the HaVip instance is bound to a resilient NIC, the resilient NIC instance must be filled in.

havip_id str

The havip_id of the havip attachment, the field can't be changed.

instance_id str

The instance_id of the havip attachment, the field can't be changed.

force str

Specifies whether to forcefully disassociate the HAVIP from the ECS instance or ENI. Default value: False. Valid values: True and False.

instance_type str

The Type of instance to bind HaVip to. Valid values: EcsInstance and NetworkInterface. When the HaVip instance is bound to a resilient NIC, the resilient NIC instance must be filled in.

havipId String

The havip_id of the havip attachment, the field can't be changed.

instanceId String

The instance_id of the havip attachment, the field can't be changed.

force String

Specifies whether to forcefully disassociate the HAVIP from the ECS instance or ENI. Default value: False. Valid values: True and False.

instanceType String

The Type of instance to bind HaVip to. Valid values: EcsInstance and NetworkInterface. When the HaVip instance is bound to a resilient NIC, the resilient NIC instance must be filled in.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Status string

(Available in v1.201.0+) The status of the HaVip instance.

Id string

The provider-assigned unique ID for this managed resource.

Status string

(Available in v1.201.0+) The status of the HaVip instance.

id String

The provider-assigned unique ID for this managed resource.

status String

(Available in v1.201.0+) The status of the HaVip instance.

id string

The provider-assigned unique ID for this managed resource.

status string

(Available in v1.201.0+) The status of the HaVip instance.

id str

The provider-assigned unique ID for this managed resource.

status str

(Available in v1.201.0+) The status of the HaVip instance.

id String

The provider-assigned unique ID for this managed resource.

status String

(Available in v1.201.0+) The status of the HaVip instance.

Look up Existing HAVipAttachment Resource

Get an existing HAVipAttachment 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?: HAVipAttachmentState, opts?: CustomResourceOptions): HAVipAttachment
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        force: Optional[str] = None,
        havip_id: Optional[str] = None,
        instance_id: Optional[str] = None,
        instance_type: Optional[str] = None,
        status: Optional[str] = None) -> HAVipAttachment
func GetHAVipAttachment(ctx *Context, name string, id IDInput, state *HAVipAttachmentState, opts ...ResourceOption) (*HAVipAttachment, error)
public static HAVipAttachment Get(string name, Input<string> id, HAVipAttachmentState? state, CustomResourceOptions? opts = null)
public static HAVipAttachment get(String name, Output<String> id, HAVipAttachmentState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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:
Force string

Specifies whether to forcefully disassociate the HAVIP from the ECS instance or ENI. Default value: False. Valid values: True and False.

HavipId string

The havip_id of the havip attachment, the field can't be changed.

InstanceId string

The instance_id of the havip attachment, the field can't be changed.

InstanceType string

The Type of instance to bind HaVip to. Valid values: EcsInstance and NetworkInterface. When the HaVip instance is bound to a resilient NIC, the resilient NIC instance must be filled in.

Status string

(Available in v1.201.0+) The status of the HaVip instance.

Force string

Specifies whether to forcefully disassociate the HAVIP from the ECS instance or ENI. Default value: False. Valid values: True and False.

HavipId string

The havip_id of the havip attachment, the field can't be changed.

InstanceId string

The instance_id of the havip attachment, the field can't be changed.

InstanceType string

The Type of instance to bind HaVip to. Valid values: EcsInstance and NetworkInterface. When the HaVip instance is bound to a resilient NIC, the resilient NIC instance must be filled in.

Status string

(Available in v1.201.0+) The status of the HaVip instance.

force String

Specifies whether to forcefully disassociate the HAVIP from the ECS instance or ENI. Default value: False. Valid values: True and False.

havipId String

The havip_id of the havip attachment, the field can't be changed.

instanceId String

The instance_id of the havip attachment, the field can't be changed.

instanceType String

The Type of instance to bind HaVip to. Valid values: EcsInstance and NetworkInterface. When the HaVip instance is bound to a resilient NIC, the resilient NIC instance must be filled in.

status String

(Available in v1.201.0+) The status of the HaVip instance.

force string

Specifies whether to forcefully disassociate the HAVIP from the ECS instance or ENI. Default value: False. Valid values: True and False.

havipId string

The havip_id of the havip attachment, the field can't be changed.

instanceId string

The instance_id of the havip attachment, the field can't be changed.

instanceType string

The Type of instance to bind HaVip to. Valid values: EcsInstance and NetworkInterface. When the HaVip instance is bound to a resilient NIC, the resilient NIC instance must be filled in.

status string

(Available in v1.201.0+) The status of the HaVip instance.

force str

Specifies whether to forcefully disassociate the HAVIP from the ECS instance or ENI. Default value: False. Valid values: True and False.

havip_id str

The havip_id of the havip attachment, the field can't be changed.

instance_id str

The instance_id of the havip attachment, the field can't be changed.

instance_type str

The Type of instance to bind HaVip to. Valid values: EcsInstance and NetworkInterface. When the HaVip instance is bound to a resilient NIC, the resilient NIC instance must be filled in.

status str

(Available in v1.201.0+) The status of the HaVip instance.

force String

Specifies whether to forcefully disassociate the HAVIP from the ECS instance or ENI. Default value: False. Valid values: True and False.

havipId String

The havip_id of the havip attachment, the field can't be changed.

instanceId String

The instance_id of the havip attachment, the field can't be changed.

instanceType String

The Type of instance to bind HaVip to. Valid values: EcsInstance and NetworkInterface. When the HaVip instance is bound to a resilient NIC, the resilient NIC instance must be filled in.

status String

(Available in v1.201.0+) The status of the HaVip instance.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.