类 EtClient


  • public class EtClient
    extends AbstractBceClient
    Provides the client for accessing the Baidu Cloud network Service Express Tunnel(ET).
    • 构造器详细资料

      • 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.
      • 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.