lib/fog/azurerm/docs/traffic_manager.md in fog-azure-rm-0.0.5 vs lib/fog/azurerm/docs/traffic_manager.md in fog-azure-rm-0.0.6

- old
+ new

@@ -59,10 +59,24 @@ .traffic_manager_profiles .get('<Resource Group name>', '<Profile name>') puts "#{profile.name}" ``` +## Update a Traffic Manager Profile + +Get a Traffic Manager Profile object from the get method and then update that Traffic Manager Profile. You can update the Traffic Manager Profile by passing the modifiable attributes in the form of a hash. + +```ruby + profile.update( + traffic_routing_method: 'Weighted', + ttl: '35', + protocol: 'https', + port: '90', + path: '/monitorpage1.aspx' + ) +``` + ## Destroy a single Traffic Manager Profile Get a Traffic Manager Profile object from the get method and then destroy that Traffic Manager Profile. ```ruby @@ -102,9 +116,18 @@ ```ruby endpoint = azure_traffic_manager_service .traffic_manager_end_points .get('<Resource Group name>', '<Profile Name>', '<Endpoint name>', '<Endpoint type>') puts "#{endpoint.name}" +``` +## Update a Traffic Manager Endpoint + +Get a Traffic Manager Endpoint object from the get method and then update that Traffic Manager Endpoint. You can update the Traffic Manager Endpoint by passing the modifiable attributes in the form of a hash. + +```ruby + endpoint.update(type: 'externalEndpoints', + target: 'test1.com', + endpoint_location: 'Central US') ``` ## Destroy a single Traffic Manager Endpoint Get a Traffic Manager Endpoint object from the get method and then destroy that Traffic Manager Endpoint.