Struct google_compute1::api::HTTPSHealthCheck[][src]

pub struct HTTPSHealthCheck {
    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 HTTPS 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 443. 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, HTTPS 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 HTTPS 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 HTTPSHealthCheck[src]

impl Debug for HTTPSHealthCheck[src]

impl Default for HTTPSHealthCheck[src]

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

impl Part for HTTPSHealthCheck[src]

impl Serialize for HTTPSHealthCheck[src]

Auto Trait Implementations

impl RefUnwindSafe for HTTPSHealthCheck[src]

impl Send for HTTPSHealthCheck[src]

impl Sync for HTTPSHealthCheck[src]

impl Unpin for HTTPSHealthCheck[src]

impl UnwindSafe for HTTPSHealthCheck[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.