Class: Azure::Automation::Mgmt::V2015_10_31::Models::JobScheduleCreateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb

Overview

The parameters supplied to the create job schedule operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#parametersHash{String => String}

Returns Gets or sets a list of job properties.

Returns:

  • (Hash{String => String})

    Gets or sets a list of job properties.



26
27
28
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb', line 26

def parameters
  @parameters
end

#run_onString

scheduled job should run on.

Returns:

  • (String)

    Gets or sets the hybrid worker group that the



23
24
25
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb', line 23

def run_on
  @run_on
end

#runbookRunbookAssociationProperty

Returns Gets or sets the runbook.

Returns:



19
20
21
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb', line 19

def runbook
  @runbook
end

#scheduleScheduleAssociationProperty

Returns Gets or sets the schedule.

Returns:



16
17
18
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb', line 16

def schedule
  @schedule
end

Class Method Details

.mapperObject

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



33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# 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