Elastic Beanstalk API 命令行界面(已停用) - AWS Elastic Beanstalk

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

Elastic Beanstalk API 命令行界面(已停用)

此工具(Elastic Beanstalk API 命令行界面 (API CLI))已由 AWS CLI 替代,后者提供了适用于所有AWS服务的 API 等效命令。请参阅 AWS Command Line Interface 用户指南以开始使用 AWS CLI。另请尝试 EB CLI 以获取简化的高级命令行体验。

转换 Elastic Beanstalk API CLI 脚本

转换旧的 EB API CLI 脚本,以使用 AWS CLI 或 Tools for Windows PowerShell 来获取对最新的 Elastic Beanstalk API 的访问权限。下表列出 Elastic Beanstalk 基于 API 的 CLI 命令及其在 AWS CLI 和 Tools for Windows PowerShell 中的等效命令。

Elastic Beanstalk API CLI AWS CLI AWS Tools for Windows PowerShell

elastic-beanstalk-check-dns-availability

check-dns-availability

Get-EBDNSAvailability

elastic-beanstalk-create-application

create-application

New-EBApplication

elastic-beanstalk-create-application-version

create-application-version

New-EBApplicationVersion

elastic-beanstalk-create-configuration-template

create-configuration-template

New-EBConfigurationTemplate

elastic-beanstalk-create-environment

create-environment

New-EBEnvironment

elastic-beanstalk-create-storage-location

create-storage-location

New-EBStorageLocation

elastic-beanstalk-delete-application

delete-application

Remove-EBApplication

elastic-beanstalk-delete-application-version

delete-application-version

Remove-EBApplicationVersion

elastic-beanstalk-delete-configuration-template

delete-configuration-template

Remove-EBConfigurationTemplate

elastic-beanstalk-delete-environment-configuration

delete-environment-configuration

Remove-EBEnvironmentConfiguration

elastic-beanstalk-describe-application-versions

describe-application-versions

Get-EBApplicationVersion

elastic-beanstalk-describe-applications

describe-applications

Get-EBApplication

elastic-beanstalk-describe-configuration-options

describe-configuration-options

Get-EBConfigurationOption

elastic-beanstalk-describe-configuration-settings

describe-configuration-settings

Get-EBConfigurationSetting

elastic-beanstalk-describe-environment-resources

describe-environment-resources

Get-EBEnvironmentResource

elastic-beanstalk-describe-environments

describe-environments

Get-EBEnvironment

elastic-beanstalk-describe-events

describe-events

Get-EBEvent

elastic-beanstalk-list-available-solution-stacks

list-available-solution-stacks

Get-EBAvailableSolutionStack

elastic-beanstalk-rebuild-environment

rebuild-environment

Start-EBEnvironmentRebuild

elastic-beanstalk-request-environment-info

request-environment-info

Request-EBEnvironmentInfo

elastic-beanstalk-restart-app-server

restart-app-server

Restart-EBAppServer

elastic-beanstalk-retrieve-environment-info

retrieve-environment-info

Get-EBEnvironmentInfo

elastic-beanstalk-swap-environment-cnames

swap-environment-cnames

Set-EBEnvironmentCNAME

elastic-beanstalk-terminate-environment

terminate-environment

Stop-EBEnvironment

elastic-beanstalk-update-application

update-application

Update-EBApplication

elastic-beanstalk-update-application-version

update-application-version

Update-EBApplicationVersion

elastic-beanstalk-update-configuration-template

update-configuration-template

Update-EBConfigurationTemplate

elastic-beanstalk-update-environment

update-environment

Update-EBEnvironment

elastic-beanstalk-validate-configuration-settings

validate-configuration-settings

Test-EBConfigurationSetting