Skip to main content

getRegions()

EXPERIMENTAL

获取此版本 Remotion Cloud Run 支持的所有 GCP 区域的数组。

🌐 Gets an array of all supported GCP regions of this release of Remotion Cloud Run.

示例

🌐 Example


const regions = getRegions();
// ["asia-east1", "us-east1"]
note

@remotion/cloudrun/client 导入,而不是导入整个渲染器,因为整个渲染器无法打包。

返回值

🌐 Return value

此版本的 Remotion Cloud Run 支持的区域数组。

🌐 An array of supported regions by this release of Remotion Cloud Run.

另请参阅

🌐 See also