Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Marketplace.getPublicationPackage
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 Publication Package resource in Oracle Cloud Infrastructure Marketplace service.
Gets the details of a specific package version within a given publication.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPublicationPackage = oci.Marketplace.getPublicationPackage({
packageVersion: publicationPackagePackageVersion,
publicationId: testPublication.id,
});
import pulumi
import pulumi_oci as oci
test_publication_package = oci.Marketplace.get_publication_package(package_version=publication_package_package_version,
publication_id=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: publicationPackagePackageVersion,
PublicationId: testPublication.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 testPublicationPackage = Oci.Marketplace.GetPublicationPackage.Invoke(new()
{
PackageVersion = publicationPackagePackageVersion,
PublicationId = testPublication.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Marketplace.MarketplaceFunctions;
import com.pulumi.oci.Marketplace.inputs.GetPublicationPackageArgs;
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 testPublicationPackage = MarketplaceFunctions.getPublicationPackage(GetPublicationPackageArgs.builder()
.packageVersion(publicationPackagePackageVersion)
.publicationId(testPublication.id())
.build());
}
}
variables:
testPublicationPackage:
fn::invoke:
Function: oci:Marketplace:getPublicationPackage
Arguments:
packageVersion: ${publicationPackagePackageVersion}
publicationId: ${testPublication.id}
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 Sequence[marketplace.Get Publication 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
Sequence[marketplace.
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
- 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