{ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "Site Name": { "defaultValue": "APPNicolasBONNET", "type": "string" }, "Service Plan Name": { "defaultValue": "APPNicolasBONNET", "type": "string" } }, "variables": {}, "resources": [ { "type": "Microsoft.Web/serverfarms", "apiVersion": "2016-09-01", "name": "[parameters('Service Plan Name')]", "location": "West Europe", "sku": { "name": "S1", "tier": "Standard", "size": "S1", "family": "S", "capacity": 1 }, "kind": "app", "properties": { "name": "[parameters('Service Plan Name')]", "perSiteScaling": false, "reserved": false, "targetWorkerCount": 0, "targetWorkerSizeId": 0 } }, { "type": "Microsoft.Web/sites", "apiVersion": "2016-08-01", "name": "[parameters('Site Name')]", "location": "West Europe", "dependsOn": [ "[resourceId('Microsoft.Web/serverfarms', parameters('Service Plan Name'))]" ], "kind": "app", "properties": { "enabled": true, "hostNameSslStates": [ { "name": "APPNicolasBONNET.azurewebsites.net", "sslState": "Disabled", "hostType": "Standard" }, { "name": "APPNicolasBONNET.azurewebsites.net", "sslState": "Disabled", "hostType": "Repository" } ], "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', parameters('Service Plan Name'))]", "reserved": false, "scmSiteAlsoStopped": false, "clientAffinityEnabled": true, "clientCertEnabled": false, "hostNamesDisabled": false, "containerSize": 0, "dailyMemoryTimeQuota": 0, "httpsOnly": false } }, { "type": "Microsoft.Web/sites/config", "apiVersion": "2016-08-01", "name": "[concat(parameters('Site Name'), '/web')]", "location": "West Europe", "dependsOn": [ "[resourceId('Microsoft.Web/sites', parameters('Site Name'))]" ], "properties": { "numberOfWorkers": 1, "defaultDocuments": [ "Default.htm", "Default.html", "Default.asp", "index.htm", "index.html", "iisstart.htm", "default.aspx", "index.php", "hostingstart.html" ], "netFrameworkVersion": "v4.0", "phpVersion": "5.6", "pythonVersion": "", "nodeVersion": "", "linuxFxVersion": "", "requestTracingEnabled": false, "remoteDebuggingEnabled": false, "httpLoggingEnabled": false, "logsDirectorySizeLimit": 35, "detailedErrorLoggingEnabled": false, "publishingUsername": "$APPNicolasBONNET", "scmType": "None", "use32BitWorkerProcess": true, "webSocketsEnabled": false, "alwaysOn": false, "appCommandLine": "", "managedPipelineMode": "Integrated", "virtualApplications": [ { "virtualPath": "/", "physicalPath": "site\\wwwroot", "preloadEnabled": false, "virtualDirectories": null } ], "winAuthAdminState": 0, "winAuthTenantState": 0, "customAppPoolIdentityAdminState": false, "customAppPoolIdentityTenantState": false, "loadBalancing": "LeastRequests", "routingRules": [], "experiments": { "rampUpRules": [] }, "autoHealEnabled": false, "vnetName": "", "siteAuthEnabled": false, "siteAuthSettings": { "enabled": null, "unauthenticatedClientAction": null, "tokenStoreEnabled": null, "allowedExternalRedirectUrls": null, "defaultProvider": null, "clientId": null, "clientSecret": null, "clientSecretCertificateThumbprint": null, "issuer": null, "allowedAudiences": null, "additionalLoginParams": null, "isAadAutoProvisioned": false, "googleClientId": null, "googleClientSecret": null, "googleOAuthScopes": null, "facebookAppId": null, "facebookAppSecret": null, "facebookOAuthScopes": null, "twitterConsumerKey": null, "twitterConsumerSecret": null, "microsoftAccountClientId": null, "microsoftAccountClientSecret": null, "microsoftAccountOAuthScopes": null }, "localMySqlEnabled": false, "http20Enabled": false, "minTlsVersion": "1.2", "ftpsState": "AllAllowed", "reservedInstanceCount": 0 } }, { "type": "Microsoft.Web/sites/hostNameBindings", "apiVersion": "2016-08-01", "name": "[concat(parameters('Site Name'), '/', parameters('Site Name'), '.azurewebsites.net')]", "location": "West Europe", "dependsOn": [ "[resourceId('Microsoft.Web/sites', parameters('Site Name'))]" ], "properties": { "siteName": "APPNicolasBONNET", "hostNameType": "Verified" } } ] }