test/integration/network_interface.rb in fog-azure-rm-temp-0.0.4 vs test/integration/network_interface.rb in fog-azure-rm-temp-0.0.5
- old
+ new
@@ -104,10 +104,11 @@
location: LOCATION,
network_security_group_id: nsg.id,
subnet_id: "/subscriptions/#{azure_credentials['subscription_id']}/resourceGroups/TestRG-NI/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/mysubnet",
public_ip_address_id: "/subscriptions/#{azure_credentials['subscription_id']}/resourceGroups/TestRG-NI/providers/Microsoft.Network/publicIPAddresses/mypubip",
ip_configuration_name: 'testIpConfiguration',
- private_ip_allocation_method: 'Dynamic'
+ private_ip_allocation_method: 'Dynamic',
+ tags: { key: 'value' }
)
puts "Created network interface: #{network_interface.name}"
########################################################################################################################
###################### Get Network Interface and Update Resources ######################