Sdílet prostřednictvím


ArmNetworkModelFactory.ConnectivityContent Method

Definition

Initializes a new instance of ConnectivityContent.

public static Azure.ResourceManager.Network.Models.ConnectivityContent ConnectivityContent (Azure.ResourceManager.Network.Models.ConnectivitySource source = default, Azure.ResourceManager.Network.Models.ConnectivityDestination destination = default, Azure.ResourceManager.Network.Models.NetworkWatcherProtocol? protocol = default, Azure.ResourceManager.Network.Models.NetworkHttpConfiguration httpProtocolConfiguration = default, Azure.ResourceManager.Network.Models.NetworkIPVersion? preferredIPVersion = default);
static member ConnectivityContent : Azure.ResourceManager.Network.Models.ConnectivitySource * Azure.ResourceManager.Network.Models.ConnectivityDestination * Nullable<Azure.ResourceManager.Network.Models.NetworkWatcherProtocol> * Azure.ResourceManager.Network.Models.NetworkHttpConfiguration * Nullable<Azure.ResourceManager.Network.Models.NetworkIPVersion> -> Azure.ResourceManager.Network.Models.ConnectivityContent
Public Shared Function ConnectivityContent (Optional source As ConnectivitySource = Nothing, Optional destination As ConnectivityDestination = Nothing, Optional protocol As Nullable(Of NetworkWatcherProtocol) = Nothing, Optional httpProtocolConfiguration As NetworkHttpConfiguration = Nothing, Optional preferredIPVersion As Nullable(Of NetworkIPVersion) = Nothing) As ConnectivityContent

Parameters

source
ConnectivitySource

The source of the connection.

destination
ConnectivityDestination

The destination of connection.

protocol
Nullable<NetworkWatcherProtocol>

Network protocol.

httpProtocolConfiguration
NetworkHttpConfiguration

Configuration of the protocol.

preferredIPVersion
Nullable<NetworkIPVersion>

Preferred IP version of the connection.

Returns

A new ConnectivityContent instance for mocking.

Applies to