Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
This sample script deletes a running Service Fabric application instance, then unregisters an application type and version from the cluster. Deleting the application instance also deletes all the running service instances associated with that application. Next, the application files are deleted from the image store.
If needed, install the Service Fabric CLI.
Пример скрипта
#!/bin/bash
# Select cluster
sfctl cluster select \
--endpoint http://svcfab1.westus2.cloudapp.azure.com:19080
# Delete the application
sfctl application delete \
--application-id svcfab_app \
--timeout 500
# Unprovision the application type
sfctl application unprovision \
--application-type-name svcfab_appType \
--application-type-version 1.0.0 \
--timeout 500
# Delete the application files from the image store
sfctl store delete \
--content-path myappfolder
Дальнейшие действия
For more information, see the Service Fabric CLI documentation.
Дополнительные примеры интерфейса командной строки Service Fabric для Azure Service Fabric можно найти в примерах интерфейса командной строки Service Fabric.