gdcloud harbor backup-repositories create

NAME

gdcloud harbor backup-repositories create - Membuat repositori cadangan harbor baru.

SYNOPSIS

gdcloud harbor backup-repositories create REPOSITORY_NAME [flags]

CONTOH

To create a harbor backup repository, run:

  gdcloud harbor backup-repositories create example-repository \
      --project=example-project \
      --secret-name=example-secret \
      --secret-namespace=example-secret-namespace \
      --bucket-endpoint=http://example-endpoint.com \
      --bucket-region=example-region \
      --bucket-name=example-bucket

FLAG WAJIB

      --bucket-endpoint string    Endpoint of the S3 bucket.
      --bucket-name string        Name of the S3 bucket.
      --bucket-region string      Region of the S3 bucket.
      --secret-name string        Name of the secret that contains the credentials for the Harbor instance backup repository.
      --secret-namespace string   Namespace of the secret that contains the credentials for the Harbor instance backup repository.

FLAG OPSIONAL

      --async                Returns immediately without waiting for the operation to complete.
      --description string   Description of the Harbor instance backup repository.

FLAG SELURUH GDCLOUD

Flag ini tersedia untuk semua perintah: --configuration, --format, --help, --project, --quiet.

Untuk mengetahui informasi selengkapnya, lihat halaman ringkasan referensi gdcloud CLI.