Get-​Service​Fabric​Runtime​Upgrade​Version

Gets a list of all service fabric runtime versions, which are upgrade compatible to a given version for standalone deployments.

Syntax

Get-ServiceFabricRuntimeUpgradeVersion
   -BaseVersion <String>
   [-TimeoutSec <Int32>]
   [<CommonParameters>]

Description

The Get-ServiceFabricRuntimeUpgradeVersion cmdlet gets details about all upgradeable service fabric runtime versions for a given base version for standalone deployments.

The output of Get-ServiceFabricRuntimeUpgradeVersion contains the following information:

--Version: The service fabric runtime version.
--SupportExpiryDate : The date when the version goes out of support.
--TargetPackageLocation : The link to download the runtime package.

This cmdlet can be run without having service fabric cluster running on the machine. To do so:
Download the latest standalone client package from https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-creation-for-windows-server
Run DeploymentComponentsAutoextractor.exe present inside the client package. This will create a folder called DeploymentComponents which will have all the deployment binaries required by Service Fabric.
Import-Module .\DeploymentComponents\ServiceFabric.psd1
Run Get-ServiceFabricRuntimeUpgradeVersion -BaseVersion [BaseVersion]

Examples

Example 1

PS C:\> Get-ServiceFabricRuntimeUpgradeVersion -BaseVersion 5.4.164.9494

This command gets details about all service fabric runtime versions, which can be upgraded to from version 5.4.164.9494.

Required Parameters

-BaseVersion

Indicates the service fabric version for which all upgradeable versions need to be retrieved.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
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

None

You cannot pipe input to this cmdlet.

Outputs

System.Object

This cmdlet returns a List that represents a list of all versions that can be upgraded to from a given BaseVersion.