Udostępnij za pośrednictwem


ArmNetworkModelFactory.ConnectionMonitorQueryResult Method

Definition

Initializes a new instance of ConnectionMonitorQueryResult.

public static Azure.ResourceManager.Network.Models.ConnectionMonitorQueryResult ConnectionMonitorQueryResult (Azure.ResourceManager.Network.Models.ConnectionMonitorSourceStatus? sourceStatus = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ConnectionStateSnapshot> states = default);
static member ConnectionMonitorQueryResult : Nullable<Azure.ResourceManager.Network.Models.ConnectionMonitorSourceStatus> * seq<Azure.ResourceManager.Network.Models.ConnectionStateSnapshot> -> Azure.ResourceManager.Network.Models.ConnectionMonitorQueryResult
Public Shared Function ConnectionMonitorQueryResult (Optional sourceStatus As Nullable(Of ConnectionMonitorSourceStatus) = Nothing, Optional states As IEnumerable(Of ConnectionStateSnapshot) = Nothing) As ConnectionMonitorQueryResult

Parameters

sourceStatus
Nullable<ConnectionMonitorSourceStatus>

Status of connection monitor source.

states
IEnumerable<ConnectionStateSnapshot>

Information about connection states.

Returns

A new ConnectionMonitorQueryResult instance for mocking.

Applies to