Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.Core.getAppCatalogSubscriptions
This data source provides the list of App Catalog Subscriptions in Oracle Cloud Infrastructure Core service.
Lists subscriptions for a compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAppCatalogSubscriptions = oci.Core.getAppCatalogSubscriptions({
    compartmentId: compartmentId,
    listingId: testListing.id,
});
import pulumi
import pulumi_oci as oci
test_app_catalog_subscriptions = oci.Core.get_app_catalog_subscriptions(compartment_id=compartment_id,
    listing_id=test_listing["id"])
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.GetAppCatalogSubscriptions(ctx, &core.GetAppCatalogSubscriptionsArgs{
			CompartmentId: compartmentId,
			ListingId:     pulumi.StringRef(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 testAppCatalogSubscriptions = Oci.Core.GetAppCatalogSubscriptions.Invoke(new()
    {
        CompartmentId = compartmentId,
        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.GetAppCatalogSubscriptionsArgs;
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 testAppCatalogSubscriptions = CoreFunctions.getAppCatalogSubscriptions(GetAppCatalogSubscriptionsArgs.builder()
            .compartmentId(compartmentId)
            .listingId(testListing.id())
            .build());
    }
}
variables:
  testAppCatalogSubscriptions:
    fn::invoke:
      function: oci:Core:getAppCatalogSubscriptions
      arguments:
        compartmentId: ${compartmentId}
        listingId: ${testListing.id}
Using getAppCatalogSubscriptions
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 getAppCatalogSubscriptions(args: GetAppCatalogSubscriptionsArgs, opts?: InvokeOptions): Promise<GetAppCatalogSubscriptionsResult>
function getAppCatalogSubscriptionsOutput(args: GetAppCatalogSubscriptionsOutputArgs, opts?: InvokeOptions): Output<GetAppCatalogSubscriptionsResult>def get_app_catalog_subscriptions(compartment_id: Optional[str] = None,
                                  filters: Optional[Sequence[GetAppCatalogSubscriptionsFilter]] = None,
                                  listing_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetAppCatalogSubscriptionsResult
def get_app_catalog_subscriptions_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                  filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetAppCatalogSubscriptionsFilterArgs]]]] = None,
                                  listing_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetAppCatalogSubscriptionsResult]func GetAppCatalogSubscriptions(ctx *Context, args *GetAppCatalogSubscriptionsArgs, opts ...InvokeOption) (*GetAppCatalogSubscriptionsResult, error)
func GetAppCatalogSubscriptionsOutput(ctx *Context, args *GetAppCatalogSubscriptionsOutputArgs, opts ...InvokeOption) GetAppCatalogSubscriptionsResultOutput> Note: This function is named GetAppCatalogSubscriptions in the Go SDK.
public static class GetAppCatalogSubscriptions 
{
    public static Task<GetAppCatalogSubscriptionsResult> InvokeAsync(GetAppCatalogSubscriptionsArgs args, InvokeOptions? opts = null)
    public static Output<GetAppCatalogSubscriptionsResult> Invoke(GetAppCatalogSubscriptionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAppCatalogSubscriptionsResult> getAppCatalogSubscriptions(GetAppCatalogSubscriptionsArgs args, InvokeOptions options)
public static Output<GetAppCatalogSubscriptionsResult> getAppCatalogSubscriptions(GetAppCatalogSubscriptionsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Core/getAppCatalogSubscriptions:getAppCatalogSubscriptions
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The OCID of the compartment.
- Filters
List<GetApp Catalog Subscriptions Filter> 
- ListingId string
- A filter to return only the listings that matches the given listing id.
- CompartmentId string
- The OCID of the compartment.
- Filters
[]GetApp Catalog Subscriptions Filter 
- ListingId string
- A filter to return only the listings that matches the given listing id.
- compartmentId String
- The OCID of the compartment.
- filters
List<GetApp Catalog Subscriptions Filter> 
- listingId String
- A filter to return only the listings that matches the given listing id.
- compartmentId string
- The OCID of the compartment.
- filters
GetApp Catalog Subscriptions Filter[] 
- listingId string
- A filter to return only the listings that matches the given listing id.
- compartment_id str
- The OCID of the compartment.
- filters
Sequence[GetApp Catalog Subscriptions Filter] 
- listing_id str
- A filter to return only the listings that matches the given listing id.
- compartmentId String
- The OCID of the compartment.
- filters List<Property Map>
- listingId String
- A filter to return only the listings that matches the given listing id.
getAppCatalogSubscriptions Result
The following output properties are available:
- AppCatalog List<GetSubscriptions App Catalog Subscriptions App Catalog Subscription> 
- The list of app_catalog_subscriptions.
- CompartmentId string
- The compartmentID of the subscription.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<GetApp Catalog Subscriptions Filter> 
- ListingId string
- The ocid of the listing resource.
- AppCatalog []GetSubscriptions App Catalog Subscriptions App Catalog Subscription 
- The list of app_catalog_subscriptions.
- CompartmentId string
- The compartmentID of the subscription.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]GetApp Catalog Subscriptions Filter 
- ListingId string
- The ocid of the listing resource.
- appCatalog List<GetSubscriptions App Catalog Subscriptions App Catalog Subscription> 
- The list of app_catalog_subscriptions.
- compartmentId String
- The compartmentID of the subscription.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<GetApp Catalog Subscriptions Filter> 
- listingId String
- The ocid of the listing resource.
- appCatalog GetSubscriptions App Catalog Subscriptions App Catalog Subscription[] 
- The list of app_catalog_subscriptions.
- compartmentId string
- The compartmentID of the subscription.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
GetApp Catalog Subscriptions Filter[] 
- listingId string
- The ocid of the listing resource.
- app_catalog_ Sequence[Getsubscriptions App Catalog Subscriptions App Catalog Subscription] 
- The list of app_catalog_subscriptions.
- compartment_id str
- The compartmentID of the subscription.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[GetApp Catalog Subscriptions Filter] 
- listing_id str
- The ocid of the listing resource.
- appCatalog List<Property Map>Subscriptions 
- The list of app_catalog_subscriptions.
- compartmentId String
- The compartmentID of the subscription.
- id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
- listingId String
- The ocid of the listing resource.
Supporting Types
GetAppCatalogSubscriptionsAppCatalogSubscription      
- CompartmentId string
- The OCID of the compartment.
- DisplayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- ListingId string
- A filter to return only the listings that matches the given listing id.
- ListingResource stringId 
- Listing resource id.
- ListingResource stringVersion 
- Listing resource version.
- OracleTerms stringOf Use Link 
- PublisherName string
- Name of the publisher who published this listing.
- Signature string
- Summary string
- The short summary to the listing.
- TimeCreated string
- Date and time at which the subscription was created, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
- TimeRetrieved string
- EulaLink string
- CompartmentId string
- The OCID of the compartment.
- DisplayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- ListingId string
- A filter to return only the listings that matches the given listing id.
- ListingResource stringId 
- Listing resource id.
- ListingResource stringVersion 
- Listing resource version.
- OracleTerms stringOf Use Link 
- PublisherName string
- Name of the publisher who published this listing.
- Signature string
- Summary string
- The short summary to the listing.
- TimeCreated string
- Date and time at which the subscription was created, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
- TimeRetrieved string
- EulaLink string
- compartmentId String
- The OCID of the compartment.
- displayName String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- listingId String
- A filter to return only the listings that matches the given listing id.
- listingResource StringId 
- Listing resource id.
- listingResource StringVersion 
- Listing resource version.
- oracleTerms StringOf Use Link 
- publisherName String
- Name of the publisher who published this listing.
- signature String
- summary String
- The short summary to the listing.
- timeCreated String
- Date and time at which the subscription was created, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
- timeRetrieved String
- eulaLink String
- compartmentId string
- The OCID of the compartment.
- displayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- listingId string
- A filter to return only the listings that matches the given listing id.
- listingResource stringId 
- Listing resource id.
- listingResource stringVersion 
- Listing resource version.
- oracleTerms stringOf Use Link 
- publisherName string
- Name of the publisher who published this listing.
- signature string
- summary string
- The short summary to the listing.
- timeCreated string
- Date and time at which the subscription was created, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
- timeRetrieved string
- eulaLink string
- compartment_id str
- The OCID of the compartment.
- display_name str
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- listing_id str
- A filter to return only the listings that matches the given listing id.
- listing_resource_ strid 
- Listing resource id.
- listing_resource_ strversion 
- Listing resource version.
- oracle_terms_ strof_ use_ link 
- publisher_name str
- Name of the publisher who published this listing.
- signature str
- summary str
- The short summary to the listing.
- time_created str
- Date and time at which the subscription was created, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
- time_retrieved str
- eula_link str
- compartmentId String
- The OCID of the compartment.
- displayName String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- listingId String
- A filter to return only the listings that matches the given listing id.
- listingResource StringId 
- Listing resource id.
- listingResource StringVersion 
- Listing resource version.
- oracleTerms StringOf Use Link 
- publisherName String
- Name of the publisher who published this listing.
- signature String
- summary String
- The short summary to the listing.
- timeCreated String
- Date and time at which the subscription was created, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
- timeRetrieved String
- eulaLink String
GetAppCatalogSubscriptionsFilter    
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.
