Sha256: 662b067b6bda391002f9b23ee9b8a9d59772d05f55b185ddefbf0ae5f2ca612e

Contents?: true

Size: 1.74 KB

Versions: 3

Compression:

Stored size: 1.74 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
    #
    # Summary for an orchestration service of a virtual machine scale set.
    #
    class OrchestrationServiceSummary

      include MsRestAzure

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

      # @return [OrchestrationServiceState] The current state of the service.
      # Possible values include: 'NotRunning', 'Running', 'Suspended'
      attr_accessor :service_state


      #
      # Mapper for OrchestrationServiceSummary class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'OrchestrationServiceSummary',
          type: {
            name: 'Composite',
            class_name: 'OrchestrationServiceSummary',
            model_properties: {
              service_name: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'serviceName',
                type: {
                  name: 'String'
                }
              },
              service_state: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'serviceState',
                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_summary.rb
azure_mgmt_compute-0.21.1 lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_summary.rb
azure_mgmt_compute-0.20.0 lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_summary.rb