Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.ServiceCatalog.getPrivateApplication
Explore with Pulumi AI
This data source provides details about a specific Private Application resource in Oracle Cloud Infrastructure Service Catalog service.
Gets the details of the specified private application.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPrivateApplication = oci.ServiceCatalog.getPrivateApplication({
    privateApplicationId: testPrivateApplicationOciServiceCatalogPrivateApplication.id,
});
import pulumi
import pulumi_oci as oci
test_private_application = oci.ServiceCatalog.get_private_application(private_application_id=test_private_application_oci_service_catalog_private_application["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.GetPrivateApplication(ctx, &servicecatalog.GetPrivateApplicationArgs{
			PrivateApplicationId: testPrivateApplicationOciServiceCatalogPrivateApplication.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 testPrivateApplication = Oci.ServiceCatalog.GetPrivateApplication.Invoke(new()
    {
        PrivateApplicationId = testPrivateApplicationOciServiceCatalogPrivateApplication.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.GetPrivateApplicationArgs;
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 testPrivateApplication = ServiceCatalogFunctions.getPrivateApplication(GetPrivateApplicationArgs.builder()
            .privateApplicationId(testPrivateApplicationOciServiceCatalogPrivateApplication.id())
            .build());
    }
}
variables:
  testPrivateApplication:
    fn::invoke:
      function: oci:ServiceCatalog:getPrivateApplication
      arguments:
        privateApplicationId: ${testPrivateApplicationOciServiceCatalogPrivateApplication.id}
Using getPrivateApplication
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 getPrivateApplication(args: GetPrivateApplicationArgs, opts?: InvokeOptions): Promise<GetPrivateApplicationResult>
function getPrivateApplicationOutput(args: GetPrivateApplicationOutputArgs, opts?: InvokeOptions): Output<GetPrivateApplicationResult>def get_private_application(private_application_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetPrivateApplicationResult
def get_private_application_output(private_application_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetPrivateApplicationResult]func GetPrivateApplication(ctx *Context, args *GetPrivateApplicationArgs, opts ...InvokeOption) (*GetPrivateApplicationResult, error)
func GetPrivateApplicationOutput(ctx *Context, args *GetPrivateApplicationOutputArgs, opts ...InvokeOption) GetPrivateApplicationResultOutput> Note: This function is named GetPrivateApplication in the Go SDK.
public static class GetPrivateApplication 
{
    public static Task<GetPrivateApplicationResult> InvokeAsync(GetPrivateApplicationArgs args, InvokeOptions? opts = null)
    public static Output<GetPrivateApplicationResult> Invoke(GetPrivateApplicationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPrivateApplicationResult> getPrivateApplication(GetPrivateApplicationArgs args, InvokeOptions options)
public static Output<GetPrivateApplicationResult> getPrivateApplication(GetPrivateApplicationArgs args, InvokeOptions options)
fn::invoke:
  function: oci:ServiceCatalog/getPrivateApplication:getPrivateApplication
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Private
Application stringId  - The unique identifier for the private application.
 
- Private
Application stringId  - The unique identifier for the private application.
 
- private
Application StringId  - The unique identifier for the private application.
 
- private
Application stringId  - The unique identifier for the private application.
 
- private_
application_ strid  - The unique identifier for the private application.
 
- private
Application StringId  - The unique identifier for the private application.
 
getPrivateApplication Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment where the private application resides.
 - Dictionary<string, string>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - Display
Name string - The name used to refer to the uploaded data.
 - Dictionary<string, string>
 - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - Id string
 - The unique identifier for the private application in Marketplace.
 - Logo
File stringBase64encoded  - Logos
List<Get
Private Application Logo>  - The model for uploaded binary data, like logos and images.
 - Long
Description string - A long description of the private application.
 - Package
Details List<GetPrivate Application Package Detail>  - Package
Type string - Type of packages within this private application.
 - Private
Application stringId  - Short
Description string - A short description of the private application.
 - State string
 - The lifecycle state of the private application.
 - Time
Created string - The date and time the private application was created, expressed in RFC 3339 timestamp format. Example: 
2021-05-26T21:10:29.600Z - Time
Updated string - The date and time the private application was last modified, expressed in RFC 3339 timestamp format. Example: 
2021-12-10T05:10:29.721Z 
- Compartment
Id string - The OCID of the compartment where the private application resides.
 - map[string]string
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - Display
Name string - The name used to refer to the uploaded data.
 - map[string]string
 - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - Id string
 - The unique identifier for the private application in Marketplace.
 - Logo
File stringBase64encoded  - Logos
[]Get
Private Application Logo  - The model for uploaded binary data, like logos and images.
 - Long
Description string - A long description of the private application.
 - Package
Details []GetPrivate Application Package Detail  - Package
Type string - Type of packages within this private application.
 - Private
Application stringId  - Short
Description string - A short description of the private application.
 - State string
 - The lifecycle state of the private application.
 - Time
Created string - The date and time the private application was created, expressed in RFC 3339 timestamp format. Example: 
2021-05-26T21:10:29.600Z - Time
Updated string - The date and time the private application was last modified, expressed in RFC 3339 timestamp format. Example: 
2021-12-10T05:10:29.721Z 
- compartment
Id String - The OCID of the compartment where the private application resides.
 - Map<String,String>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - display
Name String - The name used to refer to the uploaded data.
 - Map<String,String>
 - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - id String
 - The unique identifier for the private application in Marketplace.
 - logo
File StringBase64encoded  - logos
List<Get
Private Application Logo>  - The model for uploaded binary data, like logos and images.
 - long
Description String - A long description of the private application.
 - package
Details List<GetPrivate Application Package Detail>  - package
Type String - Type of packages within this private application.
 - private
Application StringId  - short
Description String - A short description of the private application.
 - state String
 - The lifecycle state of the private application.
 - time
Created String - The date and time the private application was created, expressed in RFC 3339 timestamp format. Example: 
2021-05-26T21:10:29.600Z - time
Updated String - The date and time the private application was last modified, expressed in RFC 3339 timestamp format. Example: 
2021-12-10T05:10:29.721Z 
- compartment
Id string - The OCID of the compartment where the private application resides.
 - {[key: string]: string}
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - display
Name string - The name used to refer to the uploaded data.
 - {[key: string]: string}
 - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - id string
 - The unique identifier for the private application in Marketplace.
 - logo
File stringBase64encoded  - logos
Get
Private Application Logo[]  - The model for uploaded binary data, like logos and images.
 - long
Description string - A long description of the private application.
 - package
Details GetPrivate Application Package Detail[]  - package
Type string - Type of packages within this private application.
 - private
Application stringId  - short
Description string - A short description of the private application.
 - state string
 - The lifecycle state of the private application.
 - time
Created string - The date and time the private application was created, expressed in RFC 3339 timestamp format. Example: 
2021-05-26T21:10:29.600Z - time
Updated string - The date and time the private application was last modified, expressed in RFC 3339 timestamp format. Example: 
2021-12-10T05:10:29.721Z 
- compartment_
id str - The OCID of the compartment where the private application resides.
 - Mapping[str, str]
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - display_
name str - The name used to refer to the uploaded data.
 - Mapping[str, str]
 - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - id str
 - The unique identifier for the private application in Marketplace.
 - logo_
file_ strbase64encoded  - logos
Sequence[servicecatalog.
Get Private Application Logo]  - The model for uploaded binary data, like logos and images.
 - long_
description str - A long description of the private application.
 - package_
details Sequence[servicecatalog.Get Private Application Package Detail]  - package_
type str - Type of packages within this private application.
 - private_
application_ strid  - short_
description str - A short description of the private application.
 - state str
 - The lifecycle state of the private application.
 - time_
created str - The date and time the private application was created, expressed in RFC 3339 timestamp format. Example: 
2021-05-26T21:10:29.600Z - time_
updated str - The date and time the private application was last modified, expressed in RFC 3339 timestamp format. Example: 
2021-12-10T05:10:29.721Z 
- compartment
Id String - The OCID of the compartment where the private application resides.
 - Map<String>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - display
Name String - The name used to refer to the uploaded data.
 - Map<String>
 - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - id String
 - The unique identifier for the private application in Marketplace.
 - logo
File StringBase64encoded  - logos List<Property Map>
 - The model for uploaded binary data, like logos and images.
 - long
Description String - A long description of the private application.
 - package
Details List<Property Map> - package
Type String - Type of packages within this private application.
 - private
Application StringId  - short
Description String - A short description of the private application.
 - state String
 - The lifecycle state of the private application.
 - time
Created String - The date and time the private application was created, expressed in RFC 3339 timestamp format. Example: 
2021-05-26T21:10:29.600Z - time
Updated String - The date and time the private application was last modified, expressed in RFC 3339 timestamp format. Example: 
2021-12-10T05:10:29.721Z 
Supporting Types
GetPrivateApplicationLogo   
- Content
Url string - The content URL of the uploaded data.
 - Display
Name string - The name used to refer to the uploaded data.
 - Mime
Type string - The MIME type of the uploaded data.
 
- Content
Url string - The content URL of the uploaded data.
 - Display
Name string - The name used to refer to the uploaded data.
 - Mime
Type string - The MIME type of the uploaded data.
 
- content
Url String - The content URL of the uploaded data.
 - display
Name String - The name used to refer to the uploaded data.
 - mime
Type String - The MIME type of the uploaded data.
 
- content
Url string - The content URL of the uploaded data.
 - display
Name string - The name used to refer to the uploaded data.
 - mime
Type string - The MIME type of the uploaded data.
 
- content_
url str - The content URL of the uploaded data.
 - display_
name str - The name used to refer to the uploaded data.
 - mime_
type str - The MIME type of the uploaded data.
 
- content
Url String - The content URL of the uploaded data.
 - display
Name String - The name used to refer to the uploaded data.
 - mime
Type String - The MIME type of the uploaded data.
 
GetPrivateApplicationPackageDetail    
- Package
Type string - Type of packages within this private application.
 - Version string
 - Zip
File stringBase64encoded  
- Package
Type string - Type of packages within this private application.
 - Version string
 - Zip
File stringBase64encoded  
- package
Type String - Type of packages within this private application.
 - version String
 - zip
File StringBase64encoded  
- package
Type string - Type of packages within this private application.
 - version string
 - zip
File stringBase64encoded  
- package_
type str - Type of packages within this private application.
 - version str
 - zip_
file_ strbase64encoded  
- package
Type String - Type of packages within this private application.
 - version String
 - zip
File StringBase64encoded  
Package Details
- Repository
 - oci pulumi/pulumi-oci
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ociTerraform Provider.