Skip to content

Commit 8fa502d

Browse files
committed
track deployment with customer usage attribution id
Signed-off-by: Jianguo Ma <[email protected]>
1 parent d3e1b14 commit 8fa502d

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
<test.parameters>-TestParameter '@{&quot;PasswordMinLength&quot;=6}'</test.parameters>
3737
<azure.apiVersion>2020-06-01</azure.apiVersion>
3838
<azure.apiVersion2>2019-06-01</azure.apiVersion2>
39+
<customer.usage.attribution.id>pid-fb16aee1-039d-45dc-a476-806224793a6c-partnercenter</customer.usage.attribution.id>
3940
<cluster.start>c2efe274-0dc2-50f3-b51f-338a3fe01afb</cluster.start>
4041
<cluster.end>9c5dbfce-a6b9-5659-96bc-ca0cf429122a</cluster.end>
4142
<ihs.start>5526bacf-3c35-57b7-8b22-337d78b4f478</ihs.start>

src/main/arm/mainTemplate.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,20 @@
229229
"ref_virtualNetwork": "[resourceId('Microsoft.Network/virtualNetworks', variables('name_virtualNetwork'))]"
230230
},
231231
"resources": [
232+
{
233+
"type": "Microsoft.Resources/deployments",
234+
"apiVersion": "${azure.apiVersion}",
235+
"name": "${customer.usage.attribution.id}",
236+
"properties": {
237+
"mode": "Incremental",
238+
"template": {
239+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
240+
"contentVersion": "1.0.0.0",
241+
"resources": [
242+
]
243+
}
244+
}
245+
},
232246
{
233247
"type": "Microsoft.Resources/deployments",
234248
"apiVersion": "${azure.apiVersion}",

0 commit comments

Comments
 (0)