Skip to content

HaVipProps

Properties for defining a HaVip.

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

Initializer

import { HaVipProps } from '@alicloud/ros-cdk-vpc'
const haVipProps: HaVipProps = { ... }

Properties

Name Type Description
vSwitchId string | @alicloud/ros-cdk-core.IResolvable Property vSwitchId: The ID of the vSwitch to which the HAVIP belongs.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the HAVIP.
ipAddress string | @alicloud/ros-cdk-core.IResolvable Property ipAddress: The IP address of the HAVIP.
name string | @alicloud/ros-cdk-core.IResolvable Property name: The name of the HAVIP.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: The ID of the resource group to which the HAVIP belongs.
tags TagsProperty[] Property tags: Tags to attach to instance.

vSwitchIdRequired

public readonly vSwitchId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/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 readonly ipAddress: string | IResolvable;
  • Type: string | @alicloud/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 readonly name: string | IResolvable;
  • Type: string | @alicloud/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 readonly resourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


tagsOptional

public readonly tags: 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.