HAVip

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpc.HAVip;
import com.pulumi.alicloud.vpc.HAVipArgs;
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 foo = new HAVip("foo", HAVipArgs.builder()
.description("test_havip")
.vswitchId("vsw-fakeid")
.build());
}
}

Import

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

$ pulumi import alicloud:vpc/hAVip:HAVip foo havip-abc123456

Properties

Link copied to clipboard
val description: Output<String>?

The description of the HaVip instance.

Link copied to clipboard
val havipName: Output<String>?

The name of the HaVip instance.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val ipAddress: Output<String>

The ip address of the HaVip. If not filled, the default will be assigned one from the vswitch.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>

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

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vswitchId: Output<String>

The vswitch_id of the HaVip, the field can't be changed.