Class: Azure::ContainerInstance::Mgmt::V2019_12_01::Models::InitContainerPropertiesDefinitionInstanceView
- Inherits:
-
Object
- Object
- Azure::ContainerInstance::Mgmt::V2019_12_01::Models::InitContainerPropertiesDefinitionInstanceView
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-12-01/generated/azure_mgmt_container_instance/models/init_container_properties_definition_instance_view.rb
Overview
The instance view of the init container. Only valid in response.
Instance Attribute Summary collapse
-
#current_state ⇒ ContainerState
The current state of the init container.
-
#events ⇒ Array<Event>
The events of the init container.
-
#previous_state ⇒ ContainerState
The previous state of the init container.
-
#restart_count ⇒ Integer
restarted.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for InitContainerPropertiesDefinitionInstanceView class as Ruby Hash.
Instance Attribute Details
#current_state ⇒ ContainerState
20 21 22 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/init_container_properties_definition_instance_view.rb', line 20 def current_state @current_state end |
#events ⇒ Array<Event>
26 27 28 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/init_container_properties_definition_instance_view.rb', line 26 def events @events end |
#previous_state ⇒ ContainerState
23 24 25 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/init_container_properties_definition_instance_view.rb', line 23 def previous_state @previous_state end |
#restart_count ⇒ Integer
restarted.
17 18 19 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/init_container_properties_definition_instance_view.rb', line 17 def restart_count @restart_count end |
Class Method Details
.mapper ⇒ Object
Mapper for InitContainerPropertiesDefinitionInstanceView class as Ruby Hash. This will be used for serialization/deserialization.
34 35 36 37 38 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 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/init_container_properties_definition_instance_view.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'InitContainerPropertiesDefinition_instanceView', type: { name: 'Composite', class_name: 'InitContainerPropertiesDefinitionInstanceView', model_properties: { restart_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'restartCount', type: { name: 'Number' } }, current_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'currentState', type: { name: 'Composite', class_name: 'ContainerState' } }, previous_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'previousState', type: { name: 'Composite', class_name: 'ContainerState' } }, events: { client_side_validation: true, required: false, read_only: true, serialized_name: 'events', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { name: 'Composite', class_name: 'Event' } } } } } } } end |