Skip to main content

firmware_bundles

Creates, updates, deletes, gets or lists a firmware_bundles resource.

Overview​

Namefirmware_bundles
TypeResource
Idoci.compute.firmware_bundles

Fields​

The following fields are returned by SELECT queries:

A Firmware Bundle object.

NameDatatypeDescription
idstringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) of this firmware bundle.
allowableTransitionsobjectA map of firmware bundle upgrades/downgrades validated by OCI.
compartmentIdstringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the compartment of this firmware bundle.
descriptionstringA brief description or metadata about this firmware bundle.
displayNamestringThe user-friendly name of this firmware bundle.
lifecycleStatestringThe current state of the firmware bundle. (ACTIVE, INACTIVE, DELETE_SCHEDULED)
platformsarrayA map of platforms to pinned firmware versions.
timeCreatedstring (date-time)The date and time the firmware bundle was created, in the format defined by [RFC3339](https:​//tools.ietf.org/html/rfc3339). Example: 2016-08-25T21:10:29.600Z
timeUpdatedstring (date-time)The date and time the firmware bundle was updated, in the format defined by [RFC3339](https:​//tools.ietf.org/html/rfc3339). Example: 2016-08-25T21:10:29.600Z

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectfirmwareBundleId, regionopc-request-idReturns the Firmware Bundle matching the provided firmwareBundleId.<br />
listselectplatform, regioncompartmentId, isDefaultBundle, limit, page, lifecycleState, opc-request-idGets a list of all Firmware Bundles in a compartment for specified platform. Can filter results to include <br />only the default (recommended) Firmware Bundle for the given platform.<br />

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
firmwareBundleIdstringUnique identifier for the firmware bundle.
platformstringplatform name
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
compartmentIdstringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
isDefaultBundlebooleanIf true, return only the default firmware bundle for a given platform. Default is false.
lifecycleStatestringA filter to return only resources that match the given lifecycle state name exactly.
limitintegerFor list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine). Example: 50
opc-request-idstringUnique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
pagestringFor list pagination. The value of the opc-next-page response header from the previous "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).

SELECT examples​

Returns the Firmware Bundle matching the provided firmwareBundleId.<br />

SELECT
id,
allowableTransitions,
compartmentId,
description,
displayName,
lifecycleState,
platforms,
timeCreated,
timeUpdated
FROM oci.compute.firmware_bundles
WHERE firmwareBundleId = '{{ firmwareBundleId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
;