Class: Azure::Automation::Mgmt::V2015_10_31::Models::JobSchedule
- Inherits:
-
Object
- Object
- Azure::Automation::Mgmt::V2015_10_31::Models::JobSchedule
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb
Overview
Definition of the job schedule.
Instance Attribute Summary collapse
-
#id ⇒ String
Gets the id of the resource.
-
#job_schedule_id ⇒ String
Gets or sets the id of job schedule.
-
#name ⇒ String
Gets the name of the variable.
-
#parameters ⇒ Hash{String => String}
schedule.
-
#run_on ⇒ String
scheduled job should run on.
-
#runbook ⇒ RunbookAssociationProperty
Gets or sets the runbook.
-
#schedule ⇒ ScheduleAssociationProperty
Gets or sets the schedule.
-
#type ⇒ String
Resource type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for JobSchedule class as Ruby Hash.
Instance Attribute Details
#id ⇒ String
Returns Gets the id of the resource.
16 17 18 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb', line 16 def id @id end |
#job_schedule_id ⇒ String
Returns Gets or sets the id of job schedule.
25 26 27 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb', line 25 def job_schedule_id @job_schedule_id end |
#name ⇒ String
Returns Gets the name of the variable.
19 20 21 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb', line 19 def name @name end |
#parameters ⇒ Hash{String => String}
schedule.
39 40 41 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb', line 39 def parameters @parameters end |
#run_on ⇒ String
scheduled job should run on.
35 36 37 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb', line 35 def run_on @run_on end |
#runbook ⇒ RunbookAssociationProperty
Returns Gets or sets the runbook.
31 32 33 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb', line 31 def runbook @runbook end |
#schedule ⇒ ScheduleAssociationProperty
Returns Gets or sets the schedule.
28 29 30 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb', line 28 def schedule @schedule end |
#type ⇒ String
Returns Resource type.
22 23 24 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb', line 22 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for JobSchedule class as Ruby Hash. This will be used for serialization/deserialization.
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 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
# 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 |