Class: Azure::Automation::Mgmt::V2015_10_31::Models::JobCreateParameters
- Inherits:
-
Object
- Object
- Azure::Automation::Mgmt::V2015_10_31::Models::JobCreateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb
Overview
The parameters supplied to the create job operation.
Instance Attribute Summary collapse
-
#parameters ⇒ Hash{String => String}
job.
-
#run_on ⇒ String
where the job is to be executed.
-
#runbook ⇒ RunbookAssociationProperty
Gets or sets the runbook.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for JobCreateParameters class as Ruby Hash.
Instance Attribute Details
#parameters ⇒ Hash{String => String}
job.
20 21 22 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb', line 20 def parameters @parameters end |
#run_on ⇒ String
where the job is to be executed.
24 25 26 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb', line 24 def run_on @run_on end |
#runbook ⇒ RunbookAssociationProperty
Returns Gets or sets the runbook.
16 17 18 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb', line 16 def runbook @runbook end |
Class Method Details
.mapper ⇒ Object
Mapper for JobCreateParameters class as Ruby Hash. This will be used for serialization/deserialization.
31 32 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 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'JobCreateParameters', type: { name: 'Composite', class_name: 'JobCreateParameters', model_properties: { runbook: { client_side_validation: true, required: true, serialized_name: 'properties.runbook', type: { name: 'Composite', class_name: 'RunbookAssociationProperty' } }, 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' } } } }, run_on: { client_side_validation: true, required: false, serialized_name: 'properties.runOn', type: { name: 'String' } } } } } end |