published on Friday, Oct 9, 2026 by Pulumi
published on Friday, Oct 9, 2026 by Pulumi
This resource provides the Iot Flow Runtime Activate resource in Oracle Cloud Infrastructure Iot service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/iot/latest/IotFlowRuntime/Activate
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/iot
Activates the IoT flow runtime identified by the specified OCID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testIotFlowRuntimeActivate = new oci.oci.IotIotFlowRuntimeActivate("test_iot_flow_runtime_activate", {iotFlowRuntimeId: testIotFlowRuntime.id});
import pulumi
import pulumi_oci as oci
test_iot_flow_runtime_activate = oci.oci.IotIotFlowRuntimeActivate("test_iot_flow_runtime_activate", 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.NewIotIotFlowRuntimeActivate(ctx, "test_iot_flow_runtime_activate", &oci.IotIotFlowRuntimeActivateArgs{
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 testIotFlowRuntimeActivate = new Oci.Oci.IotIotFlowRuntimeActivate("test_iot_flow_runtime_activate", new()
{
IotFlowRuntimeId = testIotFlowRuntime.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.oci.IotIotFlowRuntimeActivate;
import com.pulumi.oci.oci.IotIotFlowRuntimeActivateArgs;
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 testIotFlowRuntimeActivate = new IotIotFlowRuntimeActivate("testIotFlowRuntimeActivate", IotIotFlowRuntimeActivateArgs.builder()
.iotFlowRuntimeId(testIotFlowRuntime.id())
.build());
}
}
resources:
testIotFlowRuntimeActivate:
type: oci:oci:IotIotFlowRuntimeActivate
name: test_iot_flow_runtime_activate
properties:
iotFlowRuntimeId: ${testIotFlowRuntime.id}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
resource "oci_oci_iotiotflowruntimeactivate" "test_iot_flow_runtime_activate" {
iot_flow_runtime_id = testIotFlowRuntime.id
}
Create IotIotFlowRuntimeActivate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IotIotFlowRuntimeActivate(name: string, args: IotIotFlowRuntimeActivateArgs, opts?: CustomResourceOptions);@overload
def IotIotFlowRuntimeActivate(resource_name: str,
args: IotIotFlowRuntimeActivateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IotIotFlowRuntimeActivate(resource_name: str,
opts: Optional[ResourceOptions] = None,
iot_flow_runtime_id: Optional[str] = None)func NewIotIotFlowRuntimeActivate(ctx *Context, name string, args IotIotFlowRuntimeActivateArgs, opts ...ResourceOption) (*IotIotFlowRuntimeActivate, error)public IotIotFlowRuntimeActivate(string name, IotIotFlowRuntimeActivateArgs args, CustomResourceOptions? opts = null)
public IotIotFlowRuntimeActivate(String name, IotIotFlowRuntimeActivateArgs args)
public IotIotFlowRuntimeActivate(String name, IotIotFlowRuntimeActivateArgs args, CustomResourceOptions options)
type: oci:oci:IotIotFlowRuntimeActivate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "oci_oci_iot_iot_flow_runtime_activate" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args IotIotFlowRuntimeActivateArgs
- 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 IotIotFlowRuntimeActivateArgs
- 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 IotIotFlowRuntimeActivateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IotIotFlowRuntimeActivateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IotIotFlowRuntimeActivateArgs
- 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 iotIotFlowRuntimeActivateResource = new Oci.Oci.IotIotFlowRuntimeActivate("iotIotFlowRuntimeActivateResource", new()
{
IotFlowRuntimeId = "string",
});
example, err := oci.NewIotIotFlowRuntimeActivate(ctx, "iotIotFlowRuntimeActivateResource", &oci.IotIotFlowRuntimeActivateArgs{
IotFlowRuntimeId: pulumi.String("string"),
})
resource "oci_oci_iot_iot_flow_runtime_activate" "iotIotFlowRuntimeActivateResource" {
lifecycle {
create_before_destroy = true
}
iot_flow_runtime_id = "string"
}
var iotIotFlowRuntimeActivateResource = new IotIotFlowRuntimeActivate("iotIotFlowRuntimeActivateResource", IotIotFlowRuntimeActivateArgs.builder()
.iotFlowRuntimeId("string")
.build());
iot_iot_flow_runtime_activate_resource = oci.oci.IotIotFlowRuntimeActivate("iotIotFlowRuntimeActivateResource", iot_flow_runtime_id="string")
const iotIotFlowRuntimeActivateResource = new oci.oci.IotIotFlowRuntimeActivate("iotIotFlowRuntimeActivateResource", {iotFlowRuntimeId: "string"});
type: oci:oci:IotIotFlowRuntimeActivate
properties:
iotFlowRuntimeId: string
IotIotFlowRuntimeActivate 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 IotIotFlowRuntimeActivate resource accepts the following input properties:
- 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
- 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
- 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
- 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
- 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
- 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
- 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 IotIotFlowRuntimeActivate 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 IotIotFlowRuntimeActivate Resource
Get an existing IotIotFlowRuntimeActivate 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?: IotIotFlowRuntimeActivateState, opts?: CustomResourceOptions): IotIotFlowRuntimeActivate@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
iot_flow_runtime_id: Optional[str] = None) -> IotIotFlowRuntimeActivatefunc GetIotIotFlowRuntimeActivate(ctx *Context, name string, id IDInput, state *IotIotFlowRuntimeActivateState, opts ...ResourceOption) (*IotIotFlowRuntimeActivate, error)public static IotIotFlowRuntimeActivate Get(string name, Input<string> id, IotIotFlowRuntimeActivateState? state, CustomResourceOptions? opts = null)public static IotIotFlowRuntimeActivate get(String name, Output<String> id, IotIotFlowRuntimeActivateState state, CustomResourceOptions options)resources: _: type: oci:oci:IotIotFlowRuntimeActivate get: id: ${id}import {
to = oci_oci_iot_iot_flow_runtime_activate.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.
- 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
- 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
- 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
- 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
- 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
- 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
- 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
Import is not supported for this resource.
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 Friday, Oct 9, 2026 by Pulumi