Dela via


ArmSqlModelFactory.ManagedInstanceEndpointDependency Method

Definition

Initializes a new instance of ManagedInstanceEndpointDependency.

public static Azure.ResourceManager.Sql.Models.ManagedInstanceEndpointDependency ManagedInstanceEndpointDependency (string domainName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.ManagedInstanceEndpointDetail> endpointDetails = default);
static member ManagedInstanceEndpointDependency : string * seq<Azure.ResourceManager.Sql.Models.ManagedInstanceEndpointDetail> -> Azure.ResourceManager.Sql.Models.ManagedInstanceEndpointDependency
Public Shared Function ManagedInstanceEndpointDependency (Optional domainName As String = Nothing, Optional endpointDetails As IEnumerable(Of ManagedInstanceEndpointDetail) = Nothing) As ManagedInstanceEndpointDependency

Parameters

domainName
String

The domain name of the dependency.

endpointDetails
IEnumerable<ManagedInstanceEndpointDetail>

The IP Addresses and Ports used when connecting to DomainName.

Returns

A new ManagedInstanceEndpointDependency instance for mocking.

Applies to