RolloutStrategy

RolloutStrategy 定義了在多個叢集中推出資源套件的不同方式。

JSON 表示法
{

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "allAtOnce": {
    object (AllAtOnceStrategy)
  },
  "rolling": {
    object (RollingStrategy)
  }
  // End of mutually exclusive fields.
}
欄位
策略會定義資源套件更新應如何推送到各個叢集。以下列出互斥欄位。回應中最多會設定下列其中一個欄位:
allAtOnce

object (AllAtOnceStrategy)

AllAtOnceStrategy 會同時更新所有叢集。

rolling

object (RollingStrategy)

RollingStrategy 會同時更新指定數量的叢集,直到所有叢集都更新完畢。

互斥欄位結束。

AllAtOnceStrategy

這個類型沒有任何欄位。

AllAtOnceStrategy 會同時更新所有叢集。

RollingStrategy

RollingStrategy 會同時更新指定數量的叢集,直到所有叢集都更新完畢。

JSON 表示法
{
  "maxConcurrent": integer
}
欄位
maxConcurrent

integer

選用。同時更新資源套件的叢集數量上限。