ArmApiManagementModelFactory.ConnectivityCheckContent Method

Definition

Initializes a new instance of ConnectivityCheckContent.

public static Azure.ResourceManager.ApiManagement.Models.ConnectivityCheckContent ConnectivityCheckContent (Azure.ResourceManager.ApiManagement.Models.ConnectivityCheckRequestSource source = default, Azure.ResourceManager.ApiManagement.Models.ConnectivityCheckRequestDestination destination = default, Azure.ResourceManager.ApiManagement.Models.PreferredIPVersion? preferredIPVersion = default, Azure.ResourceManager.ApiManagement.Models.ConnectivityCheckProtocol? protocol = default, Azure.ResourceManager.ApiManagement.Models.ConnectivityCheckRequestHttpConfiguration protocolHttpConfiguration = default);
static member ConnectivityCheckContent : Azure.ResourceManager.ApiManagement.Models.ConnectivityCheckRequestSource * Azure.ResourceManager.ApiManagement.Models.ConnectivityCheckRequestDestination * Nullable<Azure.ResourceManager.ApiManagement.Models.PreferredIPVersion> * Nullable<Azure.ResourceManager.ApiManagement.Models.ConnectivityCheckProtocol> * Azure.ResourceManager.ApiManagement.Models.ConnectivityCheckRequestHttpConfiguration -> Azure.ResourceManager.ApiManagement.Models.ConnectivityCheckContent
Public Shared Function ConnectivityCheckContent (Optional source As ConnectivityCheckRequestSource = Nothing, Optional destination As ConnectivityCheckRequestDestination = Nothing, Optional preferredIPVersion As Nullable(Of PreferredIPVersion) = Nothing, Optional protocol As Nullable(Of ConnectivityCheckProtocol) = Nothing, Optional protocolHttpConfiguration As ConnectivityCheckRequestHttpConfiguration = Nothing) As ConnectivityCheckContent

Parameters

source
ConnectivityCheckRequestSource

Definitions about the connectivity check origin.

destination
ConnectivityCheckRequestDestination

The connectivity check operation destination.

preferredIPVersion
Nullable<PreferredIPVersion>

The IP version to be used. Only IPv4 is supported for now.

protocol
Nullable<ConnectivityCheckProtocol>

The request's protocol. Specific protocol configuration can be available based on this selection. The specified destination address must be coherent with this value.

protocolHttpConfiguration
ConnectivityCheckRequestHttpConfiguration

Protocol-specific configuration.

Returns

A new ConnectivityCheckContent instance for mocking.

Applies to