Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.CloudBridge.getApplianceImages
Explore with Pulumi AI
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,
});
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)
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
})
}
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,
});
});
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());
}
}
variables:
testApplianceImages:
fn::invoke:
Function: oci:CloudBridge:getApplianceImages
Arguments:
compartmentId: ${compartmentId}
displayName: ${applianceImageDisplayName}
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>
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]
func GetApplianceImages(ctx *Context, args *GetApplianceImagesArgs, opts ...InvokeOption) (*GetApplianceImagesResult, error)
func GetApplianceImagesOutput(ctx *Context, args *GetApplianceImagesOutputArgs, opts ...InvokeOption) GetApplianceImagesResultOutput
> 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)
}
public static CompletableFuture<GetApplianceImagesResult> getApplianceImages(GetApplianceImagesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:CloudBridge/getApplianceImages:getApplianceImages
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The ID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Appliance Images Filter>
- Compartment
Id string - The ID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Appliance Images Filter
- compartment
Id String - The ID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Appliance Images Filter>
- compartment
Id string - The ID of the compartment in which to list resources.
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Appliance Images Filter[]
- compartment_
id 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
Sequence[cloudbridge.
Get Appliance Images Filter]
- compartment
Id String - The ID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters List<Property Map>
getApplianceImages Result
The following output properties are available:
- Appliance
Image List<GetCollections Appliance Images Appliance Image Collection> - The list of appliance_image_collection.
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Display
Name string - The name of the image to be displayed.
- Filters
List<Get
Appliance Images Filter>
- Appliance
Image []GetCollections Appliance Images Appliance Image Collection - The list of appliance_image_collection.
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Display
Name string - The name of the image to be displayed.
- Filters
[]Get
Appliance Images Filter
- appliance
Image List<GetCollections Appliance Images Appliance Image Collection> - The list of appliance_image_collection.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- display
Name String - The name of the image to be displayed.
- filters
List<Get
Appliance Images Filter>
- appliance
Image GetCollections Appliance Images Appliance Image Collection[] - The list of appliance_image_collection.
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- display
Name string - The name of the image to be displayed.
- filters
Get
Appliance Images Filter[]
- appliance_
image_ Sequence[cloudbridge.collections Get Appliance Images Appliance Image Collection] - 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.
Get Appliance Images Filter]
- appliance
Image List<Property Map>Collections - The list of appliance_image_collection.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- display
Name String - The name of the image to be displayed.
- filters List<Property Map>
Supporting Types
GetApplianceImagesApplianceImageCollection
- Items
List<Get
Appliance Images Appliance Image Collection Item> - List of appliance images.
- Items
[]Get
Appliance Images Appliance Image Collection Item - List of appliance images.
- items
List<Get
Appliance Images Appliance Image Collection Item> - List of appliance images.
- items
Get
Appliance Images Appliance Image Collection Item[] - List of appliance images.
- items
Sequence[cloudbridge.
Get Appliance Images Appliance Image Collection Item] - List of appliance images.
- items List<Property Map>
- List of appliance images.
GetApplianceImagesApplianceImageCollectionItem
- Checksum string
- The checksum of the image file.
- 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"}
- Display
Name string - A filter to return only resources that match the entire display name given.
- Download
Url string - The URL from which the appliance image can be downloaded.
- File
Name string - The name of the appliance Image file.
- Format string
- The file format of the image file.
- 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 string
- Unique identifier that is immutable on creation.
- Platform string
- The virtualization platform that the image file supports.
- Size
In stringMbs - The size of the image file in megabytes.
- State string
- The current state of the appliance image.
- Time
Created string - The time when the appliance image was created.An RFC3339 formatted datetime string.
- Time
Updated string - The time when the appliance image was last updated. An RFC3339 formatted datetime string.
- Version string
- The version of the image file.
- Checksum string
- The checksum of the image file.
- 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"}
- Display
Name string - A filter to return only resources that match the entire display name given.
- Download
Url string - The URL from which the appliance image can be downloaded.
- File
Name string - The name of the appliance Image file.
- Format string
- The file format of the image file.
- 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 string
- Unique identifier that is immutable on creation.
- Platform string
- The virtualization platform that the image file supports.
- Size
In stringMbs - The size of the image file in megabytes.
- State string
- The current state of the appliance image.
- Time
Created string - The time when the appliance image was created.An RFC3339 formatted datetime string.
- Time
Updated string - The time when the appliance image was last updated. An RFC3339 formatted datetime string.
- Version string
- The version of the image file.
- checksum String
- The checksum of the image file.
- 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"}
- display
Name String - A filter to return only resources that match the entire display name given.
- download
Url String - The URL from which the appliance image can be downloaded.
- file
Name String - The name of the appliance Image file.
- format String
- The file format of the image file.
- 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 String
- Unique identifier that is immutable on creation.
- platform String
- The virtualization platform that the image file supports.
- size
In StringMbs - The size of the image file in megabytes.
- state String
- The current state of the appliance image.
- time
Created String - The time when the appliance image was created.An RFC3339 formatted datetime string.
- time
Updated String - The time when the appliance image was last updated. An RFC3339 formatted datetime string.
- version String
- The version of the image file.
- checksum string
- The checksum of the image file.
- {[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"}
- display
Name string - A filter to return only resources that match the entire display name given.
- download
Url string - The URL from which the appliance image can be downloaded.
- file
Name string - The name of the appliance Image file.
- format string
- The file format of the image file.
- {[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 string
- Unique identifier that is immutable on creation.
- platform string
- The virtualization platform that the image file supports.
- size
In stringMbs - The size of the image file in megabytes.
- state string
- The current state of the appliance image.
- time
Created string - The time when the appliance image was created.An RFC3339 formatted datetime string.
- time
Updated string - The time when the appliance image was last updated. An RFC3339 formatted datetime string.
- version string
- The version of the image file.
- checksum str
- The checksum of the image file.
- 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 str - A filter to return only resources that match the entire display name given.
- download_
url str - The URL from which the appliance image can be downloaded.
- file_
name str - The name of the appliance Image file.
- format str
- The file format of the image file.
- 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 str
- Unique identifier that is immutable on creation.
- platform str
- The virtualization platform that the image file supports.
- size_
in_ strmbs - The size of the image file in megabytes.
- state str
- The current state of the appliance image.
- time_
created str - The time when the appliance image was created.An RFC3339 formatted datetime string.
- time_
updated str - The time when the appliance image was last updated. An RFC3339 formatted datetime string.
- version str
- The version of the image file.
- checksum String
- The checksum of the image file.
- 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"}
- display
Name String - A filter to return only resources that match the entire display name given.
- download
Url String - The URL from which the appliance image can be downloaded.
- file
Name String - The name of the appliance Image file.
- format String
- The file format of the image file.
- 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 String
- Unique identifier that is immutable on creation.
- platform String
- The virtualization platform that the image file supports.
- size
In StringMbs - The size of the image file in megabytes.
- state String
- The current state of the appliance image.
- time
Created String - The time when the appliance image was created.An RFC3339 formatted datetime string.
- time
Updated String - The time when the appliance image was last updated. An RFC3339 formatted datetime string.
- version String
- The version of the image file.
GetApplianceImagesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.