1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. getIotIotFlowRuntimeFlow
Viewing docs for Oracle Cloud Infrastructure v5.3.1
published on Tuesday, Oct 13, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.3.1
published on Tuesday, Oct 13, 2026 by Pulumi

    This data source provides details about a specific Iot Flow Runtime Flow resource in Oracle Cloud Infrastructure Iot service.

    Gets the opaque 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 = oci.oci.getIotIotFlowRuntimeFlow({
        iotFlowRuntimeId: testIotFlowRuntime.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_iot_flow_runtime_flow = oci.oci.get_iot_iot_flow_runtime_flow(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.LookupIotIotFlowRuntimeFlow(ctx, &oci.LookupIotIotFlowRuntimeFlowArgs{
    			IotFlowRuntimeId: testIotFlowRuntime.Id,
    		}, nil)
    		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 = Oci.Oci.GetIotIotFlowRuntimeFlow.Invoke(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.OciFunctions;
    import com.pulumi.oci.oci.inputs.GetIotIotFlowRuntimeFlowArgs;
    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) {
            final var testIotFlowRuntimeFlow = OciFunctions.getIotIotFlowRuntimeFlow(GetIotIotFlowRuntimeFlowArgs.builder()
                .iotFlowRuntimeId(testIotFlowRuntime.get("id"))
                .build());
    
        }
    }
    
    variables:
      testIotFlowRuntimeFlow:
        fn::invoke:
          function: oci:oci:getIotIotFlowRuntimeFlow
          arguments:
            iotFlowRuntimeId: ${testIotFlowRuntime.id}
    
    terraform {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_oci_iot_iot_flow_runtime_flow" "testIotFlowRuntimeFlow" {
      iot_flow_runtime_id = testIotFlowRuntime.id
    }
    

    Using getIotIotFlowRuntimeFlow

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getIotIotFlowRuntimeFlow(args: GetIotIotFlowRuntimeFlowArgs, opts?: InvokeOptions): Promise<GetIotIotFlowRuntimeFlowResult>
    function getIotIotFlowRuntimeFlowOutput(args: GetIotIotFlowRuntimeFlowOutputArgs, opts?: InvokeOutputOptions): Output<GetIotIotFlowRuntimeFlowResult>
    def get_iot_iot_flow_runtime_flow(iot_flow_runtime_id: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetIotIotFlowRuntimeFlowResult
    def get_iot_iot_flow_runtime_flow_output(iot_flow_runtime_id: pulumi.Input[Optional[str]] = None,
                                      opts: Optional[InvokeOutputOptions] = None) -> Output[GetIotIotFlowRuntimeFlowResult]
    func LookupIotIotFlowRuntimeFlow(ctx *Context, args *LookupIotIotFlowRuntimeFlowArgs, opts ...InvokeOption) (*LookupIotIotFlowRuntimeFlowResult, error)
    func LookupIotIotFlowRuntimeFlowOutput(ctx *Context, args *LookupIotIotFlowRuntimeFlowOutputArgs, opts ...InvokeOption) LookupIotIotFlowRuntimeFlowResultOutput

    > Note: This function is named LookupIotIotFlowRuntimeFlow in the Go SDK.

    public static class GetIotIotFlowRuntimeFlow 
    {
        public static Task<GetIotIotFlowRuntimeFlowResult> InvokeAsync(GetIotIotFlowRuntimeFlowArgs args, InvokeOptions? opts = null)
        public static Output<GetIotIotFlowRuntimeFlowResult> Invoke(GetIotIotFlowRuntimeFlowInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetIotIotFlowRuntimeFlowResult> Invoke(GetIotIotFlowRuntimeFlowInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetIotIotFlowRuntimeFlowResult> getIotIotFlowRuntimeFlow(GetIotIotFlowRuntimeFlowArgs args, InvokeOptions options)
    public static Output<GetIotIotFlowRuntimeFlowResult> getIotIotFlowRuntimeFlow(GetIotIotFlowRuntimeFlowArgs args, InvokeOptions options)
    public static Output<GetIotIotFlowRuntimeFlowResult> getIotIotFlowRuntimeFlow(GetIotIotFlowRuntimeFlowArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: oci:oci/getIotIotFlowRuntimeFlow:getIotIotFlowRuntimeFlow
      arguments:
        # arguments dictionary
    data "oci_oci_get_iot_iot_flow_runtime_flow" "name" {
        # arguments
    }

    The following arguments are supported:

    IotFlowRuntimeId string
    The OCID of an IoT flow runtime.
    IotFlowRuntimeId string
    The OCID of an IoT flow runtime.
    iot_flow_runtime_id string
    The OCID of an IoT flow runtime.
    iotFlowRuntimeId String
    The OCID of an IoT flow runtime.
    iotFlowRuntimeId string
    The OCID of an IoT flow runtime.
    iot_flow_runtime_id str
    The OCID of an IoT flow runtime.
    iotFlowRuntimeId String
    The OCID of an IoT flow runtime.

    getIotIotFlowRuntimeFlow Result

    The following output properties are available:

    FlowsDocument string
    Id string
    IotFlowRuntimeId string
    FlowsDocument string
    Id string
    IotFlowRuntimeId string
    flowsDocument String
    id String
    iotFlowRuntimeId String
    flowsDocument string
    id string
    iotFlowRuntimeId string
    flowsDocument String
    id String
    iotFlowRuntimeId String

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v5.3.1
    published on Tuesday, Oct 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial