class Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerState
The container instance state.
Attributes
detail_status[RW]
@return [String] The human-readable status of the container instance state.
exit_code[RW]
@return [Integer] The container instance exit codes correspond to those from the `docker run` command.
finish_time[RW]
@return [DateTime] The date-time when the container instance state finished.
start_time[RW]
@return [DateTime] The date-time when the container instance state started.
state[RW]
@return [String] The state of the container instance.
Public Class Methods
mapper()
click to toggle source
Mapper for ContainerState
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_state.rb, line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContainerState', type: { name: 'Composite', class_name: 'ContainerState', model_properties: { state: { client_side_validation: true, required: false, serialized_name: 'state', type: { name: 'String' } }, start_time: { client_side_validation: true, required: false, serialized_name: 'startTime', type: { name: 'DateTime' } }, exit_code: { client_side_validation: true, required: false, serialized_name: 'exitCode', type: { name: 'Number' } }, finish_time: { client_side_validation: true, required: false, serialized_name: 'finishTime', type: { name: 'DateTime' } }, detail_status: { client_side_validation: true, required: false, serialized_name: 'detailStatus', type: { name: 'String' } } } } } end