ArmNetworkModelFactory.ConnectivityContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.