CmdID / az / az sf / az sf managed-application
az sf managed-application update
Update an Azure Service Fabric managed application. Azure CLI reference
19 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.--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.--instance-close-delay-durationSpecify the duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully.--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.--recreate-applicationDetermines whether the application should be recreated on update.--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 key/value pairs 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-modeSpecify the mode used to monitor health during a rolling upgrade.--upgrade-timeoutSpecify the maximum time, in seconds, that Service Fabric takes for the entire upgrade.--warning-as-errorIndicates whether to treat a warning health event as an error event during health evaluation.