Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.ServiceCatalog.getPrivateApplicationPackage
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPrivateApplicationPackage = oci.ServiceCatalog.getPrivateApplicationPackage({
    privateApplicationPackageId: testPrivateApplicationPackageOciServiceCatalogPrivateApplicationPackage.id,
});
import pulumi
import pulumi_oci as oci
test_private_application_package = oci.ServiceCatalog.get_private_application_package(private_application_package_id=test_private_application_package_oci_service_catalog_private_application_package["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/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: testPrivateApplicationPackageOciServiceCatalogPrivateApplicationPackage.Id,
		}, 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 testPrivateApplicationPackage = Oci.ServiceCatalog.GetPrivateApplicationPackage.Invoke(new()
    {
        PrivateApplicationPackageId = testPrivateApplicationPackageOciServiceCatalogPrivateApplicationPackage.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ServiceCatalog.ServiceCatalogFunctions;
import com.pulumi.oci.ServiceCatalog.inputs.GetPrivateApplicationPackageArgs;
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 testPrivateApplicationPackage = ServiceCatalogFunctions.getPrivateApplicationPackage(GetPrivateApplicationPackageArgs.builder()
            .privateApplicationPackageId(testPrivateApplicationPackageOciServiceCatalogPrivateApplicationPackage.id())
            .build());
    }
}
variables:
  testPrivateApplicationPackage:
    fn::invoke:
      function: oci:ServiceCatalog:getPrivateApplicationPackage
      arguments:
        privateApplicationPackageId: ${testPrivateApplicationPackageOciServiceCatalogPrivateApplicationPackage.id}
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)
public static Output<GetPrivateApplicationPackageResult> getPrivateApplicationPackage(GetPrivateApplicationPackageArgs args, InvokeOptions options)
fn::invoke:
  function: oci:ServiceCatalog/getPrivateApplicationPackage:getPrivateApplicationPackage
  arguments:
    # arguments dictionaryThe following arguments are supported:
- PrivateApplication stringPackage Id 
- The unique identifier for the private application package.
- PrivateApplication stringPackage Id 
- The unique identifier for the private application package.
- privateApplication StringPackage Id 
- The unique identifier for the private application package.
- privateApplication stringPackage Id 
- The unique identifier for the private application package.
- private_application_ strpackage_ id 
- The unique identifier for the private application package.
- privateApplication StringPackage Id 
- 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.
- PrivateApplication stringId 
- The OCID of the private application where the package is hosted.
- PrivateApplication stringPackage Id 
- 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.
- PrivateApplication stringId 
- The OCID of the private application where the package is hosted.
- PrivateApplication stringPackage Id 
- 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.
- privateApplication StringId 
- The OCID of the private application where the package is hosted.
- privateApplication StringPackage Id 
- 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.
- privateApplication stringId 
- The OCID of the private application where the package is hosted.
- privateApplication stringPackage Id 
- 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_ strid 
- The OCID of the private application where the package is hosted.
- private_application_ strpackage_ id 
- 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.
- privateApplication StringId 
- The OCID of the private application where the package is hosted.
- privateApplication StringPackage Id 
- 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
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.