Last active
August 13, 2018 07:03
-
-
Save Jtorrecilla/d60cc46d8bfee68ef7973f7ca0c0107c to your computer and use it in GitHub Desktop.
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
| { | |
| "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": { | |
| "workflows_Sample2_name": { | |
| "defaultValue": "Sample2", | |
| "type": "String" | |
| }, | |
| "sites_webjob3f7739bb_name": { | |
| "defaultValue": "webjob3f7739bb", | |
| "type": "String" | |
| }, | |
| "connections_office365_name": { | |
| "defaultValue": "office365", | |
| "type": "String" | |
| }, | |
| "connections_servicebus_name": { | |
| "defaultValue": "servicebus", | |
| "type": "String" | |
| }, | |
| "workflows_Communications_name": { | |
| "defaultValue": "Communications", | |
| "type": "String" | |
| }, | |
| "serverfarms_ServicePlan3f7739bb_name": { | |
| "defaultValue": "ServicePlan3f7739bb", | |
| "type": "String" | |
| }, | |
| "hostNameBindings_webjob3f7739bb.azurewebsites.net_name": { | |
| "defaultValue": "webjob3f7739bb.azurewebsites.net", | |
| "type": "String" | |
| } | |
| }, | |
| "variables": {}, | |
| "resources": [ | |
| { | |
| "comments": "Se ha generalizado a partir del recurso '/subscriptions/147db23a-7922-4f2c-8127-14a4c6d7ef50/resourceGroups/TokiotaSynecticSapPpm-DevTest-1/providers/Microsoft.Logic/workflows/Communications'.", | |
| "type": "Microsoft.Logic/workflows", | |
| "name": "[parameters('workflows_Communications_name')]", | |
| "apiVersion": "2017-07-01", | |
| "location": "westeurope", | |
| "tags": {}, | |
| "scale": null, | |
| "properties": { | |
| "state": "Enabled", | |
| "definition": { | |
| "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": { | |
| "$connections": { | |
| "defaultValue": {}, | |
| "type": "Object" | |
| } | |
| }, | |
| "triggers": { | |
| "Periodicidad": { | |
| "recurrence": { | |
| "frequency": "Month", | |
| "interval": 1, | |
| "startTime": "2018-07-17T12:12:00Z" | |
| }, | |
| "type": "Recurrence" | |
| } | |
| }, | |
| "actions": { | |
| "Enviar_un_correo_electrónico": { | |
| "runAfter": {}, | |
| "type": "ApiConnection", | |
| "inputs": { | |
| "body": { | |
| "Body": "Hola, esto es un recordartorio para avisar del cierre de mes.", | |
| "Importance": "High", | |
| "IsHtml": true, | |
| "Subject": "Aviso mensual de Cierre", | |
| "To": "javier.torrecilla@tokiota.com" | |
| }, | |
| "host": { | |
| "connection": { | |
| "name": "@parameters('$connections')['office365']['connectionId']" | |
| } | |
| }, | |
| "method": "post", | |
| "path": "/Mail" | |
| } | |
| } | |
| }, | |
| "outputs": {} | |
| }, | |
| "parameters": { | |
| "$connections": { | |
| "value": { | |
| "office365": { | |
| "connectionId": "[resourceId('Microsoft.Web/connections', parameters('connections_office365_name'))]", | |
| "connectionName": "office365", | |
| "id": "/subscriptions/147db23a-7922-4f2c-8127-14a4c6d7ef50/providers/Microsoft.Web/locations/westeurope/managedApis/office365" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "dependsOn": [ | |
| "[resourceId('Microsoft.Web/connections', parameters('connections_office365_name'))]" | |
| ] | |
| }, | |
| { | |
| "comments": "Se ha generalizado a partir del recurso '/subscriptions/147db23a-7922-4f2c-8127-14a4c6d7ef50/resourceGroups/TokiotaSynecticSapPpm-DevTest-1/providers/Microsoft.Logic/workflows/Sample2'.", | |
| "type": "Microsoft.Logic/workflows", | |
| "name": "[parameters('workflows_Sample2_name')]", | |
| "apiVersion": "2017-07-01", | |
| "location": "westeurope", | |
| "tags": {}, | |
| "scale": null, | |
| "properties": { | |
| "state": "Enabled", | |
| "definition": { | |
| "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": { | |
| "$connections": { | |
| "defaultValue": {}, | |
| "type": "Object" | |
| } | |
| }, | |
| "triggers": { | |
| "Periodicidad": { | |
| "recurrence": { | |
| "frequency": "Month", | |
| "interval": 1, | |
| "startTime": "2018-07-17T12:12:00Z" | |
| }, | |
| "type": "Recurrence" | |
| } | |
| }, | |
| "actions": { | |
| "Enviar_un_correo_electrónico": { | |
| "runAfter": {}, | |
| "type": "ApiConnection", | |
| "inputs": { | |
| "body": { | |
| "Body": "Hola, esto es un recordartorio para avisar del cierre de mes.", | |
| "Importance": "High", | |
| "IsHtml": true, | |
| "Subject": "Aviso mensual de Cierre", | |
| "To": "javier.torrecilla@tokiota.com" | |
| }, | |
| "host": { | |
| "connection": { | |
| "name": "@parameters('$connections')['office365']['connectionId']" | |
| } | |
| }, | |
| "method": "post", | |
| "path": "/Mail" | |
| } | |
| } | |
| }, | |
| "outputs": {} | |
| }, | |
| "parameters": { | |
| "$connections": { | |
| "value": { | |
| "office365": { | |
| "connectionId": "[resourceId('Microsoft.Web/connections', parameters('connections_office365_name'))]", | |
| "connectionName": "office365", | |
| "id": "/subscriptions/147db23a-7922-4f2c-8127-14a4c6d7ef50/providers/Microsoft.Web/locations/westeurope/managedApis/office365" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "dependsOn": [ | |
| "[resourceId('Microsoft.Web/connections', parameters('connections_office365_name'))]" | |
| ] | |
| }, | |
| { | |
| "comments": "Se ha generalizado a partir del recurso '/subscriptions/147db23a-7922-4f2c-8127-14a4c6d7ef50/resourceGroups/TokiotaSynecticSapPpm-DevTest-1/providers/Microsoft.Web/connections/office365'.", | |
| "type": "Microsoft.Web/connections", | |
| "name": "[parameters('connections_office365_name')]", | |
| "apiVersion": "2016-06-01", | |
| "location": "westeurope", | |
| "scale": null, | |
| "properties": { | |
| "displayName": "pruebassynectic@tokiotadev.onmicrosoft.com", | |
| "customParameterValues": {}, | |
| "api": { | |
| "id": "[concat('/subscriptions/147db23a-7922-4f2c-8127-14a4c6d7ef50/providers/Microsoft.Web/locations/westeurope/managedApis/', parameters('connections_office365_name'))]" | |
| } | |
| }, | |
| "dependsOn": [] | |
| }, | |
| { | |
| "comments": "Se ha generalizado a partir del recurso '/subscriptions/147db23a-7922-4f2c-8127-14a4c6d7ef50/resourceGroups/TokiotaSynecticSapPpm-DevTest-1/providers/Microsoft.Web/connections/servicebus'.", | |
| "type": "Microsoft.Web/connections", | |
| "name": "[parameters('connections_servicebus_name')]", | |
| "apiVersion": "2016-06-01", | |
| "location": "westeurope", | |
| "scale": null, | |
| "properties": { | |
| "displayName": "asdasd", | |
| "customParameterValues": {}, | |
| "api": { | |
| "id": "[concat('/subscriptions/147db23a-7922-4f2c-8127-14a4c6d7ef50/providers/Microsoft.Web/locations/westeurope/managedApis/', parameters('connections_servicebus_name'))]" | |
| } | |
| }, | |
| "dependsOn": [] | |
| }, | |
| { | |
| "comments": "Se ha generalizado a partir del recurso '/subscriptions/147db23a-7922-4f2c-8127-14a4c6d7ef50/resourceGroups/TokiotaSynecticSapPpm-DevTest-1/providers/Microsoft.Web/serverfarms/ServicePlan3f7739bb'.", | |
| "type": "Microsoft.Web/serverfarms", | |
| "sku": { | |
| "name": "B1", | |
| "tier": "Basic", | |
| "size": "B1", | |
| "family": "B", | |
| "capacity": 1 | |
| }, | |
| "kind": "app", | |
| "name": "[parameters('serverfarms_ServicePlan3f7739bb_name')]", | |
| "apiVersion": "2016-09-01", | |
| "location": "West Europe", | |
| "scale": null, | |
| "properties": { | |
| "name": "[parameters('serverfarms_ServicePlan3f7739bb_name')]", | |
| "workerTierName": null, | |
| "adminSiteName": null, | |
| "hostingEnvironmentProfile": null, | |
| "perSiteScaling": false, | |
| "reserved": false, | |
| "targetWorkerCount": 0, | |
| "targetWorkerSizeId": 0 | |
| }, | |
| "dependsOn": [] | |
| }, | |
| { | |
| "comments": "Se ha generalizado a partir del recurso '/subscriptions/147db23a-7922-4f2c-8127-14a4c6d7ef50/resourceGroups/TokiotaSynecticSapPpm-DevTest-1/providers/Microsoft.Web/sites/webjob3f7739bb'.", | |
| "type": "Microsoft.Web/sites", | |
| "kind": "app", | |
| "name": "[parameters('sites_webjob3f7739bb_name')]", | |
| "apiVersion": "2016-08-01", | |
| "location": "West Europe", | |
| "tags": { | |
| "hidden-related:/subscriptions/147db23a-7922-4f2c-8127-14a4c6d7ef50/resourcegroups/TokiotaSynecticSapPpm-DevTest-1/providers/Microsoft.Web/serverfarms/ServicePlan3f7739bb": "empty" | |
| }, | |
| "scale": null, | |
| "properties": { | |
| "enabled": true, | |
| "hostNameSslStates": [ | |
| { | |
| "name": "[concat(parameters('sites_webjob3f7739bb_name'),'.azurewebsites.net')]", | |
| "sslState": "Disabled", | |
| "virtualIP": null, | |
| "thumbprint": null, | |
| "toUpdate": null, | |
| "hostType": "Standard" | |
| }, | |
| { | |
| "name": "[concat(parameters('sites_webjob3f7739bb_name'),'.scm.azurewebsites.net')]", | |
| "sslState": "Disabled", | |
| "virtualIP": null, | |
| "thumbprint": null, | |
| "toUpdate": null, | |
| "hostType": "Repository" | |
| } | |
| ], | |
| "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', parameters('serverfarms_ServicePlan3f7739bb_name'))]", | |
| "reserved": false, | |
| "siteConfig": null, | |
| "scmSiteAlsoStopped": false, | |
| "hostingEnvironmentProfile": null, | |
| "clientAffinityEnabled": true, | |
| "clientCertEnabled": false, | |
| "hostNamesDisabled": false, | |
| "containerSize": 0, | |
| "dailyMemoryTimeQuota": 0, | |
| "cloningInfo": null | |
| }, | |
| "dependsOn": [ | |
| "[resourceId('Microsoft.Web/serverfarms', parameters('serverfarms_ServicePlan3f7739bb_name'))]" | |
| ] | |
| }, | |
| { | |
| "comments": "Se ha generalizado a partir del recurso '/subscriptions/147db23a-7922-4f2c-8127-14a4c6d7ef50/resourceGroups/TokiotaSynecticSapPpm-DevTest-1/providers/Microsoft.Web/sites/webjob3f7739bb/hostNameBindings/webjob3f7739bb.azurewebsites.net'.", | |
| "type": "Microsoft.Web/sites/hostNameBindings", | |
| "name": "[concat(parameters('sites_webjob3f7739bb_name'), '/', parameters('hostNameBindings_webjob3f7739bb.azurewebsites.net_name'))]", | |
| "apiVersion": "2016-08-01", | |
| "location": "West Europe", | |
| "scale": null, | |
| "properties": { | |
| "siteName": "webjob3f7739bb", | |
| "domainId": null, | |
| "hostNameType": "Verified" | |
| }, | |
| "dependsOn": [ | |
| "[resourceId('Microsoft.Web/sites', parameters('sites_webjob3f7739bb_name'))]" | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment