updateProbe
inline suspend fun NetworkMonitorClient.updateProbe(crossinline block: UpdateProbeRequest.Builder.() -> Unit): UpdateProbeResponse
Updates a monitor probe. This action requires both the monitorName
and probeId
parameters. Run ListMonitors
to get a list of monitor names. Run GetMonitor
to get a list of probes and probe IDs.
You can update the following para create a monitor with probes using this command. For each probe, you define the following:
state
—The state of the probe.destination
— The target destination IP address for the probe.destinationPort
—Required only if the protocol isTCP
.protocol
—The communication protocol between the source and destination. This will be eitherTCP
orICMP
.packetSize
—The size of the packets. This must be a number between56
and8500
.(Optional)
tags
—Key-value pairs created and assigned to the probe.