lib/fog/azurerm/docs/compute.md in fog-azure-rm-0.5.0 vs lib/fog/azurerm/docs/compute.md in fog-azure-rm-0.5.1
- old
+ new
@@ -158,11 +158,11 @@
managed_disk_storage_type: '<Storage Account Type>', # [Optional], can be StandardLRS or PremiumLRS
os_disk_size: <Disk Size>, # [Optional], size of the os disk in GB (upto 1023)
os_disk_name: '<Disk Name>' # [Optional], name of the os disk
)
```
-Following methods are available to handle async respoonse:
+Following methods are available to handle async response:
- state
- pending?
- rejected?
- reason
- fulfilled?
@@ -308,13 +308,13 @@
)
```
## Attach a Managed Data Disk to Server
-Get the server object and attach a Data Disk to it.
+Get the server object and attach a Data Disk with Disk Caching Option to it. Possible <Disk Caching Option> values include: "None", "ReadOnly", "ReadWrite". By Default "None" set.
```ruby
-server.attach_managed_disk('<Disk Name>', '<Disk Resource Group Name>')
+server.attach_managed_disk('<Disk Name>', '<Disk Resource Group Name>', '<Async Option>', '<Disk Caching Option>')
```
## Detach a Managed Data Disk from Server
Get the server object and detach a Data Disk from it.