test/integration/traffic_manager.rb in fog-azure-rm-0.2.7 vs test/integration/traffic_manager.rb in fog-azure-rm-0.3.0
- old
+ new
@@ -78,11 +78,11 @@
traffic_manager_end_point = traffic_manager.traffic_manager_end_points.create(
name: 'myendpoint',
traffic_manager_profile_name: 'test-tmp',
resource_group: 'TestRG-TM',
type: 'externalEndpoints',
- target: 'test-app.com',
+ target: 'test-app1.com',
endpoint_location: 'eastus'
)
puts "Created traffic manager endpoint: #{traffic_manager_end_point.name}"
########################################################################################################################
@@ -91,10 +91,10 @@
end_point = traffic_manager.traffic_manager_end_points.get('TestRG-TM', 'test-tmp', 'myendpoint', 'externalEndpoints')
puts "Get traffic manager endpoint: #{end_point.name}"
end_point.update(
type: 'externalEndpoints',
- target: 'test-app1.com',
+ target: 'test-app2.com',
endpoint_location: 'centralus'
)
puts 'Updated traffic manager endpoint'
########################################################################################################################