mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Sep 13 10:32:10 UTC 2023
This commit is contained in:
parent
6c8d2eb024
commit
39a8a4f491
111 changed files with 1798 additions and 302 deletions
|
|
@ -4,6 +4,7 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud beta compute images export --destination-uri=DESTINATION_URI
|
||||
(--image=IMAGE | --image-family=IMAGE_FAMILY) [--async]
|
||||
[--cloudbuild-service-account=CLOUDBUILD_SERVICE_ACCOUNT]
|
||||
[--compute-service-account=COMPUTE_SERVICE_ACCOUNT]
|
||||
[--export-format=EXPORT_FORMAT] [--image-project=IMAGE_PROJECT]
|
||||
[--log-location=LOG_LOCATION] [--network=NETWORK] [--subnet=SUBNET]
|
||||
|
|
@ -51,6 +52,28 @@ OPTIONAL FLAGS
|
|||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--cloudbuild-service-account=CLOUDBUILD_SERVICE_ACCOUNT
|
||||
Image import amd export tools use Cloud Build to import and export
|
||||
images to and from your project. Cloud Build uses a specific service
|
||||
account to execute builds on your behalf. The Cloud Build service
|
||||
account generates access token for other service accounts and it is
|
||||
also used for authentication when building the artifacts for the image
|
||||
import tool.
|
||||
|
||||
Use this flag to to specify a custom Cloud Build service account for
|
||||
image import and export. If you don't specify this flag, Cloud Build
|
||||
runs using your project's default Cloud Build service account. To set
|
||||
this option, specify the email address corresponding to the required
|
||||
Cloud Build service account. Note: You must specify the --logs-location
|
||||
flag when you set the custom Cloud Build service account.
|
||||
|
||||
At minimum, the specified Cloud Build service account needs to have the
|
||||
following roles assigned:
|
||||
|
||||
◆ roles/compute.admin
|
||||
◆ roles/iam.serviceAccountTokenCreator
|
||||
◆ roles/iam.serviceAccountUser
|
||||
|
||||
--compute-service-account=COMPUTE_SERVICE_ACCOUNT
|
||||
A temporary virtual machine instance is created in your project during
|
||||
image export. Image export tooling on this temporary instance must be
|
||||
|
|
@ -66,8 +89,8 @@ OPTIONAL FLAGS
|
|||
export on the temporary instance uses the project's default Compute
|
||||
Engine service account.
|
||||
|
||||
At minimum, the specified Compute Engine service account needs to have
|
||||
the following roles assigned:
|
||||
At a minimum, you need to grant the following roles to the specified
|
||||
Cloud Build service account:
|
||||
|
||||
◆ roles/compute.storageAdmin
|
||||
◆ roles/storage.objectAdmin
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ SYNOPSIS
|
|||
(--aws-source-ami-file-path=AWS_SOURCE_AMI_FILE_PATH
|
||||
| --aws-ami-export-location=AWS_AMI_EXPORT_LOCATION
|
||||
--aws-ami-id=AWS_AMI_ID)) [--no-address] [--async]
|
||||
[--cloudbuild-service-account=CLOUDBUILD_SERVICE_ACCOUNT]
|
||||
[--compute-service-account=COMPUTE_SERVICE_ACCOUNT]
|
||||
[--description=DESCRIPTION] [--family=FAMILY] [--no-guest-environment]
|
||||
[--guest-os-features=[GUEST_OS_FEATURE,...]]
|
||||
|
|
@ -145,6 +146,28 @@ OPTIONAL FLAGS
|
|||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--cloudbuild-service-account=CLOUDBUILD_SERVICE_ACCOUNT
|
||||
Image import amd export tools use Cloud Build to import and export
|
||||
images to and from your project. Cloud Build uses a specific service
|
||||
account to execute builds on your behalf. The Cloud Build service
|
||||
account generates access token for other service accounts and it is
|
||||
also used for authentication when building the artifacts for the image
|
||||
import tool.
|
||||
|
||||
Use this flag to to specify a custom Cloud Build service account for
|
||||
image import and export. If you don't specify this flag, Cloud Build
|
||||
runs using your project's default Cloud Build service account. To set
|
||||
this option, specify the email address corresponding to the required
|
||||
Cloud Build service account. Note: You must specify the --logs-location
|
||||
flag when you set the custom Cloud Build service account.
|
||||
|
||||
At minimum, the specified Cloud Build service account needs to have the
|
||||
following roles assigned:
|
||||
|
||||
◆ roles/compute.admin
|
||||
◆ roles/iam.serviceAccountTokenCreator
|
||||
◆ roles/iam.serviceAccountUser
|
||||
|
||||
--compute-service-account=COMPUTE_SERVICE_ACCOUNT
|
||||
A temporary virtual machine instance is created in your project during
|
||||
image import. Image import tooling on this temporary instance must be
|
||||
|
|
@ -160,8 +183,8 @@ OPTIONAL FLAGS
|
|||
import on the temporary instance uses the project's default Compute
|
||||
Engine service account.
|
||||
|
||||
At minimum, the specified Compute Engine service account needs to have
|
||||
the following roles assigned:
|
||||
At a minimum, you need to grant the following roles to the specified
|
||||
Cloud Build service account:
|
||||
|
||||
◆ roles/compute.storageAdmin
|
||||
◆ roles/storage.objectViewer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue