public static class UpdateCustomRoutingEndpointTrafficPoliciesRequest.UpdateCustomRoutingEndpointTrafficPoliciesRequestPolicyConfigurationsPortRanges
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Integer |
fromPort
The first port of the destination port range.
|
Integer |
toPort
The last port of the destination port range.
|
@NameInMap(value="FromPort") public Integer fromPort
The first port of the destination port range. 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**. You can call the [DescribeCustomRoutingEndpoint](~~449386~~) operation to query the access policy of traffic for the specified endpoint.
If you do not specify FromPort and ToPort, traffic is forwarded to all ports of the destination.
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 last port of the destination port range. 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**. You can call the [DescribeCustomRoutingEndpoint](~~449386~~) operation to query the traffic policy for the specified endpoint.
If you do not specify FromPort and ToPort, traffic is forwarded to all ports of the destination.
You can specify port ranges for up to 500 destinations in each endpoint and specify up to 10 last ports for each destination.
public UpdateCustomRoutingEndpointTrafficPoliciesRequestPolicyConfigurationsPortRanges()
public static UpdateCustomRoutingEndpointTrafficPoliciesRequest.UpdateCustomRoutingEndpointTrafficPoliciesRequestPolicyConfigurationsPortRanges build(Map<String,?> map) throws Exception
Exception
public UpdateCustomRoutingEndpointTrafficPoliciesRequest.UpdateCustomRoutingEndpointTrafficPoliciesRequestPolicyConfigurationsPortRanges setFromPort(Integer fromPort)
public Integer getFromPort()
public UpdateCustomRoutingEndpointTrafficPoliciesRequest.UpdateCustomRoutingEndpointTrafficPoliciesRequestPolicyConfigurationsPortRanges setToPort(Integer toPort)
public Integer getToPort()
Copyright © 2024. All rights reserved.