1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. CloudBridge
  5. getApplianceImages
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.CloudBridge.getApplianceImages

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

This data source provides the list of Appliance Images in Oracle Cloud Infrastructure Cloud Bridge service.

Returns a list of Appliance Images.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testApplianceImages = oci.CloudBridge.getApplianceImages({
    compartmentId: compartmentId,
    displayName: applianceImageDisplayName,
});
Copy
import pulumi
import pulumi_oci as oci

test_appliance_images = oci.CloudBridge.get_appliance_images(compartment_id=compartment_id,
    display_name=appliance_image_display_name)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/cloudbridge"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbridge.GetApplianceImages(ctx, &cloudbridge.GetApplianceImagesArgs{
			CompartmentId: compartmentId,
			DisplayName:   pulumi.StringRef(applianceImageDisplayName),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testApplianceImages = Oci.CloudBridge.GetApplianceImages.Invoke(new()
    {
        CompartmentId = compartmentId,
        DisplayName = applianceImageDisplayName,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CloudBridge.CloudBridgeFunctions;
import com.pulumi.oci.CloudBridge.inputs.GetApplianceImagesArgs;
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 testApplianceImages = CloudBridgeFunctions.getApplianceImages(GetApplianceImagesArgs.builder()
            .compartmentId(compartmentId)
            .displayName(applianceImageDisplayName)
            .build());

    }
}
Copy
variables:
  testApplianceImages:
    fn::invoke:
      function: oci:CloudBridge:getApplianceImages
      arguments:
        compartmentId: ${compartmentId}
        displayName: ${applianceImageDisplayName}
Copy

Using getApplianceImages

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 getApplianceImages(args: GetApplianceImagesArgs, opts?: InvokeOptions): Promise<GetApplianceImagesResult>
function getApplianceImagesOutput(args: GetApplianceImagesOutputArgs, opts?: InvokeOptions): Output<GetApplianceImagesResult>
Copy
def get_appliance_images(compartment_id: Optional[str] = None,
                         display_name: Optional[str] = None,
                         filters: Optional[Sequence[_cloudbridge.GetApplianceImagesFilter]] = None,
                         opts: Optional[InvokeOptions] = None) -> GetApplianceImagesResult
def get_appliance_images_output(compartment_id: Optional[pulumi.Input[str]] = None,
                         display_name: Optional[pulumi.Input[str]] = None,
                         filters: Optional[pulumi.Input[Sequence[pulumi.Input[_cloudbridge.GetApplianceImagesFilterArgs]]]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetApplianceImagesResult]
Copy
func GetApplianceImages(ctx *Context, args *GetApplianceImagesArgs, opts ...InvokeOption) (*GetApplianceImagesResult, error)
func GetApplianceImagesOutput(ctx *Context, args *GetApplianceImagesOutputArgs, opts ...InvokeOption) GetApplianceImagesResultOutput
Copy

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

public static class GetApplianceImages 
{
    public static Task<GetApplianceImagesResult> InvokeAsync(GetApplianceImagesArgs args, InvokeOptions? opts = null)
    public static Output<GetApplianceImagesResult> Invoke(GetApplianceImagesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetApplianceImagesResult> getApplianceImages(GetApplianceImagesArgs args, InvokeOptions options)
public static Output<GetApplianceImagesResult> getApplianceImages(GetApplianceImagesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:CloudBridge/getApplianceImages:getApplianceImages
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. string
The ID of the compartment in which to list resources.
DisplayName string
A filter to return only resources that match the entire display name given.
Filters Changes to this property will trigger replacement. List<GetApplianceImagesFilter>
CompartmentId This property is required. string
The ID of the compartment in which to list resources.
DisplayName string
A filter to return only resources that match the entire display name given.
Filters Changes to this property will trigger replacement. []GetApplianceImagesFilter
compartmentId This property is required. String
The ID of the compartment in which to list resources.
displayName String
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. List<GetApplianceImagesFilter>
compartmentId This property is required. string
The ID of the compartment in which to list resources.
displayName string
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. GetApplianceImagesFilter[]
compartment_id This property is required. str
The ID of the compartment in which to list resources.
display_name str
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. Sequence[cloudbridge.GetApplianceImagesFilter]
compartmentId This property is required. String
The ID of the compartment in which to list resources.
displayName String
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. List<Property Map>

getApplianceImages Result

The following output properties are available:

ApplianceImageCollections List<GetApplianceImagesApplianceImageCollection>
The list of appliance_image_collection.
CompartmentId string
Id string
The provider-assigned unique ID for this managed resource.
DisplayName string
The name of the image to be displayed.
Filters List<GetApplianceImagesFilter>
ApplianceImageCollections []GetApplianceImagesApplianceImageCollection
The list of appliance_image_collection.
CompartmentId string
Id string
The provider-assigned unique ID for this managed resource.
DisplayName string
The name of the image to be displayed.
Filters []GetApplianceImagesFilter
applianceImageCollections List<GetApplianceImagesApplianceImageCollection>
The list of appliance_image_collection.
compartmentId String
id String
The provider-assigned unique ID for this managed resource.
displayName String
The name of the image to be displayed.
filters List<GetApplianceImagesFilter>
applianceImageCollections GetApplianceImagesApplianceImageCollection[]
The list of appliance_image_collection.
compartmentId string
id string
The provider-assigned unique ID for this managed resource.
displayName string
The name of the image to be displayed.
filters GetApplianceImagesFilter[]
appliance_image_collections Sequence[cloudbridge.GetApplianceImagesApplianceImageCollection]
The list of appliance_image_collection.
compartment_id str
id str
The provider-assigned unique ID for this managed resource.
display_name str
The name of the image to be displayed.
filters Sequence[cloudbridge.GetApplianceImagesFilter]
applianceImageCollections List<Property Map>
The list of appliance_image_collection.
compartmentId String
id String
The provider-assigned unique ID for this managed resource.
displayName String
The name of the image to be displayed.
filters List<Property Map>

Supporting Types

GetApplianceImagesApplianceImageCollection

Items This property is required. List<GetApplianceImagesApplianceImageCollectionItem>
List of appliance images.
Items This property is required. []GetApplianceImagesApplianceImageCollectionItem
List of appliance images.
items This property is required. List<GetApplianceImagesApplianceImageCollectionItem>
List of appliance images.
items This property is required. GetApplianceImagesApplianceImageCollectionItem[]
List of appliance images.
items This property is required. Sequence[cloudbridge.GetApplianceImagesApplianceImageCollectionItem]
List of appliance images.
items This property is required. List<Property Map>
List of appliance images.

GetApplianceImagesApplianceImageCollectionItem

Checksum This property is required. string
The checksum of the image file.
DefinedTags This property is required. Dictionary<string, string>
The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
DownloadUrl This property is required. string
The URL from which the appliance image can be downloaded.
FileName This property is required. string
The name of the appliance Image file.
Format This property is required. string
The file format of the image file.
FreeformTags This property is required. Dictionary<string, string>
The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}
Id This property is required. string
Unique identifier that is immutable on creation.
Platform This property is required. string
The virtualization platform that the image file supports.
SizeInMbs This property is required. string
The size of the image file in megabytes.
State This property is required. string
The current state of the appliance image.
TimeCreated This property is required. string
The time when the appliance image was created.An RFC3339 formatted datetime string.
TimeUpdated This property is required. string
The time when the appliance image was last updated. An RFC3339 formatted datetime string.
Version This property is required. string
The version of the image file.
Checksum This property is required. string
The checksum of the image file.
DefinedTags This property is required. map[string]string
The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
DownloadUrl This property is required. string
The URL from which the appliance image can be downloaded.
FileName This property is required. string
The name of the appliance Image file.
Format This property is required. string
The file format of the image file.
FreeformTags This property is required. map[string]string
The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}
Id This property is required. string
Unique identifier that is immutable on creation.
Platform This property is required. string
The virtualization platform that the image file supports.
SizeInMbs This property is required. string
The size of the image file in megabytes.
State This property is required. string
The current state of the appliance image.
TimeCreated This property is required. string
The time when the appliance image was created.An RFC3339 formatted datetime string.
TimeUpdated This property is required. string
The time when the appliance image was last updated. An RFC3339 formatted datetime string.
Version This property is required. string
The version of the image file.
checksum This property is required. String
The checksum of the image file.
definedTags This property is required. Map<String,String>
The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
displayName This property is required. String
A filter to return only resources that match the entire display name given.
downloadUrl This property is required. String
The URL from which the appliance image can be downloaded.
fileName This property is required. String
The name of the appliance Image file.
format This property is required. String
The file format of the image file.
freeformTags This property is required. Map<String,String>
The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}
id This property is required. String
Unique identifier that is immutable on creation.
platform This property is required. String
The virtualization platform that the image file supports.
sizeInMbs This property is required. String
The size of the image file in megabytes.
state This property is required. String
The current state of the appliance image.
timeCreated This property is required. String
The time when the appliance image was created.An RFC3339 formatted datetime string.
timeUpdated This property is required. String
The time when the appliance image was last updated. An RFC3339 formatted datetime string.
version This property is required. String
The version of the image file.
checksum This property is required. string
The checksum of the image file.
definedTags This property is required. {[key: string]: string}
The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
displayName This property is required. string
A filter to return only resources that match the entire display name given.
downloadUrl This property is required. string
The URL from which the appliance image can be downloaded.
fileName This property is required. string
The name of the appliance Image file.
format This property is required. string
The file format of the image file.
freeformTags This property is required. {[key: string]: string}
The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}
id This property is required. string
Unique identifier that is immutable on creation.
platform This property is required. string
The virtualization platform that the image file supports.
sizeInMbs This property is required. string
The size of the image file in megabytes.
state This property is required. string
The current state of the appliance image.
timeCreated This property is required. string
The time when the appliance image was created.An RFC3339 formatted datetime string.
timeUpdated This property is required. string
The time when the appliance image was last updated. An RFC3339 formatted datetime string.
version This property is required. string
The version of the image file.
checksum This property is required. str
The checksum of the image file.
defined_tags This property is required. Mapping[str, str]
The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
display_name This property is required. str
A filter to return only resources that match the entire display name given.
download_url This property is required. str
The URL from which the appliance image can be downloaded.
file_name This property is required. str
The name of the appliance Image file.
format This property is required. str
The file format of the image file.
freeform_tags This property is required. Mapping[str, str]
The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}
id This property is required. str
Unique identifier that is immutable on creation.
platform This property is required. str
The virtualization platform that the image file supports.
size_in_mbs This property is required. str
The size of the image file in megabytes.
state This property is required. str
The current state of the appliance image.
time_created This property is required. str
The time when the appliance image was created.An RFC3339 formatted datetime string.
time_updated This property is required. str
The time when the appliance image was last updated. An RFC3339 formatted datetime string.
version This property is required. str
The version of the image file.
checksum This property is required. String
The checksum of the image file.
definedTags This property is required. Map<String>
The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
displayName This property is required. String
A filter to return only resources that match the entire display name given.
downloadUrl This property is required. String
The URL from which the appliance image can be downloaded.
fileName This property is required. String
The name of the appliance Image file.
format This property is required. String
The file format of the image file.
freeformTags This property is required. Map<String>
The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}
id This property is required. String
Unique identifier that is immutable on creation.
platform This property is required. String
The virtualization platform that the image file supports.
sizeInMbs This property is required. String
The size of the image file in megabytes.
state This property is required. String
The current state of the appliance image.
timeCreated This property is required. String
The time when the appliance image was created.An RFC3339 formatted datetime string.
timeUpdated This property is required. String
The time when the appliance image was last updated. An RFC3339 formatted datetime string.
version This property is required. String
The version of the image file.

GetApplianceImagesFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi