class Azure::Automation::Mgmt::V2015_10_31::Models::JobScheduleCreateParameters

The parameters supplied to the create job schedule operation.

Attributes

parameters[RW]

@return [Hash{String => String}] Gets or sets a list of job properties.

run_on[RW]

@return [String] Gets or sets the hybrid worker group that the scheduled job should run on.

runbook[RW]

@return [RunbookAssociationProperty] Gets or sets the runbook.

schedule[RW]

@return [ScheduleAssociationProperty] Gets or sets the schedule.

Private Class Methods

mapper() click to toggle source

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

# File lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'JobScheduleCreateParameters',
    type: {
      name: 'Composite',
      class_name: 'JobScheduleCreateParameters',
      model_properties: {
        schedule: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.schedule',
          type: {
            name: 'Composite',
            class_name: 'ScheduleAssociationProperty'
          }
        },
        runbook: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.runbook',
          type: {
            name: 'Composite',
            class_name: 'RunbookAssociationProperty'
          }
        },
        run_on: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.runOn',
          type: {
            name: 'String'
          }
        },
        parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.parameters',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end