{"files":{"SKILL.md":"---\nname: monitormanagementclient\ndescription: \"MonitorManagementClient API skill. Use when working with MonitorManagementClient for subscriptions. Covers 17 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# MonitorManagementClient\nAPI version: 2019-10-17-preview\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /subscriptions/{subscriptionId}/providers/microsoft.insights/privateLinkScopes -- gets a list of all azure monitor privatelinkscopes within a subscription.\n3. Explore available endpoints below\n\n## Endpoints\n17 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/providers/microsoft.insights/privateLinkScopes | Gets a list of all Azure Monitor PrivateLinkScopes within a subscription. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes | Gets a list of Azure Monitor PrivateLinkScopes within a resource group. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName} | Deletes a Azure Monitor PrivateLinkScope. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName} | Returns a Azure Monitor PrivateLinkScope. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName} | Creates (or updates) a Azure Monitor PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName} | Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopeOperationStatuses/{asyncOperationId} | Get the status of an azure asynchronous operation associated with a private link scope operation. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources | Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources/{groupName} | Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName} | Gets a private endpoint connection. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName} | Approve or reject a private endpoint connection with a given name. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName} | Deletes a private endpoint connection with a given name. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections | Gets all private endpoint connections on a private link scope. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name} | Gets a scoped resource in a private link scope. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name} | Approve or reject a private endpoint connection with a given name. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name} | Deletes a private endpoint connection with a given name. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources | Gets all private endpoint connections on a private link scope. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all privateLinkScopes?\" -> GET /subscriptions/{subscriptionId}/providers/microsoft.insights/privateLinkScopes\n- \"Delete a privateLinkScope?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}\n- \"Get privateLinkScope details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}\n- \"Update a privateLinkScope?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}\n- \"Partially update a privateLinkScope?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}\n- \"Get privateLinkScopeOperationStatuse details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopeOperationStatuses/{asyncOperationId}\n- \"List all privateLinkResources?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources\n- \"Get privateLinkResource details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}\n- \"Get privateEndpointConnection details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}\n- \"Update a privateEndpointConnection?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}\n- \"Delete a privateEndpointConnection?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}\n- \"List all privateEndpointConnections?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections\n- \"Get scopedResource details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name}\n- \"Update a scopedResource?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name}\n- \"Delete a scopedResource?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name}\n- \"List all scopedResources?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources\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 MonitorManagementClient\n@base https://management.azure.com\n@version 2019-10-17-preview\n@auth OAuth2\n@endpoints 17\n@toc subscriptions(17)\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/microsoft.insights/privateLinkScopes\n@desc Gets a list of all Azure Monitor PrivateLinkScopes within a subscription.\n@returns(200) A list containing 0 or more Azure Monitor PrivateLinkScope definitions.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes\n@desc Gets a list of Azure Monitor PrivateLinkScopes within a resource group.\n@returns(200) A list containing 0 or more Azure Monitor PrivateLinkScope definitions.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}\n@desc Deletes a Azure Monitor PrivateLinkScope.\n@required {scopeName: any # The name of the Azure Monitor PrivateLinkScope resource.}\n@returns(200) Successful request when deleting a Azure Monitor PrivateLinkScope.\n@returns(202) Accepted.\n@returns(204) The specified PrivateLinkScope does not exist.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}\n@desc Returns a Azure Monitor PrivateLinkScope.\n@required {scopeName: any # The name of the Azure Monitor PrivateLinkScope resource.}\n@returns(200) An Azure Monitor PrivateLinkScope definition.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}\n@desc Creates (or updates) a Azure Monitor PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.\n@required {scopeName: any # The name of the Azure Monitor PrivateLinkScope resource., AzureMonitorPrivateLinkScopePayload: any # Properties that need to be specified to create or update a Azure Monitor PrivateLinkScope.}\n@returns(200) Successful request when creating or updating a Azure Monitor PrivateLinkScope. The updated PrivateLinkScope is returned.\n@returns(201) Successful request when creating or updating a Azure Monitor PrivateLinkScope. The updated PrivateLinkScope was created and is returned.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}\n@desc Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.\n@required {scopeName: any # The name of the Azure Monitor PrivateLinkScope resource., PrivateLinkScopeTags: any # Updated tag information to set into the PrivateLinkScope instance.}\n@returns(200) Updating the Azure Monitor PrivateLinkScope's tags was successful. PrivateLinkScope tags are updated and returned with the rest of the PrivateLinkScope's object properties.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopeOperationStatuses/{asyncOperationId}\n@desc Get the status of an azure asynchronous operation associated with a private link scope operation.\n@required {asyncOperationId: any # The operation Id.}\n@returns(200) OK. Operation status.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources\n@desc Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.\n@required {scopeName: any # The name of the Azure Monitor PrivateLinkScope resource.}\n@returns(200) Successfully retrieved private link resources.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}\n@desc Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.\n@required {scopeName: any # The name of the Azure Monitor PrivateLinkScope resource., groupName: any # The name of the private link resource.}\n@returns(200) Successfully retrieved a specified private link resource.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}\n@desc Gets a private endpoint connection.\n@required {scopeName: any # The name of the Azure Monitor PrivateLinkScope resource., privateEndpointConnectionName: any # The name of the private endpoint connection.}\n@returns(200) Successfully retrieved a specified private endpoint connection.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}\n@desc Approve or reject a private endpoint connection with a given name.\n@required {scopeName: any # The name of the Azure Monitor PrivateLinkScope resource., privateEndpointConnectionName: any # The name of the private endpoint connection., parameters: map}\n@returns(200) Successfully approved or rejected private endpoint connection.\n@returns(202) Accepted\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}\n@desc Deletes a private endpoint connection with a given name.\n@required {scopeName: any # The name of the Azure Monitor PrivateLinkScope resource., privateEndpointConnectionName: any # The name of the private endpoint connection.}\n@returns(200) Successfully deleted private endpoint connection.\n@returns(202) Accepted\n@returns(204) Private endpoint connection does not exist.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections\n@desc Gets all private endpoint connections on a private link scope.\n@required {scopeName: any # The name of the Azure Monitor PrivateLinkScope resource.}\n@returns(200) Successfully retrieved private endpoint connections.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name}\n@desc Gets a scoped resource in a private link scope.\n@required {scopeName: any # The name of the Azure Monitor PrivateLinkScope resource., name: any # The name of the scoped resource object.}\n@returns(200) Successfully retrieved a scoped resource in a private link scope.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name}\n@desc Approve or reject a private endpoint connection with a given name.\n@required {scopeName: any # The name of the Azure Monitor PrivateLinkScope resource., name: any # The name of the scoped resource object., parameters: map}\n@returns(200) Successfully create or updated a new azure monitor scoped resource in a private link scope.\n@returns(201) Successfully created a new azure monitor scoped resource in a private link scope.\n@returns(202) Accepted\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name}\n@desc Deletes a private endpoint connection with a given name.\n@required {scopeName: any # The name of the Azure Monitor PrivateLinkScope resource., name: any # The name of the scoped resource object.}\n@returns(200) Successfully deleted scoped resource.\n@returns(202) Accepted\n@returns(204) Scoped resource does not exist.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources\n@desc Gets all private endpoint connections on a private link scope.\n@required {scopeName: any # The name of the Azure Monitor PrivateLinkScope resource.}\n@returns(200) Successfully retrieved scoped resources in a private link scope.\n\n@end\n"}}