Sha256: 6173cca0c5d3c4a4b93f97514f3d5b542c7df32d55c32e44671eb6ac2abf76ce

Contents?: true

Size: 1.62 KB

Versions: 3

Compression:

Stored size: 1.62 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Compute::Mgmt::V2020_06_01
  module Models
    #
    # The input for OrchestrationServiceState
    #
    class OrchestrationServiceStateInput

      include MsRestAzure

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

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


      #
      # Mapper for OrchestrationServiceStateInput class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_state_input.rb
azure_mgmt_compute-0.21.1 lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_state_input.rb
azure_mgmt_compute-0.20.0 lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_state_input.rb