Oracle Cloud Infrastructure
getPublicationPackage
This data source provides details about a specific Publication Package resource in Oracle Cloud Infrastructure Marketplace service.
Gets the details of a specific package version within a given publication.
Example Usage
using Pulumi;
using Oci = Pulumi.Oci;
class MyStack : Stack
{
public MyStack()
{
var testPublicationPackage = Output.Create(Oci.Marketplace.GetPublicationPackage.InvokeAsync(new Oci.Marketplace.GetPublicationPackageArgs
{
PackageVersion = @var.Publication_package_package_version,
PublicationId = oci_marketplace_publication.Test_publication.Id,
}));
}
}
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Marketplace"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Marketplace.GetPublicationPackage(ctx, &marketplace.GetPublicationPackageArgs{
PackageVersion: _var.Publication_package_package_version,
PublicationId: oci_marketplace_publication.Test_publication.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_oci as oci
test_publication_package = oci.Marketplace.get_publication_package(package_version=var["publication_package_package_version"],
publication_id=oci_marketplace_publication["test_publication"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPublicationPackage = oci.Marketplace.getPublicationPackage({
packageVersion: _var.publication_package_package_version,
publicationId: oci_marketplace_publication.test_publication.id,
});
Coming soon!
Using getPublicationPackage
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 getPublicationPackage(args: GetPublicationPackageArgs, opts?: InvokeOptions): Promise<GetPublicationPackageResult>
function getPublicationPackageOutput(args: GetPublicationPackageOutputArgs, opts?: InvokeOptions): Output<GetPublicationPackageResult>
def get_publication_package(package_version: Optional[str] = None,
publication_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPublicationPackageResult
def get_publication_package_output(package_version: Optional[pulumi.Input[str]] = None,
publication_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPublicationPackageResult]
func GetPublicationPackage(ctx *Context, args *GetPublicationPackageArgs, opts ...InvokeOption) (*GetPublicationPackageResult, error)
func GetPublicationPackageOutput(ctx *Context, args *GetPublicationPackageOutputArgs, opts ...InvokeOption) GetPublicationPackageResultOutput
> Note: This function is named GetPublicationPackage
in the Go SDK.
public static class GetPublicationPackage
{
public static Task<GetPublicationPackageResult> InvokeAsync(GetPublicationPackageArgs args, InvokeOptions? opts = null)
public static Output<GetPublicationPackageResult> Invoke(GetPublicationPackageInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPublicationPackageResult> getPublicationPackage(GetPublicationPackageArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: oci:Marketplace/getPublicationPackage:getPublicationPackage
Arguments:
# Arguments dictionary
The following arguments are supported:
- Package
Version string The version of the package. Package versions are unique within a listing.
- Publication
Id string The unique identifier for the publication.
- Package
Version string The version of the package. Package versions are unique within a listing.
- Publication
Id string The unique identifier for the publication.
- package
Version String The version of the package. Package versions are unique within a listing.
- publication
Id String The unique identifier for the publication.
- package
Version string The version of the package. Package versions are unique within a listing.
- publication
Id string The unique identifier for the publication.
- package_
version str The version of the package. Package versions are unique within a listing.
- publication_
id str The unique identifier for the publication.
- package
Version String The version of the package. Package versions are unique within a listing.
- publication
Id String The unique identifier for the publication.
getPublicationPackage Result
The following output properties are available:
- App
Catalog stringListing Id The ID of the listing resource associated with this publication package. For more information, see AppCatalogListing in the Core Services API.
- App
Catalog stringListing Resource Version The resource version of the listing resource associated with this publication package.
- Description string
A description of the variable.
- Id string
The provider-assigned unique ID for this managed resource.
- Image
Id string The ID of the image that corresponds to the package.
- Listing
Id string The ID of the listing that the specified package belongs to.
- Operating
Systems List<GetPublication Package Operating System> The operating system used by the listing.
- Package
Type string The specified package's type.
- Package
Version string - Publication
Id string - Resource
Id string The unique identifier for the package resource.
- Resource
Link string A link to the stack resource.
- Time
Created string The date and time the publication package was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- Variables
List<Get
Publication Package Variable> A list of variables for the stack resource.
- Version string
The package version.
- App
Catalog stringListing Id The ID of the listing resource associated with this publication package. For more information, see AppCatalogListing in the Core Services API.
- App
Catalog stringListing Resource Version The resource version of the listing resource associated with this publication package.
- Description string
A description of the variable.
- Id string
The provider-assigned unique ID for this managed resource.
- Image
Id string The ID of the image that corresponds to the package.
- Listing
Id string The ID of the listing that the specified package belongs to.
- Operating
Systems []GetPublication Package Operating System The operating system used by the listing.
- Package
Type string The specified package's type.
- Package
Version string - Publication
Id string - Resource
Id string The unique identifier for the package resource.
- Resource
Link string A link to the stack resource.
- Time
Created string The date and time the publication package was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- Variables
[]Get
Publication Package Variable A list of variables for the stack resource.
- Version string
The package version.
- app
Catalog StringListing Id The ID of the listing resource associated with this publication package. For more information, see AppCatalogListing in the Core Services API.
- app
Catalog StringListing Resource Version The resource version of the listing resource associated with this publication package.
- description String
A description of the variable.
- id String
The provider-assigned unique ID for this managed resource.
- image
Id String The ID of the image that corresponds to the package.
- listing
Id String The ID of the listing that the specified package belongs to.
- operating
Systems List<GetPublication Package Operating System> The operating system used by the listing.
- package
Type String The specified package's type.
- package
Version String - publication
Id String - resource
Id String The unique identifier for the package resource.
- resource
Link String A link to the stack resource.
- time
Created String The date and time the publication package was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- variables
List<Get
Publication Package Variable> A list of variables for the stack resource.
- version String
The package version.
- app
Catalog stringListing Id The ID of the listing resource associated with this publication package. For more information, see AppCatalogListing in the Core Services API.
- app
Catalog stringListing Resource Version The resource version of the listing resource associated with this publication package.
- description string
A description of the variable.
- id string
The provider-assigned unique ID for this managed resource.
- image
Id string The ID of the image that corresponds to the package.
- listing
Id string The ID of the listing that the specified package belongs to.
- operating
Systems GetPublication Package Operating System[] The operating system used by the listing.
- package
Type string The specified package's type.
- package
Version string - publication
Id string - resource
Id string The unique identifier for the package resource.
- resource
Link string A link to the stack resource.
- time
Created string The date and time the publication package was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- variables
Get
Publication Package Variable[] A list of variables for the stack resource.
- version string
The package version.
- app_
catalog_ strlisting_ id The ID of the listing resource associated with this publication package. For more information, see AppCatalogListing in the Core Services API.
- app_
catalog_ strlisting_ resource_ version The resource version of the listing resource associated with this publication package.
- description str
A description of the variable.
- id str
The provider-assigned unique ID for this managed resource.
- image_
id str The ID of the image that corresponds to the package.
- listing_
id str The ID of the listing that the specified package belongs to.
- operating_
systems GetPublication Package Operating System] The operating system used by the listing.
- package_
type str The specified package's type.
- package_
version str - publication_
id str - resource_
id str The unique identifier for the package resource.
- resource_
link str A link to the stack resource.
- time_
created str The date and time the publication package was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- variables
Get
Publication Package Variable] A list of variables for the stack resource.
- version str
The package version.
- app
Catalog StringListing Id The ID of the listing resource associated with this publication package. For more information, see AppCatalogListing in the Core Services API.
- app
Catalog StringListing Resource Version The resource version of the listing resource associated with this publication package.
- description String
A description of the variable.
- id String
The provider-assigned unique ID for this managed resource.
- image
Id String The ID of the image that corresponds to the package.
- listing
Id String The ID of the listing that the specified package belongs to.
- operating
Systems List<Property Map> The operating system used by the listing.
- package
Type String The specified package's type.
- package
Version String - publication
Id String - resource
Id String The unique identifier for the package resource.
- resource
Link String A link to the stack resource.
- time
Created String The date and time the publication package was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- variables List<Property Map>
A list of variables for the stack resource.
- version String
The package version.
Supporting Types
GetPublicationPackageOperatingSystem
- Name string
The name of the variable.
- Name string
The name of the variable.
- name String
The name of the variable.
- name string
The name of the variable.
- name str
The name of the variable.
- name String
The name of the variable.
GetPublicationPackageVariable
- Data
Type string The data type of the variable.
- Default
Value string The variable's default value.
- Description string
A description of the variable.
- Hint
Message string A brief textual description that helps to explain the variable.
- Is
Mandatory bool Whether the variable is mandatory.
- Name string
The name of the variable.
- Data
Type string The data type of the variable.
- Default
Value string The variable's default value.
- Description string
A description of the variable.
- Hint
Message string A brief textual description that helps to explain the variable.
- Is
Mandatory bool Whether the variable is mandatory.
- Name string
The name of the variable.
- data
Type String The data type of the variable.
- default
Value String The variable's default value.
- description String
A description of the variable.
- hint
Message String A brief textual description that helps to explain the variable.
- is
Mandatory Boolean Whether the variable is mandatory.
- name String
The name of the variable.
- data
Type string The data type of the variable.
- default
Value string The variable's default value.
- description string
A description of the variable.
- hint
Message string A brief textual description that helps to explain the variable.
- is
Mandatory boolean Whether the variable is mandatory.
- name string
The name of the variable.
- data_
type str The data type of the variable.
- default_
value str The variable's default value.
- description str
A description of the variable.
- hint_
message str A brief textual description that helps to explain the variable.
- is_
mandatory bool Whether the variable is mandatory.
- name str
The name of the variable.
- data
Type String The data type of the variable.
- default
Value String The variable's default value.
- description String
A description of the variable.
- hint
Message String A brief textual description that helps to explain the variable.
- is
Mandatory Boolean Whether the variable is mandatory.
- name String
The name of the variable.
Package Details
- Repository
- https://github.com/pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.