class Azure::ContainerInstance::Mgmt::V2020_11_01::Models::ContainerHttpGet
The container Http Get settings, for liveness or readiness probe
Attributes
http_headers[RW]
@return [HttpHeaders] The HTTP headers.
path[RW]
@return [String] The path to probe.
port[RW]
@return [Integer] The port number to probe.
scheme[RW]
@return [Scheme] The scheme. Possible values include: 'http', 'https'
Private Class Methods
mapper()
click to toggle source
Mapper for ContainerHttpGet
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_http_get.rb, line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContainerHttpGet', type: { name: 'Composite', class_name: 'ContainerHttpGet', model_properties: { path: { client_side_validation: true, required: false, serialized_name: 'path', type: { name: 'String' } }, port: { client_side_validation: true, required: true, serialized_name: 'port', type: { name: 'Number' } }, scheme: { client_side_validation: true, required: false, serialized_name: 'scheme', type: { name: 'String' } }, http_headers: { client_side_validation: true, required: false, serialized_name: 'httpHeaders', type: { name: 'Composite', class_name: 'HttpHeaders' } } } } } end