ParentT
- the stage of the parent definition to return to after attaching this definition@Beta(value=V1_8_0)
public static interface ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithPorts<ParentT>
ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithPortsOrContainerInstanceAttach<ParentT> withExternalTcpPorts(int... ports)
A public IP address will be create to allow external clients to reach the containers within the group. To enable external clients to reach a container within the group, you must expose the port on the IP address and from the container. Because containers within the group share a port namespace, port mapping is not supported.
ports
- array of TCP ports to be exposed externallyContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithPortsOrContainerInstanceAttach<ParentT> withExternalTcpPort(int port)
A public IP address will be create to allow external clients to reach the containers within the group. To enable external clients to reach a container within the group, you must expose the port on the IP address and from the container. Because containers within the group share a port namespace, port mapping is not supported.
port
- TCP port to be exposed externallyContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithPortsOrContainerInstanceAttach<ParentT> withExternalUdpPorts(int... ports)
A public IP address will be create to allow external clients to reach the containers within the group. To enable external clients to reach a container within the group, you must expose the port on the IP address and from the container. Because containers within the group share a port namespace, port mapping is not supported.
ports
- array of UDP ports to be exposed externallyContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithPortsOrContainerInstanceAttach<ParentT> withExternalUdpPort(int port)
A public IP address will be create to allow external clients to reach the containers within the group. To enable external clients to reach a container within the group, you must expose the port on the IP address and from the container. Because containers within the group share a port namespace, port mapping is not supported.
port
- UDP port to be exposed externally@Beta(value=V1_8_0) ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithPortsOrContainerInstanceAttach<ParentT> withInternalTcpPorts(int... ports)
Containers within a group can reach each other via localhost on the ports that they have exposed, even if those ports are not exposed externally on the group's IP address.
ports
- array of TCP ports to be exposed internally@Beta(value=V1_8_0) ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithPortsOrContainerInstanceAttach<ParentT> withInternalUdpPorts(int... ports)
Containers within a group can reach each other via localhost on the ports that they have exposed, even if those ports are not exposed externally on the group's IP address.
ports
- array of UDP ports to be exposed internally@Beta(value=V1_8_0) ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithPortsOrContainerInstanceAttach<ParentT> withInternalTcpPort(int port)
Containers within a group can reach each other via localhost on the ports that they have exposed, even if those ports are not exposed externally on the group's IP address.
port
- TCP port to be exposed internally@Beta(value=V1_8_0) ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithPortsOrContainerInstanceAttach<ParentT> withInternalUdpPort(int port)
Containers within a group can reach each other via localhost on the ports that they have exposed, even if those ports are not exposed externally on the group's IP address.
port
- UDP port to be exposed internallyCopyright © 2019. All rights reserved.