Class: Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateParameters
- Inherits:
-
Object
- Object
- Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb
Overview
The parameters supplied to the create or update runbook operation.
Instance Attribute Summary collapse
-
#description ⇒ String
Gets or sets the description of the runbook.
-
#draft ⇒ RunbookDraft
Gets or sets the draft runbook properties.
-
#location ⇒ String
Gets or sets the location of the resource.
-
#log_activity_trace ⇒ Integer
the runbook.
-
#log_progress ⇒ Boolean
Gets or sets progress log option.
-
#log_verbose ⇒ Boolean
Gets or sets verbose log option.
-
#name ⇒ String
Gets or sets the name of the resource.
-
#publish_content_link ⇒ ContentLink
Gets or sets the published runbook content link.
-
#runbook_type ⇒ RunbookTypeEnum
Possible values include: ‘Script’, ‘Graph’, ‘PowerShellWorkflow’, ‘PowerShell’, ‘GraphPowerShellWorkflow’, ‘GraphPowerShell’.
-
#tags ⇒ Hash{String => String}
resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RunbookCreateOrUpdateParameters class as Ruby Hash.
Instance Attribute Details
#description ⇒ String
Returns Gets or sets the description of the runbook.
33 34 35 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb', line 33 def description @description end |
#draft ⇒ RunbookDraft
Returns Gets or sets the draft runbook properties.
27 28 29 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb', line 27 def draft @draft end |
#location ⇒ String
Returns Gets or sets the location of the resource.
43 44 45 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb', line 43 def location @location end |
#log_activity_trace ⇒ Integer
the runbook.
37 38 39 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb', line 37 def log_activity_trace @log_activity_trace end |
#log_progress ⇒ Boolean
Returns Gets or sets progress log option.
19 20 21 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb', line 19 def log_progress @log_progress end |
#log_verbose ⇒ Boolean
Returns Gets or sets verbose log option.
16 17 18 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb', line 16 def log_verbose @log_verbose end |
#name ⇒ String
Returns Gets or sets the name of the resource.
40 41 42 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb', line 40 def name @name end |
#publish_content_link ⇒ ContentLink
Returns Gets or sets the published runbook content link.
30 31 32 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb', line 30 def publish_content_link @publish_content_link end |
#runbook_type ⇒ RunbookTypeEnum
Possible values include: ‘Script’, ‘Graph’, ‘PowerShellWorkflow’, ‘PowerShell’, ‘GraphPowerShellWorkflow’, ‘GraphPowerShell’
24 25 26 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb', line 24 def runbook_type @runbook_type end |
#tags ⇒ Hash{String => String}
resource.
47 48 49 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb', line 47 def @tags end |
Class Method Details
.mapper ⇒ Object
Mapper for RunbookCreateOrUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.
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 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb', line 54 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RunbookCreateOrUpdateParameters', type: { name: 'Composite', class_name: 'RunbookCreateOrUpdateParameters', model_properties: { log_verbose: { client_side_validation: true, required: false, serialized_name: 'properties.logVerbose', type: { name: 'Boolean' } }, log_progress: { client_side_validation: true, required: false, serialized_name: 'properties.logProgress', type: { name: 'Boolean' } }, runbook_type: { client_side_validation: true, required: true, serialized_name: 'properties.runbookType', type: { name: 'String' } }, draft: { client_side_validation: true, required: false, serialized_name: 'properties.draft', type: { name: 'Composite', class_name: 'RunbookDraft' } }, publish_content_link: { client_side_validation: true, required: false, serialized_name: 'properties.publishContentLink', type: { name: 'Composite', class_name: 'ContentLink' } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'String' } }, log_activity_trace: { client_side_validation: true, required: false, serialized_name: 'properties.logActivityTrace', type: { name: 'Number' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |