Get-​Service​Fabric​Application​Type

Gets the Service Fabric application types registered on the Service Fabric cluster.

Syntax

Get-ServiceFabricApplicationType
   [[-ApplicationTypeName] <String>]
   [-TimeoutSec <Int32>]
   [<CommonParameters>]

Description

The Get-ServiceFabricApplicationType cmdlet gets the Service Fabric application types registered on the Service Fabric cluster.

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 registered application types

PS C:\> Get-ServiceFabricApplicationType

This command gets all registered application types.

Example 2: Get registered application type with specified type names

PS C:\> Get-ServiceFabricApplicationType -ApplicationTypeName "TestApp"

This command gets the application types registered with the application type name "TestApp".

Optional Parameters

-ApplicationTypeName

Specifies the name of a Service Fabric application type. The cmdlet gets the application type that you specify. If you do not specify this parameter, this cmdlet gets all application types.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-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

String

Outputs

System.Array

Outputs

System.Object