class Azure::Automation::Mgmt::V2015_10_31::Models::JobSchedule

Definition of the job schedule.

Attributes

id[RW]

@return [String] Gets the id of the resource.

job_schedule_id[RW]

@return [String] Gets or sets the id of job schedule.

name[RW]

@return [String] Gets the name of the variable.

parameters[RW]

@return [Hash{String => String}] Gets or sets the parameters of the job schedule.

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.

type[RW]

@return [String] Resource type

Private Class Methods

mapper() click to toggle source

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

# File lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb, line 46
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'JobSchedule',
    type: {
      name: 'Composite',
      class_name: 'JobSchedule',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        job_schedule_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.jobScheduleId',
          type: {
            name: 'String'
          }
        },
        schedule: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.schedule',
          type: {
            name: 'Composite',
            class_name: 'ScheduleAssociationProperty'
          }
        },
        runbook: {
          client_side_validation: true,
          required: false,
          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