Sha256: 8846474ba66fc258aae6ef5aef841b8a60e94587ab203e805a73b25f43f1df62

Contents?: true

Size: 1.64 KB

Versions: 2

Compression:

Stored size: 1.64 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::Automation::Mgmt::V2015_10_31
  module Models
    #
    # Definition of hybrid runbook worker.
    #
    class HybridRunbookWorker

      include MsRestAzure

      # @return [String] Gets or sets the worker machine name.
      attr_accessor :name

      # @return [String] Gets or sets the assigned machine IP address.
      attr_accessor :ip

      # @return [DateTime] Gets or sets the registration time of the worker
      # machine.
      attr_accessor :registration_time


      #
      # Mapper for HybridRunbookWorker class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'HybridRunbookWorker',
          type: {
            name: 'Composite',
            class_name: 'HybridRunbookWorker',
            model_properties: {
              name: {
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              ip: {
                required: false,
                serialized_name: 'ip',
                type: {
                  name: 'String'
                }
              },
              registration_time: {
                required: false,
                serialized_name: 'registrationTime',
                type: {
                  name: 'DateTime'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_automation-0.15.1 lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb
azure_mgmt_automation-0.15.0 lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb