@property<EOL><INDENT>def ports(self):<DEDENT>
return self._ports<EOL>
Gets the ports of this V1ServiceSpec.
The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies

:return: The ports of this V1ServiceSpec.
:rtype: list[V1ServicePort]