Get-ServiceFabricServiceManifest
Gets the Service Fabric service type manifest.
Syntax
Default (Default)
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".
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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 0 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | 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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | 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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 2 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-TimeoutSec
Specifies the time-out period, in seconds, for the operation.
Parameter properties
Type: | Int32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.