published on Thursday, Oct 1, 2026 by Pulumi
published on Thursday, Oct 1, 2026 by Pulumi
This resource provides the Iot Flow Runtime Flow resource in Oracle Cloud Infrastructure Iot service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/iot/latest/Flow
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/iot
Replaces the complete flows document for the IoT flow runtime identified by the specified OCID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testIotFlowRuntimeFlow = new oci.oci.IotIotFlowRuntimeFlow("test_iot_flow_runtime_flow", {
flowsDocument: iotFlowRuntimeFlowFlowsDocument,
iotFlowRuntimeId: testIotFlowRuntime.id,
});
import pulumi
import pulumi_oci as oci
test_iot_flow_runtime_flow = oci.oci.IotIotFlowRuntimeFlow("test_iot_flow_runtime_flow",
flows_document=iot_flow_runtime_flow_flows_document,
iot_flow_runtime_id=test_iot_flow_runtime["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/oci"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := oci.NewIotIotFlowRuntimeFlow(ctx, "test_iot_flow_runtime_flow", &oci.IotIotFlowRuntimeFlowArgs{
FlowsDocument: pulumi.Any(iotFlowRuntimeFlowFlowsDocument),
IotFlowRuntimeId: pulumi.Any(testIotFlowRuntime.Id),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testIotFlowRuntimeFlow = new Oci.Oci.IotIotFlowRuntimeFlow("test_iot_flow_runtime_flow", new()
{
FlowsDocument = iotFlowRuntimeFlowFlowsDocument,
IotFlowRuntimeId = testIotFlowRuntime.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.oci.IotIotFlowRuntimeFlow;
import com.pulumi.oci.oci.IotIotFlowRuntimeFlowArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testIotFlowRuntimeFlow = new IotIotFlowRuntimeFlow("testIotFlowRuntimeFlow", IotIotFlowRuntimeFlowArgs.builder()
.flowsDocument(iotFlowRuntimeFlowFlowsDocument)
.iotFlowRuntimeId(testIotFlowRuntime.id())
.build());
}
}
resources:
testIotFlowRuntimeFlow:
type: oci:oci:IotIotFlowRuntimeFlow
name: test_iot_flow_runtime_flow
properties:
flowsDocument: ${iotFlowRuntimeFlowFlowsDocument}
iotFlowRuntimeId: ${testIotFlowRuntime.id}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
resource "oci_oci_iotiotflowruntimeflow" "test_iot_flow_runtime_flow" {
flows_document = iotFlowRuntimeFlowFlowsDocument
iot_flow_runtime_id = testIotFlowRuntime.id
}
Create IotIotFlowRuntimeFlow Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IotIotFlowRuntimeFlow(name: string, args: IotIotFlowRuntimeFlowArgs, opts?: CustomResourceOptions);@overload
def IotIotFlowRuntimeFlow(resource_name: str,
args: IotIotFlowRuntimeFlowArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IotIotFlowRuntimeFlow(resource_name: str,
opts: Optional[ResourceOptions] = None,
flows_document: Optional[str] = None,
iot_flow_runtime_id: Optional[str] = None)func NewIotIotFlowRuntimeFlow(ctx *Context, name string, args IotIotFlowRuntimeFlowArgs, opts ...ResourceOption) (*IotIotFlowRuntimeFlow, error)public IotIotFlowRuntimeFlow(string name, IotIotFlowRuntimeFlowArgs args, CustomResourceOptions? opts = null)
public IotIotFlowRuntimeFlow(String name, IotIotFlowRuntimeFlowArgs args)
public IotIotFlowRuntimeFlow(String name, IotIotFlowRuntimeFlowArgs args, CustomResourceOptions options)
type: oci:oci:IotIotFlowRuntimeFlow
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "oci_oci_iot_iot_flow_runtime_flow" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args IotIotFlowRuntimeFlowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IotIotFlowRuntimeFlowArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IotIotFlowRuntimeFlowArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IotIotFlowRuntimeFlowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IotIotFlowRuntimeFlowArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var iotIotFlowRuntimeFlowResource = new Oci.Oci.IotIotFlowRuntimeFlow("iotIotFlowRuntimeFlowResource", new()
{
FlowsDocument = "string",
IotFlowRuntimeId = "string",
});
example, err := oci.NewIotIotFlowRuntimeFlow(ctx, "iotIotFlowRuntimeFlowResource", &oci.IotIotFlowRuntimeFlowArgs{
FlowsDocument: pulumi.String("string"),
IotFlowRuntimeId: pulumi.String("string"),
})
resource "oci_oci_iot_iot_flow_runtime_flow" "iotIotFlowRuntimeFlowResource" {
lifecycle {
create_before_destroy = true
}
flows_document = "string"
iot_flow_runtime_id = "string"
}
var iotIotFlowRuntimeFlowResource = new IotIotFlowRuntimeFlow("iotIotFlowRuntimeFlowResource", IotIotFlowRuntimeFlowArgs.builder()
.flowsDocument("string")
.iotFlowRuntimeId("string")
.build());
iot_iot_flow_runtime_flow_resource = oci.oci.IotIotFlowRuntimeFlow("iotIotFlowRuntimeFlowResource",
flows_document="string",
iot_flow_runtime_id="string")
const iotIotFlowRuntimeFlowResource = new oci.oci.IotIotFlowRuntimeFlow("iotIotFlowRuntimeFlowResource", {
flowsDocument: "string",
iotFlowRuntimeId: "string",
});
type: oci:oci:IotIotFlowRuntimeFlow
properties:
flowsDocument: string
iotFlowRuntimeId: string
IotIotFlowRuntimeFlow Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The IotIotFlowRuntimeFlow resource accepts the following input properties:
- Flows
Document string - (Updatable) The opaque flows document for the IoT flow runtime.
- Iot
Flow stringRuntime Id The OCID of an IoT flow runtime.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Flows
Document string - (Updatable) The opaque flows document for the IoT flow runtime.
- Iot
Flow stringRuntime Id The OCID of an IoT flow runtime.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- flows_
document string - (Updatable) The opaque flows document for the IoT flow runtime.
- iot_
flow_ stringruntime_ id The OCID of an IoT flow runtime.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- flows
Document String - (Updatable) The opaque flows document for the IoT flow runtime.
- iot
Flow StringRuntime Id The OCID of an IoT flow runtime.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- flows
Document string - (Updatable) The opaque flows document for the IoT flow runtime.
- iot
Flow stringRuntime Id The OCID of an IoT flow runtime.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- flows_
document str - (Updatable) The opaque flows document for the IoT flow runtime.
- iot_
flow_ strruntime_ id The OCID of an IoT flow runtime.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- flows
Document String - (Updatable) The opaque flows document for the IoT flow runtime.
- iot
Flow StringRuntime Id The OCID of an IoT flow runtime.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Outputs
All input properties are implicitly available as output properties. Additionally, the IotIotFlowRuntimeFlow resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing IotIotFlowRuntimeFlow Resource
Get an existing IotIotFlowRuntimeFlow resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: IotIotFlowRuntimeFlowState, opts?: CustomResourceOptions): IotIotFlowRuntimeFlow@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
flows_document: Optional[str] = None,
iot_flow_runtime_id: Optional[str] = None) -> IotIotFlowRuntimeFlowfunc GetIotIotFlowRuntimeFlow(ctx *Context, name string, id IDInput, state *IotIotFlowRuntimeFlowState, opts ...ResourceOption) (*IotIotFlowRuntimeFlow, error)public static IotIotFlowRuntimeFlow Get(string name, Input<string> id, IotIotFlowRuntimeFlowState? state, CustomResourceOptions? opts = null)public static IotIotFlowRuntimeFlow get(String name, Output<String> id, IotIotFlowRuntimeFlowState state, CustomResourceOptions options)resources: _: type: oci:oci:IotIotFlowRuntimeFlow get: id: ${id}import {
to = oci_oci_iot_iot_flow_runtime_flow.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Flows
Document string - (Updatable) The opaque flows document for the IoT flow runtime.
- Iot
Flow stringRuntime Id The OCID of an IoT flow runtime.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Flows
Document string - (Updatable) The opaque flows document for the IoT flow runtime.
- Iot
Flow stringRuntime Id The OCID of an IoT flow runtime.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- flows_
document string - (Updatable) The opaque flows document for the IoT flow runtime.
- iot_
flow_ stringruntime_ id The OCID of an IoT flow runtime.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- flows
Document String - (Updatable) The opaque flows document for the IoT flow runtime.
- iot
Flow StringRuntime Id The OCID of an IoT flow runtime.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- flows
Document string - (Updatable) The opaque flows document for the IoT flow runtime.
- iot
Flow stringRuntime Id The OCID of an IoT flow runtime.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- flows_
document str - (Updatable) The opaque flows document for the IoT flow runtime.
- iot_
flow_ strruntime_ id The OCID of an IoT flow runtime.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- flows
Document String - (Updatable) The opaque flows document for the IoT flow runtime.
- iot
Flow StringRuntime Id The OCID of an IoT flow runtime.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Import
IotFlowRuntimeFlows can be imported using the id, e.g.
$ pulumi import oci:oci/iotIotFlowRuntimeFlow:IotIotFlowRuntimeFlow test_iot_flow_runtime_flow "iotFlowRuntimes/{iotFlowRuntimeId}/flows"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
published on Thursday, Oct 1, 2026 by Pulumi