Class: Azure::ServiceFabric::V6_5_0_36::Models::ContainerState

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.5.0.36/generated/azure_service_fabric/models/container_state.rb

Overview

The container state.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#detail_statusString

Returns Human-readable status of this state.

Returns:

  • (String)

    Human-readable status of this state.



28
29
30
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/container_state.rb', line 28

def detail_status
  @detail_status
end

#exit_codeString

Returns The container exit code.

Returns:

  • (String)

    The container exit code.



22
23
24
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/container_state.rb', line 22

def exit_code
  @exit_code
end

#finish_timeDateTime

Returns Date/time when the container state finished.

Returns:

  • (DateTime)

    Date/time when the container state finished.



25
26
27
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/container_state.rb', line 25

def finish_time
  @finish_time
end

#start_timeDateTime

Returns Date/time when the container state started.

Returns:

  • (DateTime)

    Date/time when the container state started.



19
20
21
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/container_state.rb', line 19

def start_time
  @start_time
end

#stateString

Returns The state of this container.

Returns:

  • (String)

    The state of this container



16
17
18
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/container_state.rb', line 16

def state
  @state
end

Class Method Details

.mapperObject

Mapper for ContainerState class as Ruby Hash. This will be used for serialization/deserialization.



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
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/container_state.rb', line 35

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: 'String'
          }
        },
        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