forked from aarsan/CopilotSDKChallenge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcdn-profile-fixed.json
More file actions
145 lines (144 loc) · 3.75 KB
/
Copy pathcdn-profile-fixed.json
File metadata and controls
145 lines (144 loc) · 3.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "2.0.0",
"parameters": {
"profileName": {
"type": "string",
"defaultValue": "cdnprofile-infraforge-dev-eus2-001",
"metadata": {
"description": "Name of the CDN profile"
}
},
"location": {
"type": "string",
"defaultValue": "[resourceGroup().location]",
"metadata": {
"description": "Location for the CDN profile"
}
},
"sku": {
"type": "string",
"defaultValue": "Premium_Microsoft",
"allowedValues": [
"Standard_Microsoft",
"Premium_Microsoft",
"Standard_Akamai",
"Standard_Verizon",
"Premium_Verizon"
],
"metadata": {
"description": "CDN profile SKU"
}
},
"logAnalyticsWorkspaceId": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Resource ID of the Log Analytics workspace for diagnostic logging"
}
},
"environment": {
"type": "string",
"allowedValues": [
"dev",
"test",
"staging",
"prod"
],
"metadata": {
"description": "Environment name"
}
},
"owner": {
"type": "string",
"defaultValue": "platform-team@company.com",
"metadata": {
"description": "Resource owner email"
}
},
"costCenter": {
"type": "string",
"defaultValue": "IT-Infrastructure",
"metadata": {
"description": "Cost center for billing"
}
},
"project": {
"type": "string",
"defaultValue": "infraforge",
"metadata": {
"description": "Project name"
}
},
"createdDate": {
"type": "string",
"defaultValue": "[utcNow('yyyy-MM-dd')]",
"metadata": {
"description": "Creation date for resource tagging"
}
}
},
"variables": {},
"resources": [
{
"type": "Microsoft.Cdn/profiles",
"apiVersion": "2023-05-01",
"name": "[parameters('profileName')]",
"location": "global",
"tags": {
"environment": "[parameters('environment')]",
"owner": "[parameters('owner')]",
"costCenter": "[parameters('costCenter')]",
"project": "[parameters('project')]",
"resourceType": "cdn-profile",
"region": "eus2",
"deployedBy": "InfraForge",
"createdDate": "[parameters('createdDate')]"
},
"sku": {
"name": "[parameters('sku')]"
},
"identity": {
"type": "SystemAssigned"
},
"properties": {
"originResponseTimeoutSeconds": 60,
"extendedProperties": {}
}
}
],
"outputs": {
"cdnProfileId": {
"type": "string",
"value": "[resourceId('Microsoft.Cdn/profiles', parameters('profileName'))]"
},
"cdnProfileName": {
"type": "string",
"value": "[parameters('profileName')]"
},
"cdnProfileHostname": {
"type": "string",
"value": "[reference(resourceId('Microsoft.Cdn/profiles', parameters('profileName'))).hostName]"
},
"managedIdentityPrincipalId": {
"type": "string",
"value": "[reference(resourceId('Microsoft.Cdn/profiles', parameters('profileName')), '2023-05-01', 'full').identity.principalId]"
}
},
"metadata": {
"_generator": {
"name": "InfraForge",
"version": "2.0.0",
"templateHash": "285cd47aa226"
},
"infrapiForge": {
"serviceId": "Microsoft.Cdn/profiles",
"version": 2,
"semver": "2.0.0",
"generatedAt": "2026-03-09T01:20:45.884349+00:00",
"generatedBy": "Copilot SDK (Claude Sonnet 4)",
"region": "eastus2",
"platform": "InfraForge Self-Service Infrastructure"
}
}
}