Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getAppCatalogListingResourceVersions

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

Gets all resource versions for a particular listing.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testAppCatalogListingResourceVersions = Output.Create(Oci.Core.GetAppCatalogListingResourceVersions.InvokeAsync(new Oci.Core.GetAppCatalogListingResourceVersionsArgs
        {
            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.GetAppCatalogListingResourceVersions(ctx, &core.GetAppCatalogListingResourceVersionsArgs{
			ListingId: data.Oci_core_app_catalog_listing.Test_listing.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_app_catalog_listing_resource_versions = oci.Core.get_app_catalog_listing_resource_versions(listing_id=data["oci_core_app_catalog_listing"]["test_listing"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAppCatalogListingResourceVersions = oci.Core.getAppCatalogListingResourceVersions({
    listingId: data.oci_core_app_catalog_listing.test_listing.id,
});

Coming soon!

Using getAppCatalogListingResourceVersions

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 getAppCatalogListingResourceVersions(args: GetAppCatalogListingResourceVersionsArgs, opts?: InvokeOptions): Promise<GetAppCatalogListingResourceVersionsResult>
function getAppCatalogListingResourceVersionsOutput(args: GetAppCatalogListingResourceVersionsOutputArgs, opts?: InvokeOptions): Output<GetAppCatalogListingResourceVersionsResult>
def get_app_catalog_listing_resource_versions(filters: Optional[Sequence[_core.GetAppCatalogListingResourceVersionsFilter]] = None,
                                              listing_id: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetAppCatalogListingResourceVersionsResult
def get_app_catalog_listing_resource_versions_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetAppCatalogListingResourceVersionsFilterArgs]]]] = None,
                                              listing_id: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetAppCatalogListingResourceVersionsResult]
func GetAppCatalogListingResourceVersions(ctx *Context, args *GetAppCatalogListingResourceVersionsArgs, opts ...InvokeOption) (*GetAppCatalogListingResourceVersionsResult, error)
func GetAppCatalogListingResourceVersionsOutput(ctx *Context, args *GetAppCatalogListingResourceVersionsOutputArgs, opts ...InvokeOption) GetAppCatalogListingResourceVersionsResultOutput

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

public static class GetAppCatalogListingResourceVersions 
{
    public static Task<GetAppCatalogListingResourceVersionsResult> InvokeAsync(GetAppCatalogListingResourceVersionsArgs args, InvokeOptions? opts = null)
    public static Output<GetAppCatalogListingResourceVersionsResult> Invoke(GetAppCatalogListingResourceVersionsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAppCatalogListingResourceVersionsResult> getAppCatalogListingResourceVersions(GetAppCatalogListingResourceVersionsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Core/getAppCatalogListingResourceVersions:getAppCatalogListingResourceVersions
  Arguments:
    # Arguments dictionary

The following arguments are supported:

listingId String

The OCID of the listing.

filters List<Property Map>

getAppCatalogListingResourceVersions Result

The following output properties are available:

AppCatalogListingResourceVersions List<GetAppCatalogListingResourceVersionsAppCatalogListingResourceVersion>

The list of app_catalog_listing_resource_versions.

Id string

The provider-assigned unique ID for this managed resource.

ListingId string

The OCID of the listing this resource version belongs to.

Filters List<GetAppCatalogListingResourceVersionsFilter>
AppCatalogListingResourceVersions []GetAppCatalogListingResourceVersionsAppCatalogListingResourceVersion

The list of app_catalog_listing_resource_versions.

Id string

The provider-assigned unique ID for this managed resource.

ListingId string

The OCID of the listing this resource version belongs to.

Filters []GetAppCatalogListingResourceVersionsFilter
appCatalogListingResourceVersions List<GetAppCatalogListingResourceVersionsAppCatalogListingResourceVersion>

The list of app_catalog_listing_resource_versions.

id String

The provider-assigned unique ID for this managed resource.

listingId String

The OCID of the listing this resource version belongs to.

filters List<GetAppCatalogListingResourceVersionsFilter>
appCatalogListingResourceVersions GetAppCatalogListingResourceVersionsAppCatalogListingResourceVersion[]

The list of app_catalog_listing_resource_versions.

id string

The provider-assigned unique ID for this managed resource.

listingId string

The OCID of the listing this resource version belongs to.

filters GetAppCatalogListingResourceVersionsFilter[]
app_catalog_listing_resource_versions GetAppCatalogListingResourceVersionsAppCatalogListingResourceVersion]

The list of app_catalog_listing_resource_versions.

id str

The provider-assigned unique ID for this managed resource.

listing_id str

The OCID of the listing this resource version belongs to.

filters GetAppCatalogListingResourceVersionsFilter]
appCatalogListingResourceVersions List<Property Map>

The list of app_catalog_listing_resource_versions.

id String

The provider-assigned unique ID for this managed resource.

listingId String

The OCID of the listing this resource version belongs to.

filters List<Property Map>

Supporting Types

GetAppCatalogListingResourceVersionsAppCatalogListingResourceVersion

AccessiblePorts List<int>

List of accessible ports for instances launched with this listing resource version.

AllowedActions List<string>

Allowed actions for the listing resource.

AvailableRegions List<string>

List of regions that this listing resource version is available.

CompatibleShapes List<string>

Array of shapes compatible with this resource.

ListingId string

The OCID of the listing.

ListingResourceId string

OCID of the listing resource.

ListingResourceVersion string

Resource Version.

TimePublished string

Date and time the listing resource version was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z

AccessiblePorts []int

List of accessible ports for instances launched with this listing resource version.

AllowedActions []string

Allowed actions for the listing resource.

AvailableRegions []string

List of regions that this listing resource version is available.

CompatibleShapes []string

Array of shapes compatible with this resource.

ListingId string

The OCID of the listing.

ListingResourceId string

OCID of the listing resource.

ListingResourceVersion string

Resource Version.

TimePublished string

Date and time the listing resource version was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z

accessiblePorts List<Integer>

List of accessible ports for instances launched with this listing resource version.

allowedActions List<String>

Allowed actions for the listing resource.

availableRegions List<String>

List of regions that this listing resource version is available.

compatibleShapes List<String>

Array of shapes compatible with this resource.

listingId String

The OCID of the listing.

listingResourceId String

OCID of the listing resource.

listingResourceVersion String

Resource Version.

timePublished String

Date and time the listing resource version was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z

accessiblePorts number[]

List of accessible ports for instances launched with this listing resource version.

allowedActions string[]

Allowed actions for the listing resource.

availableRegions string[]

List of regions that this listing resource version is available.

compatibleShapes string[]

Array of shapes compatible with this resource.

listingId string

The OCID of the listing.

listingResourceId string

OCID of the listing resource.

listingResourceVersion string

Resource Version.

timePublished string

Date and time the listing resource version was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z

accessible_ports Sequence[int]

List of accessible ports for instances launched with this listing resource version.

allowed_actions Sequence[str]

Allowed actions for the listing resource.

available_regions Sequence[str]

List of regions that this listing resource version is available.

compatible_shapes Sequence[str]

Array of shapes compatible with this resource.

listing_id str

The OCID of the listing.

listing_resource_id str

OCID of the listing resource.

listing_resource_version str

Resource Version.

time_published str

Date and time the listing resource version was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z

accessiblePorts List<Number>

List of accessible ports for instances launched with this listing resource version.

allowedActions List<String>

Allowed actions for the listing resource.

availableRegions List<String>

List of regions that this listing resource version is available.

compatibleShapes List<String>

Array of shapes compatible with this resource.

listingId String

The OCID of the listing.

listingResourceId String

OCID of the listing resource.

listingResourceVersion String

Resource Version.

timePublished String

Date and time the listing resource version was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z

GetAppCatalogListingResourceVersionsFilter

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
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.