CmdID / az / az sf / az sf application
az sf application update
Update an Azure Service Fabric application. Azure CLI reference
18 options Its page in the Azure CLI reference
Options
--application-parameters, --parametersSpecify the application parameters as key/value pairs.--application-type-version, --versionSpecify the application type version.--consider-warning-as-error, --warning-as-errorIndicates whether to treat a warning health event as an error event during health evaluation.--failure-actionSpecify the action to take if the monitored upgrade fails.--force-restartIndicates that the service host restarts even if the upgrade is a configuration-only change.--health-check-retry-timeout, --hc-retry-timeoutSpecify the duration, in seconds, after which Service Fabric retries the health check if the previous health check fails.--health-check-stable-duration, --hc-stable-durationSpecify the duration, in seconds, that Service Fabric waits in order to verify that the application is stable before moving to the next upgrade domain or completing the upgrade.--health-check-wait-duration, --hc-wait-durationSpecify the duration, in seconds, that Service Fabric waits before it performs the initial health check after it finishes the upgrade on the upgrade domain.--max-unhealthy-appsSpecify the maximum percentage of the application instances deployed on the nodes in the cluster that have a health state of error before the application health state for the cluster is error.--max-unhealthy-partsSpecify the maximum percent of unhealthy partitions per service allowed by the health policy for the default service type to use for the monitored upgrade.--max-unhealthy-repsSpecify the maximum percent of unhealthy replicas per service allowed by the health policy for the default service type to use for the monitored upgrade.--max-unhealthy-servsSpecify the maximum percent of unhealthy services allowed by the health policy for the default service type to use for the monitored upgrade.--maximum-nodes, --max-nodesSpecify the maximum number of nodes on which to place an application.--minimum-nodes, --min-nodesSpecify the minimum number of nodes where Service Fabric will reserve capacity for this application, this does not mean that the application is guaranteed to have replicas on all those nodes.--replica-check-timeout, --rep-check-timeoutSpecify the maximum time, in seconds, that Service Fabric waits for a service to reconfigure into a safe state, if not already in a safe state, before Service Fabric proceeds with the upgrade.--service-type-health-policy-mapSpecify the map of the health policy to use for different service types as a hash table in the following format: {"ServiceTypeName" : "MaxPercentUnhealthyPartitionsPerService,MaxPercentUnhealthyReplicasPerPartition,MaxPercentUnhealthyServices"}.--upgrade-domain-timeout, --ud-timeoutSpecify the maximum time, in seconds, that Service Fabric takes to upgrade a single upgrade domain.--upgrade-timeoutSpecify the maximum time, in seconds, that Service Fabric takes for the entire upgrade.