public Builder ports(List<ContainerPortArgs> ports) {
            return ports(Output.of(ports));
        }
@param ports List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default &#34;0.0.0.0&#34; address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/ContainerArgs.java