Udostępnij za pośrednictwem


ArmApiManagementModelFactory.NetworkStatusContract Method

Definition

Initializes a new instance of NetworkStatusContract.

public static Azure.ResourceManager.ApiManagement.Models.NetworkStatusContract NetworkStatusContract (System.Collections.Generic.IEnumerable<string> dnsServers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ApiManagement.Models.ConnectivityStatusContract> connectivityStatus = default);
static member NetworkStatusContract : seq<string> * seq<Azure.ResourceManager.ApiManagement.Models.ConnectivityStatusContract> -> Azure.ResourceManager.ApiManagement.Models.NetworkStatusContract
Public Shared Function NetworkStatusContract (Optional dnsServers As IEnumerable(Of String) = Nothing, Optional connectivityStatus As IEnumerable(Of ConnectivityStatusContract) = Nothing) As NetworkStatusContract

Parameters

dnsServers
IEnumerable<String>

Gets the list of DNS servers IPV4 addresses.

connectivityStatus
IEnumerable<ConnectivityStatusContract>

Gets the list of Connectivity Status to the Resources on which the service depends upon.

Returns

A new NetworkStatusContract instance for mocking.

Applies to