{"openapi":"3.0.0","info":{"title":"TrafficManagerManagementClient","version":"2018-04-01","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/trafficmanager.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"trafficmanager","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/providers/Microsoft.Network/checkTrafficManagerNameAvailability":{"post":{"description":"Checks the availability of a Traffic Manager Relative DNS name.","operationId":"Profiles_CheckTrafficManagerRelativeDnsNameAvailability","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckTrafficManagerRelativeDnsNameAvailabilityParameters"}}},"description":"The Traffic Manager name parameters supplied to the CheckTrafficManagerNameAvailability operation.","required":true},"responses":{"200":{"description":"The Traffic Manager Name Availability.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrafficManagerNameAvailability"},"examples":{"NameAvailabilityTest_NameAvailablePOST21":{"$ref":"#/components/examples/NameAvailabilityTest_NameAvailablePOST21"},"NameAvailabilityTest_NameNotAvailablePOST23":{"$ref":"#/components/examples/NameAvailabilityTest_NameNotAvailablePOST23"}}}}},"default":{"description":"Default response. It will be deserialized as per the Error definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Profiles"]}},"/providers/Microsoft.Network/trafficManagerGeographicHierarchies/default":{"get":{"description":"Gets the default Geographic Hierarchy used by the Geographic traffic routing method.","operationId":"GeographicHierarchies_GetDefault","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"The default Geographic Hierarchy.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrafficManagerGeographicHierarchy"},"examples":{"GeographicHierarchy-GET-default":{"$ref":"#/components/examples/GeographicHierarchy-GET-default"}}}}},"default":{"description":"Default response. It will be deserialized as per the Error definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GeographicHierarchies"]}},"/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default":{"delete":{"description":"Delete a subscription-level key used for Real User Metrics collection.","operationId":"TrafficManagerUserMetricsKeys_Delete","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"The Traffic Manager Real User Metrics key was deleted successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteOperationResult"}}}},"default":{"description":"Default response. It will be deserialized as per the Error definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["RealUserMetrics"]},"get":{"description":"Get the subscription-level key used for Real User Metrics collection.","operationId":"TrafficManagerUserMetricsKeys_Get","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"The subscription-level Traffic Manager Real User Metrics key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserMetricsModel"},"examples":{"TrafficManagerUserMetricsKeys-GET":{"$ref":"#/components/examples/TrafficManagerUserMetricsKeys-GET"}}}}},"default":{"description":"Default response. It will be deserialized as per the Error definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["RealUserMetrics"]},"put":{"description":"Create or update a subscription-level key used for Real User Metrics collection.","operationId":"TrafficManagerUserMetricsKeys_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"201":{"description":"A new subscription-level key has been created for Real User Metrics collection.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserMetricsModel"},"examples":{"TrafficManagerUserMetricsKeys-PUT":{"$ref":"#/components/examples/TrafficManagerUserMetricsKeys-PUT"}}}}},"default":{"description":"Default response. It will be deserialized as per the Error definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["RealUserMetrics"]}},"/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficmanagerprofiles":{"get":{"description":"Lists all Traffic Manager profiles within a subscription.","operationId":"Profiles_ListBySubscription","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"The list of Traffic Manager profiles.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileListResult"},"examples":{"ListBySubscription":{"$ref":"#/components/examples/ListBySubscription"}}}}},"default":{"description":"Default response. It will be deserialized as per the Error definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Profiles"],"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles":{"get":{"description":"Lists all Traffic Manager profiles within a resource group.","operationId":"Profiles_ListByResourceGroup","parameters":[{"description":"The name of the resource group containing the Traffic Manager profiles to be listed.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"ListProfilesByResourceGroup":{"value":"azuresdkfornetautoresttrafficmanager3640"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"The list of Traffic Manager profiles.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileListResult"},"examples":{"ListProfilesByResourceGroup":{"$ref":"#/components/examples/ListProfilesByResourceGroup"}}}}},"default":{"description":"Default response. It will be deserialized as per the Error definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Profiles"],"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}":{"delete":{"description":"Deletes a Traffic Manager profile.","operationId":"Profiles_Delete","parameters":[{"description":"The name of the resource group containing the Traffic Manager profile to be deleted.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Profile-DELETE":{"value":"azuresdkfornetautoresttrafficmanager1323"}}},{"description":"The name of the Traffic Manager profile to be deleted.","in":"path","name":"profileName","required":true,"schema":{"type":"string"},"examples":{"Profile-DELETE":{"value":"azuresdkfornetautoresttrafficmanager3880"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"The Traffic Manager Profile was deleted successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteOperationResult"}}}},"204":{"description":"The profile does not exist. It could have been deleted on a previous request."},"default":{"description":"Default response. It will be deserialized as per the Error definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Profiles"]},"get":{"description":"Gets a Traffic Manager profile.","operationId":"Profiles_Get","parameters":[{"description":"The name of the resource group containing the Traffic Manager profile.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Profile-GET-WithEndpoints":{"value":"azuresdkfornetautoresttrafficmanager1323"}}},{"description":"The name of the Traffic Manager profile.","in":"path","name":"profileName","required":true,"schema":{"type":"string"},"examples":{"Profile-GET-WithEndpoints":{"value":"azuresdkfornetautoresttrafficmanager3880"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"The Traffic Manager profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Profile"},"examples":{"Profile-GET-WithEndpoints":{"$ref":"#/components/examples/Profile-GET-WithEndpoints"}}}}},"default":{"description":"Default response. It will be deserialized as per the Error definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Profiles"]},"patch":{"description":"Update a Traffic Manager profile.","operationId":"Profiles_Update","parameters":[{"description":"The name of the resource group containing the Traffic Manager profile.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Profile-PATCH-MonitorConfig":{"value":"azuresdkfornetautoresttrafficmanager2583"}}},{"description":"The name of the Traffic Manager profile.","in":"path","name":"profileName","required":true,"schema":{"type":"string"},"examples":{"Profile-PATCH-MonitorConfig":{"value":"azuresdkfornetautoresttrafficmanager6192"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Profile"}}},"description":"The Traffic Manager profile parameters supplied to the Update operation.","required":true},"responses":{"200":{"description":"The updated Traffic Manager profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Profile"},"examples":{"Profile-PATCH-MonitorConfig":{"$ref":"#/components/examples/Profile-PATCH-MonitorConfig"}}}}},"default":{"description":"Default response. It will be deserialized as per the Error definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Profiles"]},"put":{"description":"Create or update a Traffic Manager profile.","operationId":"Profiles_CreateOrUpdate","parameters":[{"description":"The name of the resource group containing the Traffic Manager profile.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Profile-PUT-NoEndpoints":{"value":"azuresdkfornetautoresttrafficmanager1421"},"Profile-PUT-WithCustomHeaders":{"value":"azuresdkfornetautoresttrafficmanager2583"},"Profile-PUT-WithEndpoints":{"value":"azuresdkfornetautoresttrafficmanager2583"}}},{"description":"The name of the Traffic Manager profile.","in":"path","name":"profileName","required":true,"schema":{"type":"string"},"examples":{"Profile-PUT-NoEndpoints":{"value":"azsmnet6386"},"Profile-PUT-WithCustomHeaders":{"value":"azuresdkfornetautoresttrafficmanager6192"},"Profile-PUT-WithEndpoints":{"value":"azuresdkfornetautoresttrafficmanager6192"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Profile"}}},"description":"The Traffic Manager profile parameters supplied to the CreateOrUpdate operation.","required":true},"responses":{"200":{"description":"The created or updated Traffic Manager profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Profile"},"examples":{"Profile-PUT-NoEndpoints":{"$ref":"#/components/examples/Profile-PUT-NoEndpoints"},"Profile-PUT-WithCustomHeaders":{"$ref":"#/components/examples/Profile-PUT-WithCustomHeaders"},"Profile-PUT-WithEndpoints":{"$ref":"#/components/examples/Profile-PUT-WithEndpoints"}}}}},"201":{"description":"The created or updated Traffic Manager profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Profile"},"examples":{"Profile-PUT-NoEndpoints":{"$ref":"#/components/examples/Profile-PUT-NoEndpoints"},"Profile-PUT-WithCustomHeaders":{"$ref":"#/components/examples/Profile-PUT-WithCustomHeaders"},"Profile-PUT-WithEndpoints":{"$ref":"#/components/examples/Profile-PUT-WithEndpoints"}}}}},"default":{"description":"Default response. It will be deserialized as per the Error definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Profiles"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/heatMaps/{heatMapType}":{"get":{"description":"Gets latest heatmap for Traffic Manager profile.","operationId":"HeatMap_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group containing the Traffic Manager endpoint.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"HeatMap-GET":{"value":"azuresdkfornetautoresttrafficmanager1323"},"HeatMap-GET-With-Null-Values":{"value":"azuresdkfornetautoresttrafficmanager1323"},"HeatMap-GET-With-TopLeft-BotRight":{"value":"azuresdkfornetautoresttrafficmanager1323"}}},{"description":"The name of the Traffic Manager profile.","in":"path","name":"profileName","required":true,"schema":{"type":"string"},"examples":{"HeatMap-GET":{"value":"azuresdkfornetautoresttrafficmanager3880"},"HeatMap-GET-With-Null-Values":{"value":"azuresdkfornetautoresttrafficmanager3880"},"HeatMap-GET-With-TopLeft-BotRight":{"value":"azuresdkfornetautoresttrafficmanager3880"}}},{"description":"The type of HeatMap for the Traffic Manager profile.","in":"path","name":"heatMapType","required":true,"schema":{"type":"string","enum":["default"]},"examples":{"HeatMap-GET":{"value":"default"},"HeatMap-GET-With-Null-Values":{"value":"default"},"HeatMap-GET-With-TopLeft-BotRight":{"value":"default"}}},{"allowEmptyValue":true,"description":"The top left latitude,longitude pair of the rectangular viewport to query for.","in":"query","name":"topLeft","required":false,"style":"form","explode":false,"schema":{"type":"array","items":{"format":"double","type":"number"},"minItems":2,"maxItems":2},"examples":{"HeatMap-GET-With-TopLeft-BotRight":{"value":[10,50.001]}}},{"allowEmptyValue":true,"description":"The bottom right latitude,longitude pair of the rectangular viewport to query for.","in":"query","name":"botRight","required":false,"style":"form","explode":false,"schema":{"type":"array","items":{"format":"double","type":"number"},"minItems":2,"maxItems":2},"examples":{"HeatMap-GET-With-TopLeft-BotRight":{"value":[-50.001,80]}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"The Traffic Manager heatmap.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeatMapModel"},"examples":{"HeatMap-GET":{"$ref":"#/components/examples/HeatMap-GET"},"HeatMap-GET-With-Null-Values":{"$ref":"#/components/examples/HeatMap-GET-With-Null-Values"},"HeatMap-GET-With-TopLeft-BotRight":{"$ref":"#/components/examples/HeatMap-GET-With-TopLeft-BotRight"}}}}},"default":{"description":"Default response. It will be deserialized as per the Error definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["HeatMaps"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}":{"delete":{"description":"Deletes a Traffic Manager endpoint.","operationId":"Endpoints_Delete","parameters":[{"description":"The name of the resource group containing the Traffic Manager endpoint to be deleted.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Endpoint-DELETE-External":{"value":"azuresdkfornetautoresttrafficmanager1421"}}},{"description":"The name of the Traffic Manager profile.","in":"path","name":"profileName","required":true,"schema":{"type":"string"},"examples":{"Endpoint-DELETE-External":{"value":"azsmnet6386"}}},{"description":"The type of the Traffic Manager endpoint to be deleted.","in":"path","name":"endpointType","required":true,"schema":{"type":"string"},"examples":{"Endpoint-DELETE-External":{"value":"ExternalEndpoints"}}},{"description":"The name of the Traffic Manager endpoint to be deleted.","in":"path","name":"endpointName","required":true,"schema":{"type":"string"},"examples":{"Endpoint-DELETE-External":{"value":"azsmnet7187"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"The Traffic Manager Endpoint was deleted successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteOperationResult"}}}},"204":{"description":"The Traffic Manager Endpoint does not exist. It could have been deleted on a previous request."},"default":{"description":"Default response. It will be deserialized as per the Error definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Endpoints"]},"get":{"description":"Gets a Traffic Manager endpoint.","operationId":"Endpoints_Get","parameters":[{"description":"The name of the resource group containing the Traffic Manager endpoint.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Endpoint-GET-External-WithGeoMapping":{"value":"azuresdkfornetautoresttrafficmanager2191"},"Endpoint-GET-External-WithLocation":{"value":"azuresdkfornetautoresttrafficmanager1421"},"Endpoint-GET-External-WithSubnetMapping":{"value":"azuresdkfornetautoresttrafficmanager2191"}}},{"description":"The name of the Traffic Manager profile.","in":"path","name":"profileName","required":true,"schema":{"type":"string"},"examples":{"Endpoint-GET-External-WithGeoMapping":{"value":"azuresdkfornetautoresttrafficmanager8224"},"Endpoint-GET-External-WithLocation":{"value":"azsmnet6386"},"Endpoint-GET-External-WithSubnetMapping":{"value":"azuresdkfornetautoresttrafficmanager8224"}}},{"description":"The type of the Traffic Manager endpoint.","in":"path","name":"endpointType","required":true,"schema":{"type":"string"},"examples":{"Endpoint-GET-External-WithGeoMapping":{"value":"ExternalEndpoints"},"Endpoint-GET-External-WithLocation":{"value":"ExternalEndpoints"},"Endpoint-GET-External-WithSubnetMapping":{"value":"ExternalEndpoints"}}},{"description":"The name of the Traffic Manager endpoint.","in":"path","name":"endpointName","required":true,"schema":{"type":"string"},"examples":{"Endpoint-GET-External-WithGeoMapping":{"value":"My%20external%20endpoint"},"Endpoint-GET-External-WithLocation":{"value":"azsmnet7187"},"Endpoint-GET-External-WithSubnetMapping":{"value":"My%20external%20endpoint"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"The Traffic Manager endpoint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Endpoint"},"examples":{"Endpoint-GET-External-WithGeoMapping":{"$ref":"#/components/examples/Endpoint-GET-External-WithGeoMapping"},"Endpoint-GET-External-WithLocation":{"$ref":"#/components/examples/Endpoint-GET-External-WithLocation"},"Endpoint-GET-External-WithSubnetMapping":{"$ref":"#/components/examples/Endpoint-GET-External-WithSubnetMapping"}}}}},"default":{"description":"Default response. It will be deserialized as per the Error definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Endpoints"]},"patch":{"description":"Update a Traffic Manager endpoint.","operationId":"Endpoints_Update","parameters":[{"description":"The name of the resource group containing the Traffic Manager endpoint to be updated.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Endpoint-PATCH-External-Target":{"value":"azuresdkfornetautoresttrafficmanager1421"}}},{"description":"The name of the Traffic Manager profile.","in":"path","name":"profileName","required":true,"schema":{"type":"string"},"examples":{"Endpoint-PATCH-External-Target":{"value":"azsmnet6386"}}},{"description":"The type of the Traffic Manager endpoint to be updated.","in":"path","name":"endpointType","required":true,"schema":{"type":"string"},"examples":{"Endpoint-PATCH-External-Target":{"value":"ExternalEndpoints"}}},{"description":"The name of the Traffic Manager endpoint to be updated.","in":"path","name":"endpointName","required":true,"schema":{"type":"string"},"examples":{"Endpoint-PATCH-External-Target":{"value":"azsmnet7187"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Endpoint"}}},"description":"The Traffic Manager endpoint parameters supplied to the Update operation.","required":true},"responses":{"200":{"description":"The updated Traffic Manager endpoint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Endpoint"},"examples":{"Endpoint-PATCH-External-Target":{"$ref":"#/components/examples/Endpoint-PATCH-External-Target"}}}}},"default":{"description":"Default response. It will be deserialized as per the Error definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Endpoints"]},"put":{"description":"Create or update a Traffic Manager endpoint.","operationId":"Endpoints_CreateOrUpdate","parameters":[{"description":"The name of the resource group containing the Traffic Manager endpoint to be created or updated.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Endpoint-PUT-External-WithCustomHeaders":{"value":"azuresdkfornetautoresttrafficmanager1421"},"Endpoint-PUT-External-WithGeoMapping":{"value":"azuresdkfornetautoresttrafficmanager2191"},"Endpoint-PUT-External-WithLocation":{"value":"azuresdkfornetautoresttrafficmanager1421"},"Endpoint-PUT-External-WithSubnetMapping":{"value":"azuresdkfornetautoresttrafficmanager2191"}}},{"description":"The name of the Traffic Manager profile.","in":"path","name":"profileName","required":true,"schema":{"type":"string"},"examples":{"Endpoint-PUT-External-WithCustomHeaders":{"value":"azsmnet6386"},"Endpoint-PUT-External-WithGeoMapping":{"value":"azuresdkfornetautoresttrafficmanager8224"},"Endpoint-PUT-External-WithLocation":{"value":"azsmnet6386"},"Endpoint-PUT-External-WithSubnetMapping":{"value":"azuresdkfornetautoresttrafficmanager8224"}}},{"description":"The type of the Traffic Manager endpoint to be created or updated.","in":"path","name":"endpointType","required":true,"schema":{"type":"string"},"examples":{"Endpoint-PUT-External-WithCustomHeaders":{"value":"ExternalEndpoints"},"Endpoint-PUT-External-WithGeoMapping":{"value":"ExternalEndpoints"},"Endpoint-PUT-External-WithLocation":{"value":"ExternalEndpoints"},"Endpoint-PUT-External-WithSubnetMapping":{"value":"ExternalEndpoints"}}},{"description":"The name of the Traffic Manager endpoint to be created or updated.","in":"path","name":"endpointName","required":true,"schema":{"type":"string"},"examples":{"Endpoint-PUT-External-WithCustomHeaders":{"value":"azsmnet7187"},"Endpoint-PUT-External-WithGeoMapping":{"value":"My%20external%20endpoint"},"Endpoint-PUT-External-WithLocation":{"value":"azsmnet7187"},"Endpoint-PUT-External-WithSubnetMapping":{"value":"My%20external%20endpoint"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Endpoint"}}},"description":"The Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation.","required":true},"responses":{"200":{"description":"The created or updated Endpoint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Endpoint"},"examples":{"Endpoint-PUT-External-WithCustomHeaders":{"$ref":"#/components/examples/Endpoint-PUT-External-WithCustomHeaders"},"Endpoint-PUT-External-WithGeoMapping":{"$ref":"#/components/examples/Endpoint-PUT-External-WithGeoMapping"},"Endpoint-PUT-External-WithLocation":{"$ref":"#/components/examples/Endpoint-PUT-External-WithLocation"},"Endpoint-PUT-External-WithSubnetMapping":{"$ref":"#/components/examples/Endpoint-PUT-External-WithSubnetMapping"}}}}},"201":{"description":"The created or updated Endpoint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Endpoint"},"examples":{"Endpoint-PUT-External-WithCustomHeaders":{"$ref":"#/components/examples/Endpoint-PUT-External-WithCustomHeaders"},"Endpoint-PUT-External-WithGeoMapping":{"$ref":"#/components/examples/Endpoint-PUT-External-WithGeoMapping"},"Endpoint-PUT-External-WithLocation":{"$ref":"#/components/examples/Endpoint-PUT-External-WithLocation"},"Endpoint-PUT-External-WithSubnetMapping":{"$ref":"#/components/examples/Endpoint-PUT-External-WithSubnetMapping"}}}}},"default":{"description":"Default response. It will be deserialized as per the Error definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Endpoints"]}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"NameAvailabilityTest_NameAvailablePOST21":{"value":{"name":"azsmnet5403","nameAvailable":true,"type":"Microsoft.Network/trafficManagerProfiles"}},"NameAvailabilityTest_NameNotAvailablePOST23":{"value":{"message":"Domain name azsmnet4696.tmpreview.watmtest.azure-test.net already exists. Please choose a different DNS prefix.","name":"azsmnet4696","nameAvailable":false,"reason":"AlreadyExists","type":"Microsoft.Network/trafficManagerProfiles"}},"GeographicHierarchy-GET-default":{"value":{"id":"/providers/Microsoft.Network/trafficManagerGeographicHierarchies/default","name":"default","properties":{"geographicHierarchy":{"code":"WORLD","name":"World","regions":[{"code":"GEO-ME","name":"Middle East","regions":[{"code":"AE","name":"United Arab Emirates","regions":[]}]},{"code":"GEO-AP","name":"Australia / Pacific","regions":[{"code":"AU","name":"Australia","regions":[{"code":"AU-ACT","name":"Australian Capital Territory","regions":[]},{"code":"AU-NSW","name":"New South Wales","regions":[]}]},{"code":"CK","name":"Cook Islands","regions":[]}]}]}},"type":"Microsoft.Network/trafficManagerGeographicHierarchies"}},"TrafficManagerUserMetricsKeys-GET":{"value":{"id":"/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default","name":"default","properties":{"key":"9ea056eb38f145a0891b5d5dc15e9aa2"},"type":"Microsoft.Network/trafficManagerUserMetricsKeys"}},"TrafficManagerUserMetricsKeys-PUT":{"value":{"id":"/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default","name":"default","properties":{"key":"9ea056eb38f145a0891b5d5dc15e9aa2"},"type":"Microsoft.Network/trafficManagerUserMetricsKeys"}},"ListBySubscription":{"value":{"value":[{"id":"/subscriptions/{subscription-id}/resourceGroups/azsmnet1719/providers/Microsoft.Network/trafficManagerProfiles/azsmnet5183","location":"global","name":"azsmnet5183","properties":{"dnsConfig":{"fqdn":"azsmnet4696.tmpreview.watmtest.azure-test.net","relativeName":"azsmnet4696","ttl":35},"endpoints":[],"monitorConfig":{"intervalInSeconds":30,"path":"/testpath.aspx","port":80,"profileMonitorStatus":"Online","protocol":"HTTP","timeoutInSeconds":10,"toleratedNumberOfFailures":3},"profileStatus":"Enabled","trafficRoutingMethod":"Performance"},"tags":{},"type":"Microsoft.Network/trafficManagerProfiles"},{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager5168/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3440","location":"global","name":"azuresdkfornetautoresttrafficmanager3440","properties":{"dnsConfig":{"fqdn":"azuresdkfornetautoresttrafficmanager3440.tmpreview.watmtest.azure-test.net","relativeName":"azuresdkfornetautoresttrafficmanager3440","ttl":35},"endpoints":[{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager5168/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3440/externalEndpoints/My external endpoint","name":"My external endpoint","properties":{"endpointLocation":"North Europe","endpointMonitorStatus":"Online","endpointStatus":"Enabled","priority":1,"target":"foobar.contoso.com","weight":1},"type":"Microsoft.Network/trafficManagerProfiles/externalEndpoints"}],"monitorConfig":{"intervalInSeconds":30,"path":"/testpath.aspx","port":80,"profileMonitorStatus":"Online","protocol":"HTTP","timeoutInSeconds":10,"toleratedNumberOfFailures":3},"profileStatus":"Enabled","trafficRoutingMethod":"Performance"},"tags":{},"type":"Microsoft.Network/trafficManagerProfiles"},{"id":"/subscriptions/{subscription-id}/resourceGroups/onesdk9785/providers/Microsoft.Network/trafficManagerProfiles/onesdk8819","location":"global","name":"onesdk8819","properties":{"dnsConfig":{"fqdn":"onesdk7242.tmpreview.watmtest.azure-test.net","relativeName":"onesdk7242","ttl":51},"endpoints":[{"id":"/subscriptions/{subscription-id}/resourceGroups/onesdk9785/providers/Microsoft.Network/trafficManagerProfiles/onesdk8819/nestedEndpoints/MyNestedEndpoint","name":"MyNestedEndpoint","properties":{"endpointLocation":"West Europe","endpointMonitorStatus":"Stopped","endpointStatus":"Enabled","minChildEndpoints":1,"priority":1,"target":"onesdk4285.tmpreview.watmtest.azure-test.net","targetResourceId":"/subscriptions/{subscription-id}/resourceGroups/onesdk9785/providers/Microsoft.Network/trafficManagerProfiles/onesdk1792","weight":1},"type":"Microsoft.Network/trafficManagerProfiles/nestedEndpoints"}],"monitorConfig":{"intervalInSeconds":30,"path":"/testparent.asp","port":111,"profileMonitorStatus":"Online","protocol":"HTTPS","timeoutInSeconds":10,"toleratedNumberOfFailures":3},"profileStatus":"Enabled","trafficRoutingMethod":"Performance"},"tags":{},"type":"Microsoft.Network/trafficManagerProfiles"}]}},"ListProfilesByResourceGroup":{"value":{"value":[{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager1005","location":"global","name":"azuresdkfornetautoresttrafficmanager1005","properties":{"dnsConfig":{"fqdn":"azuresdkfornetautoresttrafficmanager1005.tmpreview.watmtest.azure-test.net","relativeName":"azuresdkfornetautoresttrafficmanager1005","ttl":35},"endpoints":[{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager1005/externalEndpoints/My external endpoint","name":"My external endpoint","properties":{"endpointLocation":"North Europe","endpointMonitorStatus":"CheckingEndpoint","endpointStatus":"Enabled","priority":1,"target":"foobar.contoso.com","weight":1},"type":"Microsoft.Network/trafficManagerProfiles/externalEndpoints"}],"monitorConfig":{"intervalInSeconds":30,"path":"/testpath.aspx","port":80,"profileMonitorStatus":"Online","protocol":"HTTP","timeoutInSeconds":10,"toleratedNumberOfFailures":3},"profileStatus":"Enabled","trafficRoutingMethod":"Performance"},"tags":{},"type":"Microsoft.Network/trafficManagerProfiles"},{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager959","location":"global","name":"azuresdkfornetautoresttrafficmanager959","properties":{"dnsConfig":{"fqdn":"azuresdkfornetautoresttrafficmanager959.tmpreview.watmtest.azure-test.net","relativeName":"azuresdkfornetautoresttrafficmanager959","ttl":35},"endpoints":[{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager959/externalEndpoints/My external endpoint","name":"My external endpoint","properties":{"endpointLocation":"North Europe","endpointMonitorStatus":"Online","endpointStatus":"Enabled","priority":1,"target":"foobar.contoso.com","weight":1},"type":"Microsoft.Network/trafficManagerProfiles/externalEndpoints"}],"monitorConfig":{"intervalInSeconds":30,"path":"/testpath.aspx","port":80,"profileMonitorStatus":"Online","protocol":"HTTP","timeoutInSeconds":10,"toleratedNumberOfFailures":3},"profileStatus":"Enabled","trafficRoutingMethod":"Performance"},"tags":{},"type":"Microsoft.Network/trafficManagerProfiles"}]}},"Profile-GET-WithEndpoints":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880","location":"global","name":"azuresdkfornetautoresttrafficmanager3880","properties":{"dnsConfig":{"fqdn":"azuresdkfornetautoresttrafficmanager3880.tmpreview.watmtest.azure-test.net","relativeName":"azuresdkfornetautoresttrafficmanager3880","ttl":35},"endpoints":[{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/My external endpoint","name":"My external endpoint","properties":{"endpointLocation":"North Europe","endpointMonitorStatus":"CheckingEndpoint","endpointStatus":"Enabled","priority":1,"target":"foobar.contoso.com","weight":1},"type":"Microsoft.Network/trafficManagerProfiles/externalEndpoints"}],"monitorConfig":{"intervalInSeconds":30,"path":"/testpath.aspx","port":80,"profileMonitorStatus":"CheckingEndpoints","protocol":"HTTP","timeoutInSeconds":10,"toleratedNumberOfFailures":3},"profileStatus":"Enabled","trafficRoutingMethod":"Performance"},"tags":{},"type":"Microsoft.Network/trafficManagerProfiles"}},"Profile-PATCH-MonitorConfig":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192","location":"global","name":"azuresdkfornetautoresttrafficmanager6192","properties":{"dnsConfig":{"fqdn":"azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net","relativeName":"azuresdkfornetautoresttrafficmanager6192","ttl":35},"endpoints":[{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint","name":"My external endpoint","properties":{"endpointLocation":"North Europe","endpointMonitorStatus":"CheckingEndpoint","endpointStatus":"Enabled","priority":1,"target":"foobar.contoso.com","weight":1},"type":"Microsoft.Network/trafficManagerProfiles/externalEndpoints"}],"monitorConfig":{"customHeaders":[{"name":"header-1","value":"value-1"},{"name":"header-2","value":"value-2"}],"intervalInSeconds":30,"path":"/testpath.aspx","port":80,"profileMonitorStatus":"CheckingEndpoints","protocol":"HTTP","timeoutInSeconds":6,"toleratedNumberOfFailures":4},"profileStatus":"Enabled","trafficRoutingMethod":"Performance"},"tags":{},"type":"Microsoft.Network/trafficManagerProfiles"}},"Profile-PUT-NoEndpoints":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386","location":"global","name":"azsmnet6386","properties":{"dnsConfig":{"fqdn":"azsmnet6386.tmpreview.watmtest.azure-test.net","relativeName":"azsmnet6386","ttl":35},"endpoints":[],"monitorConfig":{"intervalInSeconds":30,"path":"/testpath.aspx","port":80,"profileMonitorStatus":"Inactive","protocol":"HTTP","timeoutInSeconds":10,"toleratedNumberOfFailures":3},"profileStatus":"Enabled","trafficRoutingMethod":"Performance"},"type":"Microsoft.Network/trafficManagerProfiles"}},"Profile-PUT-WithCustomHeaders":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192","location":"global","name":"azuresdkfornetautoresttrafficmanager6192","properties":{"dnsConfig":{"fqdn":"azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net","relativeName":"azuresdkfornetautoresttrafficmanager6192","ttl":35},"endpoints":[{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint","name":"My external endpoint","properties":{"customHeaders":[{"name":"header-2","value":"value-2-overridden"}],"endpointLocation":"North Europe","endpointMonitorStatus":"CheckingEndpoint","endpointStatus":"Enabled","priority":1,"target":"foobar.contoso.com","weight":1},"type":"Microsoft.Network/trafficManagerProfiles/externalEndpoints"}],"monitorConfig":{"customHeaders":[{"name":"header-1","value":"value-1"},{"name":"header-2","value":"value-2"}],"intervalInSeconds":10,"path":"/testpath.aspx","port":80,"profileMonitorStatus":"CheckingEndpoints","protocol":"HTTP","timeoutInSeconds":5,"toleratedNumberOfFailures":2},"profileStatus":"Enabled","trafficRoutingMethod":"Performance","trafficViewEnrollmentStatus":"Disabled"},"type":"Microsoft.Network/trafficManagerProfiles"}},"Profile-PUT-WithEndpoints":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192","location":"global","name":"azuresdkfornetautoresttrafficmanager6192","properties":{"dnsConfig":{"fqdn":"azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net","relativeName":"azuresdkfornetautoresttrafficmanager6192","ttl":35},"endpoints":[{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint","name":"My external endpoint","properties":{"endpointLocation":"North Europe","endpointMonitorStatus":"CheckingEndpoint","endpointStatus":"Enabled","priority":1,"target":"foobar.contoso.com","weight":1},"type":"Microsoft.Network/trafficManagerProfiles/externalEndpoints"}],"monitorConfig":{"intervalInSeconds":10,"path":"/testpath.aspx","port":80,"profileMonitorStatus":"CheckingEndpoints","protocol":"HTTP","timeoutInSeconds":5,"toleratedNumberOfFailures":2},"profileStatus":"Enabled","trafficRoutingMethod":"Performance"},"type":"Microsoft.Network/trafficManagerProfiles"}},"HeatMap-GET":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/heatMaps/latencyVolumeByLocation","name":"default","properties":{"endTime":"2017-08-22T12:50:00Z","endpoints":[{"endpointId":1,"resourceId":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880"},{"endpointId":2,"resourceId":"/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881"}],"startTime":"2017-08-15T12:00:00Z","trafficFlows":[{"latitude":99.99,"longitude":0,"queryExperiences":[{"endpointId":1,"latency":99.222,"queryCount":1000000},{"endpointId":2,"latency":1.222,"queryCount":1}],"sourceIp":"1.1.1.1"},{"latitude":-99.99,"longitude":1,"queryExperiences":[{"endpointId":1,"latency":96.222,"queryCount":100},{"endpointId":2,"latency":4.222,"queryCount":500}],"sourceIp":"2.255.1.1"}]},"type":"Microsoft.Network/trafficManagerProfiles/heatMaps/latencyVolumeByLocation"}},"HeatMap-GET-With-Null-Values":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/heatMaps/default","name":"default","properties":{"endTime":"2017-08-22T12:50:00Z","endpoints":[{"endpointId":0,"resourceId":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880"},{"endpointId":1,"resourceId":"/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881"}],"startTime":"2017-08-15T12:00:00Z","trafficFlows":[{"latitude":99.99,"longitude":0,"queryExperiences":[{"endpointId":0,"latency":99,"queryCount":1000000},{"endpointId":1,"latency":1,"queryCount":1}],"sourceIp":"1.1.1.1"},{"latitude":1.11,"longitude":-2.35,"queryExperiences":[{"endpointId":0,"queryCount":100},{"endpointId":1,"latency":4.222,"queryCount":500}],"sourceIp":"2.255.1.1"}]},"type":"Microsoft.Network/trafficManagerProfiles/heatMaps/default"}},"HeatMap-GET-With-TopLeft-BotRight":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/heatMaps/latencyVolumeByLocation","name":"default","properties":{"endTime":"2017-08-22T12:50:00Z","endpoints":[{"endpointId":1,"resourceId":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880"},{"endpointId":2,"resourceId":"/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881"}],"startTime":"2017-08-15T12:00:00Z","trafficFlows":[{"latitude":9.99,"longitude":75.01,"queryExperiences":[{"endpointId":1,"latency":99.222,"queryCount":1000000},{"endpointId":2,"latency":1.222,"queryCount":1}],"sourceIp":"1.1.1.1"},{"latitude":-49.99,"longitude":51,"queryExperiences":[{"endpointId":1,"latency":96.222,"queryCount":100},{"endpointId":2,"latency":4.222,"queryCount":500}],"sourceIp":"2.255.1.1"}]},"type":"Microsoft.Network/trafficManagerProfiles/heatMaps/latencyVolumeByLocation"}},"Endpoint-GET-External-WithGeoMapping":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint","name":"My external endpoint","properties":{"endpointMonitorStatus":"CheckingEndpoint","endpointStatus":"Enabled","geoMapping":["GEO-AS","GEO-AF"],"priority":1,"target":"foobar.contoso.com","weight":1},"type":"Microsoft.Network/trafficManagerProfiles/externalEndpoints"}},"Endpoint-GET-External-WithLocation":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187","name":"azsmnet7187","properties":{"endpointLocation":"North Europe","endpointMonitorStatus":"CheckingEndpoint","endpointStatus":"Enabled","priority":1,"target":"foobar.contoso.com","weight":1},"type":"Microsoft.Network/trafficManagerProfiles/externalEndpoints"}},"Endpoint-GET-External-WithSubnetMapping":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint","name":"My external endpoint","properties":{"endpointMonitorStatus":"CheckingEndpoint","endpointStatus":"Enabled","priority":1,"subnets":[{"first":"1.2.3.0","scope":24},{"first":"25.26.27.28","last":"29.30.31.32"}],"target":"foobar.contoso.com","weight":1},"type":"Microsoft.Network/trafficManagerProfiles/externalEndpoints"}},"Endpoint-PATCH-External-Target":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187","name":"azsmnet7187","properties":{"endpointLocation":"North Europe","endpointMonitorStatus":"CheckingEndpoint","endpointStatus":"Enabled","priority":1,"target":"another.foobar.contoso.com","weight":1},"type":"Microsoft.Network/trafficManagerProfiles/externalEndpoints"}},"Endpoint-PUT-External-WithCustomHeaders":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187","name":"azsmnet7187","properties":{"customHeaders":[{"name":"header-1","value":"value-1"},{"name":"header-2","value":"value-2"}],"endpointLocation":"North Europe","endpointMonitorStatus":"CheckingEndpoint","endpointStatus":"Enabled","priority":1,"target":"foobar.contoso.com","weight":1},"type":"Microsoft.Network/trafficManagerProfiles/externalEndpoints"}},"Endpoint-PUT-External-WithGeoMapping":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint","name":"My external endpoint","properties":{"endpointMonitorStatus":"CheckingEndpoint","endpointStatus":"Enabled","geoMapping":["GEO-AS","GEO-AF"],"priority":1,"target":"foobar.contoso.com","weight":1},"type":"Microsoft.Network/trafficManagerProfiles/externalEndpoints"}},"Endpoint-PUT-External-WithLocation":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187","name":"azsmnet7187","properties":{"endpointLocation":"North Europe","endpointMonitorStatus":"CheckingEndpoint","endpointStatus":"Enabled","priority":1,"target":"foobar.contoso.com","weight":1},"type":"Microsoft.Network/trafficManagerProfiles/externalEndpoints"}},"Endpoint-PUT-External-WithSubnetMapping":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint","name":"My external endpoint","properties":{"endpointMonitorStatus":"CheckingEndpoint","endpointStatus":"Enabled","priority":1,"subnets":[{"first":"1.2.3.0","scope":24},{"first":"25.26.27.28","last":"29.30.31.32"}],"target":"foobar.contoso.com","weight":1},"type":"Microsoft.Network/trafficManagerProfiles/externalEndpoints"}}},"parameters":{"ApiVersionParameter":{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"NameAvailabilityTest_NameAvailablePOST21":{"value":"2018-04-01"},"NameAvailabilityTest_NameNotAvailablePOST23":{"value":"2018-04-01"},"GeographicHierarchy-GET-default":{"value":"2018-04-01"},"TrafficManagerUserMetricsKeys-DELETE":{"value":"2018-04-01"},"TrafficManagerUserMetricsKeys-GET":{"value":"2018-04-01"},"TrafficManagerUserMetricsKeys-PUT":{"value":"2018-04-01"},"ListBySubscription":{"value":"2018-04-01"},"ListProfilesByResourceGroup":{"value":"2018-04-01"},"Profile-DELETE":{"value":"2018-04-01"},"Profile-GET-WithEndpoints":{"value":"2018-04-01"},"Profile-PATCH-MonitorConfig":{"value":"2018-04-01"},"Profile-PUT-NoEndpoints":{"value":"2018-04-01"},"Profile-PUT-WithCustomHeaders":{"value":"2018-04-01"},"Profile-PUT-WithEndpoints":{"value":"2018-04-01"},"HeatMap-GET":{"value":"2018-04-01"},"HeatMap-GET-With-Null-Values":{"value":"2018-04-01"},"HeatMap-GET-With-TopLeft-BotRight":{"value":"2018-04-01"},"Endpoint-DELETE-External":{"value":"2018-04-01"},"Endpoint-GET-External-WithGeoMapping":{"value":"2018-04-01"},"Endpoint-GET-External-WithLocation":{"value":"2018-04-01"},"Endpoint-GET-External-WithSubnetMapping":{"value":"2018-04-01"},"Endpoint-PATCH-External-Target":{"value":"2018-04-01"},"Endpoint-PUT-External-WithCustomHeaders":{"value":"2018-04-01"},"Endpoint-PUT-External-WithGeoMapping":{"value":"2018-04-01"},"Endpoint-PUT-External-WithLocation":{"value":"2018-04-01"},"Endpoint-PUT-External-WithSubnetMapping":{"value":"2018-04-01"}}},"SubscriptionIdParameter":{"description":"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"TrafficManagerUserMetricsKeys-DELETE":{"value":"{subscription-id}"},"TrafficManagerUserMetricsKeys-GET":{"value":"{subscription-id}"},"TrafficManagerUserMetricsKeys-PUT":{"value":"{subscription-id}"},"ListBySubscription":{"value":"{subscription-id}"},"ListProfilesByResourceGroup":{"value":"{subscription-id}"},"Profile-DELETE":{"value":"{subscription-id}"},"Profile-GET-WithEndpoints":{"value":"{subscription-id}"},"Profile-PATCH-MonitorConfig":{"value":"{subscription-id}"},"Profile-PUT-NoEndpoints":{"value":"{subscription-id}"},"Profile-PUT-WithCustomHeaders":{"value":"{subscription-id}"},"Profile-PUT-WithEndpoints":{"value":"{subscription-id}"},"HeatMap-GET":{"value":"{subscription-id}"},"HeatMap-GET-With-Null-Values":{"value":"{subscription-id}"},"HeatMap-GET-With-TopLeft-BotRight":{"value":"{subscription-id}"},"Endpoint-DELETE-External":{"value":"{subscription-id}"},"Endpoint-GET-External-WithGeoMapping":{"value":"{subscription-id}"},"Endpoint-GET-External-WithLocation":{"value":"{subscription-id}"},"Endpoint-GET-External-WithSubnetMapping":{"value":"{subscription-id}"},"Endpoint-PATCH-External-Target":{"value":"{subscription-id}"},"Endpoint-PUT-External-WithCustomHeaders":{"value":"{subscription-id}"},"Endpoint-PUT-External-WithGeoMapping":{"value":"{subscription-id}"},"Endpoint-PUT-External-WithLocation":{"value":"{subscription-id}"},"Endpoint-PUT-External-WithSubnetMapping":{"value":"{subscription-id}"}}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"CheckTrafficManagerRelativeDnsNameAvailabilityParameters":{"description":"Parameters supplied to check Traffic Manager name operation.","properties":{"name":{"description":"The name of the resource.","type":"string"},"type":{"description":"The type of the resource.","type":"string"}}},"CloudError":{"description":"An error returned by the Azure Resource Manager","properties":{"error":{"$ref":"#/components/schemas/CloudErrorBody"}},"type":"object","x-ms-external":true},"CloudErrorBody":{"description":"The content of an error returned by the Azure Resource Manager","properties":{"code":{"description":"Error code","type":"string"},"details":{"description":"Error details","items":{"$ref":"#/components/schemas/CloudErrorBody"},"type":"array"},"message":{"description":"Error message","type":"string"},"target":{"description":"Error target","type":"string"}},"type":"object","x-ms-external":true},"DeleteOperationResult":{"description":"The result of the request or operation.","properties":{"boolean":{"description":"The result of the operation or request.","readOnly":true,"type":"boolean","x-ms-client-name":"operationResult"}}},"DnsConfig":{"description":"Class containing DNS settings in a Traffic Manager profile.","properties":{"fqdn":{"description":"The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.","readOnly":true,"type":"string"},"relativeName":{"description":"The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.","type":"string"},"ttl":{"description":"The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.","format":"int64","type":"integer"}}},"Endpoint":{"allOf":[{"$ref":"#/components/schemas/ProxyResource"}],"description":"Class representing a Traffic Manager endpoint.","properties":{"properties":{"$ref":"#/components/schemas/EndpointProperties"}}},"EndpointProperties":{"description":"Class representing a Traffic Manager endpoint properties.","properties":{"customHeaders":{"description":"List of custom headers.","items":{"description":"Custom header name and value.","properties":{"name":{"description":"Header name.","type":"string"},"value":{"description":"Header value.","type":"string"}},"type":"object"},"type":"array"},"endpointLocation":{"description":"Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.","type":"string"},"endpointMonitorStatus":{"description":"The monitoring status of the endpoint.","enum":["CheckingEndpoint","Online","Degraded","Disabled","Inactive","Stopped"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"EndpointMonitorStatus"}},"endpointStatus":{"description":"The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.","enum":["Enabled","Disabled"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"EndpointStatus"}},"geoMapping":{"description":"The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.","items":{"type":"string"},"type":"array"},"minChildEndpoints":{"description":"The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.","format":"int64","type":"integer"},"priority":{"description":"The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter.  If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.","format":"int64","type":"integer"},"subnets":{"description":"The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.","items":{"description":"Subnet first address, scope, and/or last address.","properties":{"first":{"description":"First address in the subnet.","type":"string"},"last":{"description":"Last address in the subnet.","type":"string"},"scope":{"description":"Block size (number of leading bits in the subnet mask).","type":"integer"}},"type":"object"},"type":"array"},"target":{"description":"The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.","type":"string"},"targetResourceId":{"description":"The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.","type":"string"},"weight":{"description":"The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.","format":"int64","type":"integer"}}},"GeographicHierarchyProperties":{"description":"Class representing the properties of the Geographic hierarchy used with the Geographic traffic routing method.","properties":{"geographicHierarchy":{"$ref":"#/components/schemas/Region"}}},"HeatMapEndpoint":{"description":"Class which is a sparse representation of a Traffic Manager endpoint.","properties":{"endpointId":{"description":"A number uniquely identifying this endpoint in query experiences.","type":"integer"},"resourceId":{"description":"The ARM Resource ID of this Traffic Manager endpoint.","type":"string"}}},"HeatMapModel":{"allOf":[{"$ref":"#/components/schemas/ProxyResource"}],"description":"Class representing a Traffic Manager HeatMap.","properties":{"properties":{"$ref":"#/components/schemas/HeatMapProperties"}}},"HeatMapProperties":{"description":"Class representing a Traffic Manager HeatMap properties.","properties":{"endTime":{"description":"The ending of the time window for this HeatMap, exclusive.","format":"date-time","type":"string"},"endpoints":{"description":"The endpoints used in this HeatMap calculation.","items":{"$ref":"#/components/schemas/HeatMapEndpoint"},"type":"array"},"startTime":{"description":"The beginning of the time window for this HeatMap, inclusive.","format":"date-time","type":"string"},"trafficFlows":{"description":"The traffic flows produced in this HeatMap calculation.","items":{"$ref":"#/components/schemas/TrafficFlow"},"type":"array"}}},"MonitorConfig":{"description":"Class containing endpoint monitoring settings in a Traffic Manager profile.","properties":{"customHeaders":{"description":"List of custom headers.","items":{"description":"Custom header name and value.","properties":{"name":{"description":"Header name.","type":"string"},"value":{"description":"Header value.","type":"string"}},"type":"object"},"type":"array"},"expectedStatusCodeRanges":{"description":"List of expected status code ranges.","items":{"description":"Min and max value of a status code range.","properties":{"max":{"description":"Max status code.","type":"integer"},"min":{"description":"Min status code.","type":"integer"}},"type":"object"},"type":"array"},"intervalInSeconds":{"description":"The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.","format":"int64","type":"integer"},"path":{"description":"The path relative to the endpoint domain name used to probe for endpoint health.","type":"string"},"port":{"description":"The TCP port used to probe for endpoint health.","format":"int64","type":"integer"},"profileMonitorStatus":{"description":"The profile-level monitoring status of the Traffic Manager profile.","enum":["CheckingEndpoints","Online","Degraded","Disabled","Inactive"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"ProfileMonitorStatus"}},"protocol":{"description":"The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.","enum":["HTTP","HTTPS","TCP"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"MonitorProtocol"}},"timeoutInSeconds":{"description":"The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.","format":"int64","type":"integer"},"toleratedNumberOfFailures":{"description":"The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.","format":"int64","type":"integer"}}},"Profile":{"allOf":[{"$ref":"#/components/schemas/TrackedResource"}],"description":"Class representing a Traffic Manager profile.","properties":{"properties":{"$ref":"#/components/schemas/ProfileProperties"}}},"ProfileListResult":{"description":"The list Traffic Manager profiles operation response.","properties":{"value":{"description":"Gets the list of Traffic manager profiles.","items":{"$ref":"#/components/schemas/Profile"},"type":"array"}}},"ProfileProperties":{"description":"Class representing the Traffic Manager profile properties.","properties":{"dnsConfig":{"$ref":"#/components/schemas/DnsConfig"},"endpoints":{"description":"The list of endpoints in the Traffic Manager profile.","items":{"$ref":"#/components/schemas/Endpoint"},"type":"array"},"maxReturn":{"description":"Maximum number of endpoints to be returned for MultiValue routing type.","format":"int64","type":"integer"},"monitorConfig":{"$ref":"#/components/schemas/MonitorConfig"},"profileStatus":{"description":"The status of the Traffic Manager profile.","enum":["Enabled","Disabled"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"ProfileStatus"}},"trafficRoutingMethod":{"description":"The traffic routing method of the Traffic Manager profile.","enum":["Performance","Priority","Weighted","Geographic","MultiValue","Subnet"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"TrafficRoutingMethod"}},"trafficViewEnrollmentStatus":{"description":"Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.","enum":["Enabled","Disabled"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"TrafficViewEnrollmentStatus"}}}},"ProxyResource":{"allOf":[{"$ref":"#/components/schemas/Resource"}],"description":"The resource model definition for a ARM proxy resource. It will have everything other than required location and tags"},"QueryExperience":{"description":"Class representing a Traffic Manager HeatMap query experience properties.","properties":{"endpointId":{"description":"The id of the endpoint from the 'endpoints' array which these queries were routed to.","type":"integer"},"latency":{"description":"The latency experienced by queries originating from this location.","format":"double","type":"number"},"queryCount":{"description":"The number of queries originating from this location.","type":"integer"}},"required":["endpointId","queryCount"]},"Region":{"description":"Class representing a region in the Geographic hierarchy used with the Geographic traffic routing method.","properties":{"code":{"description":"The code of the region","type":"string"},"name":{"description":"The name of the region","type":"string"},"regions":{"description":"The list of Regions grouped under this Region in the Geographic Hierarchy.","items":{"$ref":"#/components/schemas/Region"},"type":"array"}}},"Resource":{"description":"The core properties of ARM resources","properties":{"id":{"description":"Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}","type":"string"},"name":{"description":"The name of the resource","type":"string"},"type":{"description":"The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.","type":"string"}},"x-ms-azure-resource":true},"TrackedResource":{"allOf":[{"$ref":"#/components/schemas/Resource"}],"description":"The resource model definition for a ARM tracked top level resource","properties":{"location":{"description":"The Azure Region where the resource lives","type":"string","x-ms-mutability":["read","create"]},"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags.","type":"object","x-ms-mutability":["read","create","update"]}}},"TrafficFlow":{"description":"Class representing a Traffic Manager HeatMap traffic flow properties.","properties":{"latitude":{"description":"The approximate latitude that these queries originated from.","format":"double","type":"number"},"longitude":{"description":"The approximate longitude that these queries originated from.","format":"double","type":"number"},"queryExperiences":{"description":"The query experiences produced in this HeatMap calculation.","items":{"$ref":"#/components/schemas/QueryExperience"},"type":"array"},"sourceIp":{"description":"The IP address that this query experience originated from.","type":"string"}}},"TrafficManagerGeographicHierarchy":{"allOf":[{"$ref":"#/components/schemas/ProxyResource"}],"description":"Class representing the Geographic hierarchy used with the Geographic traffic routing method.","properties":{"properties":{"$ref":"#/components/schemas/GeographicHierarchyProperties"}}},"TrafficManagerNameAvailability":{"description":"Class representing a Traffic Manager Name Availability response.","properties":{"message":{"description":"Descriptive message that explains why the name is not available, when applicable.","type":"string"},"name":{"description":"The relative name.","type":"string"},"nameAvailable":{"description":"Describes whether the relative name is available or not.","type":"boolean"},"reason":{"description":"The reason why the name is not available, when applicable.","type":"string"},"type":{"description":"Traffic Manager profile resource type.","type":"string"}}},"UserMetricsModel":{"allOf":[{"$ref":"#/components/schemas/ProxyResource"}],"description":"Class representing Traffic Manager User Metrics.","properties":{"properties":{"$ref":"#/components/schemas/UserMetricsProperties"}}},"UserMetricsProperties":{"description":"Class representing a Traffic Manager Real User Metrics key response.","properties":{"key":{"description":"The key returned by the User Metrics operation.","type":"string"}}}}}}