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

Gets image store content information

Syntax

Get-ServiceFabricImageStoreContent
   [-Application]
   -ApplicationTypeName <String>
   [-ApplicationTypeVersion <String>]
   -ImageStoreConnectionString <String>
   [-TimeoutSec <Int32>]
   [<CommonParameters>]
Get-ServiceFabricImageStoreContent
   -ImageStoreConnectionString <String>
   [-Path]
   [-RemoteRelativePath <String>]
   [-TimeoutSec <Int32>]
   [<CommonParameters>]

Description

The Get-ServiceFabricImageStoreContent cmdlet gets information about image store content being orgornized 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

-Application

Indicates that image store content is searched by application type name and version.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-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
-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
-Path

Indicates that image store content are found within the image store relative path.

Type:SwitchParameter
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
-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

Outputs

None