Get-​Service​Fabric​Application​Manifest

Gets the manifest for a Service Fabric application type.

Syntax

Get-ServiceFabricApplicationManifest
   [-ApplicationTypeName] <String>
   [-ApplicationTypeVersion] <String>
   [-TimeoutSec <Int32>]
   [<CommonParameters>]

Description

The Get-ServiceFabricApplicationManifest cmdlet gets the manifest for a Service Fabric application type.

Before you perform any operation on a Service Fabric cluster, establish a connection to the cluster by using the Connect-ServiceFabricCluster cmdlet.

To understand the Service Fabric application model, see Model an application in Service Fabric.

Examples

Example 1: Get an application manifest

PS C:\> Get-ServiceFabricApplicationManifest -ApplicationTypeName "PersistentToDoListApp" -ApplicationTypeVersion "1.0"

This command gets the application manifest for application type version "1.0" of the application type name "PersistentToDoListApp."

Required Parameters

-ApplicationTypeName

Specifies the name for a Service Fabric application type. The cmdlet gets the application manifest for the application type name that you specify.

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

Specifies the version of a Service Fabric application type. The cmdlet gets the application manifest for the application type version that you specify.

Type:String
Position:2
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

String

This cmdlet accepts a string that represents the application type name or the application type version.

Outputs

System.Object

This cmdlet returns a string that represents content from the application manifest.