Sha256: a430828f97b3be8548e7e037d962603b30c11cc90c8d46f352659f29dbe27f02

Contents?: true

Size: 1.97 KB

Versions: 2

Compression:

Stored size: 1.97 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
    #
    # The parameters supplied to the create test job operation.
    #
    class TestJobCreateParameters

      include MsRestAzure

      # @return [String] Gets or sets the runbook name.
      attr_accessor :runbook_name

      # @return [Hash{String => String}] Gets or sets the parameters of the
      # test job.
      attr_accessor :parameters

      # @return [String] Gets or sets the runOn which specifies the group name
      # where the job is to be executed.
      attr_accessor :run_on


      #
      # Mapper for TestJobCreateParameters class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'TestJobCreateParameters',
          type: {
            name: 'Composite',
            class_name: 'TestJobCreateParameters',
            model_properties: {
              runbook_name: {
                required: true,
                serialized_name: 'runbookName',
                type: {
                  name: 'String'
                }
              },
              parameters: {
                required: false,
                serialized_name: 'parameters',
                type: {
                  name: 'Dictionary',
                  value: {
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              },
              run_on: {
                required: false,
                serialized_name: 'runOn',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      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/test_job_create_parameters.rb
azure_mgmt_automation-0.15.0 lib/2015-10-31/generated/azure_mgmt_automation/models/test_job_create_parameters.rb