Oracle Cloud Infrastructure
getPrivateApplicationPackage
This data source provides details about a specific Private Application Package resource in Oracle Cloud Infrastructure Service Catalog service.
Gets the details of a specific package within a given private application.
Example Usage
using Pulumi;
using Oci = Pulumi.Oci;
class MyStack : Stack
{
public MyStack()
{
var testPrivateApplicationPackage = Output.Create(Oci.ServiceCatalog.GetPrivateApplicationPackage.InvokeAsync(new Oci.ServiceCatalog.GetPrivateApplicationPackageArgs
{
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.GetPrivateApplicationPackage(ctx, &servicecatalog.GetPrivateApplicationPackageArgs{
PrivateApplicationPackageId: 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_package = oci.ServiceCatalog.get_private_application_package(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 testPrivateApplicationPackage = oci.ServiceCatalog.getPrivateApplicationPackage({
privateApplicationPackageId: oci_service_catalog_private_application_package.test_private_application_package.id,
});
Coming soon!
Using getPrivateApplicationPackage
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 getPrivateApplicationPackage(args: GetPrivateApplicationPackageArgs, opts?: InvokeOptions): Promise<GetPrivateApplicationPackageResult>
function getPrivateApplicationPackageOutput(args: GetPrivateApplicationPackageOutputArgs, opts?: InvokeOptions): Output<GetPrivateApplicationPackageResult>
def get_private_application_package(private_application_package_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivateApplicationPackageResult
def get_private_application_package_output(private_application_package_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrivateApplicationPackageResult]
func GetPrivateApplicationPackage(ctx *Context, args *GetPrivateApplicationPackageArgs, opts ...InvokeOption) (*GetPrivateApplicationPackageResult, error)
func GetPrivateApplicationPackageOutput(ctx *Context, args *GetPrivateApplicationPackageOutputArgs, opts ...InvokeOption) GetPrivateApplicationPackageResultOutput
> Note: This function is named GetPrivateApplicationPackage
in the Go SDK.
public static class GetPrivateApplicationPackage
{
public static Task<GetPrivateApplicationPackageResult> InvokeAsync(GetPrivateApplicationPackageArgs args, InvokeOptions? opts = null)
public static Output<GetPrivateApplicationPackageResult> Invoke(GetPrivateApplicationPackageInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrivateApplicationPackageResult> getPrivateApplicationPackage(GetPrivateApplicationPackageArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: oci:ServiceCatalog/getPrivateApplicationPackage:getPrivateApplicationPackage
Arguments:
# Arguments dictionary
The following arguments are supported:
- Private
Application stringPackage Id The unique identifier for the private application package.
- Private
Application stringPackage Id The unique identifier for the private application package.
- private
Application StringPackage Id The unique identifier for the private application package.
- private
Application stringPackage Id The unique identifier for the private application package.
- private_
application_ strpackage_ id The unique identifier for the private application package.
- private
Application StringPackage Id The unique identifier for the private application package.
getPrivateApplicationPackage Result
The following output properties are available:
- Content
Url string - Display
Name string The display name of the package.
- Id string
The provider-assigned unique ID for this managed resource.
- Mime
Type string - Package
Type string The specified package's type.
- Private
Application stringId The OCID of the private application where the package is hosted.
- Private
Application stringPackage Id - Time
Created 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 string - Display
Name string The display name of the package.
- Id string
The provider-assigned unique ID for this managed resource.
- Mime
Type string - Package
Type string The specified package's type.
- Private
Application stringId The OCID of the private application where the package is hosted.
- Private
Application stringPackage Id - Time
Created 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 String - display
Name String The display name of the package.
- id String
The provider-assigned unique ID for this managed resource.
- mime
Type String - package
Type String The specified package's type.
- private
Application StringId The OCID of the private application where the package is hosted.
- private
Application StringPackage Id - time
Created 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 string - display
Name string The display name of the package.
- id string
The provider-assigned unique ID for this managed resource.
- mime
Type string - package
Type string The specified package's type.
- private
Application stringId The OCID of the private application where the package is hosted.
- private
Application stringPackage Id - time
Created 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 The display name of the package.
- id str
The provider-assigned unique ID for this managed resource.
- mime_
type str - package_
type str The specified package's type.
- private_
application_ strid The OCID of the private application where the package is hosted.
- private_
application_ strpackage_ id - 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.
- content
Url String - display
Name String The display name of the package.
- id String
The provider-assigned unique ID for this managed resource.
- mime
Type String - package
Type String The specified package's type.
- private
Application StringId The OCID of the private application where the package is hosted.
- private
Application StringPackage Id - time
Created 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.