mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-16 20:36:39 +00:00
gcloud: Fri Mar 24 11:31:22 UTC 2023
This commit is contained in:
parent
a4bd29dd06
commit
4ccfc7a5e3
142 changed files with 4081 additions and 397 deletions
|
|
@ -144,7 +144,8 @@ OPTIONAL FLAGS
|
|||
their boot disks. See the descriptions of supported features at:
|
||||
https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features.
|
||||
GUEST_OS_FEATURE must be one of: GVNIC, MULTI_IP_SUBNET, SEV_CAPABLE,
|
||||
SEV_SNP_CAPABLE, UEFI_COMPATIBLE, VIRTIO_SCSI_MULTIQUEUE, WINDOWS.
|
||||
SEV_LIVE_MIGRATABLE, SEV_SNP_CAPABLE, UEFI_COMPATIBLE,
|
||||
VIRTIO_SCSI_MULTIQUEUE, WINDOWS.
|
||||
|
||||
--key-exchange-key-file=[KEK_VALUE,...]
|
||||
Comma-separated list of file paths that point to X.509 certificates in
|
||||
|
|
|
|||
|
|
@ -3,8 +3,13 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud compute images import IMAGE_NAME
|
||||
(--source-file=SOURCE_FILE | --source-image=SOURCE_IMAGE)
|
||||
[--no-address] [--async]
|
||||
(--aws-access-key-id=AWS_ACCESS_KEY_ID --aws-region=AWS_REGION
|
||||
--aws-secret-access-key=AWS_SECRET_ACCESS_KEY
|
||||
--aws-session-token=AWS_SESSION_TOKEN
|
||||
(--aws-source-ami-file-path=AWS_SOURCE_AMI_FILE_PATH
|
||||
| --aws-ami-export-location=AWS_AMI_EXPORT_LOCATION
|
||||
--aws-ami-id=AWS_AMI_ID) | --source-file=SOURCE_FILE
|
||||
| --source-image=SOURCE_IMAGE) [--no-address] [--async]
|
||||
[--compute-service-account=COMPUTE_SERVICE_ACCOUNT]
|
||||
[--description=DESCRIPTION] [--family=FAMILY] [--no-guest-environment]
|
||||
[--guest-os-features=[GUEST_OS_FEATURE,...]]
|
||||
|
|
@ -54,14 +59,73 @@ POSITIONAL ARGUMENTS
|
|||
REQUIRED FLAGS
|
||||
Exactly one of these must be specified:
|
||||
|
||||
--source-file=SOURCE_FILE
|
||||
A local file, or the Cloud Storage URI of the virtual disk file to
|
||||
import. For example: gs://my-bucket/my-image.vmdk or
|
||||
./my-local-image.vmdk. For more information about Cloud Storage URIs,
|
||||
see https://cloud.google.com/storage/docs/request-endpoints#json-api.
|
||||
Image import from AWS.
|
||||
|
||||
--source-image=SOURCE_IMAGE
|
||||
An existing Compute Engine image from which to import.
|
||||
--aws-access-key-id=AWS_ACCESS_KEY_ID
|
||||
Access key ID for a temporary AWS credential. This ID must be
|
||||
generated using the AWS Security Token Service.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
--aws-region=AWS_REGION
|
||||
AWS region of the image that you want to import.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
--aws-secret-access-key=AWS_SECRET_ACCESS_KEY
|
||||
Secret access key for a temporary AWS credential. This key must be
|
||||
generated using the AWS Security Token Service.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
--aws-session-token=AWS_SESSION_TOKEN
|
||||
Session token for a temporary AWS credential. This session token
|
||||
must be generated using the AWS Security Token Service.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
Specify whether to import from an AMI or disk image.
|
||||
|
||||
Exactly one of these must be specified:
|
||||
|
||||
If importing a disk image, specify the following:
|
||||
|
||||
--aws-source-ami-file-path=AWS_SOURCE_AMI_FILE_PATH
|
||||
S3 resource path of the exported image file that you want to
|
||||
import.
|
||||
|
||||
If importing an AMI, specify the following two flags:
|
||||
|
||||
--aws-ami-export-location=AWS_AMI_EXPORT_LOCATION
|
||||
An AWS S3 bucket location where the converted image file can be
|
||||
temporarily exported to before the import to Cloud Storage.
|
||||
|
||||
This flag argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--aws-ami-id=AWS_AMI_ID
|
||||
AWS AMI ID of the image to import.
|
||||
|
||||
This flag argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
Image import from local file, Cloud Storage or Compute Engine image.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--source-file=SOURCE_FILE
|
||||
A local file, or the Cloud Storage URI of the virtual disk file to
|
||||
import. For example: gs://my-bucket/my-image.vmdk or
|
||||
./my-local-image.vmdk. For more information about Cloud Storage
|
||||
URIs, see
|
||||
https://cloud.google.com/storage/docs/request-endpoints#json-api.
|
||||
|
||||
--source-image=SOURCE_IMAGE
|
||||
An existing Compute Engine image from which to import.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--no-address
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue