Class: Azure::Compute::Mgmt::V2020_06_01::Models::OrchestrationServiceStateInput

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_state_input.rb

Overview

The input for OrchestrationServiceState

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#actionOrchestrationServiceStateAction

Possible values include: 'Resume', 'Suspend'

Returns:



21
22
23
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_state_input.rb', line 21

def action
  @action
end

#service_nameOrchestrationServiceNames

values include: 'AutomaticRepairs'

Returns:



17
18
19
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_state_input.rb', line 17

def service_name
  @service_name
end

Class Method Details

.mapperObject

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



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_state_input.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OrchestrationServiceStateInput',
    type: {
      name: 'Composite',
      class_name: 'OrchestrationServiceStateInput',
      model_properties: {
        service_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'serviceName',
          type: {
            name: 'String'
          }
        },
        action: {
          client_side_validation: true,
          required: true,
          serialized_name: 'action',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end