ContainerGroupIPAddress Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.