class Azure::ContainerInstance::Mgmt::V2020_11_01::Models::ContainerProbe
The container probe, for liveness or readiness
Attributes
exec[RW]
@return [ContainerExec] The execution command to probe
failure_threshold[RW]
@return [Integer] The failure threshold.
http_get[RW]
@return [ContainerHttpGet] The Http Get settings to probe
initial_delay_seconds[RW]
@return [Integer] The initial delay seconds.
period_seconds[RW]
@return [Integer] The period seconds.
success_threshold[RW]
@return [Integer] The success threshold.
timeout_seconds[RW]
@return [Integer] The timeout seconds.
Private Class Methods
mapper()
click to toggle source
Mapper for ContainerProbe
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_probe.rb, line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContainerProbe', type: { name: 'Composite', class_name: 'ContainerProbe', model_properties: { exec: { client_side_validation: true, required: false, serialized_name: 'exec', type: { name: 'Composite', class_name: 'ContainerExec' } }, http_get: { client_side_validation: true, required: false, serialized_name: 'httpGet', type: { name: 'Composite', class_name: 'ContainerHttpGet' } }, 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' } }, failure_threshold: { client_side_validation: true, required: false, serialized_name: 'failureThreshold', type: { name: 'Number' } }, success_threshold: { client_side_validation: true, required: false, serialized_name: 'successThreshold', type: { name: 'Number' } }, timeout_seconds: { client_side_validation: true, required: false, serialized_name: 'timeoutSeconds', type: { name: 'Number' } } } } } end