public class ProxyInfo extends AbstractModel
Constructor and Description |
---|
ProxyInfo() |
ProxyInfo(ProxyInfo 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 |
---|---|
String |
getAccessRegion()
Get Access region.
|
RegionDetail |
getAccessRegionInfo()
Get Access region details, including region ID and region name.
|
Long |
getBandwidth()
Get Bandwidth.
|
String |
getBanStatus()
Get Blocking-related status of the domain name.
|
Long |
getBillingType()
Get Billing mode.
|
Long[] |
getClientIPMethod()
Get Describes how the connection obtains client IPs.
|
Long |
getConcurrent()
Get Concurrence.
|
Long |
getCreateTime()
Get Creation time in the format of UNIX timestamp, indicating the number of seconds that have elapsed since January 1, 1970 (midnight in UTC/GMT).
|
String |
getDomain()
Get Accessed domain name.
|
Long |
getFeatureBitmap()
Get Feature bitmap.
|
String |
getForwardIP()
Get Forwarding IP of the connection
|
String |
getGroupId()
Get Connection group ID.
|
Long |
getHttp3Supported()
Get Specifies whether to enable HTTP3.
|
Long |
getInBanBlacklist()
Get Indicates whether the origin server IP or domain name is in the blocklist.
|
String |
getInstanceId()
Get Connection instance ID; It's an old parameter, please switch to ProxyId.
|
String |
getIP()
Get Accessed IP.
|
String |
getIPAddressVersion()
Get IP version.
|
IPDetail[] |
getIPList()
Get
|
Long |
getModifyConfigTime()
Get Configuration change time
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getNetworkType()
Get Network type.
|
String |
getPackageType()
Get Package type of connections.
|
String |
getPolicyId()
Get Security policy ID.
|
Long |
getProjectId()
Get Project ID.
|
String |
getProxyId()
Get Connection instance ID; It's a new parameter.
|
String |
getProxyName()
Get Connection name.
|
Long |
getProxyType()
Get Connection type.
|
String |
getRealServerRegion()
Get Origin server region.
|
RegionDetail |
getRealServerRegionInfo()
Get Origin server region details, including region ID and region name.
|
String[] |
getRelatedGlobalDomains()
Get List of domain names associated with resolution record
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getScalarable()
Get 1: this connection is expandable; 0: this connection is not expandable.
|
String |
getStatus()
Get Connection status.
|
String[] |
getSupportProtocols()
Get Supported protocol types.
|
Long |
getSupportSecurity()
Get Whether security groups are supported.
|
TagPair[] |
getTagSet()
Get Tag list.
|
String |
getVersion()
Get Connection versions: 1.0, 2.0, 3.0.
|
void |
setAccessRegion(String AccessRegion)
Set Access region.
|
void |
setAccessRegionInfo(RegionDetail AccessRegionInfo)
Set Access region details, including region ID and region name.
|
void |
setBandwidth(Long Bandwidth)
Set Bandwidth.
|
void |
setBanStatus(String BanStatus)
Set Blocking-related status of the domain name.
|
void |
setBillingType(Long BillingType)
Set Billing mode.
|
void |
setClientIPMethod(Long[] ClientIPMethod)
Set Describes how the connection obtains client IPs.
|
void |
setConcurrent(Long Concurrent)
Set Concurrence.
|
void |
setCreateTime(Long CreateTime)
Set Creation time in the format of UNIX timestamp, indicating the number of seconds that have elapsed since January 1, 1970 (midnight in UTC/GMT).
|
void |
setDomain(String Domain)
Set Accessed domain name.
|
void |
setFeatureBitmap(Long FeatureBitmap)
Set Feature bitmap.
|
void |
setForwardIP(String ForwardIP)
Set Forwarding IP of the connection
|
void |
setGroupId(String GroupId)
Set Connection group ID.
|
void |
setHttp3Supported(Long Http3Supported)
Set Specifies whether to enable HTTP3.
|
void |
setInBanBlacklist(Long InBanBlacklist)
Set Indicates whether the origin server IP or domain name is in the blocklist.
|
void |
setInstanceId(String InstanceId)
Set Connection instance ID; It's an old parameter, please switch to ProxyId.
|
void |
setIP(String IP)
Set Accessed IP.
|
void |
setIPAddressVersion(String IPAddressVersion)
Set IP version.
|
void |
setIPList(IPDetail[] IPList)
Set
|
void |
setModifyConfigTime(Long ModifyConfigTime)
Set Configuration change time
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setNetworkType(String NetworkType)
Set Network type.
|
void |
setPackageType(String PackageType)
Set Package type of connections.
|
void |
setPolicyId(String PolicyId)
Set Security policy ID.
|
void |
setProjectId(Long ProjectId)
Set Project ID.
|
void |
setProxyId(String ProxyId)
Set Connection instance ID; It's a new parameter.
|
void |
setProxyName(String ProxyName)
Set Connection name.
|
void |
setProxyType(Long ProxyType)
Set Connection type.
|
void |
setRealServerRegion(String RealServerRegion)
Set Origin server region.
|
void |
setRealServerRegionInfo(RegionDetail RealServerRegionInfo)
Set Origin server region details, including region ID and region name.
|
void |
setRelatedGlobalDomains(String[] RelatedGlobalDomains)
Set List of domain names associated with resolution record
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setScalarable(Long Scalarable)
Set 1: this connection is expandable; 0: this connection is not expandable.
|
void |
setStatus(String Status)
Set Connection status.
|
void |
setSupportProtocols(String[] SupportProtocols)
Set Supported protocol types.
|
void |
setSupportSecurity(Long SupportSecurity)
Set Whether security groups are supported.
|
void |
setTagSet(TagPair[] TagSet)
Set Tag list.
|
void |
setVersion(String Version)
Set Connection versions: 1.0, 2.0, 3.0.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ProxyInfo()
public ProxyInfo(ProxyInfo source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Connection instance ID; It's an old parameter, please switch to ProxyId.
Note: This field may return null, indicating that no valid values can be obtained.public Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime
- Creation time in the format of UNIX timestamp, indicating the number of seconds that have elapsed since January 1, 1970 (midnight in UTC/GMT).public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project ID.public String getProxyName()
public void setProxyName(String ProxyName)
ProxyName
- Connection name.public String getAccessRegion()
public void setAccessRegion(String AccessRegion)
AccessRegion
- Access region.public String getRealServerRegion()
public void setRealServerRegion(String RealServerRegion)
RealServerRegion
- Origin server region.public Long getBandwidth()
public void setBandwidth(Long Bandwidth)
Bandwidth
- Bandwidth. Unit: Mbps.public Long getConcurrent()
public void setConcurrent(Long Concurrent)
Concurrent
- Concurrence. Unit: 10K requests/second.public String getStatus()
public void setStatus(String Status)
Status
- Connection status. Valid values:
`RUNNING`: Running
`CREATING`: Creating
`DESTROYING`: Terminating
`OPENING`: Enabling
`CLOSING`: Disabling
`CLOSED`: Disabled
`ADJUSTING`: Adjusting configuration
`ISOLATING`: Isolating
`ISOLATED`: Isolated
`CLONING`: Copying
`RECOVERING`: Maintaining
`MOVING`: Migratingpublic String getDomain()
public void setDomain(String Domain)
Domain
- Accessed domain name.public String getIP()
public void setIP(String IP)
IP
- Accessed IP.public String getVersion()
public void setVersion(String Version)
Version
- Connection versions: 1.0, 2.0, 3.0.public String getProxyId()
public void setProxyId(String ProxyId)
ProxyId
- Connection instance ID; It's a new parameter.
Note: This field may return null, indicating that no valid values can be obtained.public Long getScalarable()
public void setScalarable(Long Scalarable)
Scalarable
- 1: this connection is expandable; 0: this connection is not expandable.public String[] getSupportProtocols()
public void setSupportProtocols(String[] SupportProtocols)
SupportProtocols
- Supported protocol types.public String getGroupId()
public void setGroupId(String GroupId)
GroupId
- Connection group ID. This field exists if a connection belongs to a connection group.
Note: This field may return null, indicating that no valid values can be obtained.public String getPolicyId()
public void setPolicyId(String PolicyId)
PolicyId
- Security policy ID. This field exists if security policies are configured.
Note: This field may return null, indicating that no valid values can be obtained.public RegionDetail getAccessRegionInfo()
public void setAccessRegionInfo(RegionDetail AccessRegionInfo)
AccessRegionInfo
- Access region details, including region ID and region name.
Note: This field may return null, indicating that no valid values can be obtained.public RegionDetail getRealServerRegionInfo()
public void setRealServerRegionInfo(RegionDetail RealServerRegionInfo)
RealServerRegionInfo
- Origin server region details, including region ID and region name.
Note: This field may return null, indicating that no valid values can be obtained.public String getForwardIP()
public void setForwardIP(String ForwardIP)
ForwardIP
- Forwarding IP of the connectionpublic TagPair[] getTagSet()
public void setTagSet(TagPair[] TagSet)
TagSet
- Tag list. This field is an empty list if no tags exist.
Note: This field may return null, indicating that no valid values can be obtained.public Long getSupportSecurity()
public void setSupportSecurity(Long SupportSecurity)
SupportSecurity
- Whether security groups are supported.
Note: This field may return null, indicating that no valid values can be obtained.public Long getBillingType()
public void setBillingType(Long BillingType)
BillingType
- Billing mode. 0: bill-by-bandwidth; 1: bill-by-traffic.
Note: this field may return null, indicating that no valid values can be obtained.public String[] getRelatedGlobalDomains()
public void setRelatedGlobalDomains(String[] RelatedGlobalDomains)
RelatedGlobalDomains
- List of domain names associated with resolution record
Note: this field may return null, indicating that no valid values can be obtained.public Long getModifyConfigTime()
public void setModifyConfigTime(Long ModifyConfigTime)
ModifyConfigTime
- Configuration change time
Note: this field may return null, indicating that no valid values can be obtained.public Long getProxyType()
public void setProxyType(Long ProxyType)
ProxyType
- Connection type. `100`: THUNDER connection; `103`: Microsoft connection.
Note: this field may return `null`, indicating that no valid value can be obtained.public Long[] getClientIPMethod()
public void setClientIPMethod(Long[] ClientIPMethod)
ClientIPMethod
- Describes how the connection obtains client IPs. 0: TOA; 1: Proxy Protocol.
Note: this field may return `null`, indicating that no valid values can be obtained.public String getIPAddressVersion()
public void setIPAddressVersion(String IPAddressVersion)
IPAddressVersion
- IP version. Valid values: `IPv4`, `IPv6`.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getNetworkType()
public void setNetworkType(String NetworkType)
NetworkType
- Network type. `normal`: general BGP; `cn2`: Dedicated BGP; `triple`: Non-BGP (provided by the top 3 ISPs in the Chinese mainland); `secure_eip`: Custom security EIP.
Note: This field may return `null`, indicating that no valid value can be obtained.public String getPackageType()
public void setPackageType(String PackageType)
PackageType
- Package type of connections. Valid values: `Thunder` (general connection), `Accelerator` (silver connection),
and `CrossBorder` (cross-MLC-border connection).
Note: This field may return `null`, indicating that no valid value can be obtained.public String getBanStatus()
public void setBanStatus(String BanStatus)
BanStatus
- Blocking-related status of the domain name. `BANNED`: the domain name is blocked; `RECOVER`: the domain name is unblocked or normal; `BANNING`: the domain name is being blocked; `RECOVERING`: the domain name is being unblocked; `BAN_FAILED`: the blocking fails; RECOVER_FAILED: the unblocking fails.
Note: this field may return `null`, indicating that no valid value can be obtained.public IPDetail[] getIPList()
public void setIPList(IPDetail[] IPList)
IPList
- public Long getHttp3Supported()
public void setHttp3Supported(Long Http3Supported)
Http3Supported
- Specifies whether to enable HTTP3. Valid values:
`0`: disable HTTP3;
`1`: enable HTTP3.
Note: this field may return `null`, indicating that no valid value can be obtained.public Long getInBanBlacklist()
public void setInBanBlacklist(Long InBanBlacklist)
InBanBlacklist
- Indicates whether the origin server IP or domain name is in the blocklist. Valid values: `0` (no) and `1` (yes).
Note: This field may return `null`, indicating that no valid value can be obtained.public Long getFeatureBitmap()
public void setFeatureBitmap(Long FeatureBitmap)
FeatureBitmap
- Feature bitmap. Valid values:
`0`: Feature not supported
`1`: Feature supported
Each bit in the bitmap represents a feature:
1st bit: Layer-4 acceleration;
2nd bit: Layer-7 acceleration;
3rd bit: HTTP3 access;
4th bit: IPv6;
5th bit: Dedicated BGP access;
6th bit: Non-BGP access;
7th bit: QoS acceleration.
Note: This field may return `null`, indicating that no valid value can be obtained.
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2023. All rights reserved.