ArmNetworkModelFactory.ConnectionMonitorData Method

Definition

Initializes a new instance of ConnectionMonitorData.

public static Azure.ResourceManager.Network.ConnectionMonitorData ConnectionMonitorData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ETag? etag = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default, 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.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, DateTimeOffset? startOn = default, string monitoringStatus = default, Azure.ResourceManager.Network.Models.ConnectionMonitorType? connectionMonitorType = default);
static member ConnectionMonitorData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ETag> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IReadOnlyDictionary<string, string> * 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.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<DateTimeOffset> * string * Nullable<Azure.ResourceManager.Network.Models.ConnectionMonitorType> -> Azure.ResourceManager.Network.ConnectionMonitorData
Public Shared Function ConnectionMonitorData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IReadOnlyDictionary(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 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 provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional monitoringStatus As String = Nothing, Optional connectionMonitorType As Nullable(Of ConnectionMonitorType) = Nothing) As ConnectionMonitorData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

etag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

location
Nullable<AzureLocation>

Connection monitor location.

tags
IReadOnlyDictionary<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
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.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the connection monitor.

startOn
Nullable<DateTimeOffset>

The date and time when the connection monitor was started.

monitoringStatus
String

The monitoring status of the connection monitor.

connectionMonitorType
Nullable<ConnectionMonitorType>

Type of connection monitor.

Returns

A new ConnectionMonitorData instance for mocking.

Applies to