类 ProbeClient

    • 构造器详细资料

      • ProbeClient

        public ProbeClient()
        Constructs a new client to invoke service methods on Probe.
      • ProbeClient

        public ProbeClient​(BceClientConfiguration clientConfiguration)
        Constructs a new Probe client using the client configuration to access Probe.
        参数:
        clientConfiguration - The Probe client configuration options controlling how this client connects to Probe (e.g. proxy settings, retry counts, etc).
    • 方法详细资料

      • createProbe

        public CreateProbeResponse createProbe​(CreateProbeRequest request)
                                        throws BceClientException
        Create a Probe with the specified options. You must fill the field of clientToken,which is especially for keeping idempotent.

        参数:
        request - The request containing all options for creating a probe.
        返回:
        probeId newly created
        抛出:
        BceClientException
      • listProbes

        public ListProbeResponse listProbes()
        Return a list of probes owned by the authenticated user.
        返回:
        The response containing a list of probes owned by the authenticated user.
      • listProbes

        public ListProbeResponse listProbes​(ListProbeRequest request)
        Return a list of probes owned by the authenticated user.
        参数:
        request - The request containing all options for listing own's probe.
        返回:
        The response containing a list of probes owned by the authenticated user.
      • getProbe

        public GetProbeResponse getProbe​(String probeId)
        Get the detail information of specified probe.
        参数:
        probeId - The id of the probe.
        返回:
        A probe detail model for the probe.
      • updateProbe

        public void updateProbe​(UpdateProbeRequest request)
        update probe info
        参数:
        request - you can update :name、description、destIp、destPort
      • deleteProbe

        public void deleteProbe​(String probeId)
        Delete the specified probe owned by the user.
        参数:
        probeId - The id of the vpc probe delete.
      • deleteProbe

        public void deleteProbe​(String probeId,
                                String clientToken)