Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getPublication

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

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testPublication = Output.Create(Oci.Marketplace.GetPublication.InvokeAsync(new Oci.Marketplace.GetPublicationArgs
        {
            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.GetPublication(ctx, &marketplace.GetPublicationArgs{
			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 = oci.Marketplace.get_publication(publication_id=oci_marketplace_publication["test_publication"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testPublication = oci.Marketplace.getPublication({
    publicationId: oci_marketplace_publication.test_publication.id,
});

Coming soon!

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)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Marketplace/getPublication:getPublication
  Arguments:
    # Arguments dictionary

The following arguments are supported:

PublicationId string

The unique identifier for the publication.

PublicationId string

The unique identifier for the publication.

publicationId String

The unique identifier for the publication.

publicationId string

The unique identifier for the publication.

publication_id str

The unique identifier for the publication.

publicationId String

The unique identifier for the publication.

getPublication Result

The following output properties are available:

CompartmentId string

The OCID of the compartment where the publication exists.

DefinedTags Dictionary<string, object>

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"}

FreeformTags Dictionary<string, object>

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<GetPublicationIcon>

The model for upload data for images and icons.

Id string

The unique identifier for the publication in Marketplace.

IsAgreementAcknowledged bool
ListingType string

The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.

LongDescription string

A long description of the publication to use in the listing.

Name string

The name of the operating system.

PackageDetails List<GetPublicationPackageDetail>
PackageType string

The listing's package type.

PublicationId string
ShortDescription string

A short description of the publication to use in the listing.

State string

The lifecycle state of the publication.

SupportContacts List<GetPublicationSupportContact>

Contact information for getting support from the publisher for the listing.

SupportedOperatingSystems List<GetPublicationSupportedOperatingSystem>

The list of operating systems supported by the listing.

TimeCreated string

The date and time the publication was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z

CompartmentId string

The OCID of the compartment where the publication exists.

DefinedTags map[string]interface{}

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"}

FreeformTags map[string]interface{}

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 []GetPublicationIcon

The model for upload data for images and icons.

Id string

The unique identifier for the publication in Marketplace.

IsAgreementAcknowledged bool
ListingType string

The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.

LongDescription string

A long description of the publication to use in the listing.

Name string

The name of the operating system.

PackageDetails []GetPublicationPackageDetail
PackageType string

The listing's package type.

PublicationId string
ShortDescription string

A short description of the publication to use in the listing.

State string

The lifecycle state of the publication.

SupportContacts []GetPublicationSupportContact

Contact information for getting support from the publisher for the listing.

SupportedOperatingSystems []GetPublicationSupportedOperatingSystem

The list of operating systems supported by the listing.

TimeCreated string

The date and time the publication was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z

compartmentId String

The OCID of the compartment where the publication exists.

definedTags Map<String,Object>

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"}

freeformTags Map<String,Object>

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<GetPublicationIcon>

The model for upload data for images and icons.

id String

The unique identifier for the publication in Marketplace.

isAgreementAcknowledged Boolean
listingType String

The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.

longDescription String

A long description of the publication to use in the listing.

name String

The name of the operating system.

packageDetails List<GetPublicationPackageDetail>
packageType String

The listing's package type.

publicationId String
shortDescription String

A short description of the publication to use in the listing.

state String

The lifecycle state of the publication.

supportContacts List<GetPublicationSupportContact>

Contact information for getting support from the publisher for the listing.

supportedOperatingSystems List<GetPublicationSupportedOperatingSystem>

The list of operating systems supported by the listing.

timeCreated String

The date and time the publication was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z

compartmentId string

The OCID of the compartment where the publication exists.

definedTags {[key: string]: any}

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"}

freeformTags {[key: string]: any}

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 GetPublicationIcon[]

The model for upload data for images and icons.

id string

The unique identifier for the publication in Marketplace.

isAgreementAcknowledged boolean
listingType string

The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.

longDescription string

A long description of the publication to use in the listing.

name string

The name of the operating system.

packageDetails GetPublicationPackageDetail[]
packageType string

The listing's package type.

publicationId string
shortDescription string

A short description of the publication to use in the listing.

state string

The lifecycle state of the publication.

supportContacts GetPublicationSupportContact[]

Contact information for getting support from the publisher for the listing.

supportedOperatingSystems GetPublicationSupportedOperatingSystem[]

The list of operating systems supported by the listing.

timeCreated 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.

defined_tags Mapping[str, Any]

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"}

freeform_tags Mapping[str, Any]

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 GetPublicationIcon]

The model for upload data for images and icons.

id str

The unique identifier for the publication in Marketplace.

is_agreement_acknowledged bool
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 GetPublicationPackageDetail]
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 GetPublicationSupportContact]

Contact information for getting support from the publisher for the listing.

supported_operating_systems GetPublicationSupportedOperatingSystem]

The list of operating systems supported by the listing.

time_created str

The date and time the publication was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z

compartmentId String

The OCID of the compartment where the publication exists.

definedTags Map<Any>

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"}

freeformTags Map<Any>

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.

isAgreementAcknowledged Boolean
listingType String

The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.

longDescription String

A long description of the publication to use in the listing.

name String

The name of the operating system.

packageDetails List<Property Map>
packageType String

The listing's package type.

publicationId String
shortDescription String

A short description of the publication to use in the listing.

state String

The lifecycle state of the publication.

supportContacts List<Property Map>

Contact information for getting support from the publisher for the listing.

supportedOperatingSystems List<Property Map>

The list of operating systems supported by the listing.

timeCreated 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

ContentUrl string

The content URL of the upload data.

FileExtension string

The file extension of the upload data.

MimeType string

The MIME type of the upload data.

Name string

The name of the operating system.

ContentUrl string

The content URL of the upload data.

FileExtension string

The file extension of the upload data.

MimeType string

The MIME type of the upload data.

Name string

The name of the operating system.

contentUrl String

The content URL of the upload data.

fileExtension String

The file extension of the upload data.

mimeType String

The MIME type of the upload data.

name String

The name of the operating system.

contentUrl string

The content URL of the upload data.

fileExtension string

The file extension of the upload data.

mimeType string

The MIME type of the upload data.

name string

The name of the operating system.

content_url str

The content URL of the upload data.

file_extension str

The file extension of the upload data.

mime_type str

The MIME type of the upload data.

name str

The name of the operating system.

contentUrl String

The content URL of the upload data.

fileExtension String

The file extension of the upload data.

mimeType String

The MIME type of the upload data.

name String

The name of the operating system.

GetPublicationPackageDetail

GetPublicationPackageDetailEula

EulaType string
LicenseText string
EulaType string
LicenseText string
eulaType String
licenseText String
eulaType string
licenseText string
eulaType String
licenseText String

GetPublicationPackageDetailOperatingSystem

Name string

The name of the operating system.

Name string

The name of the operating system.

name String

The name of the operating system.

name string

The name of the operating system.

name str

The name of the operating system.

name String

The name of the operating system.

GetPublicationSupportContact

Email string

The email of the contact.

Name string

The name of the operating system.

Phone string

The phone number of the contact.

Subject string

The email subject line to use when contacting support.

Email string

The email of the contact.

Name string

The name of the operating system.

Phone string

The phone number of the contact.

Subject string

The email subject line to use when contacting support.

email String

The email of the contact.

name String

The name of the operating system.

phone String

The phone number of the contact.

subject String

The email subject line to use when contacting support.

email string

The email of the contact.

name string

The name of the operating system.

phone string

The phone number of the contact.

subject string

The email subject line to use when contacting support.

email str

The email of the contact.

name str

The name of the operating system.

phone str

The phone number of the contact.

subject str

The email subject line to use when contacting support.

email String

The email of the contact.

name String

The name of the operating system.

phone String

The phone number of the contact.

subject String

The email subject line to use when contacting support.

GetPublicationSupportedOperatingSystem

Name string

The name of the operating system.

Name string

The name of the operating system.

name String

The name of the operating system.

name string

The name of the operating system.

name str

The name of the operating system.

name String

The name of the operating system.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.