{"files":{"SKILL.md":"---\nname: guest-diagnostic-settings-association-api\ndescription: \"Guest Diagnostic Settings Association API skill. Use when working with Guest Diagnostic Settings Association for {resourceUri}, subscriptions. Covers 6 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Guest Diagnostic Settings Association API\nAPI version: 2018-06-01-preview\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName} -- gets guest diagnostics association settings.\n3. Explore available endpoints below\n\n## Endpoints\n6 endpoints across 2 groups. See references/api-spec.lap for full details.\n\n### {resourceUri}\n| Method | Path | Description |\n|--------|------|-------------|\n| PUT | /{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName} | Creates or updates guest diagnostics settings association. |\n| GET | /{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName} | Gets guest diagnostics association settings. |\n| DELETE | /{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName} | Delete guest diagnostics association settings. |\n| PATCH | /{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName} | Updates an existing guestDiagnosticsSettingsAssociation Resource. To update other fields use the CreateOrUpdate method |\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/providers/microsoft.insights/guestDiagnosticSettingsAssociations | Get a list of all guest diagnostic settings association in a subscription. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettingsAssociations | Get a list of all guest diagnostic settings association in a resource group. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Update a guestDiagnosticSettingsAssociation?\" -> PUT /{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName}\n- \"Get guestDiagnosticSettingsAssociation details?\" -> GET /{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName}\n- \"Delete a guestDiagnosticSettingsAssociation?\" -> DELETE /{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName}\n- \"Partially update a guestDiagnosticSettingsAssociation?\" -> PATCH /{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName}\n- \"List all guestDiagnosticSettingsAssociations?\" -> GET /subscriptions/{subscriptionId}/providers/microsoft.insights/guestDiagnosticSettingsAssociations\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 Guest Diagnostic Settings Association API\n@base https://management.azure.com\n@version 2018-06-01-preview\n@auth OAuth2\n@endpoints 6\n@toc {resourceUri}(4), subscriptions(2)\n\n@group {resourceUri}\n@endpoint PUT /{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName}\n@desc Creates or updates guest diagnostics settings association.\n@required {resourceUri: any # The fully qualified ID of the resource, including the resource name and resource type., associationName: any # The name of the diagnostic settings association., diagnosticSettingsAssociation: map # The diagnostic settings association to create or update.}\n@returns(200) An existing guest diagnostic settings association was successfully updated.\n@returns(201) A new guest diagnostic settings association was successfully created.\n\n@endpoint GET /{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName}\n@desc Gets guest diagnostics association settings.\n@required {resourceUri: any # The fully qualified ID of the resource, including the resource name and resource type., associationName: any # The name of the diagnostic settings association.}\n@returns(200) The request succeeded.\n\n@endpoint DELETE /{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName}\n@desc Delete guest diagnostics association settings.\n@required {resourceUri: any # The fully qualified ID of the resource, including the resource name and resource type., associationName: any # The name of the diagnostic settings association.}\n@returns(200) The diagnostic settings association was successfully deleted.\n@returns(204) The diagnostic settings association does not exist. It may have already been deleted.\n\n@endpoint PATCH /{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName}\n@desc Updates an existing guestDiagnosticsSettingsAssociation Resource. To update other fields use the CreateOrUpdate method\n@required {resourceUri: any # The fully qualified ID of the resource, including the resource name and resource type., associationName: any # The name of the diagnostic settings association., parameters: any # Parameters supplied to the operation.}\n@returns(200) An existing guest diagnostics setting resource was successfully updated.\n\n@endgroup\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/providers/microsoft.insights/guestDiagnosticSettingsAssociations\n@desc Get a list of all guest diagnostic settings association in a subscription.\n@returns(200) The request succeeded.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettingsAssociations\n@desc Get a list of all guest diagnostic settings association in a resource group.\n@returns(200) The request succeeded.\n\n@endgroup\n\n@end\n"}}