public static class CreateCustomRoutingEndpointTrafficPoliciesRequest.CreateCustomRoutingEndpointTrafficPoliciesRequestPolicyConfigurationsPortRanges
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Integer |
fromPort
The start port of the port range in the destination to which to allow traffic.
|
Integer |
toPort
The end port of the port range in the destination to which to allow traffic.
|
| 构造器和说明 |
|---|
CreateCustomRoutingEndpointTrafficPoliciesRequest.CreateCustomRoutingEndpointTrafficPoliciesRequestPolicyConfigurationsPortRanges() |
@NameInMap(value="FromPort") public Integer fromPort
The start port of the port range in the destination to which to allow traffic. The specified port must fall within the port range of the specified endpoint group.
This parameter takes effect only when **TrafficToEndpointPolicy** is set to **AllowCustom**.
If the start port and end port values are empty, traffic on all ports in destinations are allowed.
You can specify port ranges for up to 500 destinations for each endpoint and specify up to 10 start ports for each destination.
@NameInMap(value="ToPort") public Integer toPort
The end port of the port range in the destination to which to allow traffic. The specified port must fall within the port range of the specified endpoint group.
This parameter takes effect only when **TrafficToEndpointPolicy** is set to **AllowCustom**.
If the start port and end port values are empty, traffic on all ports in destinations are allowed.
You can specify port ranges for up to 500 destinations for each endpoint and specify up to 10 end ports for each destination.
public CreateCustomRoutingEndpointTrafficPoliciesRequest.CreateCustomRoutingEndpointTrafficPoliciesRequestPolicyConfigurationsPortRanges()
public static CreateCustomRoutingEndpointTrafficPoliciesRequest.CreateCustomRoutingEndpointTrafficPoliciesRequestPolicyConfigurationsPortRanges build(Map<String,?> map) throws Exception
Exceptionpublic CreateCustomRoutingEndpointTrafficPoliciesRequest.CreateCustomRoutingEndpointTrafficPoliciesRequestPolicyConfigurationsPortRanges setFromPort(Integer fromPort)
public Integer getFromPort()
public CreateCustomRoutingEndpointTrafficPoliciesRequest.CreateCustomRoutingEndpointTrafficPoliciesRequestPolicyConfigurationsPortRanges setToPort(Integer toPort)
public Integer getToPort()
Copyright © 2023. All rights reserved.