test/integration/public_ip.rb in fog-azure-rm-temp-0.0.4 vs test/integration/public_ip.rb in fog-azure-rm-temp-0.0.5
- old
+ new
@@ -45,10 +45,11 @@
public_ip = network.public_ips.create(
name: 'mypubip',
resource_group: 'TestRG-PB',
location: LOCATION,
- public_ip_allocation_method: Fog::ARM::Network::Models::IPAllocationMethod::Dynamic
+ public_ip_allocation_method: Fog::ARM::Network::Models::IPAllocationMethod::Dynamic,
+ tags: { key: 'value' }
)
puts "Created public ip: #{public_ip.name}"
########################################################################################################################
###################### Get and Update Public IP ######################