Share via


Resume-ServiceFabricClusterUpgrade

Resumes an unmonitored Service Fabric cluster upgrade.

Syntax

Default (Default)

Resume-ServiceFabricClusterUpgrade
    [-UpgradeDomainName] <String>
    [-TimeoutSec <Int32>]
    [<CommonParameters>]

Description

The Resume-ServiceFabricClusterUpgrade cmdlet resumes an unmonitored manual Service Fabric cluster 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 run 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 and then the Get-ServiceFabricClusterConnection cmdlet.

Examples

Example 1: Resume an upgrade

PS C:\> Resume-ServiceFabricClusterUpgrade -UpgradeDomainName "MYUD02"

This command resumes the upgrade process after it finishes an upgrade domain. The command specifies MYUD02 as the next upgrade domain.

Parameters

-TimeoutSec

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

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-UpgradeDomainName

Specifies the name of the next upgrade domain to upgrade.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object