Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.ServiceCatalog.getPrivateApplicationPackage
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPrivateApplicationPackage = oci.ServiceCatalog.getPrivateApplicationPackage({
privateApplicationPackageId: testPrivateApplicationPackageOciServiceCatalogPrivateApplicationPackage.id,
});
import pulumi
import pulumi_oci as oci
test_private_application_package = oci.ServiceCatalog.get_private_application_package(private_application_package_id=test_private_application_package_oci_service_catalog_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: testPrivateApplicationPackageOciServiceCatalogPrivateApplicationPackage.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 testPrivateApplicationPackage = Oci.ServiceCatalog.GetPrivateApplicationPackage.Invoke(new()
{
PrivateApplicationPackageId = testPrivateApplicationPackageOciServiceCatalogPrivateApplicationPackage.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.GetPrivateApplicationPackageArgs;
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 testPrivateApplicationPackage = ServiceCatalogFunctions.getPrivateApplicationPackage(GetPrivateApplicationPackageArgs.builder()
.privateApplicationPackageId(testPrivateApplicationPackageOciServiceCatalogPrivateApplicationPackage.id())
.build());
}
}
variables:
testPrivateApplicationPackage:
fn::invoke:
Function: oci:ServiceCatalog:getPrivateApplicationPackage
Arguments:
privateApplicationPackageId: ${testPrivateApplicationPackageOciServiceCatalogPrivateApplicationPackage.id}
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
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi