class Azure::Compute::Mgmt::V2020_12_01::Models::OrchestrationServiceStateInput

The input for OrchestrationServiceState

Attributes

action[RW]

@return [OrchestrationServiceStateAction] The action to be performed. Possible values include: 'Resume', 'Suspend'

service_name[RW]

@return [OrchestrationServiceNames] The name of the service. Possible values include: 'AutomaticRepairs'

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-12-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