1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ServiceCatalog
  5. getPrivateApplications
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.ServiceCatalog.getPrivateApplications

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides the list of Private Applications in Oracle Cloud Infrastructure Service Catalog service.

    Lists all the private applications in a given compartment.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testPrivateApplications = oci.ServiceCatalog.getPrivateApplications({
        compartmentId: compartmentId,
        displayName: privateApplicationDisplayName,
        privateApplicationId: testPrivateApplication.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_private_applications = oci.ServiceCatalog.get_private_applications(compartment_id=compartment_id,
        display_name=private_application_display_name,
        private_application_id=test_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.GetPrivateApplications(ctx, &servicecatalog.GetPrivateApplicationsArgs{
    			CompartmentId:        compartmentId,
    			DisplayName:          pulumi.StringRef(privateApplicationDisplayName),
    			PrivateApplicationId: pulumi.StringRef(testPrivateApplication.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 testPrivateApplications = Oci.ServiceCatalog.GetPrivateApplications.Invoke(new()
        {
            CompartmentId = compartmentId,
            DisplayName = privateApplicationDisplayName,
            PrivateApplicationId = testPrivateApplication.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.GetPrivateApplicationsArgs;
    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 testPrivateApplications = ServiceCatalogFunctions.getPrivateApplications(GetPrivateApplicationsArgs.builder()
                .compartmentId(compartmentId)
                .displayName(privateApplicationDisplayName)
                .privateApplicationId(testPrivateApplication.id())
                .build());
    
        }
    }
    
    variables:
      testPrivateApplications:
        fn::invoke:
          Function: oci:ServiceCatalog:getPrivateApplications
          Arguments:
            compartmentId: ${compartmentId}
            displayName: ${privateApplicationDisplayName}
            privateApplicationId: ${testPrivateApplication.id}
    

    Using getPrivateApplications

    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 getPrivateApplications(args: GetPrivateApplicationsArgs, opts?: InvokeOptions): Promise<GetPrivateApplicationsResult>
    function getPrivateApplicationsOutput(args: GetPrivateApplicationsOutputArgs, opts?: InvokeOptions): Output<GetPrivateApplicationsResult>
    def get_private_applications(compartment_id: Optional[str] = None,
                                 display_name: Optional[str] = None,
                                 filters: Optional[Sequence[_servicecatalog.GetPrivateApplicationsFilter]] = None,
                                 private_application_id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetPrivateApplicationsResult
    def get_private_applications_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                 display_name: Optional[pulumi.Input[str]] = None,
                                 filters: Optional[pulumi.Input[Sequence[pulumi.Input[_servicecatalog.GetPrivateApplicationsFilterArgs]]]] = None,
                                 private_application_id: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetPrivateApplicationsResult]
    func GetPrivateApplications(ctx *Context, args *GetPrivateApplicationsArgs, opts ...InvokeOption) (*GetPrivateApplicationsResult, error)
    func GetPrivateApplicationsOutput(ctx *Context, args *GetPrivateApplicationsOutputArgs, opts ...InvokeOption) GetPrivateApplicationsResultOutput

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

    public static class GetPrivateApplications 
    {
        public static Task<GetPrivateApplicationsResult> InvokeAsync(GetPrivateApplicationsArgs args, InvokeOptions? opts = null)
        public static Output<GetPrivateApplicationsResult> Invoke(GetPrivateApplicationsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPrivateApplicationsResult> getPrivateApplications(GetPrivateApplicationsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:ServiceCatalog/getPrivateApplications:getPrivateApplications
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The unique identifier for the compartment.
    DisplayName string
    Exact match name filter.
    Filters List<GetPrivateApplicationsFilter>
    PrivateApplicationId string
    The unique identifier for the private application.
    CompartmentId string
    The unique identifier for the compartment.
    DisplayName string
    Exact match name filter.
    Filters []GetPrivateApplicationsFilter
    PrivateApplicationId string
    The unique identifier for the private application.
    compartmentId String
    The unique identifier for the compartment.
    displayName String
    Exact match name filter.
    filters List<GetPrivateApplicationsFilter>
    privateApplicationId String
    The unique identifier for the private application.
    compartmentId string
    The unique identifier for the compartment.
    displayName string
    Exact match name filter.
    filters GetPrivateApplicationsFilter[]
    privateApplicationId string
    The unique identifier for the private application.
    compartment_id str
    The unique identifier for the compartment.
    display_name str
    Exact match name filter.
    filters Sequence[servicecatalog.GetPrivateApplicationsFilter]
    private_application_id str
    The unique identifier for the private application.
    compartmentId String
    The unique identifier for the compartment.
    displayName String
    Exact match name filter.
    filters List<Property Map>
    privateApplicationId String
    The unique identifier for the private application.

    getPrivateApplications Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment where the private application resides.
    Id string
    The provider-assigned unique ID for this managed resource.
    PrivateApplicationCollections List<GetPrivateApplicationsPrivateApplicationCollection>
    The list of private_application_collection.
    DisplayName string
    The name used to refer to the uploaded data.
    Filters List<GetPrivateApplicationsFilter>
    PrivateApplicationId string
    CompartmentId string
    The OCID of the compartment where the private application resides.
    Id string
    The provider-assigned unique ID for this managed resource.
    PrivateApplicationCollections []GetPrivateApplicationsPrivateApplicationCollection
    The list of private_application_collection.
    DisplayName string
    The name used to refer to the uploaded data.
    Filters []GetPrivateApplicationsFilter
    PrivateApplicationId string
    compartmentId String
    The OCID of the compartment where the private application resides.
    id String
    The provider-assigned unique ID for this managed resource.
    privateApplicationCollections List<GetPrivateApplicationsPrivateApplicationCollection>
    The list of private_application_collection.
    displayName String
    The name used to refer to the uploaded data.
    filters List<GetPrivateApplicationsFilter>
    privateApplicationId String
    compartmentId string
    The OCID of the compartment where the private application resides.
    id string
    The provider-assigned unique ID for this managed resource.
    privateApplicationCollections GetPrivateApplicationsPrivateApplicationCollection[]
    The list of private_application_collection.
    displayName string
    The name used to refer to the uploaded data.
    filters GetPrivateApplicationsFilter[]
    privateApplicationId string
    compartment_id str
    The OCID of the compartment where the private application resides.
    id str
    The provider-assigned unique ID for this managed resource.
    private_application_collections Sequence[servicecatalog.GetPrivateApplicationsPrivateApplicationCollection]
    The list of private_application_collection.
    display_name str
    The name used to refer to the uploaded data.
    filters Sequence[servicecatalog.GetPrivateApplicationsFilter]
    private_application_id str
    compartmentId String
    The OCID of the compartment where the private application resides.
    id String
    The provider-assigned unique ID for this managed resource.
    privateApplicationCollections List<Property Map>
    The list of private_application_collection.
    displayName String
    The name used to refer to the uploaded data.
    filters List<Property Map>
    privateApplicationId String

    Supporting Types

    GetPrivateApplicationsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetPrivateApplicationsPrivateApplicationCollection

    GetPrivateApplicationsPrivateApplicationCollectionItem

    CompartmentId string
    The unique identifier for the compartment.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    Exact match name filter.
    FreeformTags 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.
    LogoFileBase64encoded string
    Logos List<GetPrivateApplicationsPrivateApplicationCollectionItemLogo>
    The model for uploaded binary data, like logos and images.
    LongDescription string
    A long description of the private application.
    PackageDetails List<GetPrivateApplicationsPrivateApplicationCollectionItemPackageDetail>
    PackageType string
    Type of packages within this private application.
    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 unique identifier for the compartment.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    Exact match name filter.
    FreeformTags 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.
    LogoFileBase64encoded string
    Logos []GetPrivateApplicationsPrivateApplicationCollectionItemLogo
    The model for uploaded binary data, like logos and images.
    LongDescription string
    A long description of the private application.
    PackageDetails []GetPrivateApplicationsPrivateApplicationCollectionItemPackageDetail
    PackageType string
    Type of packages within this private application.
    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 unique identifier for the compartment.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    Exact match name filter.
    freeformTags 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.
    logoFileBase64encoded String
    logos List<GetPrivateApplicationsPrivateApplicationCollectionItemLogo>
    The model for uploaded binary data, like logos and images.
    longDescription String
    A long description of the private application.
    packageDetails List<GetPrivateApplicationsPrivateApplicationCollectionItemPackageDetail>
    packageType String
    Type of packages within this private application.
    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 unique identifier for the compartment.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    Exact match name filter.
    freeformTags {[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.
    logoFileBase64encoded string
    logos GetPrivateApplicationsPrivateApplicationCollectionItemLogo[]
    The model for uploaded binary data, like logos and images.
    longDescription string
    A long description of the private application.
    packageDetails GetPrivateApplicationsPrivateApplicationCollectionItemPackageDetail[]
    packageType string
    Type of packages within this private application.
    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 unique identifier for the compartment.
    defined_tags 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
    Exact match name filter.
    freeform_tags 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_base64encoded str
    logos Sequence[servicecatalog.GetPrivateApplicationsPrivateApplicationCollectionItemLogo]
    The model for uploaded binary data, like logos and images.
    long_description str
    A long description of the private application.
    package_details Sequence[servicecatalog.GetPrivateApplicationsPrivateApplicationCollectionItemPackageDetail]
    package_type str
    Type of packages within this private application.
    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 unique identifier for the compartment.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    Exact match name filter.
    freeformTags 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.
    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.
    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
    ContentUrl string
    The content URL of the uploaded data.
    DisplayName string
    Exact match name filter.
    MimeType string
    The MIME type of the uploaded data.
    ContentUrl string
    The content URL of the uploaded data.
    DisplayName string
    Exact match name filter.
    MimeType string
    The MIME type of the uploaded data.
    contentUrl String
    The content URL of the uploaded data.
    displayName String
    Exact match name filter.
    mimeType String
    The MIME type of the uploaded data.
    contentUrl string
    The content URL of the uploaded data.
    displayName string
    Exact match name filter.
    mimeType string
    The MIME type of the uploaded data.
    content_url str
    The content URL of the uploaded data.
    display_name str
    Exact match name filter.
    mime_type str
    The MIME type of the uploaded data.
    contentUrl String
    The content URL of the uploaded data.
    displayName String
    Exact match name filter.
    mimeType String
    The MIME type of the uploaded data.

    GetPrivateApplicationsPrivateApplicationCollectionItemPackageDetail

    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 v2.17.0 published on Friday, Nov 15, 2024 by Pulumi