类 EtClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.et.EtClient
-
public class EtClient extends AbstractBceClient
Provides the client for accessing the Baidu Cloud network Service Express Tunnel(ET).
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 EtClient()Constructs a new client to invoke service methods on ET.EtClient(BceClientConfiguration clientConfiguration)Constructs a new ET client using the client configuration to access ET.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ApplyForEtResponseapplyForEt(ApplyForEtRequest request)Apply for an ET with the specified options.CreateEtChannelResponsecreateEtChannel(CreateEtChannelRequest request)Create an ET channel with the specified options.CreateEtChannelRouteResponsecreateEtChannelRouteRule(CreateEtChannelRouteRuleRequest request)Create an ET channel route rule with the specified options.voiddeleteEtChannel(EtChannelIdRequest request)Delete the ET channel.voiddeleteEtRouteRule(EtChannelRouteRuleIdRequest request)Delete the ET channel route rule.voiddisableEtChannelIpv6(EtChannelIdRequest request)Turn off ET channel ipv6 function.voidenableEtChannelIpv6(EnableEtChannelIpv6Request request)Turn on ET channel ipv6 function, which is a white list function.EtgetEtDetail(String etId)Get single ET detail owned by the authenticated user.ListEtChannelRouteRulesResponselistEtChannelRouteRules(ListEtChannelRouteRulesRequest request)Return a list of ET route rules.ListEtChannelsResponselistEtChannels(String etId)Return a list of ET channels.ListEtResponselistEts(ListEtRequest request)Return a list of ETs owned by the authenticated user.voidresubmitEtChannel(ResubmitEtChannelRequest request)Resubmit an ET channel with the specified options.voidupdateEt(UpdateEtRequest request)Modifying the special attribute to new value of the ET owned by the user.voidupdateEtChannel(UpdateEtChannelRequest request)Update an ET channel with the specified options.When the tunnel status is neither “Applying” nor “Application rejected”, this interface is available.voidupdateEtChannelRouteRule(UpdateEtChannelRouteRuleRequest request)Update an ET channel route rule's description.-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
EtClient
public EtClient()
Constructs a new client to invoke service methods on ET.
-
EtClient
public EtClient(BceClientConfiguration clientConfiguration)
Constructs a new ET client using the client configuration to access ET.- 参数:
clientConfiguration- The network client configuration options controlling how this client connects to network (e.g. proxy settings, retry counts, etc).
-
-
方法详细资料
-
applyForEt
public ApplyForEtResponse applyForEt(ApplyForEtRequest request)
Apply for an ET with the specified options.- 参数:
request- The request containing all options for creating an ET.- 返回:
- ET id newly created
-
updateEt
public void updateEt(UpdateEtRequest request)
Modifying the special attribute to new value of the ET owned by the user.- 参数:
request- The request containing all options for modifying own's ET.
-
listEts
public ListEtResponse listEts(ListEtRequest request)
Return a list of ETs owned by the authenticated user.- 返回:
- The response containing a list of Ets owned by the authenticated user.
-
getEtDetail
public Et getEtDetail(String etId)
Get single ET detail owned by the authenticated user.- 参数:
etId- ET(ID)- 返回:
- ET detail for the etId
-
createEtChannel
public CreateEtChannelResponse createEtChannel(CreateEtChannelRequest request)
Create an ET channel with the specified options. Only when the ET status is “Available”, this ET channel can be created.- 参数:
request- The request containing all options for creating an ET channel.- 返回:
- ET channel id newly created
-
listEtChannels
public ListEtChannelsResponse listEtChannels(String etId)
Return a list of ET channels.- 参数:
etId- the specified ET id- 返回:
- The response containing a list of Et channels owned by the specified ET.
-
resubmitEtChannel
public void resubmitEtChannel(ResubmitEtChannelRequest request)
Resubmit an ET channel with the specified options. Only when the ET status “Applying” or “Application rejected”, this interface is available.- 参数:
request- The request containing all options for resubmitting an ET channel.
-
updateEtChannel
public void updateEtChannel(UpdateEtChannelRequest request)
Update an ET channel with the specified options.When the tunnel status is neither “Applying” nor “Application rejected”, this interface is available.- 参数:
request- The request containing all options for updating an ET channel.
-
deleteEtChannel
public void deleteEtChannel(EtChannelIdRequest request)
Delete the ET channel. When the channel status is “Available”, “Pending payment”, or “Application rejected”, this interface is available.- 参数:
request- – The request containing all options for deleting an ET channel.
-
enableEtChannelIpv6
public void enableEtChannelIpv6(EnableEtChannelIpv6Request request)
Turn on ET channel ipv6 function, which is a white list function.- 参数:
request- - The request containing all options for turn on ET channel ipv6 function.
-
disableEtChannelIpv6
public void disableEtChannelIpv6(EtChannelIdRequest request)
Turn off ET channel ipv6 function.- 参数:
request- - The request containing all options for turn off ET channel ipv6 function.
-
createEtChannelRouteRule
public CreateEtChannelRouteResponse createEtChannelRouteRule(CreateEtChannelRouteRuleRequest request)
Create an ET channel route rule with the specified options.- 参数:
request- The request containing all options for creating an ET channel route rule.- 返回:
- ET channel route rule id newly created.
-
listEtChannelRouteRules
public ListEtChannelRouteRulesResponse listEtChannelRouteRules(ListEtChannelRouteRulesRequest request)
Return a list of ET route rules.- 返回:
- The response containing a list of ET route rules.
-
updateEtChannelRouteRule
public void updateEtChannelRouteRule(UpdateEtChannelRouteRuleRequest request)
Update an ET channel route rule's description.- 参数:
request- The request containing all options for updating an ET channel route rule.
-
deleteEtRouteRule
public void deleteEtRouteRule(EtChannelRouteRuleIdRequest request)
Delete the ET channel route rule.- 参数:
request- – The request containing all options for deleting an ET channel route rule.
-
-