MonitorConfig Class
- java.
lang. Object - com.
microsoft. azure. management. trafficmanager. MonitorConfig
- com.
public class MonitorConfig
Class containing endpoint monitoring settings in a Traffic Manager profile.
Method Summary
Method Details
intervalInSeconds
public Long intervalInSeconds()
Get the intervalInSeconds value.
Returns:
path
public String path()
Get the path value.
Returns:
port
public Long port()
Get the port value.
Returns:
profileMonitorStatus
public ProfileMonitorStatus profileMonitorStatus()
Get the profileMonitorStatus value.
Returns:
protocol
public MonitorProtocol protocol()
Get the protocol value.
Returns:
timeoutInSeconds
public Long timeoutInSeconds()
Get the timeoutInSeconds value.
Returns:
toleratedNumberOfFailures
public Long toleratedNumberOfFailures()
Get the toleratedNumberOfFailures value.
Returns:
withIntervalInSeconds
public MonitorConfig withIntervalInSeconds(Long intervalInSeconds)
Set the intervalInSeconds value.
Parameters:
Returns:
withPath
public MonitorConfig withPath(String path)
Set the path value.
Parameters:
Returns:
withPort
public MonitorConfig withPort(Long port)
Set the port value.
Parameters:
Returns:
withProfileMonitorStatus
public MonitorConfig withProfileMonitorStatus(ProfileMonitorStatus profileMonitorStatus)
Set the profileMonitorStatus value.
Parameters:
Returns:
withProtocol
public MonitorConfig withProtocol(MonitorProtocol protocol)
Set the protocol value.
Parameters:
Returns:
withTimeoutInSeconds
public MonitorConfig withTimeoutInSeconds(Long timeoutInSeconds)
Set the timeoutInSeconds value.
Parameters:
Returns:
withToleratedNumberOfFailures
public MonitorConfig withToleratedNumberOfFailures(Long toleratedNumberOfFailures)
Set the toleratedNumberOfFailures value.
Parameters:
Returns:
Applies to
Azure SDK for Java