Share via


ContainerGroupIPAddress Constructor

Definition

Initializes a new instance of ContainerGroupIPAddress.

public ContainerGroupIPAddress (System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPort> ports, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupIPAddressType addressType);
new Azure.ResourceManager.ContainerInstance.Models.ContainerGroupIPAddress : seq<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPort> * Azure.ResourceManager.ContainerInstance.Models.ContainerGroupIPAddressType -> Azure.ResourceManager.ContainerInstance.Models.ContainerGroupIPAddress
Public Sub New (ports As IEnumerable(Of ContainerGroupPort), addressType As ContainerGroupIPAddressType)

Parameters

ports
IEnumerable<ContainerGroupPort>

The list of ports exposed on the container group.

addressType
ContainerGroupIPAddressType

Specifies if the IP is exposed to the public internet or private VNET.

Exceptions

ports is null.

Applies to