共用方式為


ArmContainerServiceModelFactory.ContainerServiceEndpointDependency Method

Definition

Initializes a new instance of ContainerServiceEndpointDependency.

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

Parameters

domainName
String

The domain name of the dependency.

endpointDetails
IEnumerable<ContainerServiceEndpointDetail>

The Ports and Protocols used when connecting to domainName.

Returns

A new ContainerServiceEndpointDependency instance for mocking.

Applies to