Class: Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel
- Inherits:
-
TrackedResource
- Object
- Resource
- TrackedResource
- Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb
Overview
Definition of the module type.
Instance Attribute Summary collapse
-
#activity_count ⇒ Integer
Gets or sets the activity count of the module.
-
#content_link ⇒ ContentLink
Gets or sets the contentLink of the module.
-
#creation_time ⇒ DateTime
Gets or sets the creation time.
-
#description ⇒ String
Gets or sets the description.
-
#error ⇒ ModuleErrorInfo
Gets or sets the error info of the module.
-
#etag ⇒ String
Gets or sets the etag of the resource.
-
#is_composite ⇒ Boolean
Gets or sets type of module, if its composite or not.
-
#is_global ⇒ Boolean
Gets or sets the isGlobal flag of the module.
-
#last_modified_time ⇒ DateTime
Gets or sets the last modified time.
-
#provisioning_state ⇒ ModuleProvisioningState
of the module.
-
#size_in_bytes ⇒ Integer
Gets or sets the size in bytes of the module.
-
#version ⇒ String
Gets or sets the version of the module.
Attributes inherited from TrackedResource
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ModuleModel class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#activity_count ⇒ Integer
Returns Gets or sets the activity count of the module.
25 26 27 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb', line 25 def activity_count @activity_count end |
#content_link ⇒ ContentLink
Returns Gets or sets the contentLink of the module.
37 38 39 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb', line 37 def content_link @content_link end |
#creation_time ⇒ DateTime
Returns Gets or sets the creation time.
43 44 45 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb', line 43 def creation_time @creation_time end |
#description ⇒ String
Returns Gets or sets the description.
49 50 51 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb', line 49 def description @description end |
#error ⇒ ModuleErrorInfo
Returns Gets or sets the error info of the module.
40 41 42 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb', line 40 def error @error end |
#etag ⇒ String
Returns Gets or sets the etag of the resource.
55 56 57 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb', line 55 def etag @etag end |
#is_composite ⇒ Boolean
Returns Gets or sets type of module, if its composite or not.
52 53 54 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb', line 52 def is_composite @is_composite end |
#is_global ⇒ Boolean
Returns Gets or sets the isGlobal flag of the module.
16 17 18 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb', line 16 def is_global @is_global end |
#last_modified_time ⇒ DateTime
Returns Gets or sets the last modified time.
46 47 48 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb', line 46 def last_modified_time @last_modified_time end |
#provisioning_state ⇒ ModuleProvisioningState
of the module. Possible values include: ‘Created’, ‘Creating’, ‘StartingImportModuleRunbook’, ‘RunningImportModuleRunbook’, ‘ContentRetrieved’, ‘ContentDownloaded’, ‘ContentValidated’, ‘ConnectionTypeImported’, ‘ContentStored’, ‘ModuleDataStored’, ‘ActivitiesStored’, ‘ModuleImportRunbookComplete’, ‘Succeeded’, ‘Failed’, ‘Cancelled’, ‘Updating’
34 35 36 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb', line 34 def provisioning_state @provisioning_state end |
#size_in_bytes ⇒ Integer
Returns Gets or sets the size in bytes of the module.
22 23 24 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb', line 22 def size_in_bytes @size_in_bytes end |
#version ⇒ String
Returns Gets or sets the version of the module.
19 20 21 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb', line 19 def version @version end |
Class Method Details
.mapper ⇒ Object
Mapper for ModuleModel class as Ruby Hash. This will be used for serialization/deserialization.
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 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb', line 62 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Module', type: { name: 'Composite', class_name: 'ModuleModel', 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' } }, 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' } } } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, is_global: { client_side_validation: true, required: false, serialized_name: 'properties.isGlobal', type: { name: 'Boolean' } }, version: { client_side_validation: true, required: false, serialized_name: 'properties.version', type: { name: 'String' } }, size_in_bytes: { client_side_validation: true, required: false, serialized_name: 'properties.sizeInBytes', type: { name: 'Number' } }, activity_count: { client_side_validation: true, required: false, serialized_name: 'properties.activityCount', type: { name: 'Number' } }, provisioning_state: { client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { name: 'Enum', module: 'ModuleProvisioningState' } }, content_link: { client_side_validation: true, required: false, serialized_name: 'properties.contentLink', type: { name: 'Composite', class_name: 'ContentLink' } }, error: { client_side_validation: true, required: false, serialized_name: 'properties.error', type: { name: 'Composite', class_name: 'ModuleErrorInfo' } }, creation_time: { client_side_validation: true, required: false, serialized_name: 'properties.creationTime', type: { name: 'DateTime' } }, last_modified_time: { client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedTime', type: { name: 'DateTime' } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'String' } }, is_composite: { client_side_validation: true, required: false, serialized_name: 'properties.isComposite', type: { name: 'Boolean' } }, etag: { client_side_validation: true, required: false, serialized_name: 'etag', type: { name: 'String' } } } } } end |