{"files":{"SKILL.md":"---\nname: trafficmanagermanagementclient\ndescription: \"TrafficManagerManagementClient API skill. Use when working with TrafficManagerManagementClient for subscriptions, providers. Covers 16 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# TrafficManagerManagementClient\nAPI version: 2018-04-01\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /providers/Microsoft.Network/trafficManagerGeographicHierarchies/default -- gets the default geographic hierarchy used by the geographic traffic routing method.\n3. POST /providers/Microsoft.Network/checkTrafficManagerNameAvailability -- create first checkTrafficManagerNameAvailability\n\n## Endpoints\n16 endpoints across 2 groups. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName} | Update a Traffic Manager endpoint. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName} | Gets a Traffic Manager endpoint. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName} | Create or update a Traffic Manager endpoint. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName} | Deletes a Traffic Manager endpoint. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles | Lists all Traffic Manager profiles within a resource group. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficmanagerprofiles | Lists all Traffic Manager profiles within a subscription. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName} | Gets a Traffic Manager profile. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName} | Create or update a Traffic Manager profile. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName} | Deletes a Traffic Manager profile. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName} | Update a Traffic Manager profile. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/heatMaps/{heatMapType} | Gets latest heatmap for Traffic Manager profile. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default | Get the subscription-level key used for Real User Metrics collection. |\n| PUT | /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default | Create or update a subscription-level key used for Real User Metrics collection. |\n| DELETE | /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default | Delete a subscription-level key used for Real User Metrics collection. |\n\n### Providers\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /providers/Microsoft.Network/checkTrafficManagerNameAvailability | Checks the availability of a Traffic Manager Relative DNS name. |\n| GET | /providers/Microsoft.Network/trafficManagerGeographicHierarchies/default | Gets the default Geographic Hierarchy used by the Geographic traffic routing method. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Partially update a trafficmanagerprofile?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\n- \"Get trafficmanagerprofile details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\n- \"Update a trafficmanagerprofile?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\n- \"Delete a trafficmanagerprofile?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\n- \"Create a checkTrafficManagerNameAvailability?\" -> POST /providers/Microsoft.Network/checkTrafficManagerNameAvailability\n- \"List all trafficmanagerprofiles?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles\n- \"List all default?\" -> GET /providers/Microsoft.Network/trafficManagerGeographicHierarchies/default\n- \"Get heatMap details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/heatMaps/{heatMapType}\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api TrafficManagerManagementClient\n@base https://management.azure.com\n@version 2018-04-01\n@auth OAuth2\n@common_fields {api-version: any # Client Api Version.}\n@endpoints 16\n@toc subscriptions(14), providers(2)\n\n@group subscriptions\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\n@desc Update a Traffic Manager endpoint.\n@required {resourceGroupName: any # The name of the resource group containing the Traffic Manager endpoint to be updated., profileName: any # The name of the Traffic Manager profile., endpointType: any # The type of the Traffic Manager endpoint to be updated., endpointName: any # The name of the Traffic Manager endpoint to be updated., parameters: any # The Traffic Manager endpoint parameters supplied to the Update operation., subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@returns(200) The updated Traffic Manager endpoint.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\n@desc Gets a Traffic Manager endpoint.\n@required {resourceGroupName: any # The name of the resource group containing the Traffic Manager endpoint., profileName: any # The name of the Traffic Manager profile., endpointType: any # The type of the Traffic Manager endpoint., endpointName: any # The name of the Traffic Manager endpoint., subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@returns(200) The Traffic Manager endpoint.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\n@desc Create or update a Traffic Manager endpoint.\n@required {resourceGroupName: any # The name of the resource group containing the Traffic Manager endpoint to be created or updated., profileName: any # The name of the Traffic Manager profile., endpointType: any # The type of the Traffic Manager endpoint to be created or updated., endpointName: any # The name of the Traffic Manager endpoint to be created or updated., parameters: any # The Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation., subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@returns(200) The created or updated Endpoint.\n@returns(201) The created or updated Endpoint.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\n@desc Deletes a Traffic Manager endpoint.\n@required {resourceGroupName: any # The name of the resource group containing the Traffic Manager endpoint to be deleted., profileName: any # The name of the Traffic Manager profile., endpointType: any # The type of the Traffic Manager endpoint to be deleted., endpointName: any # The name of the Traffic Manager endpoint to be deleted., subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@returns(200) The Traffic Manager Endpoint was deleted successfully.\n@returns(204) The Traffic Manager Endpoint does not exist. It could have been deleted on a previous request.\n\n@endgroup\n\n@group providers\n@endpoint POST /providers/Microsoft.Network/checkTrafficManagerNameAvailability\n@desc Checks the availability of a Traffic Manager Relative DNS name.\n@required {parameters: any # The Traffic Manager name parameters supplied to the CheckTrafficManagerNameAvailability operation.}\n@returns(200) The Traffic Manager Name Availability.\n\n@endgroup\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles\n@desc Lists all Traffic Manager profiles within a resource group.\n@required {resourceGroupName: any # The name of the resource group containing the Traffic Manager profiles to be listed., subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@returns(200) The list of Traffic Manager profiles.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficmanagerprofiles\n@desc Lists all Traffic Manager profiles within a subscription.\n@required {subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@returns(200) The list of Traffic Manager profiles.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}\n@desc Gets a Traffic Manager profile.\n@required {resourceGroupName: any # The name of the resource group containing the Traffic Manager profile., profileName: any # The name of the Traffic Manager profile., subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@returns(200) The Traffic Manager profile.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}\n@desc Create or update a Traffic Manager profile.\n@required {resourceGroupName: any # The name of the resource group containing the Traffic Manager profile., profileName: any # The name of the Traffic Manager profile., parameters: any # The Traffic Manager profile parameters supplied to the CreateOrUpdate operation., subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@returns(200) The created or updated Traffic Manager profile.\n@returns(201) The created or updated Traffic Manager profile.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}\n@desc Deletes a Traffic Manager profile.\n@required {resourceGroupName: any # The name of the resource group containing the Traffic Manager profile to be deleted., profileName: any # The name of the Traffic Manager profile to be deleted., subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@returns(200) The Traffic Manager Profile was deleted successfully.\n@returns(204) The profile does not exist. It could have been deleted on a previous request.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}\n@desc Update a Traffic Manager profile.\n@required {resourceGroupName: any # The name of the resource group containing the Traffic Manager profile., profileName: any # The name of the Traffic Manager profile., parameters: any # The Traffic Manager profile parameters supplied to the Update operation., subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@returns(200) The updated Traffic Manager profile.\n\n@endgroup\n\n@group providers\n@endpoint GET /providers/Microsoft.Network/trafficManagerGeographicHierarchies/default\n@desc Gets the default Geographic Hierarchy used by the Geographic traffic routing method.\n@returns(200) The default Geographic Hierarchy.\n\n@endgroup\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/heatMaps/{heatMapType}\n@desc Gets latest heatmap for Traffic Manager profile.\n@required {subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the resource group containing the Traffic Manager endpoint., profileName: any # The name of the Traffic Manager profile., heatMapType: any # The type of HeatMap for the Traffic Manager profile.}\n@optional {topLeft: any # The top left latitude,longitude pair of the rectangular viewport to query for., botRight: any # The bottom right latitude,longitude pair of the rectangular viewport to query for.}\n@returns(200) The Traffic Manager heatmap.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default\n@desc Get the subscription-level key used for Real User Metrics collection.\n@required {subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@returns(200) The subscription-level Traffic Manager Real User Metrics key.\n\n@endpoint PUT /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default\n@desc Create or update a subscription-level key used for Real User Metrics collection.\n@required {subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@returns(201) A new subscription-level key has been created for Real User Metrics collection.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default\n@desc Delete a subscription-level key used for Real User Metrics collection.\n@required {subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@returns(200) The Traffic Manager Real User Metrics key was deleted successfully.\n\n@endgroup\n\n@end\n"}}