test/integration/traffic_manager.rb in fog-azure-rm-0.2.6 vs test/integration/traffic_manager.rb in fog-azure-rm-0.2.7
- old
+ new
@@ -49,10 +49,19 @@
traffic_routing_method: 'Performance',
relative_name: 'testapplication',
ttl: '30',
protocol: 'http',
port: '80',
- path: '/monitorpage.aspx'
+ path: '/monitorpage.aspx',
+ endpoints: [{
+ name: 'endpoint1',
+ type: 'externalEndpoints',
+ target: 'test-app.com',
+ endpoint_location: 'eastus',
+ endpoint_status: 'Enabled',
+ priority: 5,
+ weight: 10
+ }]
)
puts "Created traffic manager profile: #{traffic_manager_profile.name}"
########################################################################################################################
###################### Check Traffic Manager Endpoint Exists? ######################