Very simple deployment of a 5 Node secure Service Fabric Cluster with Azure Diagnostics enabled
This template allows you to deploy a secure 5 node, Single Node Type Service Fabric Cluster running Windows Server 2016 Datacenter on aStandard_D2 Size VMSS with Azure Diagnostics turned on. This template assumes that you already have certificates uploaded to your keyvault. If you want to create a new certificate run the New-ServiceFabricClusterCertificate.ps1 file in this sample. That script will output the values necessary for deployment via the parameters file.
Creating a custom ARM template
If you are wanting to create a custom ARM template for your cluster, then you have two choices.
You can acquire this sample template make changes to it.
Log into the azure portal and use the service fabric portal pages to generate the template for you to customize.
Log on to the Azure Portal http://aka.ms/servicefabricportal.
Go through the process of creating the cluster as described in Creating Service Fabric Cluster via portal , but do not click on *create, instead go to Summary and download the template and parameters.
Unzip the downloaded .zip on your local machine, make any changes to template or the parameter file as you need.