class Azure::CDN::Mgmt::V2020_04_15::Models::HealthProbeParameters

The JSON object that contains the properties to send health probes to origin.

Attributes

probe_interval_in_seconds[RW]

@return [Integer] The number of seconds between health probes.Default is 240sec.

probe_path[RW]

@return [String] The path relative to the origin that is used to determine the health of the origin.

probe_protocol[RW]

@return [ProbeProtocol] Protocol to use for health probe. Possible values include: 'NotSet', 'Http', 'Https'

probe_request_type[RW]

@return [HealthProbeRequestType] The type of health probe request that is made. Possible values include: 'NotSet', 'GET', 'HEAD'

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-04-15/generated/azure_mgmt_cdn/models/health_probe_parameters.rb, line 37
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'HealthProbeParameters',
    type: {
      name: 'Composite',
      class_name: 'HealthProbeParameters',
      model_properties: {
        probe_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'probePath',
          type: {
            name: 'String'
          }
        },
        probe_request_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'probeRequestType',
          type: {
            name: 'Enum',
            module: 'HealthProbeRequestType'
          }
        },
        probe_protocol: {
          client_side_validation: true,
          required: false,
          serialized_name: 'probeProtocol',
          type: {
            name: 'Enum',
            module: 'ProbeProtocol'
          }
        },
        probe_interval_in_seconds: {
          client_side_validation: true,
          required: false,
          serialized_name: 'probeIntervalInSeconds',
          constraints: {
            InclusiveMaximum: 255,
            InclusiveMinimum: 1
          },
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end