名稱
gdcloud organizations zonal-configs create - Create an OrganizationZonalConfig custom resource YAML files for each zone.
概要
gdcloud organizations zonal-configs create [flags]
範例
To create an OrganizationZonalConfig file with various fields preset, run:
gdcloud organizations zonal-configs create --name testOrg \
--zones={zone1,zone2}
--version 1.9.2-gdch.153 \
--server-quota \
o1-highmem1-40-gdc-metal=1,\
o1-standard1-64-gdc-metal=2,\
o1-highmem1-96-gdc-metal=3,\
o1-highmem1-104-gdc-metal=4,\
o1-highmem1-448-gdc-metal=5,\
o1-highgpu1-48-gdc-metal=6 \
--storage-sku \
block-standard=100Ti,\
file-standard=100Ti,\
object-nearline=100Ti,\
object-standard=100Ti \
--admin-server \
o1-standard1-64-gdc-metal=3
This command writes the YAML files to the HOME directory in the format [org name]-[zone].yaml
選用旗標
--admin-server stringToString Admin server type and the amount of org admin servers to allocate for that server type as a key-value pair. (default [])
--name string Name of the referenced organization.
--server-quota stringToString Comma-separated list of key-value pairs for server types and their quotas for the worker machines. (default [])
--storage-sku stringToString Comma-separated list of key-value pairs for storage SKUs and their sizes for an organization. (default [])
--version string Version of the GDCH software.
--zones stringArray Comma-separated list of zone IDs to create a config for.
GDCLOUD 廣泛標記
所有指令都可使用這些旗標:--configuration
、--format
、--help
、--project
、--quiet
。
詳情請參閱 gcloud CLI 參考資料總覽頁面。