1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Marketplace
  5. MarketplaceExternalAttestedMetadata
Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi

oci.Marketplace.MarketplaceExternalAttestedMetadata

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi

    This resource provides the Marketplace External Attested Metadata resource in Oracle Cloud Infrastructure Marketplace service.

    Generates attested marketplace metadata

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMarketplaceExternalAttestedMetadata = new oci.marketplace.MarketplaceExternalAttestedMetadata("test_marketplace_external_attested_metadata", {
        compartmentId: compartmentId,
        instanceId: testInstance.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_marketplace_external_attested_metadata = oci.marketplace.MarketplaceExternalAttestedMetadata("test_marketplace_external_attested_metadata",
        compartment_id=compartment_id,
        instance_id=test_instance["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/marketplace"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := marketplace.NewMarketplaceExternalAttestedMetadata(ctx, "test_marketplace_external_attested_metadata", &marketplace.MarketplaceExternalAttestedMetadataArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			InstanceId:    pulumi.Any(testInstance.Id),
    		})
    		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 testMarketplaceExternalAttestedMetadata = new Oci.Marketplace.MarketplaceExternalAttestedMetadata("test_marketplace_external_attested_metadata", new()
        {
            CompartmentId = compartmentId,
            InstanceId = testInstance.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Marketplace.MarketplaceExternalAttestedMetadata;
    import com.pulumi.oci.Marketplace.MarketplaceExternalAttestedMetadataArgs;
    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) {
            var testMarketplaceExternalAttestedMetadata = new MarketplaceExternalAttestedMetadata("testMarketplaceExternalAttestedMetadata", MarketplaceExternalAttestedMetadataArgs.builder()
                .compartmentId(compartmentId)
                .instanceId(testInstance.id())
                .build());
    
        }
    }
    
    resources:
      testMarketplaceExternalAttestedMetadata:
        type: oci:Marketplace:MarketplaceExternalAttestedMetadata
        name: test_marketplace_external_attested_metadata
        properties:
          compartmentId: ${compartmentId}
          instanceId: ${testInstance.id}
    

    Create MarketplaceExternalAttestedMetadata Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MarketplaceExternalAttestedMetadata(name: string, args: MarketplaceExternalAttestedMetadataArgs, opts?: CustomResourceOptions);
    @overload
    def MarketplaceExternalAttestedMetadata(resource_name: str,
                                            args: MarketplaceExternalAttestedMetadataArgs,
                                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def MarketplaceExternalAttestedMetadata(resource_name: str,
                                            opts: Optional[ResourceOptions] = None,
                                            compartment_id: Optional[str] = None,
                                            instance_id: Optional[str] = None)
    func NewMarketplaceExternalAttestedMetadata(ctx *Context, name string, args MarketplaceExternalAttestedMetadataArgs, opts ...ResourceOption) (*MarketplaceExternalAttestedMetadata, error)
    public MarketplaceExternalAttestedMetadata(string name, MarketplaceExternalAttestedMetadataArgs args, CustomResourceOptions? opts = null)
    public MarketplaceExternalAttestedMetadata(String name, MarketplaceExternalAttestedMetadataArgs args)
    public MarketplaceExternalAttestedMetadata(String name, MarketplaceExternalAttestedMetadataArgs args, CustomResourceOptions options)
    
    type: oci:Marketplace:MarketplaceExternalAttestedMetadata
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args MarketplaceExternalAttestedMetadataArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MarketplaceExternalAttestedMetadataArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MarketplaceExternalAttestedMetadataArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MarketplaceExternalAttestedMetadataArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MarketplaceExternalAttestedMetadataArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var marketplaceExternalAttestedMetadataResource = new Oci.Marketplace.MarketplaceExternalAttestedMetadata("marketplaceExternalAttestedMetadataResource", new()
    {
        CompartmentId = "string",
        InstanceId = "string",
    });
    
    example, err := marketplace.NewMarketplaceExternalAttestedMetadata(ctx, "marketplaceExternalAttestedMetadataResource", &marketplace.MarketplaceExternalAttestedMetadataArgs{
    	CompartmentId: pulumi.String("string"),
    	InstanceId:    pulumi.String("string"),
    })
    
    var marketplaceExternalAttestedMetadataResource = new MarketplaceExternalAttestedMetadata("marketplaceExternalAttestedMetadataResource", MarketplaceExternalAttestedMetadataArgs.builder()
        .compartmentId("string")
        .instanceId("string")
        .build());
    
    marketplace_external_attested_metadata_resource = oci.marketplace.MarketplaceExternalAttestedMetadata("marketplaceExternalAttestedMetadataResource",
        compartment_id="string",
        instance_id="string")
    
    const marketplaceExternalAttestedMetadataResource = new oci.marketplace.MarketplaceExternalAttestedMetadata("marketplaceExternalAttestedMetadataResource", {
        compartmentId: "string",
        instanceId: "string",
    });
    
    type: oci:Marketplace:MarketplaceExternalAttestedMetadata
    properties:
        compartmentId: string
        instanceId: string
    

    MarketplaceExternalAttestedMetadata Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The MarketplaceExternalAttestedMetadata resource accepts the following input properties:

    CompartmentId string
    compartment that associated instance is in
    InstanceId string

    unique id that identifies the associated instance

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    compartment that associated instance is in
    InstanceId string

    unique id that identifies the associated instance

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    compartment that associated instance is in
    instanceId String

    unique id that identifies the associated instance

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    compartment that associated instance is in
    instanceId string

    unique id that identifies the associated instance

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    compartment that associated instance is in
    instance_id str

    unique id that identifies the associated instance

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    compartment that associated instance is in
    instanceId String

    unique id that identifies the associated instance

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MarketplaceExternalAttestedMetadata resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    SerializedJwt string
    The serialized JWT token, containing header, payload, signature
    Id string
    The provider-assigned unique ID for this managed resource.
    SerializedJwt string
    The serialized JWT token, containing header, payload, signature
    id String
    The provider-assigned unique ID for this managed resource.
    serializedJwt String
    The serialized JWT token, containing header, payload, signature
    id string
    The provider-assigned unique ID for this managed resource.
    serializedJwt string
    The serialized JWT token, containing header, payload, signature
    id str
    The provider-assigned unique ID for this managed resource.
    serialized_jwt str
    The serialized JWT token, containing header, payload, signature
    id String
    The provider-assigned unique ID for this managed resource.
    serializedJwt String
    The serialized JWT token, containing header, payload, signature

    Look up Existing MarketplaceExternalAttestedMetadata Resource

    Get an existing MarketplaceExternalAttestedMetadata resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: MarketplaceExternalAttestedMetadataState, opts?: CustomResourceOptions): MarketplaceExternalAttestedMetadata
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            instance_id: Optional[str] = None,
            serialized_jwt: Optional[str] = None) -> MarketplaceExternalAttestedMetadata
    func GetMarketplaceExternalAttestedMetadata(ctx *Context, name string, id IDInput, state *MarketplaceExternalAttestedMetadataState, opts ...ResourceOption) (*MarketplaceExternalAttestedMetadata, error)
    public static MarketplaceExternalAttestedMetadata Get(string name, Input<string> id, MarketplaceExternalAttestedMetadataState? state, CustomResourceOptions? opts = null)
    public static MarketplaceExternalAttestedMetadata get(String name, Output<String> id, MarketplaceExternalAttestedMetadataState state, CustomResourceOptions options)
    resources:  _:    type: oci:Marketplace:MarketplaceExternalAttestedMetadata    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    compartment that associated instance is in
    InstanceId string

    unique id that identifies the associated instance

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    SerializedJwt string
    The serialized JWT token, containing header, payload, signature
    CompartmentId string
    compartment that associated instance is in
    InstanceId string

    unique id that identifies the associated instance

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    SerializedJwt string
    The serialized JWT token, containing header, payload, signature
    compartmentId String
    compartment that associated instance is in
    instanceId String

    unique id that identifies the associated instance

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    serializedJwt String
    The serialized JWT token, containing header, payload, signature
    compartmentId string
    compartment that associated instance is in
    instanceId string

    unique id that identifies the associated instance

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    serializedJwt string
    The serialized JWT token, containing header, payload, signature
    compartment_id str
    compartment that associated instance is in
    instance_id str

    unique id that identifies the associated instance

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    serialized_jwt str
    The serialized JWT token, containing header, payload, signature
    compartmentId String
    compartment that associated instance is in
    instanceId String

    unique id that identifies the associated instance

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    serializedJwt String
    The serialized JWT token, containing header, payload, signature

    Import

    MarketplaceExternalAttestedMetadata can be imported using the id, e.g.

    $ pulumi import oci:Marketplace/marketplaceExternalAttestedMetadata:MarketplaceExternalAttestedMetadata test_marketplace_external_attested_metadata "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi