您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

Azure CLI (az) 和 Azure Service Fabric CLI (sfctl) 示例Azure CLI (az) and Azure Service Fabric CLI (sfctl) Samples

下表包含有关如何管理 Service Fabric 群集、应用程序和服务的示例的链接。The following table includes links to samples on how to manage Service Fabric clusters, applications, and services.

重要

可以使用两个 CLI 实用工具来与 Service Fabric 交互。There are two CLI utilities used to interact with Service Fabric. Azure CLI 用于管理 Azure 资源,例如 Azure 托管的 Service Fabric 群集。Azure CLI is used to manage Azure resources, such as an Azure-hosted Service Fabric cluster. Service Fabric CLI 用于直接连接到 Service Fabric 群集(不管托管在哪个位置)和管理群集、应用程序与服务。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.

创建群集(使用 Azure CLI)Create cluster (with Azure CLI)
创建安全 Linux 群集Create a secure Linux cluster 创建 Azure Service Fabric 群集。Creates an Azure Service Fabric cluster.
管理应用程序(使用 Service Fabric CLI)Manage applications (with Service Fabric CLI)
列出应用程序List applications 列出预配到群集的应用程序。List applications provisioned to a cluster.
部署应用程序Deploy an application 将应用程序部署到群集。Deploy an application to a cluster.
删除应用程序Remove an application 从群集中删除应用程序。Remove an application from a cluster.
升级应用程序Upgrade an application 升级已部署的应用程序。Upgrade an already deployed application.