Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 by Pulumi
oci.Core.getAppCatalogListingResourceVersion
Explore with Pulumi AI
This data source provides details about a specific App Catalog Listing Resource Version resource in Oracle Cloud Infrastructure Core service.
Gets the specified listing resource version.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAppCatalogListingResourceVersion = oci.Core.getAppCatalogListingResourceVersion({
listingId: testListing.id,
resourceVersion: appCatalogListingResourceVersionResourceVersion,
});
import pulumi
import pulumi_oci as oci
test_app_catalog_listing_resource_version = oci.Core.get_app_catalog_listing_resource_version(listing_id=test_listing["id"],
resource_version=app_catalog_listing_resource_version_resource_version)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Core.GetAppCatalogListingResourceVersion(ctx, &core.GetAppCatalogListingResourceVersionArgs{
ListingId: testListing.Id,
ResourceVersion: appCatalogListingResourceVersionResourceVersion,
}, 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 testAppCatalogListingResourceVersion = Oci.Core.GetAppCatalogListingResourceVersion.Invoke(new()
{
ListingId = testListing.Id,
ResourceVersion = appCatalogListingResourceVersionResourceVersion,
});
});
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.GetAppCatalogListingResourceVersionArgs;
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 testAppCatalogListingResourceVersion = CoreFunctions.getAppCatalogListingResourceVersion(GetAppCatalogListingResourceVersionArgs.builder()
.listingId(testListing.id())
.resourceVersion(appCatalogListingResourceVersionResourceVersion)
.build());
}
}
variables:
testAppCatalogListingResourceVersion:
fn::invoke:
Function: oci:Core:getAppCatalogListingResourceVersion
Arguments:
listingId: ${testListing.id}
resourceVersion: ${appCatalogListingResourceVersionResourceVersion}
Using getAppCatalogListingResourceVersion
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 getAppCatalogListingResourceVersion(args: GetAppCatalogListingResourceVersionArgs, opts?: InvokeOptions): Promise<GetAppCatalogListingResourceVersionResult>
function getAppCatalogListingResourceVersionOutput(args: GetAppCatalogListingResourceVersionOutputArgs, opts?: InvokeOptions): Output<GetAppCatalogListingResourceVersionResult>
def get_app_catalog_listing_resource_version(listing_id: Optional[str] = None,
resource_version: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAppCatalogListingResourceVersionResult
def get_app_catalog_listing_resource_version_output(listing_id: Optional[pulumi.Input[str]] = None,
resource_version: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAppCatalogListingResourceVersionResult]
func GetAppCatalogListingResourceVersion(ctx *Context, args *GetAppCatalogListingResourceVersionArgs, opts ...InvokeOption) (*GetAppCatalogListingResourceVersionResult, error)
func GetAppCatalogListingResourceVersionOutput(ctx *Context, args *GetAppCatalogListingResourceVersionOutputArgs, opts ...InvokeOption) GetAppCatalogListingResourceVersionResultOutput
> Note: This function is named GetAppCatalogListingResourceVersion
in the Go SDK.
public static class GetAppCatalogListingResourceVersion
{
public static Task<GetAppCatalogListingResourceVersionResult> InvokeAsync(GetAppCatalogListingResourceVersionArgs args, InvokeOptions? opts = null)
public static Output<GetAppCatalogListingResourceVersionResult> Invoke(GetAppCatalogListingResourceVersionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAppCatalogListingResourceVersionResult> getAppCatalogListingResourceVersion(GetAppCatalogListingResourceVersionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Core/getAppCatalogListingResourceVersion:getAppCatalogListingResourceVersion
arguments:
# arguments dictionary
The following arguments are supported:
- Listing
Id string - The OCID of the listing.
- Resource
Version string - Listing Resource Version.
- Listing
Id string - The OCID of the listing.
- Resource
Version string - Listing Resource Version.
- listing
Id String - The OCID of the listing.
- resource
Version String - Listing Resource Version.
- listing
Id string - The OCID of the listing.
- resource
Version string - Listing Resource Version.
- listing_
id str - The OCID of the listing.
- resource_
version str - Listing Resource Version.
- listing
Id String - The OCID of the listing.
- resource
Version String - Listing Resource Version.
getAppCatalogListingResourceVersion Result
The following output properties are available:
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Listing
Id string - The OCID of the listing this resource version belongs to.
- Listing
Resource stringId - OCID of the listing resource.
- Listing
Resource stringVersion - Resource Version.
- Resource
Version string - 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Listing
Id string - The OCID of the listing this resource version belongs to.
- Listing
Resource stringId - OCID of the listing resource.
- Listing
Resource stringVersion - Resource Version.
- Resource
Version string - 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.
- id String
- The provider-assigned unique ID for this managed resource.
- listing
Id String - The OCID of the listing this resource version belongs to.
- listing
Resource StringId - OCID of the listing resource.
- listing
Resource StringVersion - Resource Version.
- resource
Version String - 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.
- id string
- The provider-assigned unique ID for this managed resource.
- listing
Id string - The OCID of the listing this resource version belongs to.
- listing
Resource stringId - OCID of the listing resource.
- listing
Resource stringVersion - Resource Version.
- resource
Version string - 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.
- id str
- The provider-assigned unique ID for this managed resource.
- listing_
id str - The OCID of the listing this resource version belongs to.
- listing_
resource_ strid - OCID of the listing resource.
- listing_
resource_ strversion - Resource Version.
- resource_
version str - 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.
- id String
- The provider-assigned unique ID for this managed resource.
- listing
Id String - The OCID of the listing this resource version belongs to.
- listing
Resource StringId - OCID of the listing resource.
- listing
Resource StringVersion - Resource Version.
- resource
Version String - time
Published String - Date and time the listing resource version 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.