oci logo
Oracle Cloud Infrastructure v0.20.0, May 31 23

oci.Core.getAppCatalogListing

Explore with Pulumi AI

This data source provides details about a specific App Catalog Listing resource in Oracle Cloud Infrastructure Core service.

Gets the specified listing.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testAppCatalogListing = Oci.Core.GetAppCatalogListing.Invoke(new()
    {
        ListingId = data.Oci_core_app_catalog_listing.Test_listing.Id,
    });

});
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.GetAppCatalogListing(ctx, &core.GetAppCatalogListingArgs{
			ListingId: data.Oci_core_app_catalog_listing.Test_listing.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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.GetAppCatalogListingArgs;
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 testAppCatalogListing = CoreFunctions.getAppCatalogListing(GetAppCatalogListingArgs.builder()
            .listingId(data.oci_core_app_catalog_listing().test_listing().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_app_catalog_listing = oci.Core.get_app_catalog_listing(listing_id=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAppCatalogListing = oci.Core.getAppCatalogListing({
    listingId: data.oci_core_app_catalog_listing.test_listing.id,
});
variables:
  testAppCatalogListing:
    fn::invoke:
      Function: oci:Core:getAppCatalogListing
      Arguments:
        listingId: ${data.oci_core_app_catalog_listing.test_listing.id}

Using getAppCatalogListing

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 getAppCatalogListing(args: GetAppCatalogListingArgs, opts?: InvokeOptions): Promise<GetAppCatalogListingResult>
function getAppCatalogListingOutput(args: GetAppCatalogListingOutputArgs, opts?: InvokeOptions): Output<GetAppCatalogListingResult>
def get_app_catalog_listing(listing_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetAppCatalogListingResult
def get_app_catalog_listing_output(listing_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetAppCatalogListingResult]
func GetAppCatalogListing(ctx *Context, args *GetAppCatalogListingArgs, opts ...InvokeOption) (*GetAppCatalogListingResult, error)
func GetAppCatalogListingOutput(ctx *Context, args *GetAppCatalogListingOutputArgs, opts ...InvokeOption) GetAppCatalogListingResultOutput

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

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

The following arguments are supported:

ListingId string

The OCID of the listing.

ListingId string

The OCID of the listing.

listingId String

The OCID of the listing.

listingId string

The OCID of the listing.

listing_id str

The OCID of the listing.

listingId String

The OCID of the listing.

getAppCatalogListing Result

The following output properties are available:

ContactUrl string

Listing's contact URL.

Description string

Description of the listing.

DisplayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Id string

The provider-assigned unique ID for this managed resource.

ListingId string

the region free ocid of the listing resource.

PublisherLogoUrl string

Publisher's logo URL.

PublisherName string

The name of the publisher who published this listing.

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 user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Id string

The provider-assigned unique ID for this managed resource.

ListingId string

the region free ocid of the listing resource.

PublisherLogoUrl string

Publisher's logo URL.

PublisherName string

The name of the publisher who published this listing.

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 user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

id String

The provider-assigned unique ID for this managed resource.

listingId String

the region free ocid of the listing resource.

publisherLogoUrl String

Publisher's logo URL.

publisherName String

The name of the publisher who published this listing.

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 user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

id string

The provider-assigned unique ID for this managed resource.

listingId string

the region free ocid of the listing resource.

publisherLogoUrl string

Publisher's logo URL.

publisherName string

The name of the publisher who published this listing.

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 user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

id str

The provider-assigned unique ID for this managed resource.

listing_id str

the region free ocid of the listing resource.

publisher_logo_url str

Publisher's logo URL.

publisher_name str

The name of the publisher who published this listing.

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 user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

id String

The provider-assigned unique ID for this managed resource.

listingId String

the region free ocid of the listing resource.

publisherLogoUrl String

Publisher's logo URL.

publisherName String

The name of the publisher who published this listing.

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

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.