Skip to content

HaVipProps

Properties for defining a HaVip.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-havip

Initializer

import com.aliyun.ros.cdk.vpc.HaVipProps;
HaVipProps.builder()
    .vSwitchId(java.lang.String)
    .vSwitchId(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .ipAddress(java.lang.String)
//  .ipAddress(IResolvable)
//  .name(java.lang.String)
//  .name(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .tags(java.util.List<TagsProperty>)
    .build();

Properties

Name Type Description
vSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vSwitchId: The ID of the vSwitch to which the HAVIP belongs.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the HAVIP.
ipAddress java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ipAddress: The IP address of the HAVIP.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: The name of the HAVIP.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group to which the HAVIP belongs.
tags java.util.List<TagsProperty> Property tags: Tags to attach to instance.

vSwitchIdRequired

public java.lang.Object getVSwitchId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vSwitchId: The ID of the vSwitch to which the HAVIP belongs.


descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property description: The description of the HAVIP.

The description must be 1 to 256 characters in length and cannot start with http:// or https://.


ipAddressOptional

public java.lang.Object getIpAddress();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property ipAddress: The IP address of the HAVIP.

The specified IP address must be an idle IP address that falls within the CIDR block of the vSwitch. If this parameter is not set, an idle IP address from the CIDR block of the vSwitch is randomly assigned to the HAVIP.


nameOptional

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property name: The name of the HAVIP.

The name must be 1 to 128 characters in length, and cannot start with http:// or https://.


resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: The ID of the resource group to which the HAVIP belongs.


tagsOptional

public java.util.List<TagsProperty> getTags();

Property tags: Tags to attach to instance.

Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.