class Azure::Network::Mgmt::V2017_03_01::Models::ApplicationGatewayProbe

Probe of the application gateway.

Attributes

etag[RW]

@return [String] A unique read-only string that changes whenever the resource is updated.

host[RW]

@return [String] Host name to send the probe to.

interval[RW]

@return [Integer] The probing interval in seconds. This is the time interval between two consecutive probes. Acceptable values are from 1 second to 86400 seconds.

name[RW]

@return [String] Name of the resource that is unique within a resource group. This name can be used to access the resource.

path[RW]

@return [String] Relative path of probe. Valid path starts from '/'. Probe is sent to <Protocol>://<host>:<port><path>

protocol[RW]

@return [ApplicationGatewayProtocol] Protocol. Possible values include: 'Http', 'Https'

provisioning_state[RW]

@return [String] Provisioning state of the backend http settings resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.

timeout[RW]

@return [Integer] the probe timeout in seconds. Probe marked as failed if valid response is not received with this timeout period. Acceptable values are from 1 second to 86400 seconds.

unhealthy_threshold[RW]

@return [Integer] The probe retry count. Backend server is marked down after consecutive probe failure count reaches UnhealthyThreshold. Acceptable values are from 1 second to 20.

Public Class Methods

mapper() click to toggle source

Mapper for ApplicationGatewayProbe class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_probe.rb, line 57
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewayProbe',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayProbe',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        protocol: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.protocol',
          type: {
            name: 'String'
          }
        },
        host: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.host',
          type: {
            name: 'String'
          }
        },
        path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.path',
          type: {
            name: 'String'
          }
        },
        interval: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.interval',
          type: {
            name: 'Number'
          }
        },
        timeout: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.timeout',
          type: {
            name: 'Number'
          }
        },
        unhealthy_threshold: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.unhealthyThreshold',
          type: {
            name: 'Number'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end