1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getAppCatalogListings
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.Core.getAppCatalogListings

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This data source provides the list of App Catalog Listings in Oracle Cloud Infrastructure Core service.

    Lists the published listings.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAppCatalogListings = oci.Core.getAppCatalogListings({
        displayName: _var.app_catalog_listing_display_name,
        publisherName: _var.app_catalog_listing_publisher_name,
        publisherType: _var.app_catalog_listing_publisher_type,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_app_catalog_listings = oci.Core.get_app_catalog_listings(display_name=var["app_catalog_listing_display_name"],
        publisher_name=var["app_catalog_listing_publisher_name"],
        publisher_type=var["app_catalog_listing_publisher_type"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Core"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Core.GetAppCatalogListings(ctx, &core.GetAppCatalogListingsArgs{
    			DisplayName:   pulumi.StringRef(_var.App_catalog_listing_display_name),
    			PublisherName: pulumi.StringRef(_var.App_catalog_listing_publisher_name),
    			PublisherType: pulumi.StringRef(_var.App_catalog_listing_publisher_type),
    		}, 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 testAppCatalogListings = Oci.Core.GetAppCatalogListings.Invoke(new()
        {
            DisplayName = @var.App_catalog_listing_display_name,
            PublisherName = @var.App_catalog_listing_publisher_name,
            PublisherType = @var.App_catalog_listing_publisher_type,
        });
    
    });
    
    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.GetAppCatalogListingsArgs;
    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 testAppCatalogListings = CoreFunctions.getAppCatalogListings(GetAppCatalogListingsArgs.builder()
                .displayName(var_.app_catalog_listing_display_name())
                .publisherName(var_.app_catalog_listing_publisher_name())
                .publisherType(var_.app_catalog_listing_publisher_type())
                .build());
    
        }
    }
    
    variables:
      testAppCatalogListings:
        fn::invoke:
          Function: oci:Core:getAppCatalogListings
          Arguments:
            displayName: ${var.app_catalog_listing_display_name}
            publisherName: ${var.app_catalog_listing_publisher_name}
            publisherType: ${var.app_catalog_listing_publisher_type}
    

    Using getAppCatalogListings

    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 getAppCatalogListings(args: GetAppCatalogListingsArgs, opts?: InvokeOptions): Promise<GetAppCatalogListingsResult>
    function getAppCatalogListingsOutput(args: GetAppCatalogListingsOutputArgs, opts?: InvokeOptions): Output<GetAppCatalogListingsResult>
    def get_app_catalog_listings(display_name: Optional[str] = None,
                                 filters: Optional[Sequence[_core.GetAppCatalogListingsFilter]] = None,
                                 publisher_name: Optional[str] = None,
                                 publisher_type: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetAppCatalogListingsResult
    def get_app_catalog_listings_output(display_name: Optional[pulumi.Input[str]] = None,
                                 filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetAppCatalogListingsFilterArgs]]]] = None,
                                 publisher_name: Optional[pulumi.Input[str]] = None,
                                 publisher_type: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetAppCatalogListingsResult]
    func GetAppCatalogListings(ctx *Context, args *GetAppCatalogListingsArgs, opts ...InvokeOption) (*GetAppCatalogListingsResult, error)
    func GetAppCatalogListingsOutput(ctx *Context, args *GetAppCatalogListingsOutputArgs, opts ...InvokeOption) GetAppCatalogListingsResultOutput

    > Note: This function is named GetAppCatalogListings in the Go SDK.

    public static class GetAppCatalogListings 
    {
        public static Task<GetAppCatalogListingsResult> InvokeAsync(GetAppCatalogListingsArgs args, InvokeOptions? opts = null)
        public static Output<GetAppCatalogListingsResult> Invoke(GetAppCatalogListingsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAppCatalogListingsResult> getAppCatalogListings(GetAppCatalogListingsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Core/getAppCatalogListings:getAppCatalogListings
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters List<GetAppCatalogListingsFilter>
    PublisherName string
    A filter to return only the publisher that matches the given publisher name exactly.
    PublisherType string
    A filter to return only publishers that match the given publisher type exactly. Valid types are OCI, ORACLE, TRUSTED, STANDARD.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters []GetAppCatalogListingsFilter
    PublisherName string
    A filter to return only the publisher that matches the given publisher name exactly.
    PublisherType string
    A filter to return only publishers that match the given publisher type exactly. Valid types are OCI, ORACLE, TRUSTED, STANDARD.
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<GetAppCatalogListingsFilter>
    publisherName String
    A filter to return only the publisher that matches the given publisher name exactly.
    publisherType String
    A filter to return only publishers that match the given publisher type exactly. Valid types are OCI, ORACLE, TRUSTED, STANDARD.
    displayName string
    A filter to return only resources that match the given display name exactly.
    filters GetAppCatalogListingsFilter[]
    publisherName string
    A filter to return only the publisher that matches the given publisher name exactly.
    publisherType string
    A filter to return only publishers that match the given publisher type exactly. Valid types are OCI, ORACLE, TRUSTED, STANDARD.
    display_name str
    A filter to return only resources that match the given display name exactly.
    filters Sequence[core.GetAppCatalogListingsFilter]
    publisher_name str
    A filter to return only the publisher that matches the given publisher name exactly.
    publisher_type str
    A filter to return only publishers that match the given publisher type exactly. Valid types are OCI, ORACLE, TRUSTED, STANDARD.
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<Property Map>
    publisherName String
    A filter to return only the publisher that matches the given publisher name exactly.
    publisherType String
    A filter to return only publishers that match the given publisher type exactly. Valid types are OCI, ORACLE, TRUSTED, STANDARD.

    getAppCatalogListings Result

    The following output properties are available:

    AppCatalogListings List<GetAppCatalogListingsAppCatalogListing>
    The list of app_catalog_listings.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    Filters List<GetAppCatalogListingsFilter>
    PublisherName string
    The name of the publisher who published this listing.
    PublisherType string
    AppCatalogListings []GetAppCatalogListingsAppCatalogListing
    The list of app_catalog_listings.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    Filters []GetAppCatalogListingsFilter
    PublisherName string
    The name of the publisher who published this listing.
    PublisherType string
    appCatalogListings List<GetAppCatalogListingsAppCatalogListing>
    The list of app_catalog_listings.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters List<GetAppCatalogListingsFilter>
    publisherName String
    The name of the publisher who published this listing.
    publisherType String
    appCatalogListings GetAppCatalogListingsAppCatalogListing[]
    The list of app_catalog_listings.
    id string
    The provider-assigned unique ID for this managed resource.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters GetAppCatalogListingsFilter[]
    publisherName string
    The name of the publisher who published this listing.
    publisherType string
    app_catalog_listings Sequence[core.GetAppCatalogListingsAppCatalogListing]
    The list of app_catalog_listings.
    id str
    The provider-assigned unique ID for this managed resource.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters Sequence[core.GetAppCatalogListingsFilter]
    publisher_name str
    The name of the publisher who published this listing.
    publisher_type str
    appCatalogListings List<Property Map>
    The list of app_catalog_listings.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters List<Property Map>
    publisherName String
    The name of the publisher who published this listing.
    publisherType String

    Supporting Types

    GetAppCatalogListingsAppCatalogListing

    ContactUrl string
    Listing's contact URL.
    Description string
    Description of the listing.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    ListingId string
    the region free ocid of the listing resource.
    PublisherLogoUrl string
    Publisher's logo URL.
    PublisherName string
    A filter to return only the publisher that matches the given publisher name exactly.
    Summary string
    The short summary for the listing.
    TimePublished string
    Date and time the listing was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
    ContactUrl string
    Listing's contact URL.
    Description string
    Description of the listing.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    ListingId string
    the region free ocid of the listing resource.
    PublisherLogoUrl string
    Publisher's logo URL.
    PublisherName string
    A filter to return only the publisher that matches the given publisher name exactly.
    Summary string
    The short summary for the listing.
    TimePublished string
    Date and time the listing was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
    contactUrl String
    Listing's contact URL.
    description String
    Description of the listing.
    displayName String
    A filter to return only resources that match the given display name exactly.
    listingId String
    the region free ocid of the listing resource.
    publisherLogoUrl String
    Publisher's logo URL.
    publisherName String
    A filter to return only the publisher that matches the given publisher name exactly.
    summary String
    The short summary for the listing.
    timePublished String
    Date and time the listing was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
    contactUrl string
    Listing's contact URL.
    description string
    Description of the listing.
    displayName string
    A filter to return only resources that match the given display name exactly.
    listingId string
    the region free ocid of the listing resource.
    publisherLogoUrl string
    Publisher's logo URL.
    publisherName string
    A filter to return only the publisher that matches the given publisher name exactly.
    summary string
    The short summary for the listing.
    timePublished string
    Date and time the listing was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
    contact_url str
    Listing's contact URL.
    description str
    Description of the listing.
    display_name str
    A filter to return only resources that match the given display name exactly.
    listing_id str
    the region free ocid of the listing resource.
    publisher_logo_url str
    Publisher's logo URL.
    publisher_name str
    A filter to return only the publisher that matches the given publisher name exactly.
    summary str
    The short summary for the listing.
    time_published str
    Date and time the listing was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
    contactUrl String
    Listing's contact URL.
    description String
    Description of the listing.
    displayName String
    A filter to return only resources that match the given display name exactly.
    listingId String
    the region free ocid of the listing resource.
    publisherLogoUrl String
    Publisher's logo URL.
    publisherName String
    A filter to return only the publisher that matches the given publisher name exactly.
    summary String
    The short summary for the listing.
    timePublished String
    Date and time the listing was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z

    GetAppCatalogListingsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values 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.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi