NSX-T Data Center REST API
ContainerServicePort (schema)
Details of service port
Specifices details of port exposed by service.
Name | Description | Type | Notes |
---|---|---|---|
name | Name of port Specifies name of port within the service. |
string | |
node_port | Node port of container application In case of Kubernetes container cluster, it is port on each node on which the service is exposed, when type of service is NodePort or LoadBalancer. |
integer | Minimum: 0 Maximum: 65535 |
port | Port of service Specifies port exposed by the service |
integer | Minimum: 0 Maximum: 65535 |
protocol | IP protocol of port Specifies IP protocol of the port. e.g. TCP, UDP, SCTP. |
string | Enum: TCP, UDP, SCTP |
target_port | Target port of service Specifies the number or name of port to access on container application instance by the container application. e.g. It is number or name of port to access of pod by service. |
string | Maximum length: 15 |