Oracle Cloud Infrastructure

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

getPrivateApplicationPackage

This data source provides details about a specific Private Application Package resource in Oracle Cloud Infrastructure Service Catalog service.

Gets the details of a specific package within a given private application.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testPrivateApplicationPackage = Output.Create(Oci.ServiceCatalog.GetPrivateApplicationPackage.InvokeAsync(new Oci.ServiceCatalog.GetPrivateApplicationPackageArgs
        {
            PrivateApplicationPackageId = oci_service_catalog_private_application_package.Test_private_application_package.Id,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/ServiceCatalog"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ServiceCatalog.GetPrivateApplicationPackage(ctx, &servicecatalog.GetPrivateApplicationPackageArgs{
			PrivateApplicationPackageId: oci_service_catalog_private_application_package.Test_private_application_package.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_private_application_package = oci.ServiceCatalog.get_private_application_package(private_application_package_id=oci_service_catalog_private_application_package["test_private_application_package"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testPrivateApplicationPackage = oci.ServiceCatalog.getPrivateApplicationPackage({
    privateApplicationPackageId: oci_service_catalog_private_application_package.test_private_application_package.id,
});

Coming soon!

Using getPrivateApplicationPackage

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 getPrivateApplicationPackage(args: GetPrivateApplicationPackageArgs, opts?: InvokeOptions): Promise<GetPrivateApplicationPackageResult>
function getPrivateApplicationPackageOutput(args: GetPrivateApplicationPackageOutputArgs, opts?: InvokeOptions): Output<GetPrivateApplicationPackageResult>
def get_private_application_package(private_application_package_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetPrivateApplicationPackageResult
def get_private_application_package_output(private_application_package_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetPrivateApplicationPackageResult]
func GetPrivateApplicationPackage(ctx *Context, args *GetPrivateApplicationPackageArgs, opts ...InvokeOption) (*GetPrivateApplicationPackageResult, error)
func GetPrivateApplicationPackageOutput(ctx *Context, args *GetPrivateApplicationPackageOutputArgs, opts ...InvokeOption) GetPrivateApplicationPackageResultOutput

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

public static class GetPrivateApplicationPackage 
{
    public static Task<GetPrivateApplicationPackageResult> InvokeAsync(GetPrivateApplicationPackageArgs args, InvokeOptions? opts = null)
    public static Output<GetPrivateApplicationPackageResult> Invoke(GetPrivateApplicationPackageInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrivateApplicationPackageResult> getPrivateApplicationPackage(GetPrivateApplicationPackageArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:ServiceCatalog/getPrivateApplicationPackage:getPrivateApplicationPackage
  Arguments:
    # Arguments dictionary

The following arguments are supported:

PrivateApplicationPackageId string

The unique identifier for the private application package.

PrivateApplicationPackageId string

The unique identifier for the private application package.

privateApplicationPackageId String

The unique identifier for the private application package.

privateApplicationPackageId string

The unique identifier for the private application package.

private_application_package_id str

The unique identifier for the private application package.

privateApplicationPackageId String

The unique identifier for the private application package.

getPrivateApplicationPackage Result

The following output properties are available:

ContentUrl string
DisplayName string

The display name of the package.

Id string

The provider-assigned unique ID for this managed resource.

MimeType string
PackageType string

The specified package's type.

PrivateApplicationId string

The OCID of the private application where the package is hosted.

PrivateApplicationPackageId string
TimeCreated string

The date and time the private application package was created, expressed in RFC 3339 timestamp format. Example: 2021-05-27T21:10:29.600Z

Version string

The package version.

ContentUrl string
DisplayName string

The display name of the package.

Id string

The provider-assigned unique ID for this managed resource.

MimeType string
PackageType string

The specified package's type.

PrivateApplicationId string

The OCID of the private application where the package is hosted.

PrivateApplicationPackageId string
TimeCreated string

The date and time the private application package was created, expressed in RFC 3339 timestamp format. Example: 2021-05-27T21:10:29.600Z

Version string

The package version.

contentUrl String
displayName String

The display name of the package.

id String

The provider-assigned unique ID for this managed resource.

mimeType String
packageType String

The specified package's type.

privateApplicationId String

The OCID of the private application where the package is hosted.

privateApplicationPackageId String
timeCreated String

The date and time the private application package was created, expressed in RFC 3339 timestamp format. Example: 2021-05-27T21:10:29.600Z

version String

The package version.

contentUrl string
displayName string

The display name of the package.

id string

The provider-assigned unique ID for this managed resource.

mimeType string
packageType string

The specified package's type.

privateApplicationId string

The OCID of the private application where the package is hosted.

privateApplicationPackageId string
timeCreated string

The date and time the private application package was created, expressed in RFC 3339 timestamp format. Example: 2021-05-27T21:10:29.600Z

version string

The package version.

content_url str
display_name str

The display name of the package.

id str

The provider-assigned unique ID for this managed resource.

mime_type str
package_type str

The specified package's type.

private_application_id str

The OCID of the private application where the package is hosted.

private_application_package_id str
time_created str

The date and time the private application package was created, expressed in RFC 3339 timestamp format. Example: 2021-05-27T21:10:29.600Z

version str

The package version.

contentUrl String
displayName String

The display name of the package.

id String

The provider-assigned unique ID for this managed resource.

mimeType String
packageType String

The specified package's type.

privateApplicationId String

The OCID of the private application where the package is hosted.

privateApplicationPackageId String
timeCreated String

The date and time the private application package was created, expressed in RFC 3339 timestamp format. Example: 2021-05-27T21:10:29.600Z

version String

The package version.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.