Skip to content

BasicEndpointProps

Properties for defining a BasicEndpoint.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ga-basicendpoint

Initializer

import ros_cdk_ga
ros_cdk_ga.BasicEndpointProps(
  accelerator_id: typing.Union[str, IResolvable],
  endpoint_address: typing.Union[str, IResolvable],
  endpoint_group_id: typing.Union[str, IResolvable],
  endpoint_sub_address: typing.Union[str, IResolvable] = None,
  endpoint_sub_address_type: typing.Union[str, IResolvable] = None,
  endpoint_type: typing.Union[str, IResolvable] = None,
  endpoint_zone_id: typing.Union[str, IResolvable] = None,
  name: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
accelerator_id typing.Union[str, ros_cdk_core.IResolvable] Property acceleratorId: The ID of the basic GA instance.
endpoint_address typing.Union[str, ros_cdk_core.IResolvable] Property endpointAddress: The address of the endpoint.
endpoint_group_id typing.Union[str, ros_cdk_core.IResolvable] Property endpointGroupId: The ID of the endpoint group.
endpoint_sub_address typing.Union[str, ros_cdk_core.IResolvable] Property endpointSubAddress: The secondary address of the endpoint.
endpoint_sub_address_type typing.Union[str, ros_cdk_core.IResolvable] Property endpointSubAddressType: The type of the secondary address of the endpoint.
endpoint_type typing.Union[str, ros_cdk_core.IResolvable] Property endpointType: The type of the endpoint.
endpoint_zone_id typing.Union[str, ros_cdk_core.IResolvable] Property endpointZoneId: The zone ID of the endpoint.
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The name of the endpoint that is associated with the basic GA instance.

accelerator_idRequired

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

Property acceleratorId: The ID of the basic GA instance.


endpoint_addressRequired

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

Property endpointAddress: The address of the endpoint.


endpoint_group_idRequired

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

Property endpointGroupId: The ID of the endpoint group.


endpoint_sub_addressOptional

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

Property endpointSubAddress: The secondary address of the endpoint.

This parameter is required if the endpoint type is ECS, ENI, or NLB. If the endpoint type is ECS, you can set EndpointSubAddress to the secondary private IP address of the primary ENI. If the parameter is left empty, the primary private IP address of the primary ENI is used. If the endpoint type is ENI, you can set EndpointSubAddress to the secondary private IP address of the secondary ENI. If the parameter is left empty, the primary private IP address of the secondary ENI is used. This parameter is required if the endpoint type is NLB. EndpointSubAddress is the primary private IP address of the NLB backend server.This parameter is required if the endpoint type is NLB. EndpointSubAddress is the primary private IP address of the NLB backend server.


endpoint_sub_address_typeOptional

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

Property endpointSubAddressType: The type of the secondary address of the endpoint.

Valid values: primary: a primary private IP address. secondary: a secondary private IP address. This parameter is required if the endpoint type is ECS, ENI, or NLB. If the endpoint type is NLB, only primary is supported.


endpoint_typeOptional

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

Property endpointType: The type of the endpoint.

Valid values: ENI: elastic network interface (ENI) SLB: Classic Load Balancer (CLB) NLB: Network Load Balancer (NLB) ECS: Elastic Compute Service (ECS)


endpoint_zone_idOptional

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

Property endpointZoneId: The zone ID of the endpoint.

This parameter is required only if the endpoint type is NLB.


nameOptional

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

Property name: The name of the endpoint that is associated with the basic GA instance.

The name must be 1 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.