HAVipArgs

data class HAVipArgs(val description: Output<String>? = null, val havipName: Output<String>? = null, val ipAddress: Output<String>? = null, val vswitchId: Output<String>? = null) : ConvertibleToJava<HAVipArgs>

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

Constructors

Link copied to clipboard
fun HAVipArgs(description: Output<String>? = null, havipName: Output<String>? = null, ipAddress: Output<String>? = null, vswitchId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): HAVipArgs

Properties

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

The description of the HaVip instance.

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

The name of the HaVip instance.

Link copied to clipboard
val ipAddress: Output<String>? = null

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

Link copied to clipboard
val vswitchId: Output<String>? = null

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