Oracle Cloud Infrastructure
getPrivateApplications
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
using Pulumi;
using Oci = Pulumi.Oci;
class MyStack : Stack
{
public MyStack()
{
var testPrivateApplications = Output.Create(Oci.ServiceCatalog.GetPrivateApplications.InvokeAsync(new Oci.ServiceCatalog.GetPrivateApplicationsArgs
{
CompartmentId = @var.Compartment_id,
DisplayName = @var.Private_application_display_name,
PrivateApplicationId = oci_service_catalog_private_application.Test_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.GetPrivateApplications(ctx, &servicecatalog.GetPrivateApplicationsArgs{
CompartmentId: _var.Compartment_id,
DisplayName: pulumi.StringRef(_var.Private_application_display_name),
PrivateApplicationId: pulumi.StringRef(oci_service_catalog_private_application.Test_private_application.Id),
}, nil)
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_oci as oci
test_private_applications = oci.ServiceCatalog.get_private_applications(compartment_id=var["compartment_id"],
display_name=var["private_application_display_name"],
private_application_id=oci_service_catalog_private_application["test_private_application"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPrivateApplications = oci.ServiceCatalog.getPrivateApplications({
compartmentId: _var.compartment_id,
displayName: _var.private_application_display_name,
privateApplicationId: oci_service_catalog_private_application.test_private_application.id,
});
Coming soon!
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:
- Compartment
Id string The unique identifier for the compartment.
- Display
Name string Exact match name filter.
- Filters
List<Get
Private Applications Filter> - Private
Application stringId The unique identifier for the private application.
- Compartment
Id string The unique identifier for the compartment.
- Display
Name string Exact match name filter.
- Filters
[]Get
Private Applications Filter - Private
Application stringId The unique identifier for the private application.
- compartment
Id String The unique identifier for the compartment.
- display
Name String Exact match name filter.
- filters
List<Get
Private Applications Filter> - private
Application StringId The unique identifier for the private application.
- compartment
Id string The unique identifier for the compartment.
- display
Name string Exact match name filter.
- filters
Get
Private Applications Filter[] - private
Application stringId The unique identifier for the private application.
- compartment_
id str The unique identifier for the compartment.
- display_
name str Exact match name filter.
- filters
Get
Private Applications Filter] - private_
application_ strid The unique identifier for the private application.
- compartment
Id String The unique identifier for the compartment.
- display
Name String Exact match name filter.
- filters List<Property Map>
- private
Application StringId The unique identifier for the private application.
getPrivateApplications Result
The following output properties are available:
- Compartment
Id string The OCID of the compartment where the private application resides.
- Id string
The provider-assigned unique ID for this managed resource.
- Private
Application List<GetCollections Private Applications Private Application Collection> The list of private_application_collection.
- Display
Name string The name used to refer to the uploaded data.
- Filters
List<Get
Private Applications Filter> - Private
Application stringId
- Compartment
Id string The OCID of the compartment where the private application resides.
- Id string
The provider-assigned unique ID for this managed resource.
- Private
Application []GetCollections Private Applications Private Application Collection The list of private_application_collection.
- Display
Name string The name used to refer to the uploaded data.
- Filters
[]Get
Private Applications Filter - Private
Application stringId
- compartment
Id String The OCID of the compartment where the private application resides.
- id String
The provider-assigned unique ID for this managed resource.
- private
Application List<GetCollections Private Applications Private Application Collection> The list of private_application_collection.
- display
Name String The name used to refer to the uploaded data.
- filters
List<Get
Private Applications Filter> - private
Application StringId
- compartment
Id string The OCID of the compartment where the private application resides.
- id string
The provider-assigned unique ID for this managed resource.
- private
Application GetCollections Private Applications Private Application Collection[] The list of private_application_collection.
- display
Name string The name used to refer to the uploaded data.
- filters
Get
Private Applications Filter[] - private
Application stringId
- 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_ Getcollections Private Applications Private Application Collection] The list of private_application_collection.
- display_
name str The name used to refer to the uploaded data.
- filters
Get
Private Applications Filter] - private_
application_ strid
- compartment
Id String The OCID of the compartment where the private application resides.
- id String
The provider-assigned unique ID for this managed resource.
- private
Application List<Property Map>Collections The list of private_application_collection.
- display
Name String The name used to refer to the uploaded data.
- filters List<Property Map>
- private
Application StringId
Supporting Types
GetPrivateApplicationsFilter
GetPrivateApplicationsPrivateApplicationCollection
GetPrivateApplicationsPrivateApplicationCollectionItem
- Compartment
Id string The unique identifier for the compartment.
- Dictionary<string, object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string Exact match name filter.
- 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.
- Logo
File stringBase64encoded - Logos
List<Get
Private Applications Private Application Collection Item 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 Applications Private Application Collection Item Package Detail> - Package
Type string Type of packages within this private application.
- 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 unique identifier for the compartment.
- map[string]interface{}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string Exact match name filter.
- 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.
- Logo
File stringBase64encoded - Logos
[]Get
Private Applications Private Application Collection Item Logo The model for uploaded binary data, like logos and images.
- Long
Description string A long description of the private application.
- Package
Details []GetPrivate Applications Private Application Collection Item Package Detail - Package
Type string Type of packages within this private application.
- 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 unique identifier for the compartment.
- Map<String,Object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String Exact match name filter.
- 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.
- logo
File StringBase64encoded - logos
List<Get
Private Applications Private Application Collection Item 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 Applications Private Application Collection Item Package Detail> - package
Type String Type of packages within this private application.
- 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 unique identifier for the compartment.
- {[key: string]: any}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string Exact match name filter.
- {[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.
- logo
File stringBase64encoded - logos
Get
Private Applications Private Application Collection Item Logo[] The model for uploaded binary data, like logos and images.
- long
Description string A long description of the private application.
- package
Details GetPrivate Applications Private Application Collection Item Package Detail[] - package
Type string Type of packages within this private application.
- 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 unique identifier for the compartment.
- 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 Exact match name filter.
- 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_ strbase64encoded - logos
Get
Private Applications Private Application Collection Item Logo] The model for uploaded binary data, like logos and images.
- long_
description str A long description of the private application.
- package_
details GetPrivate Applications Private Application Collection Item Package Detail] - 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
- compartment
Id String The unique identifier for the compartment.
- Map<Any>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String Exact match name filter.
- 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.
- 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.
- 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
GetPrivateApplicationsPrivateApplicationCollectionItemLogo
- Content
Url string The content URL of the uploaded data.
- Display
Name string Exact match name filter.
- Mime
Type string The MIME type of the uploaded data.
- Content
Url string The content URL of the uploaded data.
- Display
Name string Exact match name filter.
- Mime
Type string The MIME type of the uploaded data.
- content
Url String The content URL of the uploaded data.
- display
Name String Exact match name filter.
- mime
Type String The MIME type of the uploaded data.
- content
Url string The content URL of the uploaded data.
- display
Name string Exact match name filter.
- mime
Type 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.
- content
Url String The content URL of the uploaded data.
- display
Name String Exact match name filter.
- mime
Type String The MIME type of the uploaded data.
GetPrivateApplicationsPrivateApplicationCollectionItemPackageDetail
- 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
- https://github.com/pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.