1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ServiceCatalog
  5. getPrivateApplication
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.ServiceCatalog.getPrivateApplication

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    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/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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:ServiceCatalog/getPrivateApplication:getPrivateApplication
      arguments:
        # arguments dictionary

    The following arguments are supported:

    PrivateApplicationId string
    The unique identifier for the private application.
    PrivateApplicationId string
    The unique identifier for the private application.
    privateApplicationId String
    The unique identifier for the private application.
    privateApplicationId string
    The unique identifier for the private application.
    private_application_id str
    The unique identifier for the private application.
    privateApplicationId String
    The unique identifier for the private application.

    getPrivateApplication Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment where the private application resides.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    The name used to refer to the uploaded data.
    FreeformTags Dictionary<string, object>
    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.
    LogoFileBase64encoded string
    Logos List<GetPrivateApplicationLogo>
    The model for uploaded binary data, like logos and images.
    LongDescription string
    A long description of the private application.
    PackageDetails List<GetPrivateApplicationPackageDetail>
    PackageType string
    Type of packages within this private application.
    PrivateApplicationId string
    ShortDescription string
    A short description of the private application.
    State string
    The lifecycle state of the private application.
    TimeCreated string
    The date and time the private application was created, expressed in RFC 3339 timestamp format. Example: 2021-05-26T21:10:29.600Z
    TimeUpdated string
    The date and time the private application was last modified, expressed in RFC 3339 timestamp format. Example: 2021-12-10T05:10:29.721Z
    CompartmentId string
    The OCID of the compartment where the private application resides.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    The name used to refer to the uploaded data.
    FreeformTags map[string]interface{}
    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.
    LogoFileBase64encoded string
    Logos []GetPrivateApplicationLogo
    The model for uploaded binary data, like logos and images.
    LongDescription string
    A long description of the private application.
    PackageDetails []GetPrivateApplicationPackageDetail
    PackageType string
    Type of packages within this private application.
    PrivateApplicationId string
    ShortDescription string
    A short description of the private application.
    State string
    The lifecycle state of the private application.
    TimeCreated string
    The date and time the private application was created, expressed in RFC 3339 timestamp format. Example: 2021-05-26T21:10:29.600Z
    TimeUpdated string
    The date and time the private application was last modified, expressed in RFC 3339 timestamp format. Example: 2021-12-10T05:10:29.721Z
    compartmentId String
    The OCID of the compartment where the private application resides.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    The name used to refer to the uploaded data.
    freeformTags Map<String,Object>
    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.
    logoFileBase64encoded String
    logos List<GetPrivateApplicationLogo>
    The model for uploaded binary data, like logos and images.
    longDescription String
    A long description of the private application.
    packageDetails List<GetPrivateApplicationPackageDetail>
    packageType String
    Type of packages within this private application.
    privateApplicationId String
    shortDescription String
    A short description of the private application.
    state String
    The lifecycle state of the private application.
    timeCreated String
    The date and time the private application was created, expressed in RFC 3339 timestamp format. Example: 2021-05-26T21:10:29.600Z
    timeUpdated String
    The date and time the private application was last modified, expressed in RFC 3339 timestamp format. Example: 2021-12-10T05:10:29.721Z
    compartmentId string
    The OCID of the compartment where the private application resides.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    The name used to refer to the uploaded data.
    freeformTags {[key: string]: any}
    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.
    logoFileBase64encoded string
    logos GetPrivateApplicationLogo[]
    The model for uploaded binary data, like logos and images.
    longDescription string
    A long description of the private application.
    packageDetails GetPrivateApplicationPackageDetail[]
    packageType string
    Type of packages within this private application.
    privateApplicationId string
    shortDescription string
    A short description of the private application.
    state string
    The lifecycle state of the private application.
    timeCreated string
    The date and time the private application was created, expressed in RFC 3339 timestamp format. Example: 2021-05-26T21:10:29.600Z
    timeUpdated 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.
    defined_tags Mapping[str, Any]
    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.
    freeform_tags Mapping[str, Any]
    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_base64encoded str
    logos Sequence[servicecatalog.GetPrivateApplicationLogo]
    The model for uploaded binary data, like logos and images.
    long_description str
    A long description of the private application.
    package_details Sequence[servicecatalog.GetPrivateApplicationPackageDetail]
    package_type str
    Type of packages within this private application.
    private_application_id str
    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
    compartmentId String
    The OCID of the compartment where the private application resides.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    The name used to refer to the uploaded data.
    freeformTags Map<Any>
    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.
    logoFileBase64encoded String
    logos List<Property Map>
    The model for uploaded binary data, like logos and images.
    longDescription String
    A long description of the private application.
    packageDetails List<Property Map>
    packageType String
    Type of packages within this private application.
    privateApplicationId String
    shortDescription String
    A short description of the private application.
    state String
    The lifecycle state of the private application.
    timeCreated String
    The date and time the private application was created, expressed in RFC 3339 timestamp format. Example: 2021-05-26T21:10:29.600Z
    timeUpdated 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

    ContentUrl string
    The content URL of the uploaded data.
    DisplayName string
    The name used to refer to the uploaded data.
    MimeType string
    The MIME type of the uploaded data.
    ContentUrl string
    The content URL of the uploaded data.
    DisplayName string
    The name used to refer to the uploaded data.
    MimeType string
    The MIME type of the uploaded data.
    contentUrl String
    The content URL of the uploaded data.
    displayName String
    The name used to refer to the uploaded data.
    mimeType String
    The MIME type of the uploaded data.
    contentUrl string
    The content URL of the uploaded data.
    displayName string
    The name used to refer to the uploaded data.
    mimeType 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.
    contentUrl String
    The content URL of the uploaded data.
    displayName String
    The name used to refer to the uploaded data.
    mimeType String
    The MIME type of the uploaded data.

    GetPrivateApplicationPackageDetail

    PackageType string
    Type of packages within this private application.
    Version string
    ZipFileBase64encoded string
    PackageType string
    Type of packages within this private application.
    Version string
    ZipFileBase64encoded string
    packageType String
    Type of packages within this private application.
    version String
    zipFileBase64encoded String
    packageType string
    Type of packages within this private application.
    version string
    zipFileBase64encoded string
    package_type str
    Type of packages within this private application.
    version str
    zip_file_base64encoded str
    packageType String
    Type of packages within this private application.
    version String
    zipFileBase64encoded String

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi