[][src]Struct google_compute1::HTTP2HealthCheck

pub struct HTTP2HealthCheck {
    pub port: Option<i32>,
    pub host: Option<String>,
    pub request_path: Option<String>,
    pub port_name: Option<String>,
    pub proxy_header: Option<String>,
    pub port_specification: Option<String>,
    pub response: Option<String>,
}

There is no detailed description.

This type is not used in any activity, and only used as part of another schema.

Fields

port: Option<i32>

The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.

host: Option<String>

The value of the host header in the HTTP/2 health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.

request_path: Option<String>

The request path of the HTTP/2 health check request. The default value is /.

port_name: Option<String>

Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.

proxy_header: Option<String>

Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.

port_specification: Option<String>

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.

response: Option<String>

The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.

Trait Implementations

impl Part for HTTP2HealthCheck[src]

impl Clone for HTTP2HealthCheck[src]

impl Default for HTTP2HealthCheck[src]

impl Debug for HTTP2HealthCheck[src]

impl Serialize for HTTP2HealthCheck[src]

impl<'de> Deserialize<'de> for HTTP2HealthCheck[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]