Class ConnectionMonitorResultProperties
java.lang.Object
com.azure.resourcemanager.network.fluent.models.ConnectionMonitorParameters
com.azure.resourcemanager.network.fluent.models.ConnectionMonitorResultProperties
Describes the properties of a connection monitor.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ConnectionMonitorResultProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the connectionMonitorType property: Type of connection monitor.Get the monitoringStatus property: The monitoring status of the connection monitor.Get the provisioningState property: The provisioning state of the connection monitor.Get the startTime property: The date and time when the connection monitor was started.voidvalidate()Validates the instance.withAutoStart(Boolean autoStart) Set the autoStart property: Determines if the connection monitor will start automatically once created.withDestination(ConnectionMonitorDestination destination) Set the destination property: Describes the destination of connection monitor.withEndpoints(List<ConnectionMonitorEndpoint> endpoints) Set the endpoints property: List of connection monitor endpoints.withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds) Set the monitoringIntervalInSeconds property: Monitoring interval in seconds.Set the notes property: Optional notes to be associated with the connection monitor.withOutputs(List<ConnectionMonitorOutput> outputs) Set the outputs property: List of connection monitor outputs.withSource(ConnectionMonitorSource source) Set the source property: Describes the source of connection monitor.withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations) Set the testConfigurations property: List of connection monitor test configurations.withTestGroups(List<ConnectionMonitorTestGroup> testGroups) Set the testGroups property: List of connection monitor test groups.Methods inherited from class com.azure.resourcemanager.network.fluent.models.ConnectionMonitorParameters
autoStart, destination, endpoints, monitoringIntervalInSeconds, notes, outputs, source, testConfigurations, testGroups
-
Constructor Details
-
ConnectionMonitorResultProperties
public ConnectionMonitorResultProperties()Creates an instance of ConnectionMonitorResultProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: The provisioning state of the connection monitor.- Returns:
- the provisioningState value.
-
startTime
Get the startTime property: The date and time when the connection monitor was started.- Returns:
- the startTime value.
-
monitoringStatus
Get the monitoringStatus property: The monitoring status of the connection monitor.- Returns:
- the monitoringStatus value.
-
connectionMonitorType
Get the connectionMonitorType property: Type of connection monitor.- Returns:
- the connectionMonitorType value.
-
withSource
Set the source property: Describes the source of connection monitor.- Overrides:
withSourcein classConnectionMonitorParameters- Parameters:
source- the source value to set.- Returns:
- the ConnectionMonitorParameters object itself.
-
withDestination
Set the destination property: Describes the destination of connection monitor.- Overrides:
withDestinationin classConnectionMonitorParameters- Parameters:
destination- the destination value to set.- Returns:
- the ConnectionMonitorParameters object itself.
-
withAutoStart
Set the autoStart property: Determines if the connection monitor will start automatically once created.- Overrides:
withAutoStartin classConnectionMonitorParameters- Parameters:
autoStart- the autoStart value to set.- Returns:
- the ConnectionMonitorParameters object itself.
-
withMonitoringIntervalInSeconds
public ConnectionMonitorResultProperties withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds) Set the monitoringIntervalInSeconds property: Monitoring interval in seconds.- Overrides:
withMonitoringIntervalInSecondsin classConnectionMonitorParameters- Parameters:
monitoringIntervalInSeconds- the monitoringIntervalInSeconds value to set.- Returns:
- the ConnectionMonitorParameters object itself.
-
withEndpoints
Set the endpoints property: List of connection monitor endpoints.- Overrides:
withEndpointsin classConnectionMonitorParameters- Parameters:
endpoints- the endpoints value to set.- Returns:
- the ConnectionMonitorParameters object itself.
-
withTestConfigurations
public ConnectionMonitorResultProperties withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations) Set the testConfigurations property: List of connection monitor test configurations.- Overrides:
withTestConfigurationsin classConnectionMonitorParameters- Parameters:
testConfigurations- the testConfigurations value to set.- Returns:
- the ConnectionMonitorParameters object itself.
-
withTestGroups
public ConnectionMonitorResultProperties withTestGroups(List<ConnectionMonitorTestGroup> testGroups) Set the testGroups property: List of connection monitor test groups.- Overrides:
withTestGroupsin classConnectionMonitorParameters- Parameters:
testGroups- the testGroups value to set.- Returns:
- the ConnectionMonitorParameters object itself.
-
withOutputs
Set the outputs property: List of connection monitor outputs.- Overrides:
withOutputsin classConnectionMonitorParameters- Parameters:
outputs- the outputs value to set.- Returns:
- the ConnectionMonitorParameters object itself.
-
withNotes
Set the notes property: Optional notes to be associated with the connection monitor.- Overrides:
withNotesin classConnectionMonitorParameters- Parameters:
notes- the notes value to set.- Returns:
- the ConnectionMonitorParameters object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classConnectionMonitorParameters- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-