Get-​Service​Fabric​Application​Upgrade

Gets the status of a Service Fabric application upgrade.

Syntax

Get-ServiceFabricApplicationUpgrade
   [-ApplicationName] <Uri>
   [-TimeoutSec <Int32>]
   [<CommonParameters>]

Description

The Get-ServiceFabricApplicationUpgrade cmdlet gets the status of a Service Fabric application upgrade.

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: Get application upgrade status

PS C:\> Get-ServiceFabricApplicationUpgrade -ApplicationName fabric:/myapp/persistenttodolist

This command gets the status of the application upgrade for the specified application.

Required Parameters

-ApplicationName

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

Type:Uri
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-TimeoutSec

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

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

Inputs

System.Uri

Outputs

System.Object