Freigeben über


ArmPeeringModelFactory.ConnectionMonitorTestData Methode

Definition

Initialisiert eine neue instance von 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

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemDaten.

sourceAgent
String

Der Verbindungsmonitor Testquell-Agent.

destination
String

Das Verbindungsmonitor Testziel.

destinationPort
Nullable<Int32>

Der Verbindungsmonitor Testzielports.

testFrequencyInSec
Nullable<Int32>

Die Verbindungsmonitor Testhäufigkeit in Sekunden.

isTestSuccessful
Nullable<Boolean>

Das Flag, das angibt, ob der Verbindungsmonitor Test erfolgreich ist oder nicht.

path
IEnumerable<String>

Der Pfad, der den Verbindungsmonitor-Test darstellt.

provisioningState
Nullable<PeeringProvisioningState>

Der Bereitstellungsstatus der Ressource.

Gibt zurück

Eine neue ConnectionMonitorTestData instance zum Mocking.

Gilt für: