ArmPeeringModelFactory.ConnectionMonitorTestData Method

Definition

Initializes a new instance of ConnectionMonitorTestData.

public static Azure.ResourceManager.Peering.ConnectionMonitorTestData ConnectionMonitorTestData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string sourceAgent = default, string destination = default, int? destinationPort = default, int? testFrequencyInSec = default, bool? isTestSuccessful = default, System.Collections.Generic.IEnumerable<string> path = default, Azure.ResourceManager.Peering.Models.PeeringProvisioningState? provisioningState = default);
static member ConnectionMonitorTestData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<int> * Nullable<int> * Nullable<bool> * seq<string> * Nullable<Azure.ResourceManager.Peering.Models.PeeringProvisioningState> -> Azure.ResourceManager.Peering.ConnectionMonitorTestData
Public Shared Function ConnectionMonitorTestData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional sourceAgent As String = Nothing, Optional destination As String = Nothing, Optional destinationPort As Nullable(Of Integer) = Nothing, Optional testFrequencyInSec As Nullable(Of Integer) = Nothing, Optional isTestSuccessful As Nullable(Of Boolean) = Nothing, Optional path As IEnumerable(Of String) = Nothing, Optional provisioningState As Nullable(Of PeeringProvisioningState) = Nothing) As ConnectionMonitorTestData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

sourceAgent
String

The Connection Monitor test source agent.

destination
String

The Connection Monitor test destination.

destinationPort
Nullable<Int32>

The Connection Monitor test destination port.

testFrequencyInSec
Nullable<Int32>

The Connection Monitor test frequency in seconds.

isTestSuccessful
Nullable<Boolean>

The flag that indicates if the Connection Monitor test is successful or not.

path
IEnumerable<String>

The path representing the Connection Monitor test.

provisioningState
Nullable<PeeringProvisioningState>

The provisioning state of the resource.

Returns

A new ConnectionMonitorTestData instance for mocking.

Applies to