Oracle Cloud Infrastructure v0.20.0, May 31 23
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:
- Listing
Id string The OCID of the listing.
- Listing
Id string The OCID of the listing.
- listing
Id String The OCID of the listing.
- listing
Id string The OCID of the listing.
- listing_
id str The OCID of the listing.
- listing
Id String The OCID of the listing.
getAppCatalogListing Result
The following output properties are available:
- Contact
Url string Listing's contact URL.
- Description string
Description of the listing.
- Display
Name 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.
- Listing
Id string the region free ocid of the listing resource.
- Publisher
Logo stringUrl Publisher's logo URL.
- Publisher
Name string The name of the publisher who published this listing.
- Summary string
The short summary for the listing.
- Time
Published string Date and time the listing was published, in RFC3339 format. Example:
2018-03-20T12:32:53.532Z
- Contact
Url string Listing's contact URL.
- Description string
Description of the listing.
- Display
Name 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.
- Listing
Id string the region free ocid of the listing resource.
- Publisher
Logo stringUrl Publisher's logo URL.
- Publisher
Name string The name of the publisher who published this listing.
- Summary string
The short summary for the listing.
- Time
Published string Date and time the listing was published, in RFC3339 format. Example:
2018-03-20T12:32:53.532Z
- contact
Url String Listing's contact URL.
- description String
Description of the listing.
- display
Name 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.
- listing
Id String the region free ocid of the listing resource.
- publisher
Logo StringUrl Publisher's logo URL.
- publisher
Name String The name of the publisher who published this listing.
- summary String
The short summary for the listing.
- time
Published String Date and time the listing was published, in RFC3339 format. Example:
2018-03-20T12:32:53.532Z
- contact
Url string Listing's contact URL.
- description string
Description of the listing.
- display
Name 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.
- listing
Id string the region free ocid of the listing resource.
- publisher
Logo stringUrl Publisher's logo URL.
- publisher
Name string The name of the publisher who published this listing.
- summary string
The short summary for the listing.
- time
Published 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_ strurl 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
- contact
Url String Listing's contact URL.
- description String
Description of the listing.
- display
Name 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.
- listing
Id String the region free ocid of the listing resource.
- publisher
Logo StringUrl Publisher's logo URL.
- publisher
Name String The name of the publisher who published this listing.
- summary String
The short summary for the listing.
- time
Published 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.