Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.
pcluster describe-image
Dapatkan informasi rinci tentang gambar.
pcluster describe-image [-h] --image-id
IMAGE_ID
[--debug] [--query QUERY] [--regionREGION
]
Argumen bernama
-h, --help
-
Menampilkan teks bantuan untuk
pcluster describe-image
. --image-id, -i
IMAGE_ID
-
Menentukan ID gambar.
--debug
-
Mengaktifkan logging debug.
--query
QUERY
-
Menentukan query JMESPath untuk melakukan pada output.
--region, -r
REGION
-
Menentukan Wilayah AWS untuk menggunakan. Wilayah AWS Harus ditentukan, menggunakan variabel
AWS_DEFAULT_REGION
lingkungan,region
pengaturan di[default]
bagian~/.aws/config
file, atau--region
parameter.
Contoh menggunakan AWS ParallelCluster versi 3.1.2:
$
pcluster describe-image --image-id
custom-alinux2-image
{ "imageConfiguration: { "url": "https://parallelcluster-1234abcd5678-v1-do-not-delete.../configs/image-config.yaml" }, "imageId": "custom-alinux2-image", "creationTime": "2022-04-05T20:23:07.000Z" "imageBuildStatus": "BUILD_COMPLETE", "region": "us-east-1", "ec2AmiInfo": { "amiName": "custom-alinux2-image 2022-04-05T19-55-22.518Z", "amiId": "ami-1234abcd5678efgh", "description": "AWS ParallelCluster AMI for alinux2, kernel-4.14.268-205.500.amzn2.x86_64, lustre-2.10.8-5.amzn2.x86_64, efa-1.14.2-1.amzn2.x86_64, dcv-2021.3.11591-1.el7.x86_64, slurm-21-08-6-1", "state": "AVAILABLE", "tags": [ { "value": "arn:aws:imagebuilder:us-east-1:123456789012:image/parallelclusterimage-custom-alinux2-image/3.1.2/1", "key": "Ec2ImageBuilderArn" }, { "value": "parallelcluster-1234abcd5678efgh-v1-do-not-delete", "key": "parallelcluster:s3_bucket" }, { "value": "custom-alinux2-image", "key": "parallelcluster:image_name" }, { "value": "available", "key": "parallelcluster:build_status" }, { "value": "s3://parallelcluster-1234abcd5678efgh-v1-do-not-delete/parallelcluster/3.1.2/images/custom-alinux2-image-1234abcd5678efgh/configs/image-config.yaml", "key": "parallelcluster:build_config" }, { "value": "Amazon EC2 Image Builder", "key": "CreatedBy" }, { "value": "arn:aws:logs:us-east-1:123456789012:log-group:/aws/imagebuilder/ParallelClusterImage-custom-alinux2-image", "key": "parallelcluster:build_log" }, { "value": "4.14.268-205.500.amzn2.x86_64", "key": "parallelcluster:kernel_version" }, { "value": "arn:aws:imagebuilder:us-east-1:444455556666:image/amazon-linux-2-x86/2022.3.16/1", "key": "parallelcluster:parent_image" }, { "value": "3.1.2", "key": "parallelcluster:version" }, { "value": "0.5.14", "key": "parallelcluster:munge_version" }, { "value": "21-08-6-1", "key": "parallelcluster:slurm_version" }, { "value": "2021.3.11591-1.el7.x86_64", "key": "parallelcluster:dcv_version" }, { "value": "alinux2-image", "key": "parallelcluster:image_id" }, { "value": "3.2.3", "key": "parallelcluster:pmix_version" }, { "value": "parallelcluster/3.7.0/images/alinux2-image-abcd1234efgh56781234", "key": "parallelcluster:s3_image_dir" }, { "value": "1.14.2-1.amzn2.x86_64", "key": "parallelcluster:efa_version" }, { "value": "alinux2", "key": "parallelcluster:os" }, { "value": "aws-parallelcluster-cookbook-3.1.2", "key": "parallelcluster:bootstrap_file" }, { "value": "1.8.23-10.amzn2.1.x86_64", "key": "parallelcluster:sudo_version" }, { "value": "2.10.8-5.amzn2.x86_64", "key": "parallelcluster:lustre_version" } ], "architecture": "x86_64" }, "version": "3.1.2" }