public class ConnectionMonitorResultInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
ConnectionMonitorResultInner() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
autoStart()
Get the autoStart property: Determines if the connection monitor will start automatically once created.
|
ConnectionMonitorType |
connectionMonitorType()
Get the connectionMonitorType property: Type of connection monitor.
|
ConnectionMonitorDestination |
destination()
Get the destination property: Describes the destination of connection monitor.
|
List<ConnectionMonitorEndpoint> |
endpoints()
Get the endpoints property: List of connection monitor endpoints.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
Integer |
monitoringIntervalInSeconds()
Get the monitoringIntervalInSeconds property: Monitoring interval in seconds.
|
String |
monitoringStatus()
Get the monitoringStatus property: The monitoring status of the connection monitor.
|
String |
notes()
Get the notes property: Optional notes to be associated with the connection monitor.
|
List<ConnectionMonitorOutput> |
outputs()
Get the outputs property: List of connection monitor outputs.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the connection monitor.
|
ConnectionMonitorSource |
source()
Get the source property: Describes the source of connection monitor.
|
OffsetDateTime |
startTime()
Get the startTime property: The date and time when the connection monitor was started.
|
List<ConnectionMonitorTestConfiguration> |
testConfigurations()
Get the testConfigurations property: List of connection monitor test configurations.
|
List<ConnectionMonitorTestGroup> |
testGroups()
Get the testGroups property: List of connection monitor test groups.
|
void |
validate()
Validates the instance.
|
ConnectionMonitorResultInner |
withAutoStart(Boolean autoStart)
Set the autoStart property: Determines if the connection monitor will start automatically once created.
|
ConnectionMonitorResultInner |
withDestination(ConnectionMonitorDestination destination)
Set the destination property: Describes the destination of connection monitor.
|
ConnectionMonitorResultInner |
withEndpoints(List<ConnectionMonitorEndpoint> endpoints)
Set the endpoints property: List of connection monitor endpoints.
|
ConnectionMonitorResultInner |
withLocation(String location) |
ConnectionMonitorResultInner |
withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)
Set the monitoringIntervalInSeconds property: Monitoring interval in seconds.
|
ConnectionMonitorResultInner |
withNotes(String notes)
Set the notes property: Optional notes to be associated with the connection monitor.
|
ConnectionMonitorResultInner |
withOutputs(List<ConnectionMonitorOutput> outputs)
Set the outputs property: List of connection monitor outputs.
|
ConnectionMonitorResultInner |
withSource(ConnectionMonitorSource source)
Set the source property: Describes the source of connection monitor.
|
ConnectionMonitorResultInner |
withTags(Map<String,String> tags) |
ConnectionMonitorResultInner |
withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)
Set the testConfigurations property: List of connection monitor test configurations.
|
ConnectionMonitorResultInner |
withTestGroups(List<ConnectionMonitorTestGroup> testGroups)
Set the testGroups property: List of connection monitor test groups.
|
public String etag()
public ConnectionMonitorSource source()
public ConnectionMonitorResultInner withSource(ConnectionMonitorSource source)
source - the source value to set.public ConnectionMonitorDestination destination()
public ConnectionMonitorResultInner withDestination(ConnectionMonitorDestination destination)
destination - the destination value to set.public Boolean autoStart()
public ConnectionMonitorResultInner withAutoStart(Boolean autoStart)
autoStart - the autoStart value to set.public Integer monitoringIntervalInSeconds()
public ConnectionMonitorResultInner withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)
monitoringIntervalInSeconds - the monitoringIntervalInSeconds value to set.public List<ConnectionMonitorEndpoint> endpoints()
public ConnectionMonitorResultInner withEndpoints(List<ConnectionMonitorEndpoint> endpoints)
endpoints - the endpoints value to set.public List<ConnectionMonitorTestConfiguration> testConfigurations()
public ConnectionMonitorResultInner withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)
testConfigurations - the testConfigurations value to set.public List<ConnectionMonitorTestGroup> testGroups()
public ConnectionMonitorResultInner withTestGroups(List<ConnectionMonitorTestGroup> testGroups)
testGroups - the testGroups value to set.public List<ConnectionMonitorOutput> outputs()
public ConnectionMonitorResultInner withOutputs(List<ConnectionMonitorOutput> outputs)
outputs - the outputs value to set.public String notes()
public ConnectionMonitorResultInner withNotes(String notes)
notes - the notes value to set.public ProvisioningState provisioningState()
public OffsetDateTime startTime()
public String monitoringStatus()
public ConnectionMonitorType connectionMonitorType()
public ConnectionMonitorResultInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic ConnectionMonitorResultInner withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.