Partager via


ArmPeeringModelFactory.ConnectionMonitorTestData Méthode

Définition

Initialise une nouvelle instance de 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

Paramètres

name
String

Nom.

resourceType
ResourceType

ResourceType.

systemData
SystemData

SystemData.

sourceAgent
String

Agent source de test Moniteur de connexion.

destination
String

Destination de test Moniteur de connexion.

destinationPort
Nullable<Int32>

Port de destination de test Moniteur de connexion.

testFrequencyInSec
Nullable<Int32>

La fréquence de test Moniteur de connexion en secondes.

isTestSuccessful
Nullable<Boolean>

Indicateur qui indique si le test Moniteur de connexion réussit ou non.

path
IEnumerable<String>

Chemin d’accès représentant le test Moniteur de connexion.

provisioningState
Nullable<PeeringProvisioningState>

État d’approvisionnement de la ressource.

Retours

Une nouvelle ConnectionMonitorTestData instance de moqueries.

S’applique à