Last active
April 15, 2017 23:42
-
-
Save robearlam/2eed19689a4a5a90748b411f8532b47a to your computer and use it in GitHub Desktop.
Editing Sitecore Azure ARM Templates - Part 3 - Editing the ARM Template
This file contains hidden or 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
"sessionMongoDbConnStrTidy": "[trim(parameters('session.mongodb.connectionstring'))]", |
This file contains hidden or 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
"redisCacheNameTidy": "[toLower(trim(parameters('rediscache.name')))]", |
This file contains hidden or 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
"dependsOn": [ | |
"[concat('Microsoft.Web/sites/', variables('cdWebAppNameTidy'))]", | |
"[concat('Microsoft.Web/sites/', variables('cmWebAppNameTidy'), '/Extensions/MSDeploy')]", | |
"[resourceId('Microsoft.Search/searchServices', variables('searchServiceNameTidy'))]", | |
"[resourceId('Microsoft.Insights/Components', variables('appInsightsNameTidy'))]", | |
"[concat('Microsoft.Sql/servers/', variables('dbServerNameTidy'), '/databases/', variables('coreDbNameTidy'))]", | |
"[concat('Microsoft.Sql/servers/', variables('webDbServerNameTidy'), '/databases/', variables('webDbNameTidy'))]" | |
], |
This file contains hidden or 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
{ | |
"deploymentId": { | |
"value": "" | |
}, | |
"sitecore.admin.password": { | |
"value": "" | |
}, | |
"rep.authentication.apikey": { | |
"value": "" | |
}, | |
"analytics.mongodb.connectionstring": { | |
"value": "" | |
}, | |
"tracking.live.mongodb.connectionstring": { | |
"value": "" | |
}, | |
"tracking.history.mongodb.connectionstring": { | |
"value": "" | |
}, | |
"tracking.contact.mongodb.connectionstring": { | |
"value": "" | |
}, | |
"session.mongodb.connectionstring": { | |
"value": "" | |
}, | |
"sqlserver.login": { | |
"value": "" | |
}, | |
"sqlserver.password": { | |
"value": "" | |
}, | |
"cm.msdeploy.packageurl": { | |
"value": "" | |
}, | |
"cd.msdeploy.packageurl": { | |
"value": "" | |
}, | |
"prc.msdeploy.packageurl": { | |
"value": "" | |
}, | |
"rep.msdeploy.packageurl": { | |
"value": "" | |
}, | |
"licenseXml": { | |
"value": "" | |
} | |
} |
This file contains hidden or 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
"properties": { | |
"packageUri": "[parameters('cd.msdeploy.packageurl')]", | |
"dbType": "SQL", | |
"connectionString": "[concat('Data Source=tcp:', reference(concat('Microsoft.Sql/servers/', variables('dbServerNameTidy'))).fullyQualifiedDomainName, ',1433;Initial Catalog=master;User Id=', parameters('sqlserver.login'), '@', variables('dbServerNameTidy'), ';Password=', parameters('sqlserver.password'), ';')]", | |
"setParameters": { | |
"Application Path": "[variables('cdWebAppNameTidy')]", | |
"Sitecore Admin New Password": "[parameters('sitecore.admin.password')]", | |
"Core DB User Name": "[parameters('cd.core.sqldatabase.username')]", | |
"Core DB Password": "[parameters('cd.core.sqldatabase.password')]", | |
"Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', reference(concat('Microsoft.Sql/servers/', variables('dbServerNameTidy'))).fullyQualifiedDomainName, ',1433;Initial Catalog=',variables('coreDbNameTidy'),';User Id=', parameters('sqlserver.login'), ';Password=', parameters('sqlserver.password'), ';')]", | |
"Core Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', reference(concat('Microsoft.Sql/servers/', variables('dbServerNameTidy'))).fullyQualifiedDomainName, ',1433;Initial Catalog=',variables('coreDbNameTidy'),';User Id=', parameters('cd.core.sqldatabase.username'), ';Password=', parameters('cd.core.sqldatabase.password'), ';')]", | |
"Web DB User Name": "[parameters('cd.web.sqldatabase.username')]", | |
"Web DB Password": "[parameters('cd.web.sqldatabase.password')]", | |
"Web Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', reference(concat('Microsoft.Sql/servers/', variables('webDbServerNameTidy'))).fullyQualifiedDomainName, ',1433;Initial Catalog=',variables('webDbNameTidy'),';User Id=', parameters('web.sqlserver.login'), ';Password=', parameters('web.sqlserver.password'), ';')]", | |
"Web Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', reference(concat('Microsoft.Sql/servers/', variables('webDbServerNameTidy'))).fullyQualifiedDomainName, ',1433;Initial Catalog=',variables('webDbNameTidy'),';User Id=', parameters('cd.web.sqldatabase.username'), ';Password=', parameters('cd.web.sqldatabase.password'), ';')]", | |
"Cloud Search Connection String": "[concat('serviceUrl=https://', variables('searchServiceNameTidy'), '.search.windows.net;apiVersion=', variables('searchApiVersion'), ';apiKey=', listAdminKeys(resourceId('Microsoft.Search/searchServices', variables('searchServiceNameTidy')), variables('searchApiVersion')).primaryKey)]", | |
"Analytics Connection String": "[variables('analyticsMongoDbConnStrTidy')]", | |
"Tracking Live Connection String": "[variables('trackingLiveMongoDbConnStrTidy')]", | |
"Tracking Contact Connection String": "[variables('trackingContactMongoDbConnStrTidy')]", | |
"Mongo Session Connection String": "[variables('sessionMongoDbConnStrTidy')]", | |
"Application Insights Instrumentation Key": "[reference(resourceId('Microsoft.Insights/Components', variables('appInsightsNameTidy'))).InstrumentationKey]", | |
"Application Insights Role": "CD", | |
"KeepAlive Url": "[concat('https://', reference(resourceId('Microsoft.Web/sites', variables('cdWebAppNameTidy'))).hostNames[0], '/sitecore/service/keepalive.aspx')]", | |
"License Xml": "[variables('licenseXml')]" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment