名稱
gdcloud backup repositories update - update a backup repository.
概要
gdcloud backup repositories update BACKUP_REPOSITORY_NAME [flags]
範例
To update a backup repository "backup-repository-name" in a zone "us-east-1", run:
gdcloud backup repositories update backup-repository-name --zone=us-east-1 --project=project --s3-bucket-name=sample --s3-force-path=false --import-policy=ReadWrite
必要標記
--import-policy string Policy that determines whether this backup repository is read-only or read-write.
--project string Project that determines which project the associated s3 bucket was created.
--s3-bucket-name string Fully qualified name of the bucket, which can be found from the status of the GDC bucket custom resource.
--s3-force-path Set to force path style on S3 bucket name.
選用旗標
--secret-reference-name string Name referencing the secret that contains access credentials for the endpoint.
--secret-reference-namespace string Unique name referencing the secret that contains access credentials for the endpoint.
--zone string Zone to use for this invocation. To preset the zone flag for all commands that require it, run: "gdcloud config set core/zone ZONE". The zone flag is available only in multi-zone environments.
GDCLOUD 廣泛標記
所有指令都可使用這些旗標:--configuration、--format、--help、--project、--quiet。
詳情請參閱 gcloud CLI 參考資料總覽頁面。