Get-​Service​Fabric​Image​Store​Content

Gets image store content information

Syntax

Get-ServiceFabricImageStoreContent
   -ApplicationTypeName <String>
   [-ApplicationTypeVersion <String>]
   [-CertStoreLocation <StoreLocation>]
   [-ImageStoreConnectionString <String>]
   [-TimeoutSec <Int32>]
   [<CommonParameters>]
Get-ServiceFabricImageStoreContent
   [-CertStoreLocation <StoreLocation>]
   [-ImageStoreConnectionString <String>]
   [-RemoteRelativePath <String>]
   [-TimeoutSec <Int32>]
   [<CommonParameters>]

Description

The Get-ServiceFabricImageStoreContent cmdlet gets information about image store content being organized either within the given image store relative path or belong to the specified application type/version.

Examples

Example 1: Get image store content by application type/version

PS C:\> Get-ServiceFabricImageStoreContent -Application -ApplicationTypeName "CalcServiceApp" -ApplicationTypeVersion "2.0" -ImageStoreConnectionString "fabric:ImageStore"

This command gets information about image store content belongs to the application CalcServiceApp, type version 2.0.

Example 2: Get image store content by relative path

PS C:\> Get-ServiceFabricImageStoreContent -Path -RemoteRelativePath "Store\CalcServiceApp\apps" -ImageStoreConnectionString "fabric:ImageStore"

This command gets information about image store content within the specified image store relative path "Store\CalcServiceApp\apps".

Required Parameters

-ApplicationTypeName

Specifies the name of a Service Fabric application type.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-ApplicationTypeVersion

Specifies the version of a Service Fabric application type.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-CertStoreLocation

{{Fill CertStoreLocation Description}}

Type:StoreLocation
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ImageStoreConnectionString

Specifies the connection string for the Service Fabric image store.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoteRelativePath

Specifies the relative path to the image store root.

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

None

The cmdlet Get-ServiceFabricStoreContent accepts string instances of a Service Fabric application type; the version of an application type; or the image store relative path.

Outputs

None

The cmdlet Get-ServiceFabricStoreContent returns instances of the System.Fabric.Management.ImageStore.ImageStoreFile object and/or the System.Fabric.Management.ImageStore.ImageStoreFolder object.