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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET