Skip to content

HaVipProps

Properties for defining a HaVip.

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

Initializer

import ros_cdk_vpc
ros_cdk_vpc.HaVipProps(
  v_switch_id: typing.Union[str, IResolvable],
  description: typing.Union[str, IResolvable] = None,
  ip_address: typing.Union[str, IResolvable] = None,
  name: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
v_switch_id typing.Union[str, ros_cdk_core.IResolvable] Property vSwitchId: The ID of the vSwitch to which the HAVIP belongs.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the HAVIP.
ip_address typing.Union[str, ros_cdk_core.IResolvable] Property ipAddress: The IP address of the HAVIP.
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The name of the HAVIP.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The ID of the resource group to which the HAVIP belongs.
tags typing.List[TagsProperty] Property tags: Tags to attach to instance.

v_switch_idRequired

v_switch_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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://.


ip_addressOptional

ip_address: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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://.


resource_group_idOptional

resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


tagsOptional

tags: typing.List[TagsProperty]

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.