1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getFirmwareBundle
Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
oci logo
Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi

    This data source provides details about a specific Firmware Bundle resource in Oracle Cloud Infrastructure Core service.

    Returns the Firmware Bundle matching the provided firmwareBundleId.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testFirmwareBundle = oci.Core.getFirmwareBundle({
        firmwareBundleId: testFirmwareBundleOciCoreFirmwareBundle.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_firmware_bundle = oci.Core.get_firmware_bundle(firmware_bundle_id=test_firmware_bundle_oci_core_firmware_bundle["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/core"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := core.GetFirmwareBundle(ctx, &core.GetFirmwareBundleArgs{
    			FirmwareBundleId: testFirmwareBundleOciCoreFirmwareBundle.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 testFirmwareBundle = Oci.Core.GetFirmwareBundle.Invoke(new()
        {
            FirmwareBundleId = testFirmwareBundleOciCoreFirmwareBundle.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Core.CoreFunctions;
    import com.pulumi.oci.Core.inputs.GetFirmwareBundleArgs;
    import java.util.List;
    import java.util.ArrayList;
    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 testFirmwareBundle = CoreFunctions.getFirmwareBundle(GetFirmwareBundleArgs.builder()
                .firmwareBundleId(testFirmwareBundleOciCoreFirmwareBundle.id())
                .build());
    
        }
    }
    
    variables:
      testFirmwareBundle:
        fn::invoke:
          function: oci:Core:getFirmwareBundle
          arguments:
            firmwareBundleId: ${testFirmwareBundleOciCoreFirmwareBundle.id}
    

    Using getFirmwareBundle

    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 getFirmwareBundle(args: GetFirmwareBundleArgs, opts?: InvokeOptions): Promise<GetFirmwareBundleResult>
    function getFirmwareBundleOutput(args: GetFirmwareBundleOutputArgs, opts?: InvokeOptions): Output<GetFirmwareBundleResult>
    def get_firmware_bundle(firmware_bundle_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetFirmwareBundleResult
    def get_firmware_bundle_output(firmware_bundle_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetFirmwareBundleResult]
    func GetFirmwareBundle(ctx *Context, args *GetFirmwareBundleArgs, opts ...InvokeOption) (*GetFirmwareBundleResult, error)
    func GetFirmwareBundleOutput(ctx *Context, args *GetFirmwareBundleOutputArgs, opts ...InvokeOption) GetFirmwareBundleResultOutput

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

    public static class GetFirmwareBundle 
    {
        public static Task<GetFirmwareBundleResult> InvokeAsync(GetFirmwareBundleArgs args, InvokeOptions? opts = null)
        public static Output<GetFirmwareBundleResult> Invoke(GetFirmwareBundleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFirmwareBundleResult> getFirmwareBundle(GetFirmwareBundleArgs args, InvokeOptions options)
    public static Output<GetFirmwareBundleResult> getFirmwareBundle(GetFirmwareBundleArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:Core/getFirmwareBundle:getFirmwareBundle
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FirmwareBundleId string
    Unique identifier for the firmware bundle.
    FirmwareBundleId string
    Unique identifier for the firmware bundle.
    firmwareBundleId String
    Unique identifier for the firmware bundle.
    firmwareBundleId string
    Unique identifier for the firmware bundle.
    firmware_bundle_id str
    Unique identifier for the firmware bundle.
    firmwareBundleId String
    Unique identifier for the firmware bundle.

    getFirmwareBundle Result

    The following output properties are available:

    AllowableTransitions List<GetFirmwareBundleAllowableTransition>
    A map of firmware bundle upgrades/downgrades validated by OCI.
    CompartmentId string
    The OCID of the compartment of this firmware bundle.
    Description string
    A brief description or metadata about this firmware bundle.
    DisplayName string
    The user-friendly name of this firmware bundle.
    FirmwareBundleId string
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleState string
    Platforms List<GetFirmwareBundlePlatform>
    A map of platforms to pinned firmware versions.
    TimeCreated string
    The date and time the firmware bundle was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the firmware bundle was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    AllowableTransitions []GetFirmwareBundleAllowableTransition
    A map of firmware bundle upgrades/downgrades validated by OCI.
    CompartmentId string
    The OCID of the compartment of this firmware bundle.
    Description string
    A brief description or metadata about this firmware bundle.
    DisplayName string
    The user-friendly name of this firmware bundle.
    FirmwareBundleId string
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleState string
    Platforms []GetFirmwareBundlePlatform
    A map of platforms to pinned firmware versions.
    TimeCreated string
    The date and time the firmware bundle was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the firmware bundle was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    allowableTransitions List<GetFirmwareBundleAllowableTransition>
    A map of firmware bundle upgrades/downgrades validated by OCI.
    compartmentId String
    The OCID of the compartment of this firmware bundle.
    description String
    A brief description or metadata about this firmware bundle.
    displayName String
    The user-friendly name of this firmware bundle.
    firmwareBundleId String
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleState String
    platforms List<GetFirmwareBundlePlatform>
    A map of platforms to pinned firmware versions.
    timeCreated String
    The date and time the firmware bundle was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the firmware bundle was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    allowableTransitions GetFirmwareBundleAllowableTransition[]
    A map of firmware bundle upgrades/downgrades validated by OCI.
    compartmentId string
    The OCID of the compartment of this firmware bundle.
    description string
    A brief description or metadata about this firmware bundle.
    displayName string
    The user-friendly name of this firmware bundle.
    firmwareBundleId string
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleState string
    platforms GetFirmwareBundlePlatform[]
    A map of platforms to pinned firmware versions.
    timeCreated string
    The date and time the firmware bundle was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the firmware bundle was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    allowable_transitions Sequence[GetFirmwareBundleAllowableTransition]
    A map of firmware bundle upgrades/downgrades validated by OCI.
    compartment_id str
    The OCID of the compartment of this firmware bundle.
    description str
    A brief description or metadata about this firmware bundle.
    display_name str
    The user-friendly name of this firmware bundle.
    firmware_bundle_id str
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_state str
    platforms Sequence[GetFirmwareBundlePlatform]
    A map of platforms to pinned firmware versions.
    time_created str
    The date and time the firmware bundle was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time the firmware bundle was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    allowableTransitions List<Property Map>
    A map of firmware bundle upgrades/downgrades validated by OCI.
    compartmentId String
    The OCID of the compartment of this firmware bundle.
    description String
    A brief description or metadata about this firmware bundle.
    displayName String
    The user-friendly name of this firmware bundle.
    firmwareBundleId String
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleState String
    platforms List<Property Map>
    A map of platforms to pinned firmware versions.
    timeCreated String
    The date and time the firmware bundle was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the firmware bundle was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

    Supporting Types

    GetFirmwareBundleAllowableTransition

    Downgrades List<string>
    An array of OCIDs of validated firmware bundle downgrades.
    Upgrades List<string>
    An array of OCIDs of validated firmware bundle upgrades.
    Downgrades []string
    An array of OCIDs of validated firmware bundle downgrades.
    Upgrades []string
    An array of OCIDs of validated firmware bundle upgrades.
    downgrades List<String>
    An array of OCIDs of validated firmware bundle downgrades.
    upgrades List<String>
    An array of OCIDs of validated firmware bundle upgrades.
    downgrades string[]
    An array of OCIDs of validated firmware bundle downgrades.
    upgrades string[]
    An array of OCIDs of validated firmware bundle upgrades.
    downgrades Sequence[str]
    An array of OCIDs of validated firmware bundle downgrades.
    upgrades Sequence[str]
    An array of OCIDs of validated firmware bundle upgrades.
    downgrades List<String>
    An array of OCIDs of validated firmware bundle downgrades.
    upgrades List<String>
    An array of OCIDs of validated firmware bundle upgrades.

    GetFirmwareBundlePlatform

    Platform string
    The name of the platform supported by this bundle.
    Versions List<GetFirmwareBundlePlatformVersion>
    An array of pinned components and their respective firmware versions.
    Platform string
    The name of the platform supported by this bundle.
    Versions []GetFirmwareBundlePlatformVersion
    An array of pinned components and their respective firmware versions.
    platform String
    The name of the platform supported by this bundle.
    versions List<GetFirmwareBundlePlatformVersion>
    An array of pinned components and their respective firmware versions.
    platform string
    The name of the platform supported by this bundle.
    versions GetFirmwareBundlePlatformVersion[]
    An array of pinned components and their respective firmware versions.
    platform str
    The name of the platform supported by this bundle.
    versions Sequence[GetFirmwareBundlePlatformVersion]
    An array of pinned components and their respective firmware versions.
    platform String
    The name of the platform supported by this bundle.
    versions List<Property Map>
    An array of pinned components and their respective firmware versions.

    GetFirmwareBundlePlatformVersion

    ComponentType string
    The type of component.
    Versions List<string>
    A list of firmware versions associated with this component type.
    ComponentType string
    The type of component.
    Versions []string
    A list of firmware versions associated with this component type.
    componentType String
    The type of component.
    versions List<String>
    A list of firmware versions associated with this component type.
    componentType string
    The type of component.
    versions string[]
    A list of firmware versions associated with this component type.
    component_type str
    The type of component.
    versions Sequence[str]
    A list of firmware versions associated with this component type.
    componentType String
    The type of component.
    versions List<String>
    A list of firmware versions associated with this component type.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate