Struct google_compute1::api::SSLHealthCheck[][src]

pub struct SSLHealthCheck {
    pub port: Option<i32>,
    pub port_name: Option<String>,
    pub port_specification: Option<String>,
    pub proxy_header: Option<String>,
    pub request: 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.

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, SSL 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: Option<String>

The application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.

response: Option<String>

The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.

Trait Implementations

impl Clone for SSLHealthCheck[src]

impl Debug for SSLHealthCheck[src]

impl Default for SSLHealthCheck[src]

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

impl Part for SSLHealthCheck[src]

impl Serialize for SSLHealthCheck[src]

Auto Trait Implementations

impl RefUnwindSafe for SSLHealthCheck[src]

impl Send for SSLHealthCheck[src]

impl Sync for SSLHealthCheck[src]

impl Unpin for SSLHealthCheck[src]

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