Share via


Resume-ServiceFabricApplicationUpgrade

Resumes an unmonitored Service Fabric application upgrade.

Syntax

Resume-ServiceFabricApplicationUpgrade
      [-ApplicationName] <Uri>
      [-UpgradeDomainName] <String>
      [-TimeoutSec <Int32>]
      [<CommonParameters>]

Description

The Resume-ServiceFabricApplicationUpgrade cmdlet resumes an unmonitored manual Service Fabric application upgrade. Service Fabric upgrades one upgrade ___domain at a time. For unmonitored manual upgrades, after Service Fabric finishes an upgrade ___domain, it waits for you to use this cmdlet to proceed to the next upgrade ___domain.

Before you perform any operation on a Service Fabric cluster, establish a connection to the cluster by using the Connect-ServiceFabricCluster cmdlet.

Examples

Example 1: Resume an upgrade

PS C:\> Resume-ServiceFabricApplicationUpgrade -ApplicationName fabric:/myapp/persistenttodolist -UpgradeDomainName "MYUD02"

This command starts the upgrade of the ___domain named MYUD02.

Parameters

-ApplicationName

Specifies the Uniform Resource Identifier (URI) of a Service Fabric application. The cmdlet resumes the upgrade for the application that has the URI that you specify.

Type:Uri
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-TimeoutSec

Specifies the time-out period, in seconds, for the operation.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UpgradeDomainName

Specifies the name of the next upgrade ___domain to upgrade.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object