共用方式為


ConnectionMonitor Constructors

Definition

Overloads

ConnectionMonitor()

Initializes a new instance of the ConnectionMonitor class.

ConnectionMonitor(String, IDictionary<String,String>, ConnectionMonitorSource, ConnectionMonitorDestination, Nullable<Boolean>, Nullable<Int32>, IList<ConnectionMonitorEndpoint>, IList<ConnectionMonitorTestConfiguration>, IList<ConnectionMonitorTestGroup>, IList<ConnectionMonitorOutput>, String)

Initializes a new instance of the ConnectionMonitor class.

ConnectionMonitor()

Initializes a new instance of the ConnectionMonitor class.

public ConnectionMonitor ();
Public Sub New ()

Applies to

ConnectionMonitor(String, IDictionary<String,String>, ConnectionMonitorSource, ConnectionMonitorDestination, Nullable<Boolean>, Nullable<Int32>, IList<ConnectionMonitorEndpoint>, IList<ConnectionMonitorTestConfiguration>, IList<ConnectionMonitorTestGroup>, IList<ConnectionMonitorOutput>, String)

Initializes a new instance of the ConnectionMonitor class.

public ConnectionMonitor (string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Network.Models.ConnectionMonitorSource source = default, Microsoft.Azure.Management.Network.Models.ConnectionMonitorDestination destination = default, bool? autoStart = default, int? monitoringIntervalInSeconds = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ConnectionMonitorEndpoint> endpoints = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ConnectionMonitorTestConfiguration> testConfigurations = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ConnectionMonitorTestGroup> testGroups = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ConnectionMonitorOutput> outputs = default, string notes = default);
new Microsoft.Azure.Management.Network.Models.ConnectionMonitor : string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Network.Models.ConnectionMonitorSource * Microsoft.Azure.Management.Network.Models.ConnectionMonitorDestination * Nullable<bool> * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ConnectionMonitorEndpoint> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ConnectionMonitorTestConfiguration> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ConnectionMonitorTestGroup> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ConnectionMonitorOutput> * string -> Microsoft.Azure.Management.Network.Models.ConnectionMonitor
Public Sub New (Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional source As ConnectionMonitorSource = Nothing, Optional destination As ConnectionMonitorDestination = Nothing, Optional autoStart As Nullable(Of Boolean) = Nothing, Optional monitoringIntervalInSeconds As Nullable(Of Integer) = Nothing, Optional endpoints As IList(Of ConnectionMonitorEndpoint) = Nothing, Optional testConfigurations As IList(Of ConnectionMonitorTestConfiguration) = Nothing, Optional testGroups As IList(Of ConnectionMonitorTestGroup) = Nothing, Optional outputs As IList(Of ConnectionMonitorOutput) = Nothing, Optional notes As String = Nothing)

Parameters

location
String

Connection monitor location.

tags
IDictionary<String,String>

Connection monitor tags.

source
ConnectionMonitorSource

Describes the source of connection monitor.

destination
ConnectionMonitorDestination

Describes the destination of connection monitor.

autoStart
Nullable<Boolean>

Determines if the connection monitor will start automatically once created.

monitoringIntervalInSeconds
Nullable<Int32>

Monitoring interval in seconds.

endpoints
IList<ConnectionMonitorEndpoint>

List of connection monitor endpoints.

testConfigurations
IList<ConnectionMonitorTestConfiguration>

List of connection monitor test configurations.

testGroups
IList<ConnectionMonitorTestGroup>

List of connection monitor test groups.

outputs
IList<ConnectionMonitorOutput>

List of connection monitor outputs.

notes
String

Optional notes to be associated with the connection monitor.

Applies to