oci.Core.getAppCatalogListingResourceVersions
Explore with Pulumi AI
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 System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testAppCatalogListingResourceVersions = Oci.Core.GetAppCatalogListingResourceVersions.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.GetAppCatalogListingResourceVersions(ctx, &core.GetAppCatalogListingResourceVersionsArgs{
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.GetAppCatalogListingResourceVersionsArgs;
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 testAppCatalogListingResourceVersions = CoreFunctions.getAppCatalogListingResourceVersions(GetAppCatalogListingResourceVersionsArgs.builder()
.listingId(data.oci_core_app_catalog_listing().test_listing().id())
.build());
}
}
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,
});
variables:
testAppCatalogListingResourceVersions:
fn::invoke:
Function: oci:Core:getAppCatalogListingResourceVersions
Arguments:
listingId: ${data.oci_core_app_catalog_listing.test_listing.id}
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:
- Listing
Id string The OCID of the listing.
- Filters
List<Get
App Catalog Listing Resource Versions Filter>
- Listing
Id string The OCID of the listing.
- Filters
[]Get
App Catalog Listing Resource Versions Filter
- listing
Id String The OCID of the listing.
- filters
List<Get
App Catalog Listing Resource Versions Filter>
- listing
Id string The OCID of the listing.
- filters
Get
App Catalog Listing Resource Versions Filter[]
- listing_
id str The OCID of the listing.
- filters
Get
App Catalog Listing Resource Versions Filter]
- listing
Id String The OCID of the listing.
- filters List<Property Map>
getAppCatalogListingResourceVersions Result
The following output properties are available:
- App
Catalog List<GetListing Resource Versions App Catalog Listing Resource Versions App Catalog Listing Resource Version> The list of app_catalog_listing_resource_versions.
- Id string
The provider-assigned unique ID for this managed resource.
- Listing
Id string The OCID of the listing this resource version belongs to.
- Filters
List<Get
App Catalog Listing Resource Versions Filter>
- App
Catalog []GetListing Resource Versions App Catalog Listing Resource Versions App Catalog Listing Resource Version The list of app_catalog_listing_resource_versions.
- Id string
The provider-assigned unique ID for this managed resource.
- Listing
Id string The OCID of the listing this resource version belongs to.
- Filters
[]Get
App Catalog Listing Resource Versions Filter
- app
Catalog List<GetListing Resource Versions App Catalog Listing Resource Versions App Catalog Listing Resource Version> The list of app_catalog_listing_resource_versions.
- id String
The provider-assigned unique ID for this managed resource.
- listing
Id String The OCID of the listing this resource version belongs to.
- filters
List<Get
App Catalog Listing Resource Versions Filter>
- app
Catalog GetListing Resource Versions App Catalog Listing Resource Versions App Catalog Listing Resource Version[] The list of app_catalog_listing_resource_versions.
- id string
The provider-assigned unique ID for this managed resource.
- listing
Id string The OCID of the listing this resource version belongs to.
- filters
Get
App Catalog Listing Resource Versions Filter[]
- app_
catalog_ Getlisting_ resource_ versions App Catalog Listing Resource Versions App Catalog Listing Resource Version] 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
Get
App Catalog Listing Resource Versions Filter]
- app
Catalog List<Property Map>Listing Resource Versions The list of app_catalog_listing_resource_versions.
- id String
The provider-assigned unique ID for this managed resource.
- listing
Id String The OCID of the listing this resource version belongs to.
- filters List<Property Map>
Supporting Types
GetAppCatalogListingResourceVersionsAppCatalogListingResourceVersion
- Accessible
Ports List<int> List of accessible ports for instances launched with this listing resource version.
- Allowed
Actions List<string> Allowed actions for the listing resource.
- Available
Regions List<string> List of regions that this listing resource version is available.
- Compatible
Shapes List<string> Array of shapes compatible with this resource.
- Listing
Id string The OCID of the listing.
- Listing
Resource stringId OCID of the listing resource.
- Listing
Resource stringVersion Resource Version.
- Time
Published string Date and time the listing resource version was published, in RFC3339 format. Example:
2018-03-20T12:32:53.532Z
- Accessible
Ports []int List of accessible ports for instances launched with this listing resource version.
- Allowed
Actions []string Allowed actions for the listing resource.
- Available
Regions []string List of regions that this listing resource version is available.
- Compatible
Shapes []string Array of shapes compatible with this resource.
- Listing
Id string The OCID of the listing.
- Listing
Resource stringId OCID of the listing resource.
- Listing
Resource stringVersion Resource Version.
- Time
Published string Date and time the listing resource version was published, in RFC3339 format. Example:
2018-03-20T12:32:53.532Z
- accessible
Ports List<Integer> List of accessible ports for instances launched with this listing resource version.
- allowed
Actions List<String> Allowed actions for the listing resource.
- available
Regions List<String> List of regions that this listing resource version is available.
- compatible
Shapes List<String> Array of shapes compatible with this resource.
- listing
Id String The OCID of the listing.
- listing
Resource StringId OCID of the listing resource.
- listing
Resource StringVersion Resource Version.
- time
Published String Date and time the listing resource version was published, in RFC3339 format. Example:
2018-03-20T12:32:53.532Z
- accessible
Ports number[] List of accessible ports for instances launched with this listing resource version.
- allowed
Actions string[] Allowed actions for the listing resource.
- available
Regions string[] List of regions that this listing resource version is available.
- compatible
Shapes string[] Array of shapes compatible with this resource.
- listing
Id string The OCID of the listing.
- listing
Resource stringId OCID of the listing resource.
- listing
Resource stringVersion Resource Version.
- time
Published 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_ strid OCID of the listing resource.
- listing_
resource_ strversion Resource Version.
- time_
published str Date and time the listing resource version was published, in RFC3339 format. Example:
2018-03-20T12:32:53.532Z
- accessible
Ports List<Number> List of accessible ports for instances launched with this listing resource version.
- allowed
Actions List<String> Allowed actions for the listing resource.
- available
Regions List<String> List of regions that this listing resource version is available.
- compatible
Shapes List<String> Array of shapes compatible with this resource.
- listing
Id String The OCID of the listing.
- listing
Resource StringId OCID of the listing resource.
- listing
Resource StringVersion Resource Version.
- time
Published String Date and time the listing resource version was published, in RFC3339 format. Example:
2018-03-20T12:32:53.532Z
GetAppCatalogListingResourceVersionsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.