Skip to content

Commit

Permalink
chore: jsonfmt resources (#6330)
Browse files Browse the repository at this point in the history
* chore: jsonfmt resources

Ran `jsonfmt -w "specification/resources/**/*.json"`

* fix: Update version number to match API folder
  • Loading branch information
nschonni authored and sarangan12 committed Jun 14, 2019
1 parent cf50bae commit 213244b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2018-05-01",
"api-version": "2019-03-01",
"parameters": {
"location": "eastus"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "eaee6a92-e973-4922-9471-3a0a6abf81cd",
"resourceGroupName": "myResourceGroup",
"api-version": "2018-05-01",
"api-version": "2019-03-01",
"parameters": {
"resources": [
"*"
Expand All @@ -15,7 +15,7 @@
"body": {
"template": {
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion":"1.0.0.0",
"contentVersion": "1.0.0.0",
"parameters": {
"myResourceType_myFirstResource_name": {
"defaultValue": "myFirstResource",
Expand All @@ -30,8 +30,7 @@
"type": "SecureString"
}
},
"variables":{
},
"variables": {},
"resources": [
{
"type": "My.RP/myResourceType",
Expand All @@ -56,10 +55,9 @@
"error": {
"code": "ExportTemplateCompletedWithErrors",
"message": "Export template operation completed with errors. Some resources were not exported. Please see details for more information.",
"details":[
]
"details": []
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "eaee6a92-e973-4922-9471-3a0a6abf81cd",
"resourceGroupName": "myResourceGroup",
"api-version": "2018-05-01",
"api-version": "2019-03-01",
"parameters": {
"resources": [
"/subscriptions/eaee6a92-e973-4922-9471-3a0a6abf81cd/resourceGroups/myResourceGroup/providers/My.RP/myResourceType/myFirstResource"
Expand All @@ -15,15 +15,14 @@
"body": {
"template": {
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion":"1.0.0.0",
"contentVersion": "1.0.0.0",
"parameters": {
"myResourceType_myFirstResource_secret": {
"defaultValue": null,
"type": "SecureString"
}
},
"variables": {
},
"variables": {},
"resources": [
{
"type": "My.RP/myResourceType",
Expand All @@ -39,4 +38,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "myResourceGroup",
"deploymentName": "exampleDeploymentName",
"api-version": "2018-05-01",
"api-version": "2019-03-01",
"parameters": {
"properties": {
"templateLink": "{templateUri}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "myResourceGroup",
"deploymentName": "exampleDeploymentName",
"api-version": "2018-05-01",
"api-version": "2019-03-01",
"parameters": {
"properties": {
"templateLink": "{templateUri}",
Expand Down

0 comments on commit 213244b

Please sign in to comment.