1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-10 11:21:48 +00:00
gcloud-help/gcloud/looker/instances/help
2025-02-20 10:40:27 +00:00

94 lines
2.6 KiB
Text

NAME
gcloud looker instances - manage Looker instances
SYNOPSIS
gcloud looker instances COMMAND [GCLOUD_WIDE_FLAG ...]
EXAMPLES
To create an instance with the name my-looker-instance, with an edition of
"LOOKER_CORE_STANDARD", run:
$ gcloud looker instances create my-looker-instance \
--oauth-client-id='looker' --oauth-client-secret='looker' \
--edition="core-standard" --async
Note: It is recommended that the --async argument is provided when creating
a Looker instance.
To delete an instance with the name my-looker-instance, run:
$ gcloud looker instances delete my-looker-instance --async
To display the details for an instance with name my-looker-instance, run:
$ gcloud looker instances describe my-looker-instance
To restart an instance with the name my-looker-instance, run:
$ gcloud looker instances restart my-looker-instance --async
To update an instance with the name my-looker-instance, run:
$ gcloud looker instances update my-looker-instance --async
To restore a backup with id of 7e504e66-c389-4d8d that belongs to an
instance named my-looker-instance, in the region us-central1, run:
$ gcloud looker instances restore my-looker-instance \ --backup="7e504e66-c389-4d8" --region="us-central1" --async
To export an instance with the name my-looker-instance, run:
$ gcloud looker instances export my-looker-instance \
--target-gcs-uri='gs://bucketName/folderName' \
--kms-key='projects/my-project/locations/us-central1/keyRings/my\
-key-ring/cryptoKeys/my-key'
To import an instance with the name my-looker-instance, run:
$ gcloud looker instances import my-looker-instance \
--source-gcs-uri='gs://bucketName/folderName'
To list all the instances, run:
$ gcloud looker instances list
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMANDS
COMMAND is one of the following:
create
Create a Looker instance.
delete
Delete a Looker instance.
describe
Show metadata for a Looker instance.
export
Export a Looker instance.
import
Import a Looker instance.
list
List Looker instances.
restart
Restart a Looker instance.
restore
Restore a Looker instance from a backup.
update
Update a Looker instance.
NOTES
This variant is also available:
$ gcloud alpha looker instances