Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getPrivateApplicationPackages

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

Lists the packages in the specified private application.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testPrivateApplicationPackages = Output.Create(Oci.ServiceCatalog.GetPrivateApplicationPackages.InvokeAsync(new Oci.ServiceCatalog.GetPrivateApplicationPackagesArgs
        {
            PrivateApplicationId = oci_service_catalog_private_application.Test_private_application.Id,
            DisplayName = @var.Private_application_package_display_name,
            PackageTypes = @var.Private_application_package_package_type,
            PrivateApplicationPackageId = oci_service_catalog_private_application_package.Test_private_application_package.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.GetPrivateApplicationPackages(ctx, &servicecatalog.GetPrivateApplicationPackagesArgs{
			PrivateApplicationId:        oci_service_catalog_private_application.Test_private_application.Id,
			DisplayName:                 pulumi.StringRef(_var.Private_application_package_display_name),
			PackageTypes:                _var.Private_application_package_package_type,
			PrivateApplicationPackageId: pulumi.StringRef(oci_service_catalog_private_application_package.Test_private_application_package.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_private_application_packages = oci.ServiceCatalog.get_private_application_packages(private_application_id=oci_service_catalog_private_application["test_private_application"]["id"],
    display_name=var["private_application_package_display_name"],
    package_types=var["private_application_package_package_type"],
    private_application_package_id=oci_service_catalog_private_application_package["test_private_application_package"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testPrivateApplicationPackages = oci.ServiceCatalog.getPrivateApplicationPackages({
    privateApplicationId: oci_service_catalog_private_application.test_private_application.id,
    displayName: _var.private_application_package_display_name,
    packageTypes: _var.private_application_package_package_type,
    privateApplicationPackageId: oci_service_catalog_private_application_package.test_private_application_package.id,
});

Coming soon!

Using getPrivateApplicationPackages

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 getPrivateApplicationPackages(args: GetPrivateApplicationPackagesArgs, opts?: InvokeOptions): Promise<GetPrivateApplicationPackagesResult>
function getPrivateApplicationPackagesOutput(args: GetPrivateApplicationPackagesOutputArgs, opts?: InvokeOptions): Output<GetPrivateApplicationPackagesResult>
def get_private_application_packages(display_name: Optional[str] = None,
                                     filters: Optional[Sequence[_servicecatalog.GetPrivateApplicationPackagesFilter]] = None,
                                     package_types: Optional[Sequence[str]] = None,
                                     private_application_id: Optional[str] = None,
                                     private_application_package_id: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetPrivateApplicationPackagesResult
def get_private_application_packages_output(display_name: Optional[pulumi.Input[str]] = None,
                                     filters: Optional[pulumi.Input[Sequence[pulumi.Input[_servicecatalog.GetPrivateApplicationPackagesFilterArgs]]]] = None,
                                     package_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                     private_application_id: Optional[pulumi.Input[str]] = None,
                                     private_application_package_id: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetPrivateApplicationPackagesResult]
func GetPrivateApplicationPackages(ctx *Context, args *GetPrivateApplicationPackagesArgs, opts ...InvokeOption) (*GetPrivateApplicationPackagesResult, error)
func GetPrivateApplicationPackagesOutput(ctx *Context, args *GetPrivateApplicationPackagesOutputArgs, opts ...InvokeOption) GetPrivateApplicationPackagesResultOutput

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

public static class GetPrivateApplicationPackages 
{
    public static Task<GetPrivateApplicationPackagesResult> InvokeAsync(GetPrivateApplicationPackagesArgs args, InvokeOptions? opts = null)
    public static Output<GetPrivateApplicationPackagesResult> Invoke(GetPrivateApplicationPackagesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrivateApplicationPackagesResult> getPrivateApplicationPackages(GetPrivateApplicationPackagesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:ServiceCatalog/getPrivateApplicationPackages:getPrivateApplicationPackages
  Arguments:
    # Arguments dictionary

The following arguments are supported:

PrivateApplicationId string

The unique identifier for the private application.

DisplayName string

Exact match name filter.

Filters List<GetPrivateApplicationPackagesFilter>
PackageTypes List<string>

Name of the package type. If multiple package types are provided, then any resource with one or more matching package types will be returned.

PrivateApplicationPackageId string

The unique identifier for the private application package.

PrivateApplicationId string

The unique identifier for the private application.

DisplayName string

Exact match name filter.

Filters []GetPrivateApplicationPackagesFilter
PackageTypes []string

Name of the package type. If multiple package types are provided, then any resource with one or more matching package types will be returned.

PrivateApplicationPackageId string

The unique identifier for the private application package.

privateApplicationId String

The unique identifier for the private application.

displayName String

Exact match name filter.

filters List<GetPrivateApplicationPackagesFilter>
packageTypes List<String>

Name of the package type. If multiple package types are provided, then any resource with one or more matching package types will be returned.

privateApplicationPackageId String

The unique identifier for the private application package.

privateApplicationId string

The unique identifier for the private application.

displayName string

Exact match name filter.

filters GetPrivateApplicationPackagesFilter[]
packageTypes string[]

Name of the package type. If multiple package types are provided, then any resource with one or more matching package types will be returned.

privateApplicationPackageId string

The unique identifier for the private application package.

private_application_id str

The unique identifier for the private application.

display_name str

Exact match name filter.

filters GetPrivateApplicationPackagesFilter]
package_types Sequence[str]

Name of the package type. If multiple package types are provided, then any resource with one or more matching package types will be returned.

private_application_package_id str

The unique identifier for the private application package.

privateApplicationId String

The unique identifier for the private application.

displayName String

Exact match name filter.

filters List<Property Map>
packageTypes List<String>

Name of the package type. If multiple package types are provided, then any resource with one or more matching package types will be returned.

privateApplicationPackageId String

The unique identifier for the private application package.

getPrivateApplicationPackages Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

PrivateApplicationId string

The OCID of the private application where the package is hosted.

PrivateApplicationPackageCollections List<GetPrivateApplicationPackagesPrivateApplicationPackageCollection>

The list of private_application_package_collection.

DisplayName string

The display name of the package.

Filters List<GetPrivateApplicationPackagesFilter>
PackageTypes List<string>

The specified package's type.

PrivateApplicationPackageId string
Id string

The provider-assigned unique ID for this managed resource.

PrivateApplicationId string

The OCID of the private application where the package is hosted.

PrivateApplicationPackageCollections []GetPrivateApplicationPackagesPrivateApplicationPackageCollection

The list of private_application_package_collection.

DisplayName string

The display name of the package.

Filters []GetPrivateApplicationPackagesFilter
PackageTypes []string

The specified package's type.

PrivateApplicationPackageId string
id String

The provider-assigned unique ID for this managed resource.

privateApplicationId String

The OCID of the private application where the package is hosted.

privateApplicationPackageCollections List<GetPrivateApplicationPackagesPrivateApplicationPackageCollection>

The list of private_application_package_collection.

displayName String

The display name of the package.

filters List<GetPrivateApplicationPackagesFilter>
packageTypes List<String>

The specified package's type.

privateApplicationPackageId String
id string

The provider-assigned unique ID for this managed resource.

privateApplicationId string

The OCID of the private application where the package is hosted.

privateApplicationPackageCollections GetPrivateApplicationPackagesPrivateApplicationPackageCollection[]

The list of private_application_package_collection.

displayName string

The display name of the package.

filters GetPrivateApplicationPackagesFilter[]
packageTypes string[]

The specified package's type.

privateApplicationPackageId string
id str

The provider-assigned unique ID for this managed resource.

private_application_id str

The OCID of the private application where the package is hosted.

private_application_package_collections GetPrivateApplicationPackagesPrivateApplicationPackageCollection]

The list of private_application_package_collection.

display_name str

The display name of the package.

filters GetPrivateApplicationPackagesFilter]
package_types Sequence[str]

The specified package's type.

private_application_package_id str
id String

The provider-assigned unique ID for this managed resource.

privateApplicationId String

The OCID of the private application where the package is hosted.

privateApplicationPackageCollections List<Property Map>

The list of private_application_package_collection.

displayName String

The display name of the package.

filters List<Property Map>
packageTypes List<String>

The specified package's type.

privateApplicationPackageId String

Supporting Types

GetPrivateApplicationPackagesFilter

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

GetPrivateApplicationPackagesPrivateApplicationPackageCollection

GetPrivateApplicationPackagesPrivateApplicationPackageCollectionItem

ContentUrl string
DisplayName string

Exact match name filter.

Id string

The OCID of the private application package.

MimeType string
PackageType string

Name of the package type. If multiple package types are provided, then any resource with one or more matching package types will be returned.

PrivateApplicationId string

The unique identifier for the private application.

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

Exact match name filter.

Id string

The OCID of the private application package.

MimeType string
PackageType string

Name of the package type. If multiple package types are provided, then any resource with one or more matching package types will be returned.

PrivateApplicationId string

The unique identifier for the private application.

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

Exact match name filter.

id String

The OCID of the private application package.

mimeType String
packageType String

Name of the package type. If multiple package types are provided, then any resource with one or more matching package types will be returned.

privateApplicationId String

The unique identifier for the private application.

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

Exact match name filter.

id string

The OCID of the private application package.

mimeType string
packageType string

Name of the package type. If multiple package types are provided, then any resource with one or more matching package types will be returned.

privateApplicationId string

The unique identifier for the private application.

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

Exact match name filter.

id str

The OCID of the private application package.

mime_type str
package_type str

Name of the package type. If multiple package types are provided, then any resource with one or more matching package types will be returned.

private_application_id str

The unique identifier for the private application.

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

Exact match name filter.

id String

The OCID of the private application package.

mimeType String
packageType String

Name of the package type. If multiple package types are provided, then any resource with one or more matching package types will be returned.

privateApplicationId String

The unique identifier for the private application.

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
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.