Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- virtual_machine = compute.servers.create(
- name: '<vm_name>',
- location: '<location>',
- resource_group: '<resource_group_name>',
- vm_size: 'Standard_DS2',
- storage_account_name: storage_account_name,
- username: 'testuser',
- password: 'Confiz=123',
- disable_password_authentication: false,
- network_interface_card_ids: ['<network_interface_card_id>'],
- publisher: 'Canonical',
- offer: 'UbuntuServer',
- sku: '14.04.2-LTS',
- version: 'latest',
- platform: 'linux',
- os_disk_caching: Fog::ARM::Compute::Models::CachingTypes::None,
- managed_disk_storage_type: Azure::ARM::Compute::Models::StorageAccountTypes::PremiumLRS
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement