Struct google_compute1::api::HTTPHealthCheck[][src]

pub struct HTTPHealthCheck {
    pub host: Option<String>,
    pub port: Option<i32>,
    pub port_name: Option<String>,
    pub port_specification: Option<String>,
    pub proxy_header: Option<String>,
    pub request_path: 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

host: Option<String>

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

port: Option<i32>

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

port_name: Option<String>

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

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, HTTP health check follows behavior specified in port and portName fields.

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.

request_path: Option<String>

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

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 Clone for HTTPHealthCheck[src]

impl Debug for HTTPHealthCheck[src]

impl Default for HTTPHealthCheck[src]

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

impl Part for HTTPHealthCheck[src]

impl Serialize for HTTPHealthCheck[src]

Auto Trait Implementations

impl RefUnwindSafe for HTTPHealthCheck[src]

impl Send for HTTPHealthCheck[src]

impl Sync for HTTPHealthCheck[src]

impl Unpin for HTTPHealthCheck[src]

impl UnwindSafe for HTTPHealthCheck[src]

Blanket Implementations

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

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

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

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

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

impl<T> Instrument 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 = Infallible

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.