Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, TCP health check follows behavior specified in port and portName fields.
A value indicating that the enum field is not set.
UseFixedPort
The port number in port is used for health checking.
UseNamedPort
The portName is used for health checking.
UseServingPort
For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["This webpage provides documentation for the `PortSpecification` enum within the `Google.Cloud.Compute.V1` namespace, detailing its usage in TCP health checks."],["The `PortSpecification` enum offers options for defining how a port is selected for health checks, including `USE_FIXED_PORT`, `USE_NAMED_PORT`, and `USE_SERVING_PORT`."],["The latest version documented is 3.6.0, with a comprehensive list of previous versions ranging from 3.5.0 down to 1.0.0, showing the evolution of this documentation."],["There is a corresponding description for each of the possible port specifications: `UseFixedPort` uses the specified port number, `UseNamedPort` uses the given port name, and `UseServingPort` uses the port specified for the endpoints or the backend service."],["The documentation also includes an `UndefinedPortSpecification` field, indicating when the enum field has not been set to a specific value."]]],[]]