class Azure::ContainerInstance::Mgmt::V2018_09_01::Models::ContainerExec
The container execution command, for liveness or readiness probe
Attributes
command[RW]
@return [Array<String>] The commands to execute within the container.
Public Class Methods
mapper()
click to toggle source
Mapper for ContainerExec
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec.rb, line 23 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContainerExec', type: { name: 'Composite', class_name: 'ContainerExec', model_properties: { command: { client_side_validation: true, required: false, serialized_name: 'command', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end