Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Core.getAppCatalogListingResourceVersions
Explore with Pulumi AI
This data source provides the list of App Catalog Listing Resource Versions in Oracle Cloud Infrastructure Core service.
Gets all resource versions for a particular listing.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAppCatalogListingResourceVersions = oci.Core.getAppCatalogListingResourceVersions({
    listingId: testListing.id,
});
import pulumi
import pulumi_oci as oci
test_app_catalog_listing_resource_versions = oci.Core.get_app_catalog_listing_resource_versions(listing_id=test_listing["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := core.GetAppCatalogListingResourceVersions(ctx, &core.GetAppCatalogListingResourceVersionsArgs{
			ListingId: testListing.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 testAppCatalogListingResourceVersions = Oci.Core.GetAppCatalogListingResourceVersions.Invoke(new()
    {
        ListingId = testListing.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.GetAppCatalogListingResourceVersionsArgs;
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 testAppCatalogListingResourceVersions = CoreFunctions.getAppCatalogListingResourceVersions(GetAppCatalogListingResourceVersionsArgs.builder()
            .listingId(testListing.id())
            .build());
    }
}
variables:
  testAppCatalogListingResourceVersions:
    fn::invoke:
      function: oci:Core:getAppCatalogListingResourceVersions
      arguments:
        listingId: ${testListing.id}
Using getAppCatalogListingResourceVersions
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 getAppCatalogListingResourceVersions(args: GetAppCatalogListingResourceVersionsArgs, opts?: InvokeOptions): Promise<GetAppCatalogListingResourceVersionsResult>
function getAppCatalogListingResourceVersionsOutput(args: GetAppCatalogListingResourceVersionsOutputArgs, opts?: InvokeOptions): Output<GetAppCatalogListingResourceVersionsResult>def get_app_catalog_listing_resource_versions(filters: Optional[Sequence[GetAppCatalogListingResourceVersionsFilter]] = None,
                                              listing_id: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetAppCatalogListingResourceVersionsResult
def get_app_catalog_listing_resource_versions_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetAppCatalogListingResourceVersionsFilterArgs]]]] = None,
                                              listing_id: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetAppCatalogListingResourceVersionsResult]func GetAppCatalogListingResourceVersions(ctx *Context, args *GetAppCatalogListingResourceVersionsArgs, opts ...InvokeOption) (*GetAppCatalogListingResourceVersionsResult, error)
func GetAppCatalogListingResourceVersionsOutput(ctx *Context, args *GetAppCatalogListingResourceVersionsOutputArgs, opts ...InvokeOption) GetAppCatalogListingResourceVersionsResultOutput> Note: This function is named GetAppCatalogListingResourceVersions in the Go SDK.
public static class GetAppCatalogListingResourceVersions 
{
    public static Task<GetAppCatalogListingResourceVersionsResult> InvokeAsync(GetAppCatalogListingResourceVersionsArgs args, InvokeOptions? opts = null)
    public static Output<GetAppCatalogListingResourceVersionsResult> Invoke(GetAppCatalogListingResourceVersionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAppCatalogListingResourceVersionsResult> getAppCatalogListingResourceVersions(GetAppCatalogListingResourceVersionsArgs args, InvokeOptions options)
public static Output<GetAppCatalogListingResourceVersionsResult> getAppCatalogListingResourceVersions(GetAppCatalogListingResourceVersionsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Core/getAppCatalogListingResourceVersions:getAppCatalogListingResourceVersions
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ListingId string
- The OCID of the listing.
- Filters
List<GetApp Catalog Listing Resource Versions Filter> 
- ListingId string
- The OCID of the listing.
- Filters
[]GetApp Catalog Listing Resource Versions Filter 
- listingId String
- The OCID of the listing.
- filters
List<GetApp Catalog Listing Resource Versions Filter> 
- listingId string
- The OCID of the listing.
- filters
GetApp Catalog Listing Resource Versions Filter[] 
- listing_id str
- The OCID of the listing.
- filters
Sequence[GetApp Catalog Listing Resource Versions Filter] 
- listingId String
- The OCID of the listing.
- filters List<Property Map>
getAppCatalogListingResourceVersions Result
The following output properties are available:
- AppCatalog List<GetListing Resource Versions App Catalog Listing Resource Versions App Catalog Listing Resource Version> 
- The list of app_catalog_listing_resource_versions.
- Id string
- The provider-assigned unique ID for this managed resource.
- ListingId string
- The OCID of the listing this resource version belongs to.
- Filters
List<GetApp Catalog Listing Resource Versions Filter> 
- AppCatalog []GetListing Resource Versions App Catalog Listing Resource Versions App Catalog Listing Resource Version 
- The list of app_catalog_listing_resource_versions.
- Id string
- The provider-assigned unique ID for this managed resource.
- ListingId string
- The OCID of the listing this resource version belongs to.
- Filters
[]GetApp Catalog Listing Resource Versions Filter 
- appCatalog List<GetListing Resource Versions App Catalog Listing Resource Versions App Catalog Listing Resource Version> 
- The list of app_catalog_listing_resource_versions.
- id String
- The provider-assigned unique ID for this managed resource.
- listingId String
- The OCID of the listing this resource version belongs to.
- filters
List<GetApp Catalog Listing Resource Versions Filter> 
- appCatalog GetListing Resource Versions App Catalog Listing Resource Versions App Catalog Listing Resource Version[] 
- The list of app_catalog_listing_resource_versions.
- id string
- The provider-assigned unique ID for this managed resource.
- listingId string
- The OCID of the listing this resource version belongs to.
- filters
GetApp Catalog Listing Resource Versions Filter[] 
- app_catalog_ Sequence[Getlisting_ resource_ versions App Catalog Listing Resource Versions App Catalog Listing Resource Version] 
- The list of app_catalog_listing_resource_versions.
- id str
- The provider-assigned unique ID for this managed resource.
- listing_id str
- The OCID of the listing this resource version belongs to.
- filters
Sequence[GetApp Catalog Listing Resource Versions Filter] 
- appCatalog List<Property Map>Listing Resource Versions 
- The list of app_catalog_listing_resource_versions.
- id String
- The provider-assigned unique ID for this managed resource.
- listingId String
- The OCID of the listing this resource version belongs to.
- filters List<Property Map>
Supporting Types
GetAppCatalogListingResourceVersionsAppCatalogListingResourceVersion          
- 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.
- ListingId string
- The OCID of the listing.
- ListingResource stringId 
- OCID of the listing resource.
- ListingResource stringVersion 
- Resource Version.
- 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.
- ListingId string
- The OCID of the listing.
- ListingResource stringId 
- OCID of the listing resource.
- ListingResource stringVersion 
- Resource Version.
- 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.
- listingId String
- The OCID of the listing.
- listingResource StringId 
- OCID of the listing resource.
- listingResource StringVersion 
- Resource Version.
- 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.
- listingId string
- The OCID of the listing.
- listingResource stringId 
- OCID of the listing resource.
- listingResource stringVersion 
- Resource Version.
- 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.
- listing_id str
- The OCID of the listing.
- listing_resource_ strid 
- OCID of the listing resource.
- listing_resource_ strversion 
- Resource Version.
- 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.
- listingId String
- The OCID of the listing.
- listingResource StringId 
- OCID of the listing resource.
- listingResource StringVersion 
- Resource Version.
- timePublished String
- Date and time the listing resource version was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
GetAppCatalogListingResourceVersionsFilter      
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.