published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi
This resource provides the Iot Flow Runtime Deactivate resource in Oracle Cloud Infrastructure Iot service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/iot/latest/IotFlowRuntime/Deactivate
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/iot
Deactivates the IoT flow runtime identified by the specified OCID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testIotFlowRuntimeDeactivate = new oci.oci.IotIotFlowRuntimeDeactivate("test_iot_flow_runtime_deactivate", {iotFlowRuntimeId: testIotFlowRuntime.id});
import pulumi
import pulumi_oci as oci
test_iot_flow_runtime_deactivate = oci.oci.IotIotFlowRuntimeDeactivate("test_iot_flow_runtime_deactivate", 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.NewIotIotFlowRuntimeDeactivate(ctx, "test_iot_flow_runtime_deactivate", &oci.IotIotFlowRuntimeDeactivateArgs{
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 testIotFlowRuntimeDeactivate = new Oci.Oci.IotIotFlowRuntimeDeactivate("test_iot_flow_runtime_deactivate", 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.IotIotFlowRuntimeDeactivate;
import com.pulumi.oci.oci.IotIotFlowRuntimeDeactivateArgs;
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 testIotFlowRuntimeDeactivate = new IotIotFlowRuntimeDeactivate("testIotFlowRuntimeDeactivate", IotIotFlowRuntimeDeactivateArgs.builder()
.iotFlowRuntimeId(testIotFlowRuntime.get("id"))
.build());
}
}
resources:
testIotFlowRuntimeDeactivate:
type: oci:oci:IotIotFlowRuntimeDeactivate
name: test_iot_flow_runtime_deactivate
properties:
iotFlowRuntimeId: ${testIotFlowRuntime.id}
terraform {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
resource "oci_oci_iot_iot_flow_runtime_deactivate" "test_iot_flow_runtime_deactivate" {
lifecycle {
create_before_destroy = true
}
iot_flow_runtime_id = testIotFlowRuntime.id
}
Create IotIotFlowRuntimeDeactivate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IotIotFlowRuntimeDeactivate(name: string, args: IotIotFlowRuntimeDeactivateArgs, opts?: CustomResourceOptions);@overload
def IotIotFlowRuntimeDeactivate(resource_name: str,
args: IotIotFlowRuntimeDeactivateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IotIotFlowRuntimeDeactivate(resource_name: str,
opts: Optional[ResourceOptions] = None,
iot_flow_runtime_id: Optional[str] = None)func NewIotIotFlowRuntimeDeactivate(ctx *Context, name string, args IotIotFlowRuntimeDeactivateArgs, opts ...ResourceOption) (*IotIotFlowRuntimeDeactivate, error)public IotIotFlowRuntimeDeactivate(string name, IotIotFlowRuntimeDeactivateArgs args, CustomResourceOptions? opts = null)
public IotIotFlowRuntimeDeactivate(String name, IotIotFlowRuntimeDeactivateArgs args)
public IotIotFlowRuntimeDeactivate(String name, IotIotFlowRuntimeDeactivateArgs args, CustomResourceOptions options)
type: oci:oci:IotIotFlowRuntimeDeactivate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "oci_oci_iot_iot_flow_runtime_deactivate" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args IotIotFlowRuntimeDeactivateArgs
- 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 IotIotFlowRuntimeDeactivateArgs
- 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 IotIotFlowRuntimeDeactivateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IotIotFlowRuntimeDeactivateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IotIotFlowRuntimeDeactivateArgs
- 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 iotIotFlowRuntimeDeactivateResource = new Oci.Oci.IotIotFlowRuntimeDeactivate("iotIotFlowRuntimeDeactivateResource", new()
{
IotFlowRuntimeId = "string",
});
example, err := oci.NewIotIotFlowRuntimeDeactivate(ctx, "iotIotFlowRuntimeDeactivateResource", &oci.IotIotFlowRuntimeDeactivateArgs{
IotFlowRuntimeId: pulumi.String("string"),
})
resource "oci_oci_iot_iot_flow_runtime_deactivate" "iotIotFlowRuntimeDeactivateResource" {
lifecycle {
create_before_destroy = true
}
iot_flow_runtime_id = "string"
}
var iotIotFlowRuntimeDeactivateResource = new IotIotFlowRuntimeDeactivate("iotIotFlowRuntimeDeactivateResource", IotIotFlowRuntimeDeactivateArgs.builder()
.iotFlowRuntimeId("string")
.build());
iot_iot_flow_runtime_deactivate_resource = oci.oci.IotIotFlowRuntimeDeactivate("iotIotFlowRuntimeDeactivateResource", iot_flow_runtime_id="string")
const iotIotFlowRuntimeDeactivateResource = new oci.oci.IotIotFlowRuntimeDeactivate("iotIotFlowRuntimeDeactivateResource", {iotFlowRuntimeId: "string"});
type: oci:oci:IotIotFlowRuntimeDeactivate
properties:
iotFlowRuntimeId: string
IotIotFlowRuntimeDeactivate 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 IotIotFlowRuntimeDeactivate 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 IotIotFlowRuntimeDeactivate 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 IotIotFlowRuntimeDeactivate Resource
Get an existing IotIotFlowRuntimeDeactivate 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?: IotIotFlowRuntimeDeactivateState, opts?: CustomResourceOptions): IotIotFlowRuntimeDeactivate@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
iot_flow_runtime_id: Optional[str] = None) -> IotIotFlowRuntimeDeactivatefunc GetIotIotFlowRuntimeDeactivate(ctx *Context, name string, id IDInput, state *IotIotFlowRuntimeDeactivateState, opts ...ResourceOption) (*IotIotFlowRuntimeDeactivate, error)public static IotIotFlowRuntimeDeactivate Get(string name, Input<string> id, IotIotFlowRuntimeDeactivateState? state, CustomResourceOptions? opts = null)public static IotIotFlowRuntimeDeactivate get(String name, Output<String> id, IotIotFlowRuntimeDeactivateState state, CustomResourceOptions options)resources: _: type: oci:oci:IotIotFlowRuntimeDeactivate get: id: ${id}import {
to = oci_oci_iot_iot_flow_runtime_deactivate.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 Tuesday, Oct 13, 2026 by Pulumi