AnycastEIPAssociationProps
Properties for defining a AnycastEIPAssociation.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-anycasteipassociation
Initializer
using AlibabaCloud.SDK.ROS.CDK.Vpc;
new AnycastEIPAssociationProps {
object AnycastId,
object BindInstanceId,
object BindInstanceRegionId,
object BindInstanceType,
object AssociationMode = null,
object PopLocations = null,
object PrivateIpAddress = null
};
Properties
| Name | Type | Description |
|---|---|---|
AnycastId | object | Property anycastId: Anycast EIP instance ID. |
BindInstanceId | object | Property bindInstanceId: The ID of the cloud resource instance to be bound. |
BindInstanceRegionId | object | Property bindInstanceRegionId: The region ID of the cloud resource instance to be bound. |
BindInstanceType | object | Property bindInstanceType: The type of the cloud resource with which you want to associate the Anycast EIP. |
AssociationMode | object | Property associationMode: The association mode. |
PopLocations | object | Property popLocations: The pop locations. |
PrivateIpAddress | object | Property privateIpAddress: The secondary private IP address of the ENI. |
AnycastIdRequired
public object AnycastId { get; set; }
- Type: object
Property anycastId: Anycast EIP instance ID.
BindInstanceIdRequired
public object BindInstanceId { get; set; }
- Type: object
Property bindInstanceId: The ID of the cloud resource instance to be bound.
BindInstanceRegionIdRequired
public object BindInstanceRegionId { get; set; }
- Type: object
Property bindInstanceRegionId: The region ID of the cloud resource instance to be bound.
BindInstanceTypeRequired
public object BindInstanceType { get; set; }
- Type: object
Property bindInstanceType: The type of the cloud resource with which you want to associate the Anycast EIP.
Valid values:
- SlbInstance: CLB instance in a virtual private cloud (VPC).
- NetworkInterface: ENI.
AssociationModeOptional
public object AssociationMode { get; set; }
- Type: object
Property associationMode: The association mode.
Valid values:
- Default: the default mode. In this mode, the associated cloud resource is the default origin server.
- Normal: the normal mode. In this mode, the associated cloud resource is a normal origin server.
An Anycast EIP can be associated with cloud resources in multiple regions. However, you can specify only one default origin server and multiple normal origin servers. When you do not specify an access point or add a new access point, requests are forwarded to the default origin server by default.
- If this is your first time to associate a cloud resource with the Anycast EIP, the association mode is Default by default.
- If this is not your first time to associate a cloud resource with the Anycast EIP, you can set the association mode to Default. This makes the new cloud resource the default origin server, and the original default origin server becomes a normal origin server.
PopLocationsOptional
public object PopLocations { get; set; }
- Type: object
Property popLocations: The pop locations.
PrivateIpAddressOptional
public object PrivateIpAddress { get; set; }
- Type: object
Property privateIpAddress: The secondary private IP address of the ENI.
This parameter is required when BindInstanceType is set to NetworkInterface. If you do not specify this parameter, the primary private IP address of the ENI is used.