1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. Functions
  6. getFunctionsRuntime
Viewing docs for Oracle Cloud Infrastructure v5.1.0
published on Friday, Sep 25, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.1.0
published on Friday, Sep 25, 2026 by Pulumi

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

    Fetches a FunctionsRuntime by ID. Returns a FunctionsRuntime response model.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testFunctionsRuntime = oci.functions.getFunctionsRuntime({
        functionsRuntimeId: functionsRuntimeId,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_functions_runtime = oci.functions.get_functions_runtime(functions_runtime_id=functions_runtime_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/functions"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := functions.GetFunctionsRuntime(ctx, &functions.GetFunctionsRuntimeArgs{
    			FunctionsRuntimeId: functionsRuntimeId,
    		}, 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 testFunctionsRuntime = Oci.Functions.GetFunctionsRuntime.Invoke(new()
        {
            FunctionsRuntimeId = functionsRuntimeId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Functions.FunctionsFunctions;
    import com.pulumi.oci.Functions.inputs.GetFunctionsRuntimeArgs;
    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 testFunctionsRuntime = FunctionsFunctions.getFunctionsRuntime(GetFunctionsRuntimeArgs.builder()
                .functionsRuntimeId(functionsRuntimeId)
                .build());
    
        }
    }
    
    variables:
      testFunctionsRuntime:
        fn::invoke:
          function: oci:Functions:getFunctionsRuntime
          arguments:
            functionsRuntimeId: ${functionsRuntimeId}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_functions_getfunctionsruntime" "testFunctionsRuntime" {
      functions_runtime_id = functionsRuntimeId
    }
    

    Using getFunctionsRuntime

    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 getFunctionsRuntime(args: GetFunctionsRuntimeArgs, opts?: InvokeOptions): Promise<GetFunctionsRuntimeResult>
    function getFunctionsRuntimeOutput(args: GetFunctionsRuntimeOutputArgs, opts?: InvokeOutputOptions): Output<GetFunctionsRuntimeResult>
    def get_functions_runtime(functions_runtime_id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetFunctionsRuntimeResult
    def get_functions_runtime_output(functions_runtime_id: pulumi.Input[Optional[str]] = None,
                              opts: Optional[InvokeOutputOptions] = None) -> Output[GetFunctionsRuntimeResult]
    func GetFunctionsRuntime(ctx *Context, args *GetFunctionsRuntimeArgs, opts ...InvokeOption) (*GetFunctionsRuntimeResult, error)
    func GetFunctionsRuntimeOutput(ctx *Context, args *GetFunctionsRuntimeOutputArgs, opts ...InvokeOption) GetFunctionsRuntimeResultOutput

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

    public static class GetFunctionsRuntime 
    {
        public static Task<GetFunctionsRuntimeResult> InvokeAsync(GetFunctionsRuntimeArgs args, InvokeOptions? opts = null)
        public static Output<GetFunctionsRuntimeResult> Invoke(GetFunctionsRuntimeInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetFunctionsRuntimeResult> Invoke(GetFunctionsRuntimeInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetFunctionsRuntimeResult> getFunctionsRuntime(GetFunctionsRuntimeArgs args, InvokeOptions options)
    public static Output<GetFunctionsRuntimeResult> getFunctionsRuntime(GetFunctionsRuntimeArgs args, InvokeOptions options)
    public static Output<GetFunctionsRuntimeResult> getFunctionsRuntime(GetFunctionsRuntimeArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: oci:Functions/getFunctionsRuntime:getFunctionsRuntime
      arguments:
        # arguments dictionary
    data "oci_functions_get_functions_runtime" "name" {
        # arguments
    }

    The following arguments are supported:

    FunctionsRuntimeId string
    unique FunctionsRuntime identifier
    FunctionsRuntimeId string
    unique FunctionsRuntime identifier
    functions_runtime_id string
    unique FunctionsRuntime identifier
    functionsRuntimeId String
    unique FunctionsRuntime identifier
    functionsRuntimeId string
    unique FunctionsRuntime identifier
    functions_runtime_id str
    unique FunctionsRuntime identifier
    functionsRuntimeId String
    unique FunctionsRuntime identifier

    getFunctionsRuntime Result

    The following output properties are available:

    CurrentFunctionsRuntimeVersionId string
    The OCID of the current FunctionsRuntimeVersion for this FunctionsRuntime.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags Dictionary<string, string>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    FunctionsRuntimeId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Language string
    The programming language of the FunctionsRuntime. This is the language that the FunctionsRuntime provides for execution of customer payloads.
    Metadata string
    Metadata for the FunctionsRuntime Resource.
    Name string
    A brief descriptive name for the FunctionsRuntime. The FunctionsRuntime name must be unique, and not match any existing FunctionsRuntime.
    Os string
    The operating system of the FunctionsRuntime. This is the OS that the FunctionsRuntime provides for execution of customer payloads.
    State string
    The current state of the FunctionsRuntime resource.

    • ACTIVE: The resource is currently active and operational.
    • INACTIVE: The resource is currently inactive and not operational.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when the FunctionsRuntime was created. An RFC3339 formatted datetime string.
    TimeDecommissioned string
    The time when the FunctionsRuntime will be decommissioned. An RFC3339 formatted datetime string.
    TimeDeprecated string
    The time when the FunctionsRuntime will be deprecated. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time when the FunctionsRuntime was updated. An RFC3339 formatted datetime string.
    CurrentFunctionsRuntimeVersionId string
    The OCID of the current FunctionsRuntimeVersion for this FunctionsRuntime.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags map[string]string
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    FunctionsRuntimeId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Language string
    The programming language of the FunctionsRuntime. This is the language that the FunctionsRuntime provides for execution of customer payloads.
    Metadata string
    Metadata for the FunctionsRuntime Resource.
    Name string
    A brief descriptive name for the FunctionsRuntime. The FunctionsRuntime name must be unique, and not match any existing FunctionsRuntime.
    Os string
    The operating system of the FunctionsRuntime. This is the OS that the FunctionsRuntime provides for execution of customer payloads.
    State string
    The current state of the FunctionsRuntime resource.

    • ACTIVE: The resource is currently active and operational.
    • INACTIVE: The resource is currently inactive and not operational.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when the FunctionsRuntime was created. An RFC3339 formatted datetime string.
    TimeDecommissioned string
    The time when the FunctionsRuntime will be decommissioned. An RFC3339 formatted datetime string.
    TimeDeprecated string
    The time when the FunctionsRuntime will be deprecated. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time when the FunctionsRuntime was updated. An RFC3339 formatted datetime string.
    current_functions_runtime_version_id string
    The OCID of the current FunctionsRuntimeVersion for this FunctionsRuntime.
    defined_tags map(string)
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags map(string)
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    functions_runtime_id string
    id string
    The provider-assigned unique ID for this managed resource.
    language string
    The programming language of the FunctionsRuntime. This is the language that the FunctionsRuntime provides for execution of customer payloads.
    metadata string
    Metadata for the FunctionsRuntime Resource.
    name string
    A brief descriptive name for the FunctionsRuntime. The FunctionsRuntime name must be unique, and not match any existing FunctionsRuntime.
    os string
    The operating system of the FunctionsRuntime. This is the OS that the FunctionsRuntime provides for execution of customer payloads.
    state string
    The current state of the FunctionsRuntime resource.

    • ACTIVE: The resource is currently active and operational.
    • INACTIVE: The resource is currently inactive and not operational.
    system_tags map(string)
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created string
    The time when the FunctionsRuntime was created. An RFC3339 formatted datetime string.
    time_decommissioned string
    The time when the FunctionsRuntime will be decommissioned. An RFC3339 formatted datetime string.
    time_deprecated string
    The time when the FunctionsRuntime will be deprecated. An RFC3339 formatted datetime string.
    time_updated string
    The time when the FunctionsRuntime was updated. An RFC3339 formatted datetime string.
    currentFunctionsRuntimeVersionId String
    The OCID of the current FunctionsRuntimeVersion for this FunctionsRuntime.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String,String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    functionsRuntimeId String
    id String
    The provider-assigned unique ID for this managed resource.
    language String
    The programming language of the FunctionsRuntime. This is the language that the FunctionsRuntime provides for execution of customer payloads.
    metadata String
    Metadata for the FunctionsRuntime Resource.
    name String
    A brief descriptive name for the FunctionsRuntime. The FunctionsRuntime name must be unique, and not match any existing FunctionsRuntime.
    os String
    The operating system of the FunctionsRuntime. This is the OS that the FunctionsRuntime provides for execution of customer payloads.
    state String
    The current state of the FunctionsRuntime resource.

    • ACTIVE: The resource is currently active and operational.
    • INACTIVE: The resource is currently inactive and not operational.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when the FunctionsRuntime was created. An RFC3339 formatted datetime string.
    timeDecommissioned String
    The time when the FunctionsRuntime will be decommissioned. An RFC3339 formatted datetime string.
    timeDeprecated String
    The time when the FunctionsRuntime will be deprecated. An RFC3339 formatted datetime string.
    timeUpdated String
    The time when the FunctionsRuntime was updated. An RFC3339 formatted datetime string.
    currentFunctionsRuntimeVersionId string
    The OCID of the current FunctionsRuntimeVersion for this FunctionsRuntime.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[key: string]: string}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    functionsRuntimeId string
    id string
    The provider-assigned unique ID for this managed resource.
    language string
    The programming language of the FunctionsRuntime. This is the language that the FunctionsRuntime provides for execution of customer payloads.
    metadata string
    Metadata for the FunctionsRuntime Resource.
    name string
    A brief descriptive name for the FunctionsRuntime. The FunctionsRuntime name must be unique, and not match any existing FunctionsRuntime.
    os string
    The operating system of the FunctionsRuntime. This is the OS that the FunctionsRuntime provides for execution of customer payloads.
    state string
    The current state of the FunctionsRuntime resource.

    • ACTIVE: The resource is currently active and operational.
    • INACTIVE: The resource is currently inactive and not operational.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time when the FunctionsRuntime was created. An RFC3339 formatted datetime string.
    timeDecommissioned string
    The time when the FunctionsRuntime will be decommissioned. An RFC3339 formatted datetime string.
    timeDeprecated string
    The time when the FunctionsRuntime will be deprecated. An RFC3339 formatted datetime string.
    timeUpdated string
    The time when the FunctionsRuntime was updated. An RFC3339 formatted datetime string.
    current_functions_runtime_version_id str
    The OCID of the current FunctionsRuntimeVersion for this FunctionsRuntime.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags Mapping[str, str]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    functions_runtime_id str
    id str
    The provider-assigned unique ID for this managed resource.
    language str
    The programming language of the FunctionsRuntime. This is the language that the FunctionsRuntime provides for execution of customer payloads.
    metadata str
    Metadata for the FunctionsRuntime Resource.
    name str
    A brief descriptive name for the FunctionsRuntime. The FunctionsRuntime name must be unique, and not match any existing FunctionsRuntime.
    os str
    The operating system of the FunctionsRuntime. This is the OS that the FunctionsRuntime provides for execution of customer payloads.
    state str
    The current state of the FunctionsRuntime resource.

    • ACTIVE: The resource is currently active and operational.
    • INACTIVE: The resource is currently inactive and not operational.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time when the FunctionsRuntime was created. An RFC3339 formatted datetime string.
    time_decommissioned str
    The time when the FunctionsRuntime will be decommissioned. An RFC3339 formatted datetime string.
    time_deprecated str
    The time when the FunctionsRuntime will be deprecated. An RFC3339 formatted datetime string.
    time_updated str
    The time when the FunctionsRuntime was updated. An RFC3339 formatted datetime string.
    currentFunctionsRuntimeVersionId String
    The OCID of the current FunctionsRuntimeVersion for this FunctionsRuntime.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    functionsRuntimeId String
    id String
    The provider-assigned unique ID for this managed resource.
    language String
    The programming language of the FunctionsRuntime. This is the language that the FunctionsRuntime provides for execution of customer payloads.
    metadata String
    Metadata for the FunctionsRuntime Resource.
    name String
    A brief descriptive name for the FunctionsRuntime. The FunctionsRuntime name must be unique, and not match any existing FunctionsRuntime.
    os String
    The operating system of the FunctionsRuntime. This is the OS that the FunctionsRuntime provides for execution of customer payloads.
    state String
    The current state of the FunctionsRuntime resource.

    • ACTIVE: The resource is currently active and operational.
    • INACTIVE: The resource is currently inactive and not operational.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when the FunctionsRuntime was created. An RFC3339 formatted datetime string.
    timeDecommissioned String
    The time when the FunctionsRuntime will be decommissioned. An RFC3339 formatted datetime string.
    timeDeprecated String
    The time when the FunctionsRuntime will be deprecated. An RFC3339 formatted datetime string.
    timeUpdated String
    The time when the FunctionsRuntime was updated. An RFC3339 formatted datetime 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.1.0
    published on Friday, Sep 25, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial