Template/Service/template.json
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json", "contentVersion": "1.0.0.0", "parameters": { "applicationName": { "type": "string", "metadata": { "description": "The application name" } }, "clusterName": { "type": "string", "metadata": { "description": "Name of your cluster - Between 3 and 23 characters. Letters and numbers only" } }, "serviceKind": { "type": "string", "defaultValue": "Stateless", "metadata": { "description": "The service kind. Stateless or Stateful" } }, "serviceName": { "type": "string", "defaultValue": "AzureFileVolumePlugin2~Service", "metadata": { "description": "The service name" } }, "serviceTypeName": { "type": "string", "defaultValue": "AzureFilesVolumePluginServiceType", "metadata": { "description": "The service type name" } }, "partitionScheme": { "type": "string", "defaultValue": "Singleton", "metadata": { "description": "Partition Scheme." } } }, "resources": [ { "apiVersion": "2017-07-01-preview", "type": "Microsoft.ServiceFabric/clusters/applications/services", "name": "[concat(parameters('clusterName'), '/', parameters('applicationName'), '/', parameters('serviceName'))]", "properties": { "serviceKind": "[parameters('serviceKind')]", "serviceTypeName": "[parameters('serviceTypeName')]", "partitionDescription": { "partitionScheme": "[parameters('partitionScheme')]" }, "correlationScheme": [], "serviceLoadMetrics": [], "servicePlacementPolicies": [] } } ] } |