Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi
oci.Marketplace.getPublication
Explore with Pulumi AI
This data source provides details about a specific Publication resource in Oracle Cloud Infrastructure Marketplace service.
Gets the details of the specified publication.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPublication = oci.Marketplace.getPublication({
publicationId: testPublicationOciMarketplacePublication.id,
});
import pulumi
import pulumi_oci as oci
test_publication = oci.Marketplace.get_publication(publication_id=test_publication_oci_marketplace_publication["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/marketplace"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := marketplace.GetPublication(ctx, &marketplace.GetPublicationArgs{
PublicationId: testPublicationOciMarketplacePublication.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 testPublication = Oci.Marketplace.GetPublication.Invoke(new()
{
PublicationId = testPublicationOciMarketplacePublication.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.GetPublicationArgs;
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 testPublication = MarketplaceFunctions.getPublication(GetPublicationArgs.builder()
.publicationId(testPublicationOciMarketplacePublication.id())
.build());
}
}
variables:
testPublication:
fn::invoke:
function: oci:Marketplace:getPublication
arguments:
publicationId: ${testPublicationOciMarketplacePublication.id}
Using getPublication
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 getPublication(args: GetPublicationArgs, opts?: InvokeOptions): Promise<GetPublicationResult>
function getPublicationOutput(args: GetPublicationOutputArgs, opts?: InvokeOptions): Output<GetPublicationResult>
def get_publication(publication_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPublicationResult
def get_publication_output(publication_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPublicationResult]
func GetPublication(ctx *Context, args *GetPublicationArgs, opts ...InvokeOption) (*GetPublicationResult, error)
func GetPublicationOutput(ctx *Context, args *GetPublicationOutputArgs, opts ...InvokeOption) GetPublicationResultOutput
> Note: This function is named GetPublication
in the Go SDK.
public static class GetPublication
{
public static Task<GetPublicationResult> InvokeAsync(GetPublicationArgs args, InvokeOptions? opts = null)
public static Output<GetPublicationResult> Invoke(GetPublicationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPublicationResult> getPublication(GetPublicationArgs args, InvokeOptions options)
public static Output<GetPublicationResult> getPublication(GetPublicationArgs args, InvokeOptions options)
fn::invoke:
function: oci:Marketplace/getPublication:getPublication
arguments:
# arguments dictionary
The following arguments are supported:
- Publication
Id This property is required. string - The unique identifier for the publication.
- Publication
Id This property is required. string - The unique identifier for the publication.
- publication
Id This property is required. String - The unique identifier for the publication.
- publication
Id This property is required. string - The unique identifier for the publication.
- publication_
id This property is required. str - The unique identifier for the publication.
- publication
Id This property is required. String - The unique identifier for the publication.
getPublication Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment where the publication exists.
- Dictionary<string, string>
- The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Dictionary<string, string>
- The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Icons
List<Get
Publication Icon> - The model for upload data for images and icons.
- Id string
- The unique identifier for the publication in Marketplace.
- Is
Agreement boolAcknowledged - Listing
Type string - The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.
- Long
Description string - A long description of the publication to use in the listing.
- Name string
- The name of the operating system.
- Package
Details List<GetPublication Package Detail> - Package
Type string - The listing's package type.
- Publication
Id string - Short
Description string - A short description of the publication to use in the listing.
- State string
- The lifecycle state of the publication.
- Support
Contacts List<GetPublication Support Contact> - Contact information for getting support from the publisher for the listing.
- Supported
Operating List<GetSystems Publication Supported Operating System> - The list of operating systems supported by the listing.
- Dictionary<string, string>
- The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- Time
Created string - The date and time the publication was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- Compartment
Id string - The OCID of the compartment where the publication exists.
- map[string]string
- The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- map[string]string
- The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Icons
[]Get
Publication Icon - The model for upload data for images and icons.
- Id string
- The unique identifier for the publication in Marketplace.
- Is
Agreement boolAcknowledged - Listing
Type string - The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.
- Long
Description string - A long description of the publication to use in the listing.
- Name string
- The name of the operating system.
- Package
Details []GetPublication Package Detail - Package
Type string - The listing's package type.
- Publication
Id string - Short
Description string - A short description of the publication to use in the listing.
- State string
- The lifecycle state of the publication.
- Support
Contacts []GetPublication Support Contact - Contact information for getting support from the publisher for the listing.
- Supported
Operating []GetSystems Publication Supported Operating System - The list of operating systems supported by the listing.
- map[string]string
- The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- Time
Created string - The date and time the publication was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - The OCID of the compartment where the publication exists.
- Map<String,String>
- The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<String,String>
- The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- icons
List<Get
Publication Icon> - The model for upload data for images and icons.
- id String
- The unique identifier for the publication in Marketplace.
- is
Agreement BooleanAcknowledged - listing
Type String - The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.
- long
Description String - A long description of the publication to use in the listing.
- name String
- The name of the operating system.
- package
Details List<GetPublication Package Detail> - package
Type String - The listing's package type.
- publication
Id String - short
Description String - A short description of the publication to use in the listing.
- state String
- The lifecycle state of the publication.
- support
Contacts List<GetPublication Support Contact> - Contact information for getting support from the publisher for the listing.
- supported
Operating List<GetSystems Publication Supported Operating System> - The list of operating systems supported by the listing.
- Map<String,String>
- The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- time
Created String - The date and time the publication was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- compartment
Id string - The OCID of the compartment where the publication exists.
- {[key: string]: string}
- The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- {[key: string]: string}
- The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- icons
Get
Publication Icon[] - The model for upload data for images and icons.
- id string
- The unique identifier for the publication in Marketplace.
- is
Agreement booleanAcknowledged - listing
Type string - The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.
- long
Description string - A long description of the publication to use in the listing.
- name string
- The name of the operating system.
- package
Details GetPublication Package Detail[] - package
Type string - The listing's package type.
- publication
Id string - short
Description string - A short description of the publication to use in the listing.
- state string
- The lifecycle state of the publication.
- support
Contacts GetPublication Support Contact[] - Contact information for getting support from the publisher for the listing.
- supported
Operating GetSystems Publication Supported Operating System[] - The list of operating systems supported by the listing.
- {[key: string]: string}
- The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- time
Created string - The date and time the publication was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- compartment_
id str - The OCID of the compartment where the publication exists.
- Mapping[str, str]
- The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Mapping[str, str]
- The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- icons
Sequence[marketplace.
Get Publication Icon] - The model for upload data for images and icons.
- id str
- The unique identifier for the publication in Marketplace.
- is_
agreement_ boolacknowledged - listing_
type str - The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.
- long_
description str - A long description of the publication to use in the listing.
- name str
- The name of the operating system.
- package_
details Sequence[marketplace.Get Publication Package Detail] - package_
type str - The listing's package type.
- publication_
id str - short_
description str - A short description of the publication to use in the listing.
- state str
- The lifecycle state of the publication.
- support_
contacts Sequence[marketplace.Get Publication Support Contact] - Contact information for getting support from the publisher for the listing.
- supported_
operating_ Sequence[marketplace.systems Get Publication Supported Operating System] - The list of operating systems supported by the listing.
- Mapping[str, str]
- The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- time_
created str - The date and time the publication was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - The OCID of the compartment where the publication exists.
- Map<String>
- The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<String>
- The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- icons List<Property Map>
- The model for upload data for images and icons.
- id String
- The unique identifier for the publication in Marketplace.
- is
Agreement BooleanAcknowledged - listing
Type String - The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.
- long
Description String - A long description of the publication to use in the listing.
- name String
- The name of the operating system.
- package
Details List<Property Map> - package
Type String - The listing's package type.
- publication
Id String - short
Description String - A short description of the publication to use in the listing.
- state String
- The lifecycle state of the publication.
- support
Contacts List<Property Map> - Contact information for getting support from the publisher for the listing.
- supported
Operating List<Property Map>Systems - The list of operating systems supported by the listing.
- Map<String>
- The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- time
Created String - The date and time the publication was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
Supporting Types
GetPublicationIcon
- Content
Url This property is required. string - The content URL of the upload data.
- File
Extension This property is required. string - The file extension of the upload data.
- Mime
Type This property is required. string - The MIME type of the upload data.
- Name
This property is required. string - The name of the operating system.
- Content
Url This property is required. string - The content URL of the upload data.
- File
Extension This property is required. string - The file extension of the upload data.
- Mime
Type This property is required. string - The MIME type of the upload data.
- Name
This property is required. string - The name of the operating system.
- content
Url This property is required. String - The content URL of the upload data.
- file
Extension This property is required. String - The file extension of the upload data.
- mime
Type This property is required. String - The MIME type of the upload data.
- name
This property is required. String - The name of the operating system.
- content
Url This property is required. string - The content URL of the upload data.
- file
Extension This property is required. string - The file extension of the upload data.
- mime
Type This property is required. string - The MIME type of the upload data.
- name
This property is required. string - The name of the operating system.
- content_
url This property is required. str - The content URL of the upload data.
- file_
extension This property is required. str - The file extension of the upload data.
- mime_
type This property is required. str - The MIME type of the upload data.
- name
This property is required. str - The name of the operating system.
- content
Url This property is required. String - The content URL of the upload data.
- file
Extension This property is required. String - The file extension of the upload data.
- mime
Type This property is required. String - The MIME type of the upload data.
- name
This property is required. String - The name of the operating system.
GetPublicationPackageDetail
- Eulas
This property is required. List<GetPublication Package Detail Eula> - Image
Id This property is required. string - Operating
Systems This property is required. List<GetPublication Package Detail Operating System> - Package
Type This property is required. string - The listing's package type.
- Package
Version This property is required. string
- Eulas
This property is required. []GetPublication Package Detail Eula - Image
Id This property is required. string - Operating
Systems This property is required. []GetPublication Package Detail Operating System - Package
Type This property is required. string - The listing's package type.
- Package
Version This property is required. string
- eulas
This property is required. List<GetPublication Package Detail Eula> - image
Id This property is required. String - operating
Systems This property is required. List<GetPublication Package Detail Operating System> - package
Type This property is required. String - The listing's package type.
- package
Version This property is required. String
- eulas
This property is required. GetPublication Package Detail Eula[] - image
Id This property is required. string - operating
Systems This property is required. GetPublication Package Detail Operating System[] - package
Type This property is required. string - The listing's package type.
- package
Version This property is required. string
- eulas
This property is required. Sequence[marketplace.Get Publication Package Detail Eula] - image_
id This property is required. str - operating_
systems This property is required. Sequence[marketplace.Get Publication Package Detail Operating System] - package_
type This property is required. str - The listing's package type.
- package_
version This property is required. str
- eulas
This property is required. List<Property Map> - image
Id This property is required. String - operating
Systems This property is required. List<Property Map> - package
Type This property is required. String - The listing's package type.
- package
Version This property is required. String
GetPublicationPackageDetailEula
- Eula
Type This property is required. string - License
Text This property is required. string
- Eula
Type This property is required. string - License
Text This property is required. string
- eula
Type This property is required. String - license
Text This property is required. String
- eula
Type This property is required. string - license
Text This property is required. string
- eula_
type This property is required. str - license_
text This property is required. str
- eula
Type This property is required. String - license
Text This property is required. String
GetPublicationPackageDetailOperatingSystem
- Name
This property is required. string - The name of the operating system.
- Name
This property is required. string - The name of the operating system.
- name
This property is required. String - The name of the operating system.
- name
This property is required. string - The name of the operating system.
- name
This property is required. str - The name of the operating system.
- name
This property is required. String - The name of the operating system.
GetPublicationSupportContact
- Email
This property is required. string - The email of the contact.
- Name
This property is required. string - The name of the operating system.
- Phone
This property is required. string - The phone number of the contact.
- Subject
This property is required. string - The email subject line to use when contacting support.
- Email
This property is required. string - The email of the contact.
- Name
This property is required. string - The name of the operating system.
- Phone
This property is required. string - The phone number of the contact.
- Subject
This property is required. string - The email subject line to use when contacting support.
- email
This property is required. String - The email of the contact.
- name
This property is required. String - The name of the operating system.
- phone
This property is required. String - The phone number of the contact.
- subject
This property is required. String - The email subject line to use when contacting support.
- email
This property is required. string - The email of the contact.
- name
This property is required. string - The name of the operating system.
- phone
This property is required. string - The phone number of the contact.
- subject
This property is required. string - The email subject line to use when contacting support.
- email
This property is required. String - The email of the contact.
- name
This property is required. String - The name of the operating system.
- phone
This property is required. String - The phone number of the contact.
- subject
This property is required. String - The email subject line to use when contacting support.
GetPublicationSupportedOperatingSystem
- Name
This property is required. string - The name of the operating system.
- Name
This property is required. string - The name of the operating system.
- name
This property is required. String - The name of the operating system.
- name
This property is required. string - The name of the operating system.
- name
This property is required. str - The name of the operating system.
- name
This property is required. String - The name of the operating system.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.