lib/fog/azurerm/docs/compute.md in fog-azure-rm-0.2.2 vs lib/fog/azurerm/docs/compute.md in fog-azure-rm-0.2.3
- old
+ new
@@ -41,20 +41,20 @@
location: 'West US',
resource_group: '<Resource Group Name>',
vm_size: 'Basic_A0',
storage_account_name: '<Storage Account Name>',
username: '<Username for VM>',
- password: '<Password for VM>',
+ password: '<Password for VM>', # Optional, if 'platform' partameter is 'Linux'.
disable_password_authentication: false,
network_interface_card_id: '/subscriptions/{Subscription-Id}/resourceGroups/{Resource-Group-Name}/providers/Microsoft.Network/networkInterfaces/{Network-Interface-Id}',
publisher: 'Canonical', # Not required if custom image is being used
offer: 'UbuntuServer', # Not required if custom image is being used
sku: '14.04.2-LTS', # Not required if custom image is being used
version: 'latest', # Not required if custom image is being used
platform: 'Linux',
vhd_path: '<Path of VHD>', # Optional, if you want to create the VM from a custom image.
custom_data: 'echo customData', # Optional, if you want to add custom data in this VM.
- os_disk_caching: 'None/ReadOnly/ReadWrite' # Optional, can be one of None, ReadOnly, ReadWrite
+ os_disk_caching: Fog::Compute::AzureRM::CachingTypes::None # Optional, can be one of None, ReadOnly, ReadWrite
)
```
Create a new windows server