OCI 中的函数和事件

functions and events in OCI

我有一个场景,我想 运行 命令实例使用基于 OCI(Oracle 云基础设施)中的事件的函数。 流动 : 对象存储:对象 update/modification -> 触发事件 -> 执行函数:使用 run command 在特定实例中执行 运行 命令 这是可以实现的吗? 目前我看到要执行 run command 服务,我们需要 oci 配置文件(配置文件)

为此,您可以在函数中使用 OCI Java 或 Python SDK 来调用 运行 命令 API。

有关配置 Functions 资源主体的详细信息,请参阅“Using the API” in the docs. You will also need to configure the Functions resource principal to have access to the Compute instance in question. See this 中的 API 详细信息