az spring
Note
此命令组具有在 Azure CLI 和至少一个扩展中定义的命令。 安装每个扩展,使其受益于其扩展功能。 Learn more about extensions.
用于管理 Azure Spring Apps 的命令。
命令
名称 | 说明 | 类型 | Status |
---|---|---|---|
az spring api-portal |
(仅限企业层)用于在 Azure Spring Apps 中管理 API 门户的命令。 |
Extension | GA |
az spring api-portal clear |
清除 API 门户的所有设置。 |
Extension | GA |
az spring api-portal create |
创建 API 门户。 |
Extension | GA |
az spring api-portal custom-domain |
用于管理 API 门户自定义域的命令。 |
Extension | GA |
az spring api-portal custom-domain bind |
使用 API 门户绑定自定义域。 |
Extension | GA |
az spring api-portal custom-domain list |
列出 API 门户的所有自定义域。 |
Extension | GA |
az spring api-portal custom-domain show |
显示自定义域的详细信息。 |
Extension | GA |
az spring api-portal custom-domain unbind |
取消绑定 API 门户的自定义域。 |
Extension | GA |
az spring api-portal custom-domain update |
更新 API 门户的自定义域。 |
Extension | GA |
az spring api-portal delete |
删除 API 门户。 |
Extension | GA |
az spring api-portal show |
显示 API 门户的设置、预配状态和运行时状态。 |
Extension | GA |
az spring api-portal update |
更新现有的 API 门户属性。 |
Extension | GA |
az spring apm |
(仅限企业层)用于管理 Azure Spring Apps 中的 APM 的命令。 |
Extension | GA |
az spring apm create |
(仅限企业层)创建 APM。 |
Extension | GA |
az spring apm delete |
(仅限企业层)删除 APM。 |
Extension | GA |
az spring apm disable-globally |
(仅限企业层)全局禁用 APM。 |
Extension | GA |
az spring apm enable-globally |
(仅限企业层)全局启用 APM。 |
Extension | GA |
az spring apm list |
(仅限企业层)列出 Azure Spring Apps 中的所有 APM。 将省略机密。 |
Extension | GA |
az spring apm list-enabled-globally |
(仅限企业层)列出 Azure Spring Apps 中全局启用的所有 APM。 |
Extension | GA |
az spring apm list-support-types |
(仅限企业层)列出 Azure Spring Apps 中支持的所有 APM 类型。 |
Extension | GA |
az spring apm show |
(仅限企业层)显示 APM。 机密将被屏蔽。 |
Extension | GA |
az spring apm update |
(仅限企业层)更新 APM。 |
Extension | GA |
az spring app |
用于管理 Azure Spring Apps 中的应用的命令。 |
Extension | GA |
az spring app-insights |
用于在 Azure Spring Apps 中管理 Application Insights 的命令。 |
Extension | GA |
az spring app-insights show |
显示 Application Insights 设置。 |
Extension | GA |
az spring app-insights update |
更新 Application Insights 设置。 |
Extension | GA |
az spring app append-loaded-public-certificate |
将新加载的公共证书追加到 Azure Spring Apps 中的应用。 |
Extension | GA |
az spring app append-persistent-storage |
将新的持久存储追加到 Azure Spring Apps 中的应用。 |
Extension | GA |
az spring app connect |
连接到应用实例的交互式 shell 进行故障排除”。 |
Extension | GA |
az spring app create |
在 Azure Spring Apps 实例中使用默认部署创建新应用。 |
Extension | GA |
az spring app custom-domain |
用于管理自定义域的命令。 |
Extension | GA |
az spring app custom-domain bind |
将自定义域与应用绑定。 |
Extension | GA |
az spring app custom-domain list |
列出应用的所有自定义域。 |
Extension | GA |
az spring app custom-domain show |
显示自定义域的详细信息。 |
Extension | GA |
az spring app custom-domain unbind |
取消绑定应用的自定义域。 |
Extension | GA |
az spring app custom-domain update |
更新应用的自定义域。 |
Extension | GA |
az spring app delete |
删除 Azure Spring Apps 中的应用。 |
Extension | GA |
az spring app deploy |
将源代码或预生成的二进制文件部署到应用并更新相关配置。 |
Extension | GA |
az spring app deployment |
用于管理 Azure Spring Apps 中应用的部署生命周期的命令。 可以使用参数 --deployment 在应用级别上对部署执行更多操作。 例如 |
Extension | GA |
az spring app deployment create |
为应用创建过渡部署。 若要将代码或更新设置部署到现有部署,请使用 |
Extension | GA |
az spring app deployment delete |
删除应用的部署。 |
Extension | GA |
az spring app deployment generate-heap-dump |
将目标应用实例的堆转储生成到给定的文件路径。 |
Extension | GA |
az spring app deployment generate-thread-dump |
将目标应用实例的线程转储生成到给定的文件路径。 |
Extension | GA |
az spring app deployment list |
列出应用中的所有部署。 |
Extension | GA |
az spring app deployment show |
显示部署的详细信息。 |
Extension | GA |
az spring app deployment start-jfr |
在目标应用实例上启动 JFR 以指定文件路径。 |
Extension | GA |
az spring app disable-remote-debugging |
禁用部署的远程调试。 |
Extension | GA |
az spring app enable-remote-debugging |
为部署启用远程调试。 |
Extension | GA |
az spring app get-remote-debugging-config |
获取部署的远程调试配置。 |
Extension | GA |
az spring app identity |
管理应用的托管标识。 |
Extension | GA |
az spring app identity assign |
启用系统分配的托管标识或将用户分配的托管标识分配给应用。 |
Extension | GA |
az spring app identity force-set |
在应用上强制设置托管标识。 |
Extension | GA |
az spring app identity remove |
从应用中删除托管标识。 |
Extension | GA |
az spring app identity show |
显示应用的托管标识信息。 |
Extension | GA |
az spring app list |
列出 Azure Spring Apps 中的所有应用。 |
Extension | GA |
az spring app logs |
显示应用实例的日志,设置“-f/--follow”时将流式传输日志。 |
Extension | GA |
az spring app restart |
重启应用的实例,默认为生产部署。 |
Extension | GA |
az spring app scale |
手动缩放应用或其部署。 |
Extension | GA |
az spring app set-deployment |
设置应用的生产部署。 |
Extension | GA |
az spring app show |
在 Azure Spring Apps 中显示应用的详细信息。 |
Extension | GA |
az spring app show-deploy-log |
显示上次部署的生成日志,仅适用于源代码部署,默认为生产部署。 |
Extension | GA |
az spring app start |
启动应用的实例,默认为生产部署。 |
Extension | GA |
az spring app stop |
停止应用的实例,默认为生产部署。 |
Extension | GA |
az spring app unset-deployment |
取消设置应用的生产部署。 |
Extension | GA |
az spring app update |
更新应用的配置。 |
Extension | GA |
az spring application-accelerator |
(仅限企业层)用于在 Azure Spring Apps 中管理应用程序加速器的命令。 |
Extension | GA |
az spring application-accelerator create |
(仅限企业层)在 Azure Spring Apps 实例中创建应用程序加速器。 |
Extension | GA |
az spring application-accelerator customized-accelerator |
(仅限企业层)用于在 Azure Spring Apps 中管理自定义加速器的命令。 |
Extension | GA |
az spring application-accelerator customized-accelerator create |
(仅限企业层)创建自定义加速器。 |
Extension | GA |
az spring application-accelerator customized-accelerator delete |
(仅限企业层)删除自定义加速器。 |
Extension | GA |
az spring application-accelerator customized-accelerator list |
(仅限企业层)列出所有现有的自定义加速器。 |
Extension | GA |
az spring application-accelerator customized-accelerator show |
(仅限企业层)显示自定义加速器的设置、预配状态和运行时状态。 |
Extension | GA |
az spring application-accelerator customized-accelerator sync-cert |
(仅限企业层)自定义加速器的同步证书。 |
Extension | GA |
az spring application-accelerator customized-accelerator update |
(仅限企业层)更新自定义加速器。 |
Extension | GA |
az spring application-accelerator delete |
(仅限企业层)从 Azure Spring Apps 实例中删除应用程序加速器。 |
Extension | GA |
az spring application-accelerator predefined-accelerator |
(仅限企业层)用于在 Azure Spring Apps 中管理预定义加速器的命令。 |
Extension | GA |
az spring application-accelerator predefined-accelerator disable |
(仅限企业层)禁用预定义的加速器。 |
Extension | GA |
az spring application-accelerator predefined-accelerator enable |
(仅限企业层)启用预定义的加速器。 |
Extension | GA |
az spring application-accelerator predefined-accelerator list |
(仅限企业层)列出所有现有的预定义加速器。 |
Extension | GA |
az spring application-accelerator predefined-accelerator show |
(仅限企业层)显示预定义加速器的设置、预配状态和运行时状态。 |
Extension | GA |
az spring application-accelerator show |
(仅限企业层)显示应用程序加速器的设置、预配状态和运行时状态。 |
Extension | GA |
az spring application-configuration-service |
(仅限企业层)用于在 Azure Spring Apps 中管理应用程序配置服务的命令。 |
Extension | GA |
az spring application-configuration-service bind |
将应用绑定到应用程序配置服务。 |
Extension | GA |
az spring application-configuration-service clear |
重置所有应用程序配置服务设置。 |
Extension | GA |
az spring application-configuration-service config |
用于管理应用程序配置服务从上游 Git 存储库拉取的配置的命令。 |
Extension | GA |
az spring application-configuration-service config show |
用于显示应用程序配置服务从上游 Git 存储库拉取的配置的命令。 |
Extension | GA |
az spring application-configuration-service create |
创建应用程序配置服务。 |
Extension | GA |
az spring application-configuration-service delete |
删除应用程序配置服务。 |
Extension | GA |
az spring application-configuration-service git |
用于在 Azure Spring Apps 中管理应用程序配置服务 git 属性的命令。 |
Extension | GA |
az spring application-configuration-service git repo |
用于在 Azure Spring Apps 中管理应用程序配置服务 git 存储库的命令。 |
Extension | GA |
az spring application-configuration-service git repo add |
将 Git 属性添加到应用程序配置服务设置。 |
Extension | GA |
az spring application-configuration-service git repo list |
列出应用程序配置服务的所有 Git 设置。 |
Extension | GA |
az spring application-configuration-service git repo remove |
从应用程序配置服务设置中删除现有 Git 属性。 |
Extension | GA |
az spring application-configuration-service git repo update |
更新应用程序配置服务设置中的现有 Git 属性。 |
Extension | GA |
az spring application-configuration-service show |
显示应用程序配置服务的预配状态、运行时状态和设置。 |
Extension | GA |
az spring application-configuration-service unbind |
从应用程序配置服务取消绑定应用。 |
Extension | GA |
az spring application-configuration-service update |
更新应用程序配置服务。 |
Extension | GA |
az spring application-live-view |
(仅限企业层)用于在 Azure Spring Apps 中管理应用程序实时视图的命令。 应用程序实时视图提供应用程序实例指标,并便于开发人员监视应用程序运行时。 |
Extension | GA |
az spring application-live-view create |
创建应用程序实时视图。 |
Extension | GA |
az spring application-live-view delete |
删除应用程序实时视图。 |
Extension | GA |
az spring application-live-view show |
显示应用程序实时视图的预配状态、运行状态和设置。 |
Extension | GA |
az spring build-service |
(仅限企业层)用于在 Azure Spring Apps 中管理生成服务的命令。 |
Extension | GA |
az spring build-service build |
(仅限企业层)用于管理生成资源的命令。 |
Extension | GA |
az spring build-service build create |
创建生成。 |
Extension | GA |
az spring build-service build delete |
删除生成。 |
Extension | GA |
az spring build-service build list |
List builds. |
Extension | GA |
az spring build-service build result |
(仅限企业层)用于查看生成结果资源的命令。 |
Extension | GA |
az spring build-service build result list |
列出生成结果。 |
Extension | GA |
az spring build-service build result show |
显示生成结果。 |
Extension | GA |
az spring build-service build show |
显示生成。 |
Extension | GA |
az spring build-service build update |
更新生成。 |
Extension | GA |
az spring build-service builder |
(仅限企业层)用于管理生成服务的生成器的命令。 |
Extension | GA |
az spring build-service builder buildpack-binding |
(仅限企业层)用于管理生成器生成包绑定的命令。 |
Extension | GA |
az spring build-service builder buildpack-binding create |
(仅限企业层)创建生成包绑定。 |
Extension | GA |
az spring build-service builder buildpack-binding delete |
(仅限企业层)删除 buildpack 绑定。 |
Extension | GA |
az spring build-service builder buildpack-binding list |
(仅限企业层)列出生成器中的所有生成包绑定。 机密将被屏蔽。 |
Extension | GA |
az spring build-service builder buildpack-binding set |
(仅限企业层)设置 buildpack 绑定。 |
Extension | GA |
az spring build-service builder buildpack-binding show |
(仅限企业层)显示生成包绑定。 机密将被屏蔽。 |
Extension | GA |
az spring build-service builder create |
创建生成器。 |
Extension | GA |
az spring build-service builder delete |
删除生成器。 |
Extension | GA |
az spring build-service builder show |
显示生成器。 |
Extension | GA |
az spring build-service builder show-deployments |
Show deployments. |
Extension | GA |
az spring build-service builder update |
更新生成器。 |
Extension | GA |
az spring build-service show |
显示生成服务。 |
Extension | GA |
az spring build-service update |
更新生成服务。 |
Extension | GA |
az spring certificate |
用于管理证书的命令。 |
Extension | GA |
az spring certificate add |
在 Azure Spring Apps 中添加证书。 |
Extension | GA |
az spring certificate list |
列出 Azure Spring Apps 中的所有证书。 |
Extension | GA |
az spring certificate list-reference-app |
列出所有应用引用 Azure Spring Apps 中的现有证书。 |
Extension | GA |
az spring certificate remove |
删除 Azure Spring Apps 中的证书。 |
Extension | GA |
az spring certificate show |
在 Azure Spring Apps 中显示证书。 |
Extension | GA |
az spring certificate update |
更新 Azure Spring Apps 中的证书。 |
Extension | GA |
az spring component |
(仅限企业层)用于处理托管组件的命令。 |
Extension | GA |
az spring component instance |
(仅限企业层)用于处理托管组件的实例的命令。 |
Extension | GA |
az spring component instance list |
(仅限企业层)列出 Azure Spring Apps 实例中特定托管组件的所有可用实例。 |
Extension | GA |
az spring component list |
(仅限企业层)列出托管组件。 |
Extension | GA |
az spring component logs |
(仅限企业层)显示托管组件的日志。 设置“-f/--follow”时,将流式传输日志。 目前,仅支持 (a) 应用程序配置服务 (b) Spring Cloud 网关 (c) Spring Cloud 配置服务器的子组件。 |
Extension | GA |
az spring config-server |
(支持标准层和基本层)用于在 Azure Spring Apps 中管理配置服务器的命令。 |
Extension | GA |
az spring config-server bind |
(仅限企业层)将应用绑定到配置服务器。 |
Extension | GA |
az spring config-server clear |
清除配置服务器中的所有设置。 |
Extension | GA |
az spring config-server create |
(仅限企业层)创建配置服务器。 |
Extension | GA |
az spring config-server delete |
(仅限企业层)删除配置服务器。 |
Extension | GA |
az spring config-server disable |
(仅限标准消耗层)禁用配置服务器。 |
Extension | GA |
az spring config-server enable |
(仅限标准消耗层)启用配置服务器。 |
Extension | GA |
az spring config-server git |
用于在 Azure Spring Apps 中管理配置服务器 git 属性的命令。 |
Extension | GA |
az spring config-server git repo |
用于管理 Azure Spring Apps 中的配置服务器 git 存储库的命令。 |
Extension | GA |
az spring config-server git repo add |
添加 Config Server 的 git 属性的新存储库。 |
Extension | GA |
az spring config-server git repo list |
列出 Config Server 的 git 属性的所有存储库。 |
Extension | GA |
az spring config-server git repo remove |
删除 Config Server 的 git 属性的现有存储库。 |
Extension | GA |
az spring config-server git repo update |
重写 Config Server 的 git 属性的现有存储库,将完全替代旧存储库。 |
Extension | GA |
az spring config-server git set |
设置 Config Server 的 git 属性,将完全替代旧属性。 |
Extension | GA |
az spring config-server set |
从 yaml 文件设置配置服务器。 |
Extension | GA |
az spring config-server show |
显示配置服务器。 |
Extension | GA |
az spring config-server unbind |
(仅限企业层)从配置服务器取消绑定应用。 |
Extension | GA |
az spring connection |
用于管理 Spring App 连接的命令。 |
Core | GA |
az spring connection create |
在 Spring 应用和目标资源之间创建连接。 |
Core | GA |
az spring connection create app-insights |
创建与 app-insights 的春季应用连接。 |
Core | GA |
az spring connection create appconfig |
创建到 appconfig 的 Spring 应用连接。 |
Core | GA |
az spring connection create cognitiveservices |
创建与认知服务的 Spring 应用连接。 |
Core | GA |
az spring connection create confluent-cloud |
创建与 confluent-cloud 的 Spring 应用连接。 |
Core | GA |
az spring connection create cosmos-cassandra |
创建与 cosmos-cassandra 的 Spring 应用连接。 |
Core | GA |
az spring connection create cosmos-gremlin |
创建与 cosmos-gremlin 的春季应用连接。 |
Core | GA |
az spring connection create cosmos-mongo |
创建与 cosmos-mongo 的 Spring 应用连接。 |
Core | GA |
az spring connection create cosmos-sql |
创建与 cosmos-sql 的 Spring 应用连接。 |
Core | GA |
az spring connection create cosmos-table |
创建与 cosmos-table 的 Spring 应用连接。 |
Core | GA |
az spring connection create eventhub |
创建到 eventhub 的 Spring 应用连接。 |
Core | GA |
az spring connection create fabric-sql |
创建与 fabric-sql 的 Spring 应用连接。 |
Core | GA |
az spring connection create keyvault |
创建到 keyvault 的 Spring 应用连接。 |
Core | GA |
az spring connection create mysql |
创建与 mysql 的 Spring 应用连接。 |
Core | Deprecated |
az spring connection create mysql-flexible |
创建与 mysql 灵活连接的 Spring 应用连接。 |
Core | GA |
az spring connection create postgres |
创建到 postgres 的 Spring 应用连接。 |
Core | Deprecated |
az spring connection create postgres-flexible |
创建与 postgres 灵活连接的 Spring 应用连接。 |
Core | GA |
az spring connection create redis |
创建与 redis 的 Spring 应用连接。 |
Core | GA |
az spring connection create redis-enterprise |
创建与 redis-enterprise 的 Spring 应用连接。 |
Core | GA |
az spring connection create servicebus |
创建与 servicebus 的 Spring 应用连接。 |
Core | GA |
az spring connection create signalr |
创建与信号器的春季应用连接。 |
Core | GA |
az spring connection create sql |
创建与 sql 的 Spring 应用连接。 |
Core | GA |
az spring connection create storage-blob |
创建到 storage-blob 的 Spring 应用连接。 |
Core | GA |
az spring connection create storage-file |
创建与存储文件的 Spring 应用连接。 |
Core | GA |
az spring connection create storage-queue |
创建与存储队列的 Spring 应用连接。 |
Core | GA |
az spring connection create storage-table |
创建与存储表的 Spring 应用连接。 |
Core | GA |
az spring connection create webpubsub |
创建与 Webpubsub 的 Spring 应用连接。 |
Core | GA |
az spring connection delete |
删除 Spring 应用连接。 |
Core | GA |
az spring connection list |
列出 Spring 应用的连接。 |
Core | GA |
az spring connection list-configuration |
列出 Spring 应用连接的源配置。 |
Core | GA |
az spring connection list-support-types |
列出 Spring 应用连接支持的客户端类型和身份验证类型。 |
Core | GA |
az spring connection show |
获取 Spring 应用连接的详细信息。 |
Core | GA |
az spring connection update |
更新 Spring 应用连接。 |
Core | GA |
az spring connection update app-insights |
将 Spring 应用更新为 app-insights 连接。 |
Core | GA |
az spring connection update appconfig |
将 Spring 应用更新为 appconfig 连接。 |
Core | GA |
az spring connection update cognitiveservices |
将 Spring 应用更新为认知服务连接。 |
Core | GA |
az spring connection update confluent-cloud |
将 Spring 应用更新为 confluent-cloud 连接。 |
Core | GA |
az spring connection update cosmos-cassandra |
将 spring 应用更新为 cosmos-cassandra 连接。 |
Core | GA |
az spring connection update cosmos-gremlin |
将 Spring 应用更新为 cosmos-gremlin 连接。 |
Core | GA |
az spring connection update cosmos-mongo |
将 spring 应用更新为 cosmos-mongo 连接。 |
Core | GA |
az spring connection update cosmos-sql |
将 spring 应用更新为 cosmos-sql 连接。 |
Core | GA |
az spring connection update cosmos-table |
将 spring 应用更新为 cosmos-table 连接。 |
Core | GA |
az spring connection update eventhub |
将 Spring 应用更新到 eventhub 连接。 |
Core | GA |
az spring connection update fabric-sql |
将 spring 应用更新为 fabric-sql 连接。 |
Core | GA |
az spring connection update keyvault |
将 Spring 应用更新为 keyvault 连接。 |
Core | GA |
az spring connection update mysql |
将 spring 应用更新到 mysql 连接。 |
Core | Deprecated |
az spring connection update mysql-flexible |
将 spring 应用更新为 mysql 灵活连接。 |
Core | GA |
az spring connection update postgres |
将 Spring 应用更新为 postgres 连接。 |
Core | Deprecated |
az spring connection update postgres-flexible |
将 Spring 应用更新为灵活连接。 |
Core | GA |
az spring connection update redis |
将 Spring 应用更新为 redis 连接。 |
Core | GA |
az spring connection update redis-enterprise |
将 Spring 应用更新为 redis-enterprise 连接。 |
Core | GA |
az spring connection update servicebus |
将 Spring 应用更新为 servicebus 连接。 |
Core | GA |
az spring connection update signalr |
将 Spring 应用更新为信号器连接。 |
Core | GA |
az spring connection update sql |
将 spring 应用更新为 sql 连接。 |
Core | GA |
az spring connection update storage-blob |
将 Spring 应用更新为 storage-blob 连接。 |
Core | GA |
az spring connection update storage-file |
将 Spring 应用更新为存储文件连接。 |
Core | GA |
az spring connection update storage-queue |
将 Spring 应用更新为存储队列连接。 |
Core | GA |
az spring connection update storage-table |
将 Spring 应用更新为存储表连接。 |
Core | GA |
az spring connection update webpubsub |
将 Spring 应用更新为 webpubsub 连接。 |
Core | GA |
az spring connection validate |
验证 Spring 应用连接。 |
Core | GA |
az spring connection wait |
将 CLI 置于等待状态,直到满足连接条件。 |
Core | GA |
az spring container-registry |
(仅限企业层)用于管理容器注册表资源的命令。 |
Extension | GA |
az spring container-registry create |
创建容器注册表。 |
Extension | GA |
az spring container-registry delete |
删除容器注册表。 |
Extension | GA |
az spring container-registry list |
列出所有容器注册表。 |
Extension | GA |
az spring container-registry show |
显示容器注册表。 |
Extension | GA |
az spring container-registry update |
更新容器注册表。 |
Extension | GA |
az spring create |
创建 Azure Spring Apps 实例。 |
Extension | GA |
az spring delete |
删除 Azure Spring Apps。 |
Extension | GA |
az spring dev-tool |
(仅限企业层)用于在 Azure Spring Apps 中管理开发工具的命令。 开发人员工具门户是托管开发人员工具的基础应用程序。 |
Extension | GA |
az spring dev-tool create |
创建开发工具门户。 |
Extension | GA |
az spring dev-tool delete |
删除开发工具门户。 |
Extension | GA |
az spring dev-tool show |
显示开发工具门户的预配状态、运行状态和设置。 |
Extension | GA |
az spring dev-tool update |
更新开发工具门户。 |
Extension | GA |
az spring eureka-server |
(支持标准消耗层)用于在 Azure Spring Apps 中管理 Eureka Server 的命令。 |
Extension | GA |
az spring eureka-server disable |
(支持标准消耗层)禁用 Eureka 服务器。 |
Extension | GA |
az spring eureka-server enable |
(支持标准消耗层)启用 Eureka 服务器。 |
Extension | GA |
az spring eureka-server show |
(支持标准消耗层)显示 Eureka 服务器。 |
Extension | GA |
az spring export |
用于从 Azure Spring Apps 导出目标 Azure 资源定义的命令。 |
Extension | GA |
az spring flush-virtualnetwork-dns-settings |
(仅限标准和企业层)刷新 Azure Spring Apps 的虚拟网络 DNS 设置。 |
Extension | Preview |
az spring gateway |
(仅限企业层)用于管理 Azure Spring Apps 中的网关的命令。 |
Extension | GA |
az spring gateway clear |
清除网关的所有设置。 |
Extension | GA |
az spring gateway create |
创建 Spring Cloud Gateway。 |
Extension | GA |
az spring gateway custom-domain |
用于管理网关自定义域的命令。 |
Extension | GA |
az spring gateway custom-domain bind |
将自定义域与网关绑定。 |
Extension | GA |
az spring gateway custom-domain list |
列出网关的所有自定义域。 |
Extension | GA |
az spring gateway custom-domain show |
显示自定义域的详细信息。 |
Extension | GA |
az spring gateway custom-domain unbind |
取消绑定网关的自定义域。 |
Extension | GA |
az spring gateway custom-domain update |
更新网关的自定义域。 |
Extension | GA |
az spring gateway delete |
删除 Spring Cloud Gateway。 |
Extension | GA |
az spring gateway restart |
重启 Spring Cloud 网关。 |
Extension | GA |
az spring gateway route-config |
用于管理 Azure Spring Apps 中的网关路由配置的命令。 |
Extension | GA |
az spring gateway route-config create |
使用 Json 数组格式的路由规则创建网关路由配置。 |
Extension | GA |
az spring gateway route-config list |
列出所有现有网关路由配置。 |
Extension | GA |
az spring gateway route-config remove |
删除现有的网关路由配置。 |
Extension | GA |
az spring gateway route-config show |
获取现有的网关路由配置。 |
Extension | GA |
az spring gateway route-config update |
使用 Json 数组格式的路由规则更新现有网关路由配置。 |
Extension | GA |
az spring gateway show |
显示网关的设置、预配状态和运行时状态。 |
Extension | GA |
az spring gateway sync-cert |
同步网关证书。 |
Extension | GA |
az spring gateway update |
更新现有网关属性。 |
Extension | GA |
az spring job |
(仅限企业层)用于管理 Azure Spring Apps 服务的作业的命令。 |
Extension | Preview |
az spring job create |
在 Azure Spring Apps 服务中创建新作业。 |
Extension | Preview |
az spring job delete |
删除 Azure Spring Apps 中的作业。 |
Extension | Preview |
az spring job deploy |
将项目部署到作业并更新相关配置。 |
Extension | Preview |
az spring job execution |
(仅限企业层)用于管理 Azure Spring Apps 服务的作业执行的命令。 |
Extension | Preview |
az spring job execution cancel |
取消作业执行。 |
Extension | Preview |
az spring job execution instance |
(仅限企业层)用于管理 Azure Spring Apps 服务的作业执行实例的命令。 |
Extension | Preview |
az spring job execution instance list |
列出作业执行的所有实例。 |
Extension | Preview |
az spring job execution list |
列出作业的所有执行。 |
Extension | Preview |
az spring job execution show |
显示作业执行的状态和结果。 |
Extension | Preview |
az spring job list |
列出 Azure Spring Apps 中的所有作业。 |
Extension | Preview |
az spring job logs |
显示作业执行实例的日志。 设置“-f/--follow”时,将流式传输日志。 |
Extension | Preview |
az spring job show |
在 Azure Spring Apps 中显示作业的详细信息。 |
Extension | Preview |
az spring job start |
启动作业的执行。 |
Extension | Preview |
az spring job update |
更新作业的配置。 |
Extension | Preview |
az spring list |
列出给定资源组中的所有 Azure Spring Apps,否则列出订阅。 |
Extension | GA |
az spring list-marketplace-plan |
(仅限企业层)列出要购买的市场计划。 |
Extension | Preview |
az spring list-support-server-versions |
(仅限标准和基本层)列出受支持的服务器版本。 |
Extension | Preview |
az spring private-dns-zone |
使用 Azure Spring Apps 配置 constumer 专用 DNS 区域的命令。 |
Extension | GA |
az spring private-dns-zone add |
用于使用 Azure Spring Apps 添加 constumer 专用 DNS 区域的命令。 |
Extension | GA |
az spring private-dns-zone clean |
用于清理 Azure Spring Apps 中的 constumer 专用 DNS 区域的命令。 |
Extension | GA |
az spring private-dns-zone update |
用于更新 Azure Spring Apps 中的 constumer 专用 DNS 区域的命令。 |
Extension | GA |
az spring service-registry |
(仅限企业层)用于在 Azure Spring Apps 中管理服务注册表的命令。 |
Extension | GA |
az spring service-registry bind |
将应用或作业绑定到服务注册表。 |
Extension | GA |
az spring service-registry create |
创建服务注册表。 |
Extension | GA |
az spring service-registry delete |
删除服务注册表。 |
Extension | GA |
az spring service-registry show |
显示服务注册表的预配状态和运行时状态。 |
Extension | GA |
az spring service-registry unbind |
从服务注册表取消绑定应用或作业。 |
Extension | GA |
az spring show |
显示 Azure Spring Apps 的详细信息。 |
Extension | GA |
az spring start |
启动 Azure Spring Apps。 |
Extension | GA |
az spring stop |
停止 Azure Spring Apps。 |
Extension | GA |
az spring storage |
用于管理 Azure Spring Apps 中的存储的命令。 |
Extension | GA |
az spring storage add |
在 Azure Spring Apps 中创建新的存储。 |
Extension | GA |
az spring storage list |
列出 Azure Spring Apps 中的所有现有存储。 |
Extension | GA |
az spring storage list-persistent-storage |
列出与 Azure Spring Apps 中的现有存储相关的所有永久性存储。 |
Extension | GA |
az spring storage remove |
删除 Azure Spring Apps 中的现有存储。 |
Extension | GA |
az spring storage show |
获取 Azure Spring Apps 中的现有存储。 |
Extension | GA |
az spring storage update |
更新 Azure Spring Apps 中的现有存储。 |
Extension | GA |
az spring test-endpoint |
用于管理 Azure Spring Apps 中的测试终结点的命令。 |
Extension | GA |
az spring test-endpoint disable |
禁用 Azure Spring Apps 的测试终结点。 |
Extension | GA |
az spring test-endpoint enable |
启用 Azure Spring Apps 的测试终结点。 |
Extension | GA |
az spring test-endpoint list |
列出 Azure Spring Apps 的测试终结点密钥。 |
Extension | GA |
az spring test-endpoint renew-key |
重新生成 Azure Spring Apps 的测试终结点密钥。 |
Extension | GA |
az spring update |
更新 Azure Spring Apps。 |
Extension | GA |
az spring create
创建 Azure Spring Apps 实例。
az spring create --name
--resource-group
[--acs-gen --application-configuration-service-generation {Gen1, Gen2}]
[--ap-instance --api-portal-instance-count]
[--app-insights]
[--app-insights-key]
[--app-network-resource-group --app-nrg]
[--app-subnet]
[--build-pool-size {S1, S2, S3, S4, S5, S6, S7, S8, S9}]
[--disable-app-insights {false, true}]
[--disable-build-service {false, true}]
[--enable-acs --enable-application-configuration-service]
[--enable-alv --enable-application-live-view]
[--enable-api-portal]
[--enable-app-acc --enable-application-accelerator]
[--enable-config-server --enable-cs]
[--enable-dataplane-public-endpoint --enable-dppa {false, true}]
[--enable-gateway]
[--enable-private-storage-access --enable-psa {false, true}]
[--enable-service-registry --enable-sr]
[--gateway-instance-count]
[--infra-resource-group]
[--ingress-read-timeout]
[--location]
[--managed-environment]
[--marketplace-plan-id]
[--no-wait]
[--outbound-type]
[--registry-password]
[--registry-server]
[--registry-username]
[--reserved-cidr-range]
[--sampling-rate]
[--service-runtime-network-resource-group --svc-nrg]
[--service-runtime-subnet --svc-subnet]
[--sku {Basic, Enterprise, Standard, StandardGen2}]
[--tags]
[--vnet]
[--zone-redundant {false, true}]
示例
在 westus 中创建新的 Azure Spring Apps。
az spring create -n MyService -g MyResourceGroup -l westus
使用连接字符串(建议)或检测密钥,在 westus 中使用现有的 Application Insights 创建新的 Azure Spring Apps。
az spring create -n MyService -g MyResourceGroup -l westus --app-insights-key "MyConnectionString"
使用现有的 Application Insights 在 westus 中创建新的 Azure Spring Apps。
az spring create -n MyService -g MyResourceGroup -l westus --app-insights appInsightsName
使用现有的 Application Insights 在 westus 中创建新的 Azure Spring Apps 并指定采样率。
az spring create -n MyService -g MyResourceGroup -l westus --app-insights appInsightsName --sampling-rate 10
使用 Application Insights 禁用创建新的 Azure Spring Apps。
az spring create -n MyService -g MyResourceGroup --disable-app-insights
通过为当前资源组中的 VNet 名称注入 VNet 创建新的 Azure Spring Apps
az spring create -n MyService -g MyResourceGroup --vnet MyVNet --app-subnet MyAppSubnet --service-runtime-subnet MyServiceRuntimeSubnet
通过为子网资源 ID 注入 VNet 创建新的 Azure Spring Apps
az spring create -n MyService -g MyResourceGroup --app-subnet /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyVnetRg/providers/Microsoft.Network/VirtualNetworks/test-vnet/subnets/app --service-runtime-subnet /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyVnetRg/providers/Microsoft.Network/VirtualNetworks/test-vnet/subnets/svc --reserved-cidr-range 10.0.0.0/16,10.1.0.0/16,10.2.0.1/16
如果 Azure 订阅从未托管 Azure Spring Apps Enterprise 实例,则创建 Azure Spring Apps Enterprise 实例
az provider register -n Microsoft.SaaS
az term accept --publisher vmware-inc --product azure-spring-cloud-vmware-tanzu-2 --plan asa-ent-hr-mtr
az spring create -n MyService -g MyResourceGroup --sku Enterprise
创建启用了 Tanzu 组件的 Azure Spring Apps Enterprise 实例。
az provider register -n Microsoft.SaaS
az term accept --publisher vmware-inc --product azure-spring-cloud-vmware-tanzu-2 --plan asa-ent-hr-mtr
az spring create -n MyService -g MyResourceGroup --sku Enterprise --enable-application-configuration-service --enable-config-server --enable-service-registry --enable-gateway --enable-api-portal --enable-application-live-view --enable-application-accelerator
必需参数
Azure Spring Apps 实例的名称。
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
(仅限企业层)要启用的应用程序配置服务生成。
属性 | 值 |
---|---|
Parameter group: | Application Configuration Service Arguments |
接受的值: | Gen1, Gen2 |
(仅限企业层)API 门户实例数。
属性 | 值 |
---|---|
Parameter group: | API portal Arguments |
同一资源组中现有 Application Insights 的名称。 或不同资源组中现有 Application Insights 的资源 ID。
属性 | 值 |
---|---|
Parameter group: | Application Insights Arguments |
现有 Application Insights 的连接字符串(建议)或检测密钥。
属性 | 值 |
---|---|
Parameter group: | Application Insights Arguments |
将在其中创建应用的所有网络资源的资源组。
属性 | 值 |
---|---|
Parameter group: | VNet Injection Arguments |
要在其中部署 Spring Apps 应用的“vnet”中现有子网的名称或 ID。 部署到虚拟网络时是必需的。 支持较小的子网大小,请参阅:https://aka.ms/azure-spring-cloud-smaller-subnet-vnet-docs。
属性 | 值 |
---|---|
Parameter group: | VNet Injection Arguments |
(仅限企业层)生成代理池的大小。 请参阅 https://aka.ms/azure-spring-cloud-build-service-docs 了解大小信息。
属性 | 值 |
---|---|
Parameter group: | Build Service Arguments |
接受的值: | S1, S2, S3, S4, S5, S6, S7, S8, S9 |
禁用 Application Insights(如果未禁用)且未使用 --app-insights-key 或 --app-insights 指定的现有 Application Insights,则会在同一资源组中创建新的 Application Insights 实例。
属性 | 值 |
---|---|
Parameter group: | Application Insights Arguments |
接受的值: | false, true |
(仅限企业层)禁用生成服务。
属性 | 值 |
---|---|
Parameter group: | Build Service Arguments |
默认值: | False |
接受的值: | false, true |
(仅限企业层)启用应用程序配置服务。
属性 | 值 |
---|---|
Parameter group: | Application Configuration Service Arguments |
默认值: | False |
(仅限企业层)启用应用程序实时视图。
属性 | 值 |
---|---|
默认值: | False |
(仅限企业层)启用 API 门户。
属性 | 值 |
---|---|
Parameter group: | API portal Arguments |
默认值: | False |
(仅限企业层)启用应用程序加速器。
属性 | 值 |
---|---|
默认值: | False |
(仅限企业层)启用配置服务器。
属性 | 值 |
---|---|
Parameter group: | Config Server Arguments |
默认值: | False |
如果为 true,请为日志流式处理、远程调试分配公共终结点,在可从虚拟网络访问的 vnet 注入实例中连接应用。
属性 | 值 |
---|---|
接受的值: | false, true |
(仅限企业层)启用 Spring Cloud Gateway。
属性 | 值 |
---|---|
Parameter group: | Spring Cloud Gateway Arguments |
默认值: | False |
如果为 true,请将专用网络访问设置为 vnet 注入实例中的后端存储。
属性 | 值 |
---|---|
Parameter group: | VNet Injection Arguments |
接受的值: | false, true |
(仅限企业层)启用服务注册表。
属性 | 值 |
---|---|
默认值: | False |
(仅限企业层)Spring Cloud Gateway 实例数。
属性 | 值 |
---|---|
Parameter group: | Spring Cloud Gateway Arguments |
包含基础结构资源的资源组的名称。
属性 | 值 |
---|---|
Parameter group: | StandardGen2 Arguments |
入口读取超时值(以秒为单位)。 默认值 300,最小值为 1,最大值为 1800。
Location.
az account list-locations
中的值。 可以使用 az configure --defaults location=<location>
配置默认位置。
Spring Apps 实例所基于的容器应用环境的资源 ID。
属性 | 值 |
---|---|
Parameter group: | StandardGen2 Arguments |
(仅限企业层)指定要使用 Spring 实例购买的其他市场计划。 通过运行 az spring list-marketplace-plan -o table
列出所有计划。
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
默认值: | False |
Azure Spring Apps VNet 实例的出站类型。
属性 | 值 |
---|---|
Parameter group: | VNet Injection Arguments |
默认值: | loadBalancer |
(仅限企业层)生成服务中使用的容器注册表密码。
(仅限企业层)生成服务中使用的容器注册表服务器。
(仅限企业层)生成服务中使用的容器注册表用户名。
CIDR 格式的 IP 地址范围的逗号分隔列表。 IP 范围保留为托管基础 Azure Spring Apps 基础结构(至少为 3 个未使用的 IP 范围)不得与任何子网 IP 范围重叠。
属性 | 值 |
---|---|
Parameter group: | VNet Injection Arguments |
Application Insights 的采样率。 最小值为 0,最大值为 100。
属性 | 值 |
---|---|
Parameter group: | Application Insights Arguments |
将在其中创建 Azure Spring Apps 服务运行时的所有网络资源的资源组。
属性 | 值 |
---|---|
Parameter group: | VNet Injection Arguments |
要在其中部署 Spring Apps 服务运行时的“vnet”中现有子网的名称或 ID。 部署到虚拟网络时是必需的。
属性 | 值 |
---|---|
Parameter group: | VNet Injection Arguments |
SKU 的名称。
属性 | 值 |
---|---|
默认值: | Standard |
接受的值: | Basic, Enterprise, Standard, StandardGen2 |
空格分隔标记:key[=value] [key[=value] ...]。使用“”清除现有标记。
要在其中部署 Spring Apps 实例的现有虚拟网络的名称或 ID。
属性 | 值 |
---|---|
Parameter group: | VNet Injection Arguments |
在 Azure 可用性区域中创建 Azure Spring Apps 服务,目前只能在多个区域支持此功能。
属性 | 值 |
---|---|
默认值: | False |
接受的值: | false, true |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az spring delete
删除 Azure Spring Apps。
az spring delete --name
--resource-group
[--no-wait]
必需参数
Azure Spring Apps 实例的名称。
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
默认值: | False |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az spring export
用于从 Azure Spring Apps 导出目标 Azure 资源定义的命令。
az spring export --resource-group
--service
[--output-folder]
[--target {aca, azure-container-apps}]
示例
生成相应的 bicep 文件和 README 文档以创建 Azure 容器应用服务。
az spring export --target aca --service MyAzureSpringAppsInstance --resource-group MyResourceGroup --output-folder output
必需参数
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
Azure Spring Apps 实例的名称,可以使用 az configure --defaults spring=<name>
配置默认服务。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
生成的 Bicep 文件的输出文件夹。
要迁移到的目标 Azure 服务。
属性 | 值 |
---|---|
默认值: | aca |
接受的值: | aca, azure-container-apps |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az spring flush-virtualnetwork-dns-settings
此命令处于预览阶段,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
(仅限标准和企业层)刷新 Azure Spring Apps 的虚拟网络 DNS 设置。
az spring flush-virtualnetwork-dns-settings --name
--resource-group
[--no-wait]
必需参数
Azure Spring Apps 实例的名称。
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
默认值: | False |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az spring list
列出给定资源组中的所有 Azure Spring Apps,否则列出订阅。
az spring list [--resource-group]
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az spring list-marketplace-plan
此命令处于预览阶段,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
(仅限企业层)列出要购买的市场计划。
az spring list-marketplace-plan
示例
列出所有计划。
az spring list-marketplace-plan -o table
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az spring list-support-server-versions
此命令处于预览阶段,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
(仅限标准和基本层)列出受支持的服务器版本。
az spring list-support-server-versions --resource-group
--service
示例
列出受支持的服务器版本。
az spring list-support-server-versions -o table -s MyService -g MyResourceGroup
必需参数
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
Azure Spring Apps 实例的名称,可以使用 az configure --defaults spring=<name>
配置默认服务。
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az spring show
显示 Azure Spring Apps 的详细信息。
az spring show --name
--resource-group
必需参数
Azure Spring Apps 实例的名称。
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az spring start
启动 Azure Spring Apps。
az spring start --name
--resource-group
[--no-wait]
必需参数
Azure Spring Apps 实例的名称。
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
默认值: | False |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az spring stop
停止 Azure Spring Apps。
az spring stop --name
--resource-group
[--no-wait]
必需参数
Azure Spring Apps 实例的名称。
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
默认值: | False |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az spring update
更新 Azure Spring Apps。
az spring update --name
--resource-group
[--build-pool-size {S1, S2, S3, S4, S5, S6, S7, S8, S9}]
[--enable-dataplane-public-endpoint --enable-dppa {false, true}]
[--enable-planned-maintenance --enable-pm]
[--enable-private-storage-access --enable-psa {false, true}]
[--ingress-read-timeout]
[--no-wait]
[--planned-maintenance-day --pm-day {Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday}]
[--planned-maintenance-start-hour --pm-start-hour]
[--sku {Basic, Enterprise, Standard, StandardGen2}]
[--tags]
示例
更新定价层。
az spring update -n MyService --sku Standard -g MyResourceGroup
更新现有 Azure Spring Apps 的标记。
az spring update -n MyService -g MyResourceGroup --tags key1=value1 key2=value2
配置计划内维护
az spring update -n MyService -g MyResourceGroup --enable-planned-maintenance --planned-maintenance-day Friday --planned-maintenance-start-hour 10
必需参数
Azure Spring Apps 实例的名称。
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
(仅限企业层)生成代理池的大小。 请参阅 https://aka.ms/azure-spring-cloud-build-service-docs 了解大小信息。
属性 | 值 |
---|---|
接受的值: | S1, S2, S3, S4, S5, S6, S7, S8, S9 |
如果为 true,请为日志流式处理、远程调试分配公共终结点,在可从虚拟网络访问的 vnet 注入实例中连接应用。
属性 | 值 |
---|---|
接受的值: | false, true |
如果已设置,请为实例启用计划内维护。
属性 | 值 |
---|---|
Parameter group: | Planned Maintenance Arguments |
默认值: | False |
如果为 true,请将专用网络访问设置为 vnet 注入实例中的后端存储。
属性 | 值 |
---|---|
Parameter group: | VNet Injection Arguments |
接受的值: | false, true |
入口读取超时值(以秒为单位)。 最小值为 1,最大值为 1800。
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
默认值: | False |
计划内维护的一周中的一天。
属性 | 值 |
---|---|
Parameter group: | Planned Maintenance Arguments |
接受的值: | Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday |
计划内维护时段的开始时间(UTC)。 必须介于 0 和 23 之间。
属性 | 值 |
---|---|
Parameter group: | Planned Maintenance Arguments |
SKU 的名称。
属性 | 值 |
---|---|
接受的值: | Basic, Enterprise, Standard, StandardGen2 |
空格分隔标记:key[=value] [key[=value] ...]。使用“”清除现有标记。
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |