ArmNetworkModelFactory.ConnectionMonitorContent Method

Definition

public static Azure.ResourceManager.Network.Models.ConnectionMonitorContent ConnectionMonitorContent(Azure.ResourceManager.Network.Models.ConnectionMonitorSource source = default, Azure.ResourceManager.Network.Models.ConnectionMonitorDestination destination = default, bool? autoStart = default, int? monitoringIntervalInSeconds = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ConnectionMonitorEndpoint> endpoints = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ConnectionMonitorTestConfiguration> testConfigurations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ConnectionMonitorTestGroup> testGroups = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ConnectionMonitorOutput> outputs = default, string notes = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member ConnectionMonitorContent : Azure.ResourceManager.Network.Models.ConnectionMonitorSource * Azure.ResourceManager.Network.Models.ConnectionMonitorDestination * Nullable<bool> * Nullable<int> * seq<Azure.ResourceManager.Network.Models.ConnectionMonitorEndpoint> * seq<Azure.ResourceManager.Network.Models.ConnectionMonitorTestConfiguration> * seq<Azure.ResourceManager.Network.Models.ConnectionMonitorTestGroup> * seq<Azure.ResourceManager.Network.Models.ConnectionMonitorOutput> * string * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.Network.Models.ConnectionMonitorContent
Public Shared Function ConnectionMonitorContent (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 IEnumerable(Of ConnectionMonitorEndpoint) = Nothing, Optional testConfigurations As IEnumerable(Of ConnectionMonitorTestConfiguration) = Nothing, Optional testGroups As IEnumerable(Of ConnectionMonitorTestGroup) = Nothing, Optional outputs As IEnumerable(Of ConnectionMonitorOutput) = Nothing, Optional notes As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As ConnectionMonitorContent

Parameters

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
IEnumerable<ConnectionMonitorEndpoint>

List of connection monitor endpoints.

testConfigurations
IEnumerable<ConnectionMonitorTestConfiguration>

List of connection monitor test configurations.

testGroups
IEnumerable<ConnectionMonitorTestGroup>

List of connection monitor test groups.

outputs
IEnumerable<ConnectionMonitorOutput>

List of connection monitor outputs.

notes
String

Optional notes to be associated with the connection monitor.

location
Nullable<AzureLocation>

Gets or sets the Location.

tags
IDictionary<String,String>

Gets the Tags.

Returns

A new ConnectionMonitorContent instance for mocking.

Applies to