pcluster list-official-images - Amazon ParallelCluster
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅中国的 Amazon Web Services 服务入门

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

pcluster list-official-images

描述官方Amazon ParallelClusterAMI。

pcluster list-official-images [-h] [--architecture ARCHITECTURE] [--debug] [--os OS] [--query QUERY] [--region REGION]

命名参数

-h, --help

显示的帮助文本pcluster list-official-images.

--architecture ARCHITECTURE

指定要用于筛选结果的架构。如果未指定此参数,则返回所有架构。

--debug

启用调调调调调调调调

--os OS

指定要用于筛选结果的操作系统。如果未指定此参数,则返回所有操作系统。

--query QUERY

指定要对输出执行的 JMESPath 查询。

--region, -r REGION

指定Amazon Web Services 区域使用。必须使用指定区域区域在图像配置文件中设置,AWS_DEFAULT_REGION环境变量region设置[default]Lin部分~/.aws/config文件,或--region参数。

使用的示例Amazon ParallelCluster版本 3.1.2

$ pcluster list-official-images { "images": [ { "amiId": "ami-015cfeb4e0d6306b2", "os": "ubuntu2004", "name": "aws-parallelcluster-3.1.2-ubuntu-2004-lts-hvm-x86_64-202202261505 2022-02-26T15-08-34.759Z", "version": "3.1.2", "architecture": "x86_64" }, { "amiId": "ami-036f23237ce49d25b", "os": "ubuntu1804", "name": "aws-parallelcluster-3.1.2-ubuntu-1804-lts-hvm-x86_64-202202261505 2022-02-26T15-08-17.558Z", "version": "3.1.2", "architecture": "x86_64" }, { "amiId": "ami-09e5327e694d89ef4", "os": "ubuntu2004", "name": "aws-parallelcluster-3.1.2-ubuntu-2004-lts-hvm-arm64-202202261505 2022-02-26T15-08-45.736Z", "version": "3.1.2", "architecture": "arm64" }, { "amiId": "ami-0b9b0874c35f626ae", "os": "alinux2", "name": "aws-parallelcluster-3.1.2-amzn2-hvm-x86_64-202202261505 2022-02-26T15-08-31.311Z", "version": "3.1.2", "architecture": "x86_64" }, { "amiId": "ami-0bf6d01f398f3737e", "os": "centos7", "name": "aws-parallelcluster-3.1.2-centos7-hvm-x86_64-202202261505 2022-02-26T15-08-25.001Z", "version": "3.1.2", "architecture": "x86_64" }, { "amiId": "ami-0d0de4f95f56374bc", "os": "alinux2", "name": "aws-parallelcluster-3.1.2-amzn2-hvm-arm64-202202261505 2022-02-26T15-08-46.088Z", "version": "3.1.2", "architecture": "arm64" }, { "amiId": "ami-0ebf7bc54b8740dc6", "os": "ubuntu1804", "name": "aws-parallelcluster-3.1.2-ubuntu-1804-lts-hvm-arm64-202202261505 2022-02-26T15-08-45.293Z", "version": "3.1.2", "architecture": "arm64" } ] }