Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.Core.getAppCatalogSubscriptions
Explore with Pulumi AI
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/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
})
}
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[_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]
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 dictionary
The following arguments are supported:
- Compartment
Id This property is required. string - The OCID of the compartment.
- Filters
Changes to this property will trigger replacement.
App Catalog Subscriptions Filter> - Listing
Id string - A filter to return only the listings that matches the given listing id.
- Compartment
Id This property is required. string - The OCID of the compartment.
- Filters
Changes to this property will trigger replacement.
App Catalog Subscriptions Filter - Listing
Id string - A filter to return only the listings that matches the given listing id.
- compartment
Id This property is required. String - The OCID of the compartment.
- filters
Changes to this property will trigger replacement.
App Catalog Subscriptions Filter> - listing
Id String - A filter to return only the listings that matches the given listing id.
- compartment
Id This property is required. string - The OCID of the compartment.
- filters
Changes to this property will trigger replacement.
App Catalog Subscriptions Filter[] - listing
Id 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.
Get App Catalog Subscriptions Filter] - listing_
id str - A filter to return only the listings that matches the given listing id.
- compartment
Id This property is required. String - The OCID of the compartment.
- filters
Changes to this property will trigger replacement.
- listing
Id String - A filter to return only the listings that matches the given listing id.
getAppCatalogSubscriptions Result
The following output properties are available:
- App
Catalog List<GetSubscriptions App Catalog Subscriptions App Catalog Subscription> - The list of app_catalog_subscriptions.
- Compartment
Id string - The compartmentID of the subscription.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
App Catalog Subscriptions Filter> - Listing
Id string - The ocid of the listing resource.
- App
Catalog []GetSubscriptions App Catalog Subscriptions App Catalog Subscription - The list of app_catalog_subscriptions.
- Compartment
Id string - The compartmentID of the subscription.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
App Catalog Subscriptions Filter - Listing
Id string - The ocid of the listing resource.
- app
Catalog List<GetSubscriptions App Catalog Subscriptions App Catalog Subscription> - The list of app_catalog_subscriptions.
- compartment
Id String - The compartmentID of the subscription.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
App Catalog Subscriptions Filter> - listing
Id String - The ocid of the listing resource.
- app
Catalog GetSubscriptions App Catalog Subscriptions App Catalog Subscription[] - The list of app_catalog_subscriptions.
- compartment
Id string - The compartmentID of the subscription.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
App Catalog Subscriptions Filter[] - listing
Id string - The ocid of the listing resource.
- app_
catalog_ Sequence[core.subscriptions Get 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[core.
Get App Catalog Subscriptions Filter] - listing_
id str - The ocid of the listing resource.
- app
Catalog List<Property Map>Subscriptions - The list of app_catalog_subscriptions.
- compartment
Id String - The compartmentID of the subscription.
- id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
- listing
Id String - The ocid of the listing resource.
Supporting Types
GetAppCatalogSubscriptionsAppCatalogSubscription
- Compartment
Id This property is required. string - The OCID of the compartment.
- Display
Name This property is required. string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Listing
Id This property is required. string - A filter to return only the listings that matches the given listing id.
- Listing
Resource Id This property is required. string - Listing resource id.
- Listing
Resource Version This property is required. string - Listing resource version.
- Oracle
Terms Of Use Link This property is required. string - Publisher
Name 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.
- Time
Created This property is required. string - 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. string - Eula
Link string
- Compartment
Id This property is required. string - The OCID of the compartment.
- Display
Name This property is required. string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Listing
Id This property is required. string - A filter to return only the listings that matches the given listing id.
- Listing
Resource Id This property is required. string - Listing resource id.
- Listing
Resource Version This property is required. string - Listing resource version.
- Oracle
Terms Of Use Link This property is required. string - Publisher
Name 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.
- Time
Created This property is required. string - 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. string - Eula
Link string
- compartment
Id This property is required. String - The OCID of the compartment.
- display
Name This property is required. String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- listing
Id This property is required. String - A filter to return only the listings that matches the given listing id.
- listing
Resource Id This property is required. String - Listing resource id.
- listing
Resource Version This property is required. String - Listing resource version.
- oracle
Terms Of Use Link This property is required. String - publisher
Name 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.
- time
Created This property is required. String - 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. String - eula
Link String
- compartment
Id This property is required. string - The OCID of the compartment.
- display
Name This property is required. string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- listing
Id This property is required. string - A filter to return only the listings that matches the given listing id.
- listing
Resource Id This property is required. string - Listing resource id.
- listing
Resource Version This property is required. string - Listing resource version.
- oracle
Terms Of Use Link This property is required. string - publisher
Name 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.
- time
Created This property is required. string - 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. string - eula
Link 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
- compartment
Id This property is required. String - The OCID of the compartment.
- display
Name This property is required. String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- listing
Id This property is required. String - A filter to return only the listings that matches the given listing id.
- listing
Resource Id This property is required. String - Listing resource id.
- listing
Resource Version This property is required. String - Listing resource version.
- oracle
Terms Of Use Link This property is required. String - publisher
Name 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.
- time
Created This property is required. String - 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. String - eula
Link String
GetAppCatalogSubscriptionsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.