public class ModifyRouterInterfaceAttributeRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Boolean |
deleteHealthCheckIp
Specifies whether to delete the health check IP addresses configured on the router interface.
|
String |
description
The description of the router interface.
|
Integer |
hcRate
The rate of health checks.
|
Integer |
hcThreshold
The healthy threshold.
|
String |
healthCheckSourceIp
The source IP address that is used to perform health checks.
|
String |
healthCheckTargetIp
The destination IP address that is used to perform health checks.
|
String |
name
The name of the router interface.
|
String |
oppositeInterfaceId
The ID of the peer router interface.
|
Long |
oppositeInterfaceOwnerId
The ID of the Alibaba Cloud account to which the peer router interface belongs.
|
String |
oppositeRouterId
The ID of the peer router.
|
String |
oppositeRouterType
The type of router to which the peer router interface belongs.
|
Long |
ownerId |
String |
regionId
The region ID of the router interface.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
routerInterfaceId
The ID of the router interface.
|
构造器和说明 |
---|
ModifyRouterInterfaceAttributeRequest() |
@NameInMap(value="DeleteHealthCheckIp") public Boolean deleteHealthCheckIp
Specifies whether to delete the health check IP addresses configured on the router interface. Valid values:
false
@NameInMap(value="Description") public String description
The description of the router interface.
The value must be 2 to 256 characters in length. It must start with a letter but cannot start with http://
or https://
.
The description of the router interface.
@NameInMap(value="HcRate") public Integer hcRate
The rate of health checks. Unit: milliseconds. The recommended value is 2000. This value specifies the interval at which probe packets are sent during a health check.
In this example, HcThreshold is set to 8 and HcRate is set to 2000. In this example, probe packets are sent from HealthCheckSourceIp (source address) to HealthCheckTargetIp (destination address) every 2,000 seconds. If no response is returned for eight consecutive times, the health check fails.
example:2000
@NameInMap(value="HcThreshold") public Integer hcThreshold
The healthy threshold. Unit: packets. We recommend that you set the value to 8. This value specifies the number of probe packets that are sent during a health check.
example:8
@NameInMap(value="HealthCheckSourceIp") public String healthCheckSourceIp
The source IP address that is used to perform health checks. The source IP address must be an idle IP address of the local virtual private cloud (VPC).
example:You can set this parameter when an Express Connect circuit is used.
116.62.XX.XX
@NameInMap(value="HealthCheckTargetIp") public String healthCheckTargetIp
The destination IP address that is used to perform health checks.
example:This parameter is required when HealthCheckSourceIp is specified.
116.62.XX.XX
@NameInMap(value="Name") public String name
The name of the router interface.
The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
example:TEST
@NameInMap(value="OppositeInterfaceId") public String oppositeInterfaceId
The ID of the peer router interface.
example:ri-2zeo3xzyf38r4urz****
@NameInMap(value="OppositeInterfaceOwnerId") public Long oppositeInterfaceOwnerId
The ID of the Alibaba Cloud account to which the peer router interface belongs.
example:28768383240243****
@NameInMap(value="OppositeRouterId") public String oppositeRouterId
The ID of the peer router.
example:vrt-bp1jcg5cmxjbl9xgc****
@NameInMap(value="OppositeRouterType") public String oppositeRouterType
The type of router to which the peer router interface belongs. Valid values:
VBR
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the router interface.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-shanghai
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="RouterInterfaceId") public String routerInterfaceId
The ID of the router interface.
This parameter is required.
example:ri-2zeo3xzyf38r4urz****
public static ModifyRouterInterfaceAttributeRequest build(Map<String,?> map) throws Exception
Exception
public ModifyRouterInterfaceAttributeRequest setDeleteHealthCheckIp(Boolean deleteHealthCheckIp)
public Boolean getDeleteHealthCheckIp()
public ModifyRouterInterfaceAttributeRequest setDescription(String description)
public String getDescription()
public ModifyRouterInterfaceAttributeRequest setHcRate(Integer hcRate)
public Integer getHcRate()
public ModifyRouterInterfaceAttributeRequest setHcThreshold(Integer hcThreshold)
public Integer getHcThreshold()
public ModifyRouterInterfaceAttributeRequest setHealthCheckSourceIp(String healthCheckSourceIp)
public String getHealthCheckSourceIp()
public ModifyRouterInterfaceAttributeRequest setHealthCheckTargetIp(String healthCheckTargetIp)
public String getHealthCheckTargetIp()
public ModifyRouterInterfaceAttributeRequest setName(String name)
public String getName()
public ModifyRouterInterfaceAttributeRequest setOppositeInterfaceId(String oppositeInterfaceId)
public String getOppositeInterfaceId()
public ModifyRouterInterfaceAttributeRequest setOppositeInterfaceOwnerId(Long oppositeInterfaceOwnerId)
public Long getOppositeInterfaceOwnerId()
public ModifyRouterInterfaceAttributeRequest setOppositeRouterId(String oppositeRouterId)
public String getOppositeRouterId()
public ModifyRouterInterfaceAttributeRequest setOppositeRouterType(String oppositeRouterType)
public String getOppositeRouterType()
public ModifyRouterInterfaceAttributeRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ModifyRouterInterfaceAttributeRequest setRegionId(String regionId)
public String getRegionId()
public ModifyRouterInterfaceAttributeRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifyRouterInterfaceAttributeRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public ModifyRouterInterfaceAttributeRequest setRouterInterfaceId(String routerInterfaceId)
public String getRouterInterfaceId()
Copyright © 2024. All rights reserved.