Advertisement
Guest User

Untitled

a guest
Sep 11th, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. virtual_machine = compute.servers.create(
  2. name: '<vm_name>',
  3. location: '<location>',
  4. resource_group: '<resource_group_name>',
  5. vm_size: 'Standard_DS2',
  6. storage_account_name: storage_account_name,
  7. username: 'testuser',
  8. password: 'Confiz=123',
  9. disable_password_authentication: false,
  10. network_interface_card_ids: ['<network_interface_card_id>'],
  11. publisher: 'Canonical',
  12. offer: 'UbuntuServer',
  13. sku: '14.04.2-LTS',
  14. version: 'latest',
  15. platform: 'linux',
  16. os_disk_caching: Fog::ARM::Compute::Models::CachingTypes::None,
  17. managed_disk_storage_type: Azure::ARM::Compute::Models::StorageAccountTypes::PremiumLRS
  18. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement