Skip to content

Commit 850bf24

Browse files
committed
Removing obsolete '## Classic Application Insights resource' section
1 parent d1062fe commit 850bf24

File tree

1 file changed

+0
-121
lines changed

1 file changed

+0
-121
lines changed

articles/azure-monitor/app/resource-manager-app-resource.md

Lines changed: 0 additions & 121 deletions
Original file line numberDiff line numberDiff line change
@@ -13,127 +13,6 @@ This article includes sample [Azure Resource Manager templates](../../azure-reso
1313

1414
[!INCLUDE [azure-monitor-samples](../../../includes/azure-monitor-resource-manager-samples.md)]
1515

16-
## Classic Application Insights resource
17-
18-
The following sample creates a [classic Application Insights resource](/previous-versions/azure/azure-monitor/app/create-new-resource).
19-
20-
### Template file
21-
22-
# [Bicep](#tab/bicep)
23-
24-
```bicep
25-
@description('Name of Application Insights resource.')
26-
param name string
27-
28-
@description('Type of app you are deploying. This field is for legacy reasons and will not impact the type of App Insights resource you deploy.')
29-
param type string
30-
31-
@description('Which Azure Region to deploy the resource to. This must be a valid Azure regionId.')
32-
param regionId string
33-
34-
@description('See documentation on tags: https://learn.microsoft.com/azure/azure-resource-manager/management/tag-resources.')
35-
param tagsArray object
36-
37-
@description('Source of Azure Resource Manager deployment')
38-
param requestSource string
39-
40-
resource component 'Microsoft.Insights/components@2020-02-02' = {
41-
name: name
42-
location: regionId
43-
tags: tagsArray
44-
kind: 'other'
45-
properties: {
46-
Application_Type: type
47-
Flow_Type: 'Bluefield'
48-
Request_Source: requestSource
49-
}
50-
}
51-
```
52-
53-
# [JSON](#tab/json)
54-
55-
```json
56-
{
57-
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
58-
"contentVersion": "1.0.0.0",
59-
"parameters": {
60-
"name": {
61-
"type": "string",
62-
"metadata": {
63-
"description": "Name of Application Insights resource."
64-
}
65-
},
66-
"type": {
67-
"type": "string",
68-
"metadata": {
69-
"description": "Type of app you are deploying. This field is for legacy reasons and will not impact the type of App Insights resource you deploy."
70-
}
71-
},
72-
"regionId": {
73-
"type": "string",
74-
"metadata": {
75-
"description": "Which Azure Region to deploy the resource to. This must be a valid Azure regionId."
76-
}
77-
},
78-
"tagsArray": {
79-
"type": "object",
80-
"metadata": {
81-
"description": "See documentation on tags: https://learn.microsoft.com/azure/azure-resource-manager/management/tag-resources."
82-
}
83-
},
84-
"requestSource": {
85-
"type": "string",
86-
"metadata": {
87-
"description": "Source of Azure Resource Manager deployment"
88-
}
89-
}
90-
},
91-
"resources": [
92-
{
93-
"type": "Microsoft.Insights/components",
94-
"apiVersion": "2020-02-02",
95-
"name": "[parameters('name')]",
96-
"location": "[parameters('regionId')]",
97-
"tags": "[parameters('tagsArray')]",
98-
"kind": "other",
99-
"properties": {
100-
"Application_Type": "[parameters('type')]",
101-
"Flow_Type": "Bluefield",
102-
"Request_Source": "[parameters('requestSource')]"
103-
}
104-
}
105-
]
106-
}
107-
```
108-
109-
---
110-
111-
### Parameter file
112-
113-
```json
114-
{
115-
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
116-
"contentVersion": "1.0.0.0",
117-
"parameters": {
118-
"type": {
119-
"value": "web"
120-
},
121-
"name": {
122-
"value": "my_app_insights_resource"
123-
},
124-
"regionId": {
125-
"value": "westus2"
126-
},
127-
"tagsArray": {
128-
"value": {}
129-
},
130-
"requestSource": {
131-
"value": "CustomDeployment"
132-
}
133-
}
134-
}
135-
```
136-
13716
## Workspace-based Application Insights resource
13817

13918
The following sample creates a [workspace-based Application Insights resource](../app/create-workspace-resource.md).

0 commit comments

Comments
 (0)