Azure Service Fabric - облом при использовании ImageStoreConnectionString
От: senglory  
Дата: 13.06.20 09:40
Оценка:
Прям по этой доке в МСДН пишу

Get-ServiceFabricImageStoreContent -ImageStoreConnectionString "fabric:/ImageStore"


И получаю по лбу:

Get-ServiceFabricImageStoreContent : One or more errors occurred.

At line:1 char:1

Get-ServiceFabricImageStoreContent -ImageStoreConnectionString "fabri ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : NotSpecified: ( [Get-ServiceFabricImageStoreContent], AggregateException

+ FullyQualifiedErrorId : System.AggregateException,Microsoft.ServiceFabric.Powershell.GetImageStoreContent


Ок, вызываю так:

Get-ServiceFabricImageStoreContent


Уже какой-то вменяемый ответ:

Using ImageStoreConnectionString='file:C:\SfDevCluster\Data\ImageStoreShare'

StoreRelativePath Type
----------------- ----
Store Folder [9831 files]



Пытаюсь с таким connection string обратиться:

Get-ServiceFabricImageStoreContent -ImageStoreConnectionString='file:C:\SfDevCluster\Data\ImageStoreShare'



Снова с разбегу по лбу:

Get-ServiceFabricImageStoreContent : A positional parameter cannot be found that accepts argument '-ImageStoreConnectionString=file:C:\SfDevCluster\Data\ImageStoreShare'.

At line:1 char:1

Get-ServiceFabricImageStoreContent -ImageStoreConnectionString='file: ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : InvalidArgument: ( [Get-ServiceFabricImageStoreContent], ParameterBindingException

+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.ServiceFabric.Powershell.GetImageStoreContent



Как все-таки правильно обратиться к локальному кластеру и его image store?
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.