public class DescribeProxiesRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeProxiesRequest() |
DescribeProxiesRequest(DescribeProxiesRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Filter[] |
getFilters()
Get Filters
The upper limit on Filters for each request is 10, and the upper limit on Filter.Values is 5.
|
Long |
getIndependent()
Get When this field is 1, only not-grouped connections are pulled.
|
String[] |
getInstanceIds()
Get Queries by one or multiple instance IDs.
|
Long |
getLimit()
Get Number of returned results.
|
Long |
getOffset()
Get Offset.
|
String |
getOrder()
Get Specifies how connections are listed.
|
String |
getOrderField()
Get Sorting field.
|
String[] |
getProxyIds()
Get Queries by one or multiple instance IDs.
|
TagPair[] |
getTagSet()
Get Tag list.
|
void |
setFilters(Filter[] Filters)
Set Filters
The upper limit on Filters for each request is 10, and the upper limit on Filter.Values is 5.
|
void |
setIndependent(Long Independent)
Set When this field is 1, only not-grouped connections are pulled.
|
void |
setInstanceIds(String[] InstanceIds)
Set Queries by one or multiple instance IDs.
|
void |
setLimit(Long Limit)
Set Number of returned results.
|
void |
setOffset(Long Offset)
Set Offset.
|
void |
setOrder(String Order)
Set Specifies how connections are listed.
|
void |
setOrderField(String OrderField)
Set Sorting field.
|
void |
setProxyIds(String[] ProxyIds)
Set Queries by one or multiple instance IDs.
|
void |
setTagSet(TagPair[] TagSet)
Set Tag list.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeProxiesRequest()
public DescribeProxiesRequest(DescribeProxiesRequest source)
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- Queries by one or multiple instance IDs. The upper limit on the number of instances for each request is 100. This parameter does not support specifying InstanceIds and Filters at the same time. It’s an old parameter, please switch to ProxyIds.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset. Default value: 0.public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of returned results. Default value: 20. Maximum value: 100.public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- Filters
The upper limit on Filters for each request is 10, and the upper limit on Filter.Values is 5. This parameter does not support specifying InstanceIds and Filters at the same time.
ProjectId - String - Required: No - Filter by a project ID.
AccessRegion - String - Required: No - Filter by an access region.
RealServerRegion - String - Required: No - Filter by an origin server region.
GroupId - String - Required: No - Filter by a connection group ID.
IPAddressVersion - String - Required: No - Filter by IP version.
PackageType - String - Required: No - Filter by package type of connection groups.public String[] getProxyIds()
public void setProxyIds(String[] ProxyIds)
ProxyIds
- Queries by one or multiple instance IDs. The upper limit on the number of instances for each request is 100. This parameter does not support specifying InstanceIds and Filters at the same time. It’s a new parameter, and replaces InstanceIds.public TagPair[] getTagSet()
public void setTagSet(TagPair[] TagSet)
TagSet
- Tag list. If this field exists, the list of the resources with the tag will be pulled.
It supports up to 5 tags. If there are two or more tags, the connections tagged any of them will be pulled.public Long getIndependent()
public void setIndependent(Long Independent)
Independent
- When this field is 1, only not-grouped connections are pulled.
When this field is 0, only grouped connections are pulled.
When this field does not exist, all connections are pulled, including both not-grouped and grouped connections.public String getOrder()
public void setOrder(String Order)
Order
- Specifies how connections are listed. Valid values:
`asc`: Ascending order
`desc`: Descending order
Default: `desc`public String getOrderField()
public void setOrderField(String OrderField)
OrderField
- Sorting field. Valid values:
`create_time`: Sort by creation time
`proxy_id`: Sort by connection ID
`bandwidth`:Sort by bandwidth limit
`concurrent_connections`: Sort by number of concurrent connections
Default: `create_time`Copyright © 2024. All rights reserved.