1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getAppCatalogSubscriptions
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.Core.getAppCatalogSubscriptions

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

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,
});
Copy
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"])
Copy
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.GetAppCatalogSubscriptions(ctx, &core.GetAppCatalogSubscriptionsArgs{
			CompartmentId: compartmentId,
			ListingId:     pulumi.StringRef(testListing.Id),
		}, 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 testAppCatalogSubscriptions = Oci.Core.GetAppCatalogSubscriptions.Invoke(new()
    {
        CompartmentId = compartmentId,
        ListingId = testListing.Id,
    });

});
Copy
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());

    }
}
Copy
variables:
  testAppCatalogSubscriptions:
    fn::invoke:
      function: oci:Core:getAppCatalogSubscriptions
      arguments:
        compartmentId: ${compartmentId}
        listingId: ${testListing.id}
Copy

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>
Copy
def get_app_catalog_subscriptions(compartment_id: Optional[str] = None,
                                  filters: Optional[Sequence[_core.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[_core.GetAppCatalogSubscriptionsFilterArgs]]]] = None,
                                  listing_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetAppCatalogSubscriptionsResult]
Copy
func GetAppCatalogSubscriptions(ctx *Context, args *GetAppCatalogSubscriptionsArgs, opts ...InvokeOption) (*GetAppCatalogSubscriptionsResult, error)
func GetAppCatalogSubscriptionsOutput(ctx *Context, args *GetAppCatalogSubscriptionsOutputArgs, opts ...InvokeOption) GetAppCatalogSubscriptionsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetAppCatalogSubscriptionsResult> getAppCatalogSubscriptions(GetAppCatalogSubscriptionsArgs args, InvokeOptions options)
public static Output<GetAppCatalogSubscriptionsResult> getAppCatalogSubscriptions(GetAppCatalogSubscriptionsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Core/getAppCatalogSubscriptions:getAppCatalogSubscriptions
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. string
The OCID of the compartment.
Filters Changes to this property will trigger replacement. List<GetAppCatalogSubscriptionsFilter>
ListingId string
A filter to return only the listings that matches the given listing id.
CompartmentId This property is required. string
The OCID of the compartment.
Filters Changes to this property will trigger replacement. []GetAppCatalogSubscriptionsFilter
ListingId string
A filter to return only the listings that matches the given listing id.
compartmentId This property is required. String
The OCID of the compartment.
filters Changes to this property will trigger replacement. List<GetAppCatalogSubscriptionsFilter>
listingId String
A filter to return only the listings that matches the given listing id.
compartmentId This property is required. string
The OCID of the compartment.
filters Changes to this property will trigger replacement. GetAppCatalogSubscriptionsFilter[]
listingId string
A filter to return only the listings that matches the given listing id.
compartment_id This property is required. str
The OCID of the compartment.
filters Changes to this property will trigger replacement. Sequence[core.GetAppCatalogSubscriptionsFilter]
listing_id str
A filter to return only the listings that matches the given listing id.
compartmentId This property is required. String
The OCID of the compartment.
filters Changes to this property will trigger replacement. 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:

AppCatalogSubscriptions List<GetAppCatalogSubscriptionsAppCatalogSubscription>
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<GetAppCatalogSubscriptionsFilter>
ListingId string
The ocid of the listing resource.
AppCatalogSubscriptions []GetAppCatalogSubscriptionsAppCatalogSubscription
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 []GetAppCatalogSubscriptionsFilter
ListingId string
The ocid of the listing resource.
appCatalogSubscriptions List<GetAppCatalogSubscriptionsAppCatalogSubscription>
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<GetAppCatalogSubscriptionsFilter>
listingId String
The ocid of the listing resource.
appCatalogSubscriptions GetAppCatalogSubscriptionsAppCatalogSubscription[]
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 GetAppCatalogSubscriptionsFilter[]
listingId string
The ocid of the listing resource.
app_catalog_subscriptions Sequence[core.GetAppCatalogSubscriptionsAppCatalogSubscription]
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[core.GetAppCatalogSubscriptionsFilter]
listing_id str
The ocid of the listing resource.
appCatalogSubscriptions List<Property Map>
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 This property is required. string
The OCID of the compartment.
DisplayName This property is required. string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
ListingId This property is required. string
A filter to return only the listings that matches the given listing id.
ListingResourceId This property is required. string
Listing resource id.
ListingResourceVersion This property is required. string
Listing resource version.
OracleTermsOfUseLink This property is required. string
PublisherName This property is required. string
Name of the publisher who published this listing.
Signature This property is required. string
Summary This property is required. string
The short summary to the listing.
TimeCreated This property is required. string
Date and time at which the subscription was created, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
TimeRetrieved This property is required. string
EulaLink string
CompartmentId This property is required. string
The OCID of the compartment.
DisplayName This property is required. string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
ListingId This property is required. string
A filter to return only the listings that matches the given listing id.
ListingResourceId This property is required. string
Listing resource id.
ListingResourceVersion This property is required. string
Listing resource version.
OracleTermsOfUseLink This property is required. string
PublisherName This property is required. string
Name of the publisher who published this listing.
Signature This property is required. string
Summary This property is required. string
The short summary to the listing.
TimeCreated This property is required. string
Date and time at which the subscription was created, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
TimeRetrieved This property is required. string
EulaLink string
compartmentId This property is required. String
The OCID of the compartment.
displayName This property is required. String
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
listingId This property is required. String
A filter to return only the listings that matches the given listing id.
listingResourceId This property is required. String
Listing resource id.
listingResourceVersion This property is required. String
Listing resource version.
oracleTermsOfUseLink This property is required. String
publisherName This property is required. String
Name of the publisher who published this listing.
signature This property is required. String
summary This property is required. String
The short summary to the listing.
timeCreated This property is required. String
Date and time at which the subscription was created, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
timeRetrieved This property is required. String
eulaLink String
compartmentId This property is required. string
The OCID of the compartment.
displayName This property is required. string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
listingId This property is required. string
A filter to return only the listings that matches the given listing id.
listingResourceId This property is required. string
Listing resource id.
listingResourceVersion This property is required. string
Listing resource version.
oracleTermsOfUseLink This property is required. string
publisherName This property is required. string
Name of the publisher who published this listing.
signature This property is required. string
summary This property is required. string
The short summary to the listing.
timeCreated This property is required. string
Date and time at which the subscription was created, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
timeRetrieved This property is required. string
eulaLink string
compartment_id This property is required. str
The OCID of the compartment.
display_name This property is required. str
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
listing_id This property is required. str
A filter to return only the listings that matches the given listing id.
listing_resource_id This property is required. str
Listing resource id.
listing_resource_version This property is required. str
Listing resource version.
oracle_terms_of_use_link This property is required. str
publisher_name This property is required. str
Name of the publisher who published this listing.
signature This property is required. str
summary This property is required. str
The short summary to the listing.
time_created This property is required. str
Date and time at which the subscription was created, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
time_retrieved This property is required. str
eula_link str
compartmentId This property is required. String
The OCID of the compartment.
displayName This property is required. String
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
listingId This property is required. String
A filter to return only the listings that matches the given listing id.
listingResourceId This property is required. String
Listing resource id.
listingResourceVersion This property is required. String
Listing resource version.
oracleTermsOfUseLink This property is required. String
publisherName This property is required. String
Name of the publisher who published this listing.
signature This property is required. String
summary This property is required. String
The short summary to the listing.
timeCreated This property is required. String
Date and time at which the subscription was created, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
timeRetrieved This property is required. String
eulaLink String

GetAppCatalogSubscriptionsFilter

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.31.0 published on Thursday, Apr 17, 2025 by Pulumi