Get-ServiceFabricRegisteredClusterCodeVersion

Gets all provisioned fabric code versions in a Service Fabric cluster.

Syntax

Get-ServiceFabricRegisteredClusterCodeVersion
   [[-CodeVersion] <String>]
   [-TimeoutSec <Int32>]
   [<CommonParameters>]

Description

The Get-ServiceFabricRegisteredClusterCodeVersion cmdlet gets provisioned fabric code versions in a Service Fabric cluster. You can specify a particular code version to get.

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 all provisioned fabric code versions

PS C:\> Get-ServiceFabricRegisteredClusterCodeVersion

This command gets all provisioned fabric code versions in a Service Fabric Cluster.

Parameters

-CodeVersion

Specifies a code version. This cmdlet gets only the provisioned fabric code versions that match the code version that this parameter specifies.

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

Inputs

System.String

Outputs

System.Object