Compute Engine v1 API - Enum HTTP2HealthCheck.Types.PortSpecification (2.2.0)

public enum PortSpecification

Reference documentation and code samples for the Compute Engine v1 API enum HTTP2HealthCheck.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, HTTP2 health check follows behavior specified in port and portName fields.

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Fields

NameDescription
UndefinedPortSpecification

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.