Changing Azure Service Fabric API version for ARM template deployment
Published Jan 07 2021 11:56 PM 1,727 Views
Microsoft

Creating a new cluster with latest API version : 

 

If you create a service fabric cluster currently it takes the API version as 2018-02-01 as of today. 

while deploying the ARM template you can change it to latest version available prior to deploying via Azure portal or Visual Studio or Azure Dev ops. 

 

You can find the latest version at : Microsoft.ServiceFabric/clusters - ARM template reference | Microsoft Docs

 

OLD : 

image1.PNG

 

 

NEW : 

image2.PNG

 

Update an existing cluster with latest API version : 

If you have the previous template available you can redeploy only the Service Fabric resource with required API version or get template from the deployment section of your resource group otherwise simply you can pull the latest template with https://resources.azure.com 

 

Navigate to your subscription by expanding subscriptions -> <Your Subscription> -> resourceGroups -> <Your Resource Group> -> providers -> Microsoft.ServiceFabric -> clusters -> <Your Cluster Name>

 

Copy the template  

image3.png

 

Create a new custom deployment template and deploy via Azure portal or powershell/ VS with making the changes for the API version.

Important note for the template copied via Azure Resource Explorer make sure your remove the etag and cross verify your existing Fabric setting applied or update any setting want to apply which requires latest API version and not able to perform via Azure Resource Explorer. 

 

image4.png

 

image5.png

 

Then you can deploy the changes. 

 

 

 

Version history
Last update:
‎Jan 07 2021 11:56 PM
Updated by: