azure_mgmt_compute 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. checksums.yaml +4 -4
  2. data/.yardoc/checksums +106 -0
  3. data/.yardoc/object_types +0 -0
  4. data/.yardoc/objects/root.dat +0 -0
  5. data/.yardoc/proxy_types +0 -0
  6. data/README.md +8 -9
  7. data/azure_mgmt_compute.gemspec +1 -1
  8. data/doc/Azure/ARM/Compute/AvailabilitySets.html +2935 -0
  9. data/doc/Azure/ARM/Compute/ComputeManagementClient.html +1759 -0
  10. data/doc/Azure/ARM/Compute/Models/AdditionalUnattendContent.html +674 -0
  11. data/doc/Azure/ARM/Compute/Models/ApiEntityReference.html +353 -0
  12. data/doc/Azure/ARM/Compute/Models/ApiError.html +779 -0
  13. data/doc/Azure/ARM/Compute/Models/ApiErrorBase.html +557 -0
  14. data/doc/Azure/ARM/Compute/Models/AvailabilitySet.html +784 -0
  15. data/doc/Azure/ARM/Compute/Models/AvailabilitySetListResult.html +369 -0
  16. data/doc/Azure/ARM/Compute/Models/BootDiagnostics.html +455 -0
  17. data/doc/Azure/ARM/Compute/Models/BootDiagnosticsInstanceView.html +455 -0
  18. data/doc/Azure/ARM/Compute/Models/CachingTypes.html +138 -0
  19. data/doc/Azure/ARM/Compute/Models/ComponentNames.html +128 -0
  20. data/doc/Azure/ARM/Compute/Models/ComputeLongRunningOperationProperties.html +353 -0
  21. data/doc/Azure/ARM/Compute/Models/DataDisk.html +977 -0
  22. data/doc/Azure/ARM/Compute/Models/DataDiskImage.html +357 -0
  23. data/doc/Azure/ARM/Compute/Models/DiagnosticsProfile.html +355 -0
  24. data/doc/Azure/ARM/Compute/Models/DiskCreateOptionTypes.html +138 -0
  25. data/doc/Azure/ARM/Compute/Models/DiskEncryptionSettings.html +561 -0
  26. data/doc/Azure/ARM/Compute/Models/DiskInstanceView.html +471 -0
  27. data/doc/Azure/ARM/Compute/Models/HardwareProfile.html +401 -0
  28. data/doc/Azure/ARM/Compute/Models/ImageReference.html +660 -0
  29. data/doc/Azure/ARM/Compute/Models/InnerError.html +455 -0
  30. data/doc/Azure/ARM/Compute/Models/InstanceViewStatus.html +763 -0
  31. data/doc/Azure/ARM/Compute/Models/InstanceViewTypes.html +128 -0
  32. data/doc/Azure/ARM/Compute/Models/KeyVaultKeyReference.html +457 -0
  33. data/doc/Azure/ARM/Compute/Models/KeyVaultSecretReference.html +457 -0
  34. data/doc/Azure/ARM/Compute/Models/LinuxConfiguration.html +457 -0
  35. data/doc/Azure/ARM/Compute/Models/ListUsagesResult.html +745 -0
  36. data/doc/Azure/ARM/Compute/Models/NetworkInterfaceReference.html +370 -0
  37. data/doc/Azure/ARM/Compute/Models/NetworkProfile.html +369 -0
  38. data/doc/Azure/ARM/Compute/Models/OSDisk.html +1083 -0
  39. data/doc/Azure/ARM/Compute/Models/OSDiskImage.html +355 -0
  40. data/doc/Azure/ARM/Compute/Models/OSProfile.html +985 -0
  41. data/doc/Azure/ARM/Compute/Models/OperatingSystemTypes.html +133 -0
  42. data/doc/Azure/ARM/Compute/Models/PassNames.html +128 -0
  43. data/doc/Azure/ARM/Compute/Models/Plan.html +659 -0
  44. data/doc/Azure/ARM/Compute/Models/ProtocolTypes.html +133 -0
  45. data/doc/Azure/ARM/Compute/Models/PurchasePlan.html +558 -0
  46. data/doc/Azure/ARM/Compute/Models/SettingNames.html +133 -0
  47. data/doc/Azure/ARM/Compute/Models/Sku.html +557 -0
  48. data/doc/Azure/ARM/Compute/Models/SshConfiguration.html +369 -0
  49. data/doc/Azure/ARM/Compute/Models/SshPublicKey.html +457 -0
  50. data/doc/Azure/ARM/Compute/Models/StatusLevelTypes.html +138 -0
  51. data/doc/Azure/ARM/Compute/Models/StorageProfile.html +577 -0
  52. data/doc/Azure/ARM/Compute/Models/UpgradeMode.html +133 -0
  53. data/doc/Azure/ARM/Compute/Models/UpgradePolicy.html +355 -0
  54. data/doc/Azure/ARM/Compute/Models/Usage.html +665 -0
  55. data/doc/Azure/ARM/Compute/Models/UsageName.html +455 -0
  56. data/doc/Azure/ARM/Compute/Models/VaultCertificate.html +456 -0
  57. data/doc/Azure/ARM/Compute/Models/VaultSecretGroup.html +473 -0
  58. data/doc/Azure/ARM/Compute/Models/VirtualHardDisk.html +353 -0
  59. data/doc/Azure/ARM/Compute/Models/VirtualMachine.html +1608 -0
  60. data/doc/Azure/ARM/Compute/Models/VirtualMachineAgentInstanceView.html +589 -0
  61. data/doc/Azure/ARM/Compute/Models/VirtualMachineCaptureParameters.html +557 -0
  62. data/doc/Azure/ARM/Compute/Models/VirtualMachineCaptureResult.html +370 -0
  63. data/doc/Azure/ARM/Compute/Models/VirtualMachineExtension.html +1266 -0
  64. data/doc/Azure/ARM/Compute/Models/VirtualMachineExtensionHandlerInstanceView.html +559 -0
  65. data/doc/Azure/ARM/Compute/Models/VirtualMachineExtensionImage.html +858 -0
  66. data/doc/Azure/ARM/Compute/Models/VirtualMachineExtensionInstanceView.html +793 -0
  67. data/doc/Azure/ARM/Compute/Models/VirtualMachineImage.html +637 -0
  68. data/doc/Azure/ARM/Compute/Models/VirtualMachineImageResource.html +592 -0
  69. data/doc/Azure/ARM/Compute/Models/VirtualMachineInstanceView.html +1119 -0
  70. data/doc/Azure/ARM/Compute/Models/VirtualMachineListResult.html +744 -0
  71. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSet.html +862 -0
  72. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetExtension.html +1086 -0
  73. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetExtensionProfile.html +369 -0
  74. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetIPConfiguration.html +829 -0
  75. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetInstanceView.html +595 -0
  76. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetInstanceViewStatusesSummary.html +373 -0
  77. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetListResult.html +744 -0
  78. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetListSkusResult.html +747 -0
  79. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetListWithLinkResult.html +747 -0
  80. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetNetworkConfiguration.html +591 -0
  81. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetNetworkProfile.html +369 -0
  82. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetOSDisk.html +889 -0
  83. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetOSProfile.html +985 -0
  84. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetSku.html +567 -0
  85. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetSkuCapacity.html +669 -0
  86. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetSkuScaleType.html +133 -0
  87. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetStorageProfile.html +459 -0
  88. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVM.html +1818 -0
  89. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVMExtensionsSummary.html +475 -0
  90. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVMInstanceIDs.html +367 -0
  91. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVMInstanceRequiredIDs.html +367 -0
  92. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVMInstanceView.html +1119 -0
  93. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVMListResult.html +744 -0
  94. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVMProfile.html +667 -0
  95. data/doc/Azure/ARM/Compute/Models/VirtualMachineSize.html +863 -0
  96. data/doc/Azure/ARM/Compute/Models/VirtualMachineSizeListResult.html +369 -0
  97. data/doc/Azure/ARM/Compute/Models/VirtualMachineSizeTypes.html +438 -0
  98. data/doc/Azure/ARM/Compute/Models/VirtualMachineStatusCodeCount.html +460 -0
  99. data/doc/Azure/ARM/Compute/Models/WinRMConfiguration.html +369 -0
  100. data/doc/Azure/ARM/Compute/Models/WinRMListener.html +458 -0
  101. data/doc/Azure/ARM/Compute/Models/WindowsConfiguration.html +781 -0
  102. data/doc/Azure/ARM/Compute/Models.html +126 -0
  103. data/doc/Azure/ARM/Compute/UsageOperations.html +1425 -0
  104. data/doc/Azure/ARM/Compute/VirtualMachineExtensionImages.html +2116 -0
  105. data/doc/Azure/ARM/Compute/VirtualMachineExtensions.html +2862 -0
  106. data/doc/Azure/ARM/Compute/VirtualMachineImages.html +3218 -0
  107. data/doc/Azure/ARM/Compute/VirtualMachineScaleSetVMs.html +7957 -0
  108. data/doc/Azure/ARM/Compute/VirtualMachineScaleSets.html +12417 -0
  109. data/doc/Azure/ARM/Compute/VirtualMachineSizes.html +823 -0
  110. data/doc/Azure/ARM/Compute/VirtualMachines.html +10514 -0
  111. data/doc/Azure/ARM/Compute.html +143 -0
  112. data/doc/Azure/ARM.html +117 -0
  113. data/doc/Azure.html +129 -0
  114. data/doc/_index.html +970 -0
  115. data/doc/class_list.html +51 -0
  116. data/doc/css/common.css +1 -0
  117. data/doc/css/full_list.css +58 -0
  118. data/doc/css/style.css +474 -0
  119. data/doc/file.README.html +199 -0
  120. data/doc/file_list.html +56 -0
  121. data/doc/frames.html +17 -0
  122. data/doc/index.html +199 -0
  123. data/doc/js/app.js +243 -0
  124. data/doc/js/full_list.js +216 -0
  125. data/doc/js/jquery.js +4 -0
  126. data/doc/method_list.html +5147 -0
  127. data/doc/top-level-namespace.html +112 -0
  128. data/lib/generated/azure_mgmt_compute/availability_sets.rb +1 -1
  129. data/lib/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  130. data/lib/generated/azure_mgmt_compute/usage_operations.rb +1 -1
  131. data/lib/generated/azure_mgmt_compute/version.rb +1 -1
  132. data/lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +1 -1
  133. data/lib/generated/azure_mgmt_compute/virtual_machine_extensions.rb +1 -1
  134. data/lib/generated/azure_mgmt_compute/virtual_machine_images.rb +1 -1
  135. data/lib/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1 -1
  136. data/lib/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +1 -1
  137. data/lib/generated/azure_mgmt_compute/virtual_machine_sizes.rb +1 -1
  138. data/lib/generated/azure_mgmt_compute/virtual_machines.rb +1 -1
  139. metadata +128 -4
@@ -0,0 +1,977 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: Azure::ARM::Compute::Models::DataDisk
8
+
9
+ &mdash; Documentation by YARD 0.9.2
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../../../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../../../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "Azure::ARM::Compute::Models::DataDisk";
19
+ relpath = '../../../../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../../../../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../../../../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../../../../class_list.html"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../../../../_index.html">Index (D)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../../../Azure.html" title="Azure (module)">Azure</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../../ARM.html" title="Azure::ARM (module)">ARM</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Compute.html" title="Azure::ARM::Compute (module)">Compute</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Models.html" title="Azure::ARM::Compute::Models (module)">Models</a></span></span>
41
+ &raquo;
42
+ <span class="title">DataDisk</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../../../../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <iframe id="search_frame" src="../../../../class_list.html"></iframe>
63
+
64
+ <div id="content"><h1>Class: Azure::ARM::Compute::Models::DataDisk
65
+
66
+
67
+
68
+ </h1>
69
+ <div class="box_info">
70
+
71
+ <dl>
72
+ <dt>Inherits:</dt>
73
+ <dd>
74
+ <span class="inheritName">Object</span>
75
+
76
+ <ul class="fullTree">
77
+ <li>Object</li>
78
+
79
+ <li class="next">Azure::ARM::Compute::Models::DataDisk</li>
80
+
81
+ </ul>
82
+ <a href="#" class="inheritanceTree">show all</a>
83
+
84
+ </dd>
85
+ </dl>
86
+
87
+
88
+
89
+
90
+
91
+
92
+ <dl>
93
+ <dt>Includes:</dt>
94
+ <dd>MsRestAzure</dd>
95
+ </dl>
96
+
97
+
98
+
99
+
100
+
101
+
102
+ <dl>
103
+ <dt>Defined in:</dt>
104
+ <dd>lib/generated/azure_mgmt_compute/models/data_disk.rb</dd>
105
+ </dl>
106
+
107
+ </div>
108
+
109
+ <h2>Overview</h2><div class="docstring">
110
+ <div class="discussion">
111
+
112
+ <p>Describes a data disk.</p>
113
+
114
+
115
+ </div>
116
+ </div>
117
+ <div class="tags">
118
+
119
+
120
+ </div>
121
+
122
+
123
+
124
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
125
+ <ul class="summary">
126
+
127
+ <li class="public ">
128
+ <span class="summary_signature">
129
+
130
+ <a href="#caching-instance_method" title="#caching (instance method)">#<strong>caching</strong> &#x21d2; CachingTypes </a>
131
+
132
+
133
+
134
+ </span>
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+ <span class="summary_desc"><div class='inline'>
148
+ <p>&#39;None&#39;, &#39;ReadOnly&#39;, &#39;ReadWrite&#39;.</p>
149
+ </div></span>
150
+
151
+ </li>
152
+
153
+
154
+ <li class="public ">
155
+ <span class="summary_signature">
156
+
157
+ <a href="#create_option-instance_method" title="#create_option (instance method)">#<strong>create_option</strong> &#x21d2; DiskCreateOptionTypes </a>
158
+
159
+
160
+
161
+ </span>
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+ <span class="summary_desc"><div class='inline'>
175
+ <p>include: &#39;fromImage&#39;, &#39;empty&#39;, &#39;attach&#39;.</p>
176
+ </div></span>
177
+
178
+ </li>
179
+
180
+
181
+ <li class="public ">
182
+ <span class="summary_signature">
183
+
184
+ <a href="#disk_size_gb-instance_method" title="#disk_size_gb (instance method)">#<strong>disk_size_gb</strong> &#x21d2; Integer </a>
185
+
186
+
187
+
188
+ </span>
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+ <span class="summary_desc"><div class='inline'>
202
+ <p>and the new desired size for existing OS and Data disks.</p>
203
+ </div></span>
204
+
205
+ </li>
206
+
207
+
208
+ <li class="public ">
209
+ <span class="summary_signature">
210
+
211
+ <a href="#image-instance_method" title="#image (instance method)">#<strong>image</strong> &#x21d2; VirtualHardDisk </a>
212
+
213
+
214
+
215
+ </span>
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+ <span class="summary_desc"><div class='inline'>
229
+ <p>VirtualHardDisk will be copied before using it to attach to the Virtual
230
+ Machine.If SourceImage is provided, the destination VirtualHardDisk should
231
+ not exist.</p>
232
+ </div></span>
233
+
234
+ </li>
235
+
236
+
237
+ <li class="public ">
238
+ <span class="summary_signature">
239
+
240
+ <a href="#lun-instance_method" title="#lun (instance method)">#<strong>lun</strong> &#x21d2; Integer </a>
241
+
242
+
243
+
244
+ </span>
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+ <span class="summary_desc"><div class='inline'>
258
+ <p>The logical unit number.</p>
259
+ </div></span>
260
+
261
+ </li>
262
+
263
+
264
+ <li class="public ">
265
+ <span class="summary_signature">
266
+
267
+ <a href="#name-instance_method" title="#name (instance method)">#<strong>name</strong> &#x21d2; String </a>
268
+
269
+
270
+
271
+ </span>
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+ <span class="summary_desc"><div class='inline'>
285
+ <p>The disk name.</p>
286
+ </div></span>
287
+
288
+ </li>
289
+
290
+
291
+ <li class="public ">
292
+ <span class="summary_signature">
293
+
294
+ <a href="#vhd-instance_method" title="#vhd (instance method)">#<strong>vhd</strong> &#x21d2; VirtualHardDisk </a>
295
+
296
+
297
+
298
+ </span>
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+ <span class="summary_desc"><div class='inline'>
312
+ <p>The Virtual Hard Disk.</p>
313
+ </div></span>
314
+
315
+ </li>
316
+
317
+
318
+ </ul>
319
+
320
+
321
+
322
+
323
+
324
+ <h2>
325
+ Class Method Summary
326
+ <small><a href="#" class="summary_toggle">collapse</a></small>
327
+ </h2>
328
+
329
+ <ul class="summary">
330
+
331
+ <li class="public ">
332
+ <span class="summary_signature">
333
+
334
+ <a href="#mapper-class_method" title="mapper (class method)">.<strong>mapper</strong> &#x21d2; Object </a>
335
+
336
+
337
+
338
+ </span>
339
+
340
+
341
+
342
+
343
+
344
+
345
+
346
+
347
+
348
+ <span class="summary_desc"><div class='inline'>
349
+ <p>Mapper for DataDisk class as Ruby Hash.</p>
350
+ </div></span>
351
+
352
+ </li>
353
+
354
+
355
+ </ul>
356
+
357
+
358
+
359
+
360
+ <div id="instance_attr_details" class="attr_details">
361
+ <h2>Instance Attribute Details</h2>
362
+
363
+
364
+ <span id="caching=-instance_method"></span>
365
+ <div class="method_details first">
366
+ <h3 class="signature first" id="caching-instance_method">
367
+
368
+ #<strong>caching</strong> &#x21d2; <tt><span class='object_link'><a href="CachingTypes.html" title="Azure::ARM::Compute::Models::CachingTypes (module)">CachingTypes</a></span></tt>
369
+
370
+
371
+
372
+
373
+
374
+ </h3><div class="docstring">
375
+ <div class="discussion">
376
+
377
+ <p>&#39;None&#39;, &#39;ReadOnly&#39;, &#39;ReadWrite&#39;</p>
378
+
379
+
380
+ </div>
381
+ </div>
382
+ <div class="tags">
383
+
384
+ <p class="tag_title">Returns:</p>
385
+ <ul class="return">
386
+
387
+ <li>
388
+
389
+
390
+ <span class='type'>(<tt><span class='object_link'><a href="CachingTypes.html" title="Azure::ARM::Compute::Models::CachingTypes (module)">CachingTypes</a></span></tt>)</span>
391
+
392
+
393
+
394
+ &mdash;
395
+ <div class='inline'>
396
+ <p>the caching type. Possible values include:</p>
397
+ </div>
398
+
399
+ </li>
400
+
401
+ </ul>
402
+
403
+ </div><table class="source_code">
404
+ <tr>
405
+ <td>
406
+ <pre class="lines">
407
+
408
+
409
+ 32
410
+ 33
411
+ 34</pre>
412
+ </td>
413
+ <td>
414
+ <pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/models/data_disk.rb', line 32</span>
415
+
416
+ <span class='kw'>def</span> <span class='id identifier rubyid_caching'>caching</span>
417
+ <span class='ivar'>@caching</span>
418
+ <span class='kw'>end</span></pre>
419
+ </td>
420
+ </tr>
421
+ </table>
422
+ </div>
423
+
424
+
425
+ <span id="create_option=-instance_method"></span>
426
+ <div class="method_details ">
427
+ <h3 class="signature " id="create_option-instance_method">
428
+
429
+ #<strong>create_option</strong> &#x21d2; <tt><span class='object_link'><a href="DiskCreateOptionTypes.html" title="Azure::ARM::Compute::Models::DiskCreateOptionTypes (module)">DiskCreateOptionTypes</a></span></tt>
430
+
431
+
432
+
433
+
434
+
435
+ </h3><div class="docstring">
436
+ <div class="discussion">
437
+
438
+ <p>include: &#39;fromImage&#39;, &#39;empty&#39;, &#39;attach&#39;</p>
439
+
440
+
441
+ </div>
442
+ </div>
443
+ <div class="tags">
444
+
445
+ <p class="tag_title">Returns:</p>
446
+ <ul class="return">
447
+
448
+ <li>
449
+
450
+
451
+ <span class='type'>(<tt><span class='object_link'><a href="DiskCreateOptionTypes.html" title="Azure::ARM::Compute::Models::DiskCreateOptionTypes (module)">DiskCreateOptionTypes</a></span></tt>)</span>
452
+
453
+
454
+
455
+ &mdash;
456
+ <div class='inline'>
457
+ <p>the create option. Possible values</p>
458
+ </div>
459
+
460
+ </li>
461
+
462
+ </ul>
463
+
464
+ </div><table class="source_code">
465
+ <tr>
466
+ <td>
467
+ <pre class="lines">
468
+
469
+
470
+ 36
471
+ 37
472
+ 38</pre>
473
+ </td>
474
+ <td>
475
+ <pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/models/data_disk.rb', line 36</span>
476
+
477
+ <span class='kw'>def</span> <span class='id identifier rubyid_create_option'>create_option</span>
478
+ <span class='ivar'>@create_option</span>
479
+ <span class='kw'>end</span></pre>
480
+ </td>
481
+ </tr>
482
+ </table>
483
+ </div>
484
+
485
+
486
+ <span id="disk_size_gb=-instance_method"></span>
487
+ <div class="method_details ">
488
+ <h3 class="signature " id="disk_size_gb-instance_method">
489
+
490
+ #<strong>disk_size_gb</strong> &#x21d2; <tt>Integer</tt>
491
+
492
+
493
+
494
+
495
+
496
+ </h3><div class="docstring">
497
+ <div class="discussion">
498
+
499
+ <p>and the new desired size for existing OS and Data disks.</p>
500
+
501
+
502
+ </div>
503
+ </div>
504
+ <div class="tags">
505
+
506
+ <p class="tag_title">Returns:</p>
507
+ <ul class="return">
508
+
509
+ <li>
510
+
511
+
512
+ <span class='type'>(<tt>Integer</tt>)</span>
513
+
514
+
515
+
516
+ &mdash;
517
+ <div class='inline'>
518
+ <p>the initial disk size in GB for blank data disks,</p>
519
+ </div>
520
+
521
+ </li>
522
+
523
+ </ul>
524
+
525
+ </div><table class="source_code">
526
+ <tr>
527
+ <td>
528
+ <pre class="lines">
529
+
530
+
531
+ 40
532
+ 41
533
+ 42</pre>
534
+ </td>
535
+ <td>
536
+ <pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/models/data_disk.rb', line 40</span>
537
+
538
+ <span class='kw'>def</span> <span class='id identifier rubyid_disk_size_gb'>disk_size_gb</span>
539
+ <span class='ivar'>@disk_size_gb</span>
540
+ <span class='kw'>end</span></pre>
541
+ </td>
542
+ </tr>
543
+ </table>
544
+ </div>
545
+
546
+
547
+ <span id="image=-instance_method"></span>
548
+ <div class="method_details ">
549
+ <h3 class="signature " id="image-instance_method">
550
+
551
+ #<strong>image</strong> &#x21d2; <tt><span class='object_link'><a href="VirtualHardDisk.html" title="Azure::ARM::Compute::Models::VirtualHardDisk (class)">VirtualHardDisk</a></span></tt>
552
+
553
+
554
+
555
+
556
+
557
+ </h3><div class="docstring">
558
+ <div class="discussion">
559
+
560
+ <p>VirtualHardDisk will be copied before using it to attach to the Virtual
561
+ Machine.If SourceImage is provided, the destination VirtualHardDisk should
562
+ not exist.</p>
563
+
564
+
565
+ </div>
566
+ </div>
567
+ <div class="tags">
568
+
569
+ <p class="tag_title">Returns:</p>
570
+ <ul class="return">
571
+
572
+ <li>
573
+
574
+
575
+ <span class='type'>(<tt><span class='object_link'><a href="VirtualHardDisk.html" title="Azure::ARM::Compute::Models::VirtualHardDisk (class)">VirtualHardDisk</a></span></tt>)</span>
576
+
577
+
578
+
579
+ &mdash;
580
+ <div class='inline'>
581
+ <p>the Source User Image VirtualHardDisk. This</p>
582
+ </div>
583
+
584
+ </li>
585
+
586
+ </ul>
587
+
588
+ </div><table class="source_code">
589
+ <tr>
590
+ <td>
591
+ <pre class="lines">
592
+
593
+
594
+ 28
595
+ 29
596
+ 30</pre>
597
+ </td>
598
+ <td>
599
+ <pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/models/data_disk.rb', line 28</span>
600
+
601
+ <span class='kw'>def</span> <span class='id identifier rubyid_image'>image</span>
602
+ <span class='ivar'>@image</span>
603
+ <span class='kw'>end</span></pre>
604
+ </td>
605
+ </tr>
606
+ </table>
607
+ </div>
608
+
609
+
610
+ <span id="lun=-instance_method"></span>
611
+ <div class="method_details ">
612
+ <h3 class="signature " id="lun-instance_method">
613
+
614
+ #<strong>lun</strong> &#x21d2; <tt>Integer</tt>
615
+
616
+
617
+
618
+
619
+
620
+ </h3><div class="docstring">
621
+ <div class="discussion">
622
+
623
+ <p>Returns the logical unit number.</p>
624
+
625
+
626
+ </div>
627
+ </div>
628
+ <div class="tags">
629
+
630
+ <p class="tag_title">Returns:</p>
631
+ <ul class="return">
632
+
633
+ <li>
634
+
635
+
636
+ <span class='type'>(<tt>Integer</tt>)</span>
637
+
638
+
639
+
640
+ &mdash;
641
+ <div class='inline'>
642
+ <p>the logical unit number.</p>
643
+ </div>
644
+
645
+ </li>
646
+
647
+ </ul>
648
+
649
+ </div><table class="source_code">
650
+ <tr>
651
+ <td>
652
+ <pre class="lines">
653
+
654
+
655
+ 16
656
+ 17
657
+ 18</pre>
658
+ </td>
659
+ <td>
660
+ <pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/models/data_disk.rb', line 16</span>
661
+
662
+ <span class='kw'>def</span> <span class='id identifier rubyid_lun'>lun</span>
663
+ <span class='ivar'>@lun</span>
664
+ <span class='kw'>end</span></pre>
665
+ </td>
666
+ </tr>
667
+ </table>
668
+ </div>
669
+
670
+
671
+ <span id="name=-instance_method"></span>
672
+ <div class="method_details ">
673
+ <h3 class="signature " id="name-instance_method">
674
+
675
+ #<strong>name</strong> &#x21d2; <tt>String</tt>
676
+
677
+
678
+
679
+
680
+
681
+ </h3><div class="docstring">
682
+ <div class="discussion">
683
+
684
+ <p>Returns the disk name.</p>
685
+
686
+
687
+ </div>
688
+ </div>
689
+ <div class="tags">
690
+
691
+ <p class="tag_title">Returns:</p>
692
+ <ul class="return">
693
+
694
+ <li>
695
+
696
+
697
+ <span class='type'>(<tt>String</tt>)</span>
698
+
699
+
700
+
701
+ &mdash;
702
+ <div class='inline'>
703
+ <p>the disk name.</p>
704
+ </div>
705
+
706
+ </li>
707
+
708
+ </ul>
709
+
710
+ </div><table class="source_code">
711
+ <tr>
712
+ <td>
713
+ <pre class="lines">
714
+
715
+
716
+ 19
717
+ 20
718
+ 21</pre>
719
+ </td>
720
+ <td>
721
+ <pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/models/data_disk.rb', line 19</span>
722
+
723
+ <span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
724
+ <span class='ivar'>@name</span>
725
+ <span class='kw'>end</span></pre>
726
+ </td>
727
+ </tr>
728
+ </table>
729
+ </div>
730
+
731
+
732
+ <span id="vhd=-instance_method"></span>
733
+ <div class="method_details ">
734
+ <h3 class="signature " id="vhd-instance_method">
735
+
736
+ #<strong>vhd</strong> &#x21d2; <tt><span class='object_link'><a href="VirtualHardDisk.html" title="Azure::ARM::Compute::Models::VirtualHardDisk (class)">VirtualHardDisk</a></span></tt>
737
+
738
+
739
+
740
+
741
+
742
+ </h3><div class="docstring">
743
+ <div class="discussion">
744
+
745
+ <p>Returns the Virtual Hard Disk.</p>
746
+
747
+
748
+ </div>
749
+ </div>
750
+ <div class="tags">
751
+
752
+ <p class="tag_title">Returns:</p>
753
+ <ul class="return">
754
+
755
+ <li>
756
+
757
+
758
+ <span class='type'>(<tt><span class='object_link'><a href="VirtualHardDisk.html" title="Azure::ARM::Compute::Models::VirtualHardDisk (class)">VirtualHardDisk</a></span></tt>)</span>
759
+
760
+
761
+
762
+ &mdash;
763
+ <div class='inline'>
764
+ <p>the Virtual Hard Disk.</p>
765
+ </div>
766
+
767
+ </li>
768
+
769
+ </ul>
770
+
771
+ </div><table class="source_code">
772
+ <tr>
773
+ <td>
774
+ <pre class="lines">
775
+
776
+
777
+ 22
778
+ 23
779
+ 24</pre>
780
+ </td>
781
+ <td>
782
+ <pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/models/data_disk.rb', line 22</span>
783
+
784
+ <span class='kw'>def</span> <span class='id identifier rubyid_vhd'>vhd</span>
785
+ <span class='ivar'>@vhd</span>
786
+ <span class='kw'>end</span></pre>
787
+ </td>
788
+ </tr>
789
+ </table>
790
+ </div>
791
+
792
+ </div>
793
+
794
+
795
+ <div id="class_method_details" class="method_details_list">
796
+ <h2>Class Method Details</h2>
797
+
798
+
799
+ <div class="method_details first">
800
+ <h3 class="signature first" id="mapper-class_method">
801
+
802
+ .<strong>mapper</strong> &#x21d2; <tt>Object</tt>
803
+
804
+
805
+
806
+
807
+
808
+ </h3><div class="docstring">
809
+ <div class="discussion">
810
+
811
+ <p>Mapper for DataDisk class as Ruby Hash. This will be used for
812
+ serialization/deserialization.</p>
813
+
814
+
815
+ </div>
816
+ </div>
817
+ <div class="tags">
818
+
819
+
820
+ </div><table class="source_code">
821
+ <tr>
822
+ <td>
823
+ <pre class="lines">
824
+
825
+
826
+ 47
827
+ 48
828
+ 49
829
+ 50
830
+ 51
831
+ 52
832
+ 53
833
+ 54
834
+ 55
835
+ 56
836
+ 57
837
+ 58
838
+ 59
839
+ 60
840
+ 61
841
+ 62
842
+ 63
843
+ 64
844
+ 65
845
+ 66
846
+ 67
847
+ 68
848
+ 69
849
+ 70
850
+ 71
851
+ 72
852
+ 73
853
+ 74
854
+ 75
855
+ 76
856
+ 77
857
+ 78
858
+ 79
859
+ 80
860
+ 81
861
+ 82
862
+ 83
863
+ 84
864
+ 85
865
+ 86
866
+ 87
867
+ 88
868
+ 89
869
+ 90
870
+ 91
871
+ 92
872
+ 93
873
+ 94
874
+ 95
875
+ 96
876
+ 97
877
+ 98
878
+ 99
879
+ 100
880
+ 101
881
+ 102
882
+ 103
883
+ 104
884
+ 105
885
+ 106
886
+ 107
887
+ 108
888
+ 109
889
+ 110
890
+ 111</pre>
891
+ </td>
892
+ <td>
893
+ <pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/models/data_disk.rb', line 47</span>
894
+
895
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_mapper'>mapper</span><span class='lparen'>(</span><span class='rparen'>)</span>
896
+ <span class='lbrace'>{</span>
897
+ <span class='label'>required:</span> <span class='kw'>false</span><span class='comma'>,</span>
898
+ <span class='label'>serialized_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>DataDisk</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
899
+ <span class='label'>type:</span> <span class='lbrace'>{</span>
900
+ <span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Composite</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
901
+ <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>DataDisk</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
902
+ <span class='label'>model_properties:</span> <span class='lbrace'>{</span>
903
+ <span class='label'>lun:</span> <span class='lbrace'>{</span>
904
+ <span class='label'>required:</span> <span class='kw'>true</span><span class='comma'>,</span>
905
+ <span class='label'>serialized_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>lun</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
906
+ <span class='label'>type:</span> <span class='lbrace'>{</span>
907
+ <span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Number</span><span class='tstring_end'>&#39;</span></span>
908
+ <span class='rbrace'>}</span>
909
+ <span class='rbrace'>}</span><span class='comma'>,</span>
910
+ <span class='label'>name:</span> <span class='lbrace'>{</span>
911
+ <span class='label'>required:</span> <span class='kw'>true</span><span class='comma'>,</span>
912
+ <span class='label'>serialized_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>name</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
913
+ <span class='label'>type:</span> <span class='lbrace'>{</span>
914
+ <span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>String</span><span class='tstring_end'>&#39;</span></span>
915
+ <span class='rbrace'>}</span>
916
+ <span class='rbrace'>}</span><span class='comma'>,</span>
917
+ <span class='label'>vhd:</span> <span class='lbrace'>{</span>
918
+ <span class='label'>required:</span> <span class='kw'>true</span><span class='comma'>,</span>
919
+ <span class='label'>serialized_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>vhd</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
920
+ <span class='label'>type:</span> <span class='lbrace'>{</span>
921
+ <span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Composite</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
922
+ <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>VirtualHardDisk</span><span class='tstring_end'>&#39;</span></span>
923
+ <span class='rbrace'>}</span>
924
+ <span class='rbrace'>}</span><span class='comma'>,</span>
925
+ <span class='label'>image:</span> <span class='lbrace'>{</span>
926
+ <span class='label'>required:</span> <span class='kw'>false</span><span class='comma'>,</span>
927
+ <span class='label'>serialized_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>image</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
928
+ <span class='label'>type:</span> <span class='lbrace'>{</span>
929
+ <span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Composite</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
930
+ <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>VirtualHardDisk</span><span class='tstring_end'>&#39;</span></span>
931
+ <span class='rbrace'>}</span>
932
+ <span class='rbrace'>}</span><span class='comma'>,</span>
933
+ <span class='label'>caching:</span> <span class='lbrace'>{</span>
934
+ <span class='label'>required:</span> <span class='kw'>false</span><span class='comma'>,</span>
935
+ <span class='label'>serialized_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>caching</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
936
+ <span class='label'>type:</span> <span class='lbrace'>{</span>
937
+ <span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Enum</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
938
+ <span class='label'>module:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>CachingTypes</span><span class='tstring_end'>&#39;</span></span>
939
+ <span class='rbrace'>}</span>
940
+ <span class='rbrace'>}</span><span class='comma'>,</span>
941
+ <span class='label'>create_option:</span> <span class='lbrace'>{</span>
942
+ <span class='label'>required:</span> <span class='kw'>true</span><span class='comma'>,</span>
943
+ <span class='label'>serialized_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>createOption</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
944
+ <span class='label'>type:</span> <span class='lbrace'>{</span>
945
+ <span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Enum</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
946
+ <span class='label'>module:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>DiskCreateOptionTypes</span><span class='tstring_end'>&#39;</span></span>
947
+ <span class='rbrace'>}</span>
948
+ <span class='rbrace'>}</span><span class='comma'>,</span>
949
+ <span class='label'>disk_size_gb:</span> <span class='lbrace'>{</span>
950
+ <span class='label'>required:</span> <span class='kw'>false</span><span class='comma'>,</span>
951
+ <span class='label'>serialized_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>diskSizeGB</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
952
+ <span class='label'>type:</span> <span class='lbrace'>{</span>
953
+ <span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Number</span><span class='tstring_end'>&#39;</span></span>
954
+ <span class='rbrace'>}</span>
955
+ <span class='rbrace'>}</span>
956
+ <span class='rbrace'>}</span>
957
+ <span class='rbrace'>}</span>
958
+ <span class='rbrace'>}</span>
959
+ <span class='kw'>end</span></pre>
960
+ </td>
961
+ </tr>
962
+ </table>
963
+ </div>
964
+
965
+ </div>
966
+
967
+ </div>
968
+
969
+ <div id="footer">
970
+ Generated on Thu Jul 21 16:09:43 2016 by
971
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
972
+ 0.9.2 (ruby-2.3.0).
973
+ </div>
974
+
975
+ </div>
976
+ </body>
977
+ </html>