Class: Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerState
- Inherits:
-
Object
- Object
- Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerState
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_state.rb
Overview
The container instance state.
Instance Attribute Summary collapse
-
#detail_status ⇒ String
state.
-
#exit_code ⇒ Integer
from the ‘docker run` command.
-
#finish_time ⇒ DateTime
finished.
-
#start_time ⇒ DateTime
started.
-
#state ⇒ String
The state of the container instance.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ContainerState class as Ruby Hash.
Instance Attribute Details
#detail_status ⇒ String
state.
32 33 34 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_state.rb', line 32 def detail_status @detail_status end |
#exit_code ⇒ Integer
from the ‘docker run` command.
24 25 26 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_state.rb', line 24 def exit_code @exit_code end |
#finish_time ⇒ DateTime
finished.
28 29 30 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_state.rb', line 28 def finish_time @finish_time end |
#start_time ⇒ DateTime
started.
20 21 22 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_state.rb', line 20 def start_time @start_time end |
#state ⇒ String
Returns The state of the container instance.
16 17 18 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_state.rb', line 16 def state @state end |
Class Method Details
.mapper ⇒ Object
Mapper for ContainerState class as Ruby Hash. This will be used for serialization/deserialization.
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/2019-12-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, read_only: true, serialized_name: 'state', type: { name: 'String' } }, start_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', type: { name: 'DateTime' } }, exit_code: { client_side_validation: true, required: false, read_only: true, serialized_name: 'exitCode', type: { name: 'Number' } }, finish_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'finishTime', type: { name: 'DateTime' } }, detail_status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'detailStatus', type: { name: 'String' } } } } } end |