ConnectionMonitorResultInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. ConnectionMonitorResultInner
- com.
- com.
- com.
public final class ConnectionMonitorResultInner
extends Resource
Information about the connection monitor.
Constructor Summary
Constructor | Description |
---|---|
ConnectionMonitorResultInner() |
Creates an instance of Connection |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
autoStart()
Get the auto |
Connection |
connectionMonitorType()
Get the connection |
Connection |
destination()
Get the destination property: Describes the destination of connection monitor. |
List<Connection |
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. |
static
Connection |
fromJson(JsonReader jsonReader)
Reads an instance of Connection |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Integer |
monitoringIntervalInSeconds()
Get the monitoring |
String |
monitoringStatus()
Get the monitoring |
String |
name()
Get the name property: The name of the resource. |
String |
notes()
Get the notes property: Optional notes to be associated with the connection monitor. |
List<Connection |
outputs()
Get the outputs property: List of connection monitor outputs. |
Provisioning |
provisioningState()
Get the provisioning |
Connection |
source()
Get the source property: Describes the source of connection monitor. |
Offset |
startTime()
Get the start |
List<Connection |
testConfigurations()
Get the test |
List<Connection |
testGroups()
Get the test |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Connection |
withAutoStart(Boolean autoStart)
Set the auto |
Connection |
withDestination(ConnectionMonitorDestination destination)
Set the destination property: Describes the destination of connection monitor. |
Connection |
withEndpoints(List<ConnectionMonitorEndpoint> endpoints)
Set the endpoints property: List of connection monitor endpoints. |
Connection |
withLocation(String location) |
Connection |
withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)
Set the monitoring |
Connection |
withNotes(String notes)
Set the notes property: Optional notes to be associated with the connection monitor. |
Connection |
withOutputs(List<ConnectionMonitorOutput> outputs)
Set the outputs property: List of connection monitor outputs. |
Connection |
withSource(ConnectionMonitorSource source)
Set the source property: Describes the source of connection monitor. |
Connection |
withTags(Map<String,String> tags) |
Connection |
withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)
Set the test |
Connection |
withTestGroups(List<ConnectionMonitorTestGroup> testGroups)
Set the test |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ConnectionMonitorResultInner
public ConnectionMonitorResultInner()
Creates an instance of ConnectionMonitorResultInner class.
Method Details
autoStart
public Boolean autoStart()
Get the autoStart property: Determines if the connection monitor will start automatically once created.
Returns:
connectionMonitorType
public ConnectionMonitorType connectionMonitorType()
Get the connectionMonitorType property: Type of connection monitor.
Returns:
destination
public ConnectionMonitorDestination destination()
Get the destination property: Describes the destination of connection monitor.
Returns:
endpoints
public List
Get the endpoints property: List of connection monitor endpoints.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static ConnectionMonitorResultInner fromJson(JsonReader jsonReader)
Reads an instance of ConnectionMonitorResultInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ConnectionMonitorResultInner.id()Returns:
monitoringIntervalInSeconds
public Integer monitoringIntervalInSeconds()
Get the monitoringIntervalInSeconds property: Monitoring interval in seconds.
Returns:
monitoringStatus
public String monitoringStatus()
Get the monitoringStatus property: The monitoring status of the connection monitor.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ConnectionMonitorResultInner.name()Returns:
notes
public String notes()
Get the notes property: Optional notes to be associated with the connection monitor.
Returns:
outputs
public List
Get the outputs property: List of connection monitor outputs.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the connection monitor.
Returns:
source
public ConnectionMonitorSource source()
Get the source property: Describes the source of connection monitor.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: The date and time when the connection monitor was started.
Returns:
testConfigurations
public List
Get the testConfigurations property: List of connection monitor test configurations.
Returns:
testGroups
public List
Get the testGroups property: List of connection monitor test groups.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ConnectionMonitorResultInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ConnectionMonitorResultInner.type()Returns:
validate
public void validate()
Validates the instance.
withAutoStart
public ConnectionMonitorResultInner withAutoStart(Boolean autoStart)
Set the autoStart property: Determines if the connection monitor will start automatically once created.
Parameters:
Returns:
withDestination
public ConnectionMonitorResultInner withDestination(ConnectionMonitorDestination destination)
Set the destination property: Describes the destination of connection monitor.
Parameters:
Returns:
withEndpoints
public ConnectionMonitorResultInner withEndpoints(List
Set the endpoints property: List of connection monitor endpoints.
Parameters:
Returns:
withLocation
public ConnectionMonitorResultInner withLocation(String location)
Overrides:
ConnectionMonitorResultInner.withLocation(String location)Parameters:
withMonitoringIntervalInSeconds
public ConnectionMonitorResultInner withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)
Set the monitoringIntervalInSeconds property: Monitoring interval in seconds.
Parameters:
Returns:
withNotes
public ConnectionMonitorResultInner withNotes(String notes)
Set the notes property: Optional notes to be associated with the connection monitor.
Parameters:
Returns:
withOutputs
public ConnectionMonitorResultInner withOutputs(List
Set the outputs property: List of connection monitor outputs.
Parameters:
Returns:
withSource
public ConnectionMonitorResultInner withSource(ConnectionMonitorSource source)
Set the source property: Describes the source of connection monitor.
Parameters:
Returns:
withTags
public ConnectionMonitorResultInner withTags(Map
Overrides:
ConnectionMonitorResultInner.withTags(Map<String,String> tags)Parameters:
withTestConfigurations
public ConnectionMonitorResultInner withTestConfigurations(List
Set the testConfigurations property: List of connection monitor test configurations.
Parameters:
Returns:
withTestGroups
public ConnectionMonitorResultInner withTestGroups(List
Set the testGroups property: List of connection monitor test groups.
Parameters:
Returns:
Applies to
Azure SDK for Java