lib/fog/azurerm/docs/compute.md in fog-azure-rm-0.3.5 vs lib/fog/azurerm/docs/compute.md in fog-azure-rm-0.3.6
- old
+ new
@@ -13,12 +13,11 @@
## Create Connection
Next, create a connection to the Compute Service:
```ruby
- azure_compute_service = Fog::Compute.new(
- provider: 'AzureRM',
+ azure_compute_service = Fog::Compute::AzureRM.new(
tenant_id: '<Tenantid>', # Tenant id of Azure Active Directory Application
client_id: '<Clientid>', # Client id of Azure Active Directory Application
client_secret: '<ClientSecret>', # Client Secret of Azure Active Directory Application
subscription_id: '<Subscriptionid>', # Subscription id of an Azure Account
environment: '<AzureCloud/AzureChinaCloud/AzureUSGovernment/AzureGermanCloud>' # Azure cloud environment. Default is AzureCloud.
@@ -36,12 +35,9 @@
**Info:**
- Attribute **network_interface_card_ids** is an array of NICs ids. The NIC id at index zero will become primary NIC of this server(virtual machine) by default.
- To create VM with managed OS disk, use the _managed_disk_storage_type_ argument
- To create VM with unmanaged OS disk, use the _storage_account_name_ argument
-
-
-### Virtual Machine (Managed OS Disk)
### Virtual Machine (Managed OS Disk)
```ruby
azure_compute_service.servers.create(