gcloud sql 实例创建 --options
gcloud sql instances create --options
我正在尝试使用 gcloud sdk 终端使用 gcloud sql instances create
命令创建新的 cloud-sql 实例。
我们可以随命令一起传递多个可选参数。
例如--activation-policy ACTIVATION_POLICY,
在文档中没有提到,我们可以为这个参数传入的有效选项(值)是什么?
如果文档中的任何地方都可用,请分享。
如果它在某个地方,它不是那么明显或不可访问。
抱歉,您可以在此处查看有效值:
https://cloud.google.com/sql/docs/admin-api/v1beta4/instances/insert
Valid values:
ALWAYS: The instance is on; it is not deactivated by
inactivity.
NEVER: The instance is off; it is not activated, even if
a connection request arrives.
ON_DEMAND: The instance responds to
incoming requests, and turns itself off when not in use. Instances
with PER_USE pricing turn off after 15 minutes of inactivity.
Instances with PER_PACKAGE pricing turn off after 12 hours of
inactivity.
我们应该在创建命令帮助中包含此信息。
我正在尝试使用 gcloud sdk 终端使用 gcloud sql instances create
命令创建新的 cloud-sql 实例。
我们可以随命令一起传递多个可选参数。 例如--activation-policy ACTIVATION_POLICY, 在文档中没有提到,我们可以为这个参数传入的有效选项(值)是什么?
如果文档中的任何地方都可用,请分享。 如果它在某个地方,它不是那么明显或不可访问。
抱歉,您可以在此处查看有效值: https://cloud.google.com/sql/docs/admin-api/v1beta4/instances/insert
Valid values:
ALWAYS: The instance is on; it is not deactivated by inactivity.
NEVER: The instance is off; it is not activated, even if a connection request arrives.
ON_DEMAND: The instance responds to incoming requests, and turns itself off when not in use. Instances with PER_USE pricing turn off after 15 minutes of inactivity. Instances with PER_PACKAGE pricing turn off after 12 hours of inactivity.
我们应该在创建命令帮助中包含此信息。