List applications running in a Service Fabric cluster
This sample script connects to a Service Fabric cluster and then lists all of the provisioned applications.
Important
There are two CLI utilities used to interact with Service Fabric. Azure CLI is used to manage Azure resources, such as an Azure-hosted Service Fabric cluster. Service Fabric CLI is used to directly connect to the Service Fabric cluster (regardless of where it's hosted) and manage the cluster, applications, and services.
Sample script
#!/bin/bash
# Select cluster
sfctl cluster select \
--endpoint http://svcfab1.westus2.cloudapp.azure.com:19080
# Retrieve all applications from the cluster
sfctl application list
Next steps
For more information, see the Service Fabric CLI documentation.
Additional Service Fabric CLI samples for Azure Service Fabric can be found in the Service Fabric CLI samples.
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre