Skip to content

Commit e5be579

Browse files
author
Nicolas Oman
committed
nanthny changes
1 parent 006a269 commit e5be579

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

articles/service-fabric/service-fabric-concept-resource-model.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,29 @@ To deploy the application, run the New-AzResourceGroupDeployment to deploy to th
105105
New-AzResourceGroupDeployment -ResourceGroupName "sf-cluster-rg" -TemplateParameterFile ".\UserApp.Parameters.json" -TemplateFile ".\UserApp.json" -Verbose
106106
```
107107

108-
## Upgrade application resources
108+
## Upgrade Service Fabric application using Azure Resource Manager
109109
Applications already deployed to a Service Fabric cluster will be upgraded for the following reasons:
110-
* A new service is added to the application.
111-
* A new version of an existing service is added to the application.
110+
111+
1. A new service is added to the application. A service definition must be added to service-manifest.xml and application-manifest.xml file. Then to reflect new version of application, you need to update the application type version from 1.0.0 to 1.0.1 [UserApp.parameters.json](https://github.com/Azure-Samples/service-fabric-dotnet-quickstart/blob/master/ARM/UserApp.Parameters.json).
112+
113+
```
114+
"applicationTypeVersion": {
115+
"value": "1.0.1"
116+
},
117+
"serviceName2": {
118+
"value": "Voting~VotingData"
119+
},
120+
"serviceTypeName2": {
121+
"value": "VotingDataType"
122+
}
123+
```
124+
2. A new version of an existing service is added to the application. This involves application code changes and updates to app type version and name.
125+
126+
```
127+
"applicationTypeVersion": {
128+
"value": "1.0.1"
129+
},
130+
```
112131
113132
## Delete application resources
114133
Applications deployed using the application resource model in Azure Resource Manager can be deleted from cluster using below steps

0 commit comments

Comments
 (0)