Get-ServiceFabricServiceManifest
Gets the Service Fabric service type manifest.
Syntax
Get-ServiceFabricServiceManifest
[-ApplicationTypeName] <String>
[-ApplicationTypeVersion] <String>
[-ServiceManifestName] <String>
[-TimeoutSec <Int32>]
[<CommonParameters>]
Description
The Get-ServiceFabricServiceManifest cmdlet gets the Service Fabric service type manifest. The application containing the service must be registered with Register-ServiceFabricApplicationType before using Get-ServiceFabricServiceManifest.
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 the service manifest
PS C:\> Get-ServiceFabricServiceManifest -ApplicationTypeName "WordCount" -ApplicationTypeVersion "1.0.0" -ServiceManifestName "WordCountServicePkg"
The command gets the service manifest for the service "WordCountServicePkg" of application type "1.0.0" and application version "WordCount".
See Word Count Sample's Application Manifest
Parameters
-ApplicationTypeName
Specifies the name of a Service Fabric application type. The application type name can be found in the ApplicationManifest.xml. The cmdlet gets the service manifest for the application type that you specify.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ApplicationTypeVersion
Specifies the version of a Service Fabric application type. The application type version can be found in the ApplicationManifest.xml. The cmdlet gets the service manifest for the application type version that you specify.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ServiceManifestName
Specifies the name of a Service Fabric service package containing the service manifest. The Service manifest name can be found in the ApplicationManifest.xml.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | True |
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