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 content provides a comprehensive list of versions for `Google.Cloud.Compute.V1.TCPHealthCheck.Types.PortSpecification`, ranging from version 1.0.0 up to the latest version 3.6.0."],["The `PortSpecification` enum allows you to define how a port is chosen for health checks, including options to use a fixed port, a named port, or the serving port."],["The enum includes `UseFixedPort`, `UseNamedPort`, and `UseServingPort`, which each determines where the health check port will be retrieved from."],["The `UndefinedPortSpecification` field in the enum indicates when the port specification field has not been set or is not available."],["The namespace related to the `PortSpecification` enum is `Google.Cloud.Compute.V1`, and it's part of the `Google.Cloud.Compute.V1.dll` assembly."]]],[]]