class Azure::ServiceFabric::V7_0_0_42::Models::Probe

Probes have a number of fields that you can use to control their behavior.

Attributes

exec[RW]

@return [ProbeExec] Exec command to run inside the container.

failure_threshold[RW]

@return [Integer] The count of failures after which probe is considered failed.

http_get[RW]

@return [ProbeHttpGet] Http probe for the container.

initial_delay_seconds[RW]

@return [Integer] The initial delay in seconds to start executing probe once code package has started.

period_seconds[RW]

@return [Integer] Periodic seconds to execute probe.

success_threshold[RW]

@return [Integer] The count of successful probe executions after which probe is considered success.

tcp_socket[RW]

@return [ProbeTcpSocket] Tcp port to probe inside the container.

timeout_seconds[RW]

@return [Integer] Period after which probe is considered as failed if it hasn't completed successfully.

Private Class Methods

mapper() click to toggle source

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

# File lib/7.0.0.42/generated/azure_service_fabric/models/probe.rb, line 49
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Probe',
    type: {
      name: 'Composite',
      class_name: 'Probe',
      model_properties: {
        initial_delay_seconds: {
          client_side_validation: true,
          required: false,
          serialized_name: 'initialDelaySeconds',
          type: {
            name: 'Number'
          }
        },
        period_seconds: {
          client_side_validation: true,
          required: false,
          serialized_name: 'periodSeconds',
          type: {
            name: 'Number'
          }
        },
        timeout_seconds: {
          client_side_validation: true,
          required: false,
          serialized_name: 'timeoutSeconds',
          type: {
            name: 'Number'
          }
        },
        success_threshold: {
          client_side_validation: true,
          required: false,
          serialized_name: 'successThreshold',
          type: {
            name: 'Number'
          }
        },
        failure_threshold: {
          client_side_validation: true,
          required: false,
          serialized_name: 'failureThreshold',
          type: {
            name: 'Number'
          }
        },
        exec: {
          client_side_validation: true,
          required: false,
          serialized_name: 'exec',
          type: {
            name: 'Composite',
            class_name: 'ProbeExec'
          }
        },
        http_get: {
          client_side_validation: true,
          required: false,
          serialized_name: 'httpGet',
          type: {
            name: 'Composite',
            class_name: 'ProbeHttpGet'
          }
        },
        tcp_socket: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tcpSocket',
          type: {
            name: 'Composite',
            class_name: 'ProbeTcpSocket'
          }
        }
      }
    }
  }
end