Reference documentation and code samples for the Compute Engine v1 API enum TCPHealthCheck.Types.PortSpecification.
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."],[[["The latest version of the Google.Cloud.Compute.V1 API is 3.6.0, with multiple previous versions available for reference, ranging from 1.0.0 to 3.5.0."],["The documentation covers the `PortSpecification` enum within the `TCPHealthCheck.Types` class of the Google Cloud Compute Engine v1 API."],["The `PortSpecification` enum defines how the port is selected for TCP health checks, with options including `UseFixedPort`, `UseNamedPort`, and `UseServingPort`."],["The `UndefinedPortSpecification` field indicates when the enum field is not set."],["The content is under version 2.2.0."]]],[]]