{ "opencollection": "1.0.0", "info": { "name": "Azure Monitor Action Groups Data Collection Rules API", "version": "2022-06-01" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Data Collection Rules", "type": "folder" }, "items": [ { "info": { "name": "Azure Monitor List data collection rules in a subscription", "type": "http" }, "http": { "method": "GET", "url": "https://management.azure.com/subscriptions/:subscriptionId/providers/Microsoft.Insights/dataCollectionRules", "params": [ { "name": "subscriptionId", "value": "", "type": "path", "description": "The ID of the target subscription." }, { "name": "api-version", "value": "", "type": "query", "description": "The API version to use for this operation." } ] }, "docs": "Lists all data collection rules in the specified subscription." }, { "info": { "name": "Azure Monitor List data collection rules in a resource group", "type": "http" }, "http": { "method": "GET", "url": "https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Insights/dataCollectionRules", "params": [ { "name": "subscriptionId", "value": "", "type": "path", "description": "The ID of the target subscription." }, { "name": "resourceGroupName", "value": "", "type": "path", "description": "The name of the resource group." }, { "name": "api-version", "value": "", "type": "query", "description": "The API version to use for this operation." } ] }, "docs": "Lists all data collection rules in the specified resource group." }, { "info": { "name": "Azure Monitor Get a data collection rule", "type": "http" }, "http": { "method": "GET", "url": "https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Insights/dataCollectionRules/:dataCollectionRuleName", "params": [ { "name": "subscriptionId", "value": "", "type": "path", "description": "The ID of the target subscription." }, { "name": "resourceGroupName", "value": "", "type": "path", "description": "The name of the resource group." }, { "name": "dataCollectionRuleName", "value": "", "type": "path", "description": "The name of the data collection rule." }, { "name": "api-version", "value": "", "type": "query", "description": "The API version to use for this operation." } ] }, "docs": "Returns the specified data collection rule." }, { "info": { "name": "Azure Monitor Create or update a data collection rule", "type": "http" }, "http": { "method": "PUT", "url": "https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Insights/dataCollectionRules/:dataCollectionRuleName", "params": [ { "name": "subscriptionId", "value": "", "type": "path", "description": "The ID of the target subscription." }, { "name": "resourceGroupName", "value": "", "type": "path", "description": "The name of the resource group." }, { "name": "dataCollectionRuleName", "value": "", "type": "path", "description": "The name of the data collection rule." }, { "name": "api-version", "value": "", "type": "query", "description": "The API version to use for this operation." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates a data collection rule. Data collection rules define the data sources, transformations, and destinations for data collection in Azure Monitor." }, { "info": { "name": "Azure Monitor Update a data collection rule", "type": "http" }, "http": { "method": "PATCH", "url": "https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Insights/dataCollectionRules/:dataCollectionRuleName", "params": [ { "name": "subscriptionId", "value": "", "type": "path", "description": "The ID of the target subscription." }, { "name": "resourceGroupName", "value": "", "type": "path", "description": "The name of the resource group." }, { "name": "dataCollectionRuleName", "value": "", "type": "path", "description": "The name of the data collection rule." }, { "name": "api-version", "value": "", "type": "query", "description": "The API version to use for this operation." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates part of a data collection rule. Only tags and identity can be updated via PATCH." }, { "info": { "name": "Azure Monitor Delete a data collection rule", "type": "http" }, "http": { "method": "DELETE", "url": "https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Insights/dataCollectionRules/:dataCollectionRuleName", "params": [ { "name": "subscriptionId", "value": "", "type": "path", "description": "The ID of the target subscription." }, { "name": "resourceGroupName", "value": "", "type": "path", "description": "The name of the resource group." }, { "name": "dataCollectionRuleName", "value": "", "type": "path", "description": "The name of the data collection rule." }, { "name": "api-version", "value": "", "type": "query", "description": "The API version to use for this operation." } ] }, "docs": "Deletes a data collection rule." } ] } ], "bundled": true }