forked from Azure/arm-ttk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Adding failure case to ensure Azure#351 is fixed * Fixing unknown api version in deployments (false negative) Co-authored-by: James Brundage <@github.com>
- Loading branch information
1 parent
15d0855
commit 7b737cb
Showing
1 changed file
with
58 additions
and
0 deletions.
There are no files selected for viewing
58 changes: 58 additions & 0 deletions
58
unit-tests/apiversions-should-be-recent/Fail/OldApiVersion-BuiltWithBicep.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"metadata": { | ||
"_generator": { | ||
"name": "bicep", | ||
"version": "0.4.1124.51302", | ||
"templateHash": "12825026901412401447" | ||
} | ||
}, | ||
"parameters": { | ||
"privatelinkDnsZoneName": { | ||
"type": "string" | ||
} | ||
}, | ||
"resources": [ | ||
{ | ||
"type": "Microsoft.Resources/deployments", | ||
"apiVersion": "2020-10-01", | ||
"name": "dnsDeploy", | ||
"properties": { | ||
"expressionEvaluationOptions": { | ||
"scope": "inner" | ||
}, | ||
"mode": "Incremental", | ||
"parameters": { | ||
"privatelinkDnsZoneName": { | ||
"value": "[parameters('privatelinkDnsZoneName')]" | ||
} | ||
}, | ||
"template": { | ||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"metadata": { | ||
"_generator": { | ||
"name": "bicep", | ||
"version": "0.4.1124.51302", | ||
"templateHash": "2116389511501495551" | ||
} | ||
}, | ||
"parameters": { | ||
"privatelinkDnsZoneName": { | ||
"type": "string" | ||
} | ||
}, | ||
"resources": [ | ||
{ | ||
"type": "Microsoft.Network/privateDnsZones", | ||
"apiVersion": "2018-09-01", | ||
"name": "[parameters('privatelinkDnsZoneName')]", | ||
"location": "Global" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
] | ||
} |