Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.Core.getAppCatalogListingResourceVersion
This data source provides details about a specific App Catalog Listing Resource Version resource in Oracle Cloud Infrastructure Core service.
Gets the specified listing resource version.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAppCatalogListingResourceVersion = oci.Core.getAppCatalogListingResourceVersion({
    listingId: testListing.id,
    resourceVersion: appCatalogListingResourceVersionResourceVersion,
});
import pulumi
import pulumi_oci as oci
test_app_catalog_listing_resource_version = oci.Core.get_app_catalog_listing_resource_version(listing_id=test_listing["id"],
    resource_version=app_catalog_listing_resource_version_resource_version)
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.GetAppCatalogListingResourceVersion(ctx, &core.GetAppCatalogListingResourceVersionArgs{
			ListingId:       testListing.Id,
			ResourceVersion: appCatalogListingResourceVersionResourceVersion,
		}, 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 testAppCatalogListingResourceVersion = Oci.Core.GetAppCatalogListingResourceVersion.Invoke(new()
    {
        ListingId = testListing.Id,
        ResourceVersion = appCatalogListingResourceVersionResourceVersion,
    });
});
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.GetAppCatalogListingResourceVersionArgs;
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 testAppCatalogListingResourceVersion = CoreFunctions.getAppCatalogListingResourceVersion(GetAppCatalogListingResourceVersionArgs.builder()
            .listingId(testListing.id())
            .resourceVersion(appCatalogListingResourceVersionResourceVersion)
            .build());
    }
}
variables:
  testAppCatalogListingResourceVersion:
    fn::invoke:
      function: oci:Core:getAppCatalogListingResourceVersion
      arguments:
        listingId: ${testListing.id}
        resourceVersion: ${appCatalogListingResourceVersionResourceVersion}
Using getAppCatalogListingResourceVersion
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 getAppCatalogListingResourceVersion(args: GetAppCatalogListingResourceVersionArgs, opts?: InvokeOptions): Promise<GetAppCatalogListingResourceVersionResult>
function getAppCatalogListingResourceVersionOutput(args: GetAppCatalogListingResourceVersionOutputArgs, opts?: InvokeOptions): Output<GetAppCatalogListingResourceVersionResult>def get_app_catalog_listing_resource_version(listing_id: Optional[str] = None,
                                             resource_version: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetAppCatalogListingResourceVersionResult
def get_app_catalog_listing_resource_version_output(listing_id: Optional[pulumi.Input[str]] = None,
                                             resource_version: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetAppCatalogListingResourceVersionResult]func GetAppCatalogListingResourceVersion(ctx *Context, args *GetAppCatalogListingResourceVersionArgs, opts ...InvokeOption) (*GetAppCatalogListingResourceVersionResult, error)
func GetAppCatalogListingResourceVersionOutput(ctx *Context, args *GetAppCatalogListingResourceVersionOutputArgs, opts ...InvokeOption) GetAppCatalogListingResourceVersionResultOutput> Note: This function is named GetAppCatalogListingResourceVersion in the Go SDK.
public static class GetAppCatalogListingResourceVersion 
{
    public static Task<GetAppCatalogListingResourceVersionResult> InvokeAsync(GetAppCatalogListingResourceVersionArgs args, InvokeOptions? opts = null)
    public static Output<GetAppCatalogListingResourceVersionResult> Invoke(GetAppCatalogListingResourceVersionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAppCatalogListingResourceVersionResult> getAppCatalogListingResourceVersion(GetAppCatalogListingResourceVersionArgs args, InvokeOptions options)
public static Output<GetAppCatalogListingResourceVersionResult> getAppCatalogListingResourceVersion(GetAppCatalogListingResourceVersionArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Core/getAppCatalogListingResourceVersion:getAppCatalogListingResourceVersion
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ListingId string
- The OCID of the listing.
- ResourceVersion string
- Listing Resource Version.
- ListingId string
- The OCID of the listing.
- ResourceVersion string
- Listing Resource Version.
- listingId String
- The OCID of the listing.
- resourceVersion String
- Listing Resource Version.
- listingId string
- The OCID of the listing.
- resourceVersion string
- Listing Resource Version.
- listing_id str
- The OCID of the listing.
- resource_version str
- Listing Resource Version.
- listingId String
- The OCID of the listing.
- resourceVersion String
- Listing Resource Version.
getAppCatalogListingResourceVersion Result
The following output properties are available:
- AccessiblePorts List<int>
- List of accessible ports for instances launched with this listing resource version.
- AllowedActions List<string>
- Allowed actions for the listing resource.
- AvailableRegions List<string>
- List of regions that this listing resource version is available.
- CompatibleShapes List<string>
- Array of shapes compatible with this resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- ListingId string
- The OCID of the listing this resource version belongs to.
- ListingResource stringId 
- OCID of the listing resource.
- ListingResource stringVersion 
- Resource Version.
- ResourceVersion string
- TimePublished string
- Date and time the listing resource version was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
- AccessiblePorts []int
- List of accessible ports for instances launched with this listing resource version.
- AllowedActions []string
- Allowed actions for the listing resource.
- AvailableRegions []string
- List of regions that this listing resource version is available.
- CompatibleShapes []string
- Array of shapes compatible with this resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- ListingId string
- The OCID of the listing this resource version belongs to.
- ListingResource stringId 
- OCID of the listing resource.
- ListingResource stringVersion 
- Resource Version.
- ResourceVersion string
- TimePublished string
- Date and time the listing resource version was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
- accessiblePorts List<Integer>
- List of accessible ports for instances launched with this listing resource version.
- allowedActions List<String>
- Allowed actions for the listing resource.
- availableRegions List<String>
- List of regions that this listing resource version is available.
- compatibleShapes List<String>
- Array of shapes compatible with this resource.
- id String
- The provider-assigned unique ID for this managed resource.
- listingId String
- The OCID of the listing this resource version belongs to.
- listingResource StringId 
- OCID of the listing resource.
- listingResource StringVersion 
- Resource Version.
- resourceVersion String
- timePublished String
- Date and time the listing resource version was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
- accessiblePorts number[]
- List of accessible ports for instances launched with this listing resource version.
- allowedActions string[]
- Allowed actions for the listing resource.
- availableRegions string[]
- List of regions that this listing resource version is available.
- compatibleShapes string[]
- Array of shapes compatible with this resource.
- id string
- The provider-assigned unique ID for this managed resource.
- listingId string
- The OCID of the listing this resource version belongs to.
- listingResource stringId 
- OCID of the listing resource.
- listingResource stringVersion 
- Resource Version.
- resourceVersion string
- timePublished string
- Date and time the listing resource version was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
- accessible_ports Sequence[int]
- List of accessible ports for instances launched with this listing resource version.
- allowed_actions Sequence[str]
- Allowed actions for the listing resource.
- available_regions Sequence[str]
- List of regions that this listing resource version is available.
- compatible_shapes Sequence[str]
- Array of shapes compatible with this resource.
- id str
- The provider-assigned unique ID for this managed resource.
- listing_id str
- The OCID of the listing this resource version belongs to.
- listing_resource_ strid 
- OCID of the listing resource.
- listing_resource_ strversion 
- Resource Version.
- resource_version str
- time_published str
- Date and time the listing resource version was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
- accessiblePorts List<Number>
- List of accessible ports for instances launched with this listing resource version.
- allowedActions List<String>
- Allowed actions for the listing resource.
- availableRegions List<String>
- List of regions that this listing resource version is available.
- compatibleShapes List<String>
- Array of shapes compatible with this resource.
- id String
- The provider-assigned unique ID for this managed resource.
- listingId String
- The OCID of the listing this resource version belongs to.
- listingResource StringId 
- OCID of the listing resource.
- listingResource StringVersion 
- Resource Version.
- resourceVersion String
- timePublished String
- Date and time the listing resource version was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.
