1. Packages
  2. Opennebula Provider
  3. API Docs
  4. Marketplace
opennebula 1.4.1 published on Monday, Apr 14, 2025 by opennebula

opennebula.Marketplace

Explore with Pulumi AI

opennebula logo
opennebula 1.4.1 published on Monday, Apr 14, 2025 by opennebula

    Provides an OpenNebula marketplace resource.

    This resource allows you to manage marketplaces.

    Example Usage

    Create a custom marketplace:

    import * as pulumi from "@pulumi/pulumi";
    import * as opennebula from "@pulumi/opennebula";
    
    const example = new opennebula.Marketplace("example", {
        s3s: [{
            accessKeyId: "XXX",
            bucket: "123",
            region: "us",
            secretAccessKey: "XXX",
            type: "aws",
        }],
        tags: {
            environment: "example",
        },
    });
    
    import pulumi
    import pulumi_opennebula as opennebula
    
    example = opennebula.Marketplace("example",
        s3s=[{
            "access_key_id": "XXX",
            "bucket": "123",
            "region": "us",
            "secret_access_key": "XXX",
            "type": "aws",
        }],
        tags={
            "environment": "example",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opennebula/opennebula"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opennebula.NewMarketplace(ctx, "example", &opennebula.MarketplaceArgs{
    			S3s: opennebula.MarketplaceS3Array{
    				&opennebula.MarketplaceS3Args{
    					AccessKeyId:     pulumi.String("XXX"),
    					Bucket:          pulumi.String("123"),
    					Region:          pulumi.String("us"),
    					SecretAccessKey: pulumi.String("XXX"),
    					Type:            pulumi.String("aws"),
    				},
    			},
    			Tags: pulumi.StringMap{
    				"environment": pulumi.String("example"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opennebula = Pulumi.Opennebula;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Opennebula.Marketplace("example", new()
        {
            S3s = new[]
            {
                new Opennebula.Inputs.MarketplaceS3Args
                {
                    AccessKeyId = "XXX",
                    Bucket = "123",
                    Region = "us",
                    SecretAccessKey = "XXX",
                    Type = "aws",
                },
            },
            Tags = 
            {
                { "environment", "example" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opennebula.Marketplace;
    import com.pulumi.opennebula.MarketplaceArgs;
    import com.pulumi.opennebula.inputs.MarketplaceS3Args;
    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 example = new Marketplace("example", MarketplaceArgs.builder()
                .s3s(MarketplaceS3Args.builder()
                    .accessKeyId("XXX")
                    .bucket("123")
                    .region("us")
                    .secretAccessKey("XXX")
                    .type("aws")
                    .build())
                .tags(Map.of("environment", "example"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: opennebula:Marketplace
        properties:
          s3s:
            - accessKeyId: XXX
              bucket: '123'
              region: us
              secretAccessKey: XXX
              type: aws
          tags:
            environment: example
    

    Turnkey

    The following arguments are supported:

    • endpoint_url - (Optional) The base URL of the Market.
    • roofs_image_size - (Optional) Size in MB for the image holding the rootfs.
    • filesystem - (Optional) Filesystem used for the image.
    • image_block_file_format - (Optional) Image block file format.
    • skip_untested - (Optional) Include only apps with support for context.

    Create Marketplace Resource

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

    Constructor syntax

    new Marketplace(name: string, args?: MarketplaceArgs, opts?: CustomResourceOptions);
    @overload
    def Marketplace(resource_name: str,
                    args: Optional[MarketplaceArgs] = None,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Marketplace(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    description: Optional[str] = None,
                    disabled: Optional[bool] = None,
                    dockerhub: Optional[bool] = None,
                    https: Optional[Sequence[MarketplaceHttpArgs]] = None,
                    lxcs: Optional[Sequence[MarketplaceLxcArgs]] = None,
                    marketplace_id: Optional[str] = None,
                    name: Optional[str] = None,
                    ones: Optional[Sequence[MarketplaceOneArgs]] = None,
                    permissions: Optional[str] = None,
                    s3s: Optional[Sequence[MarketplaceS3Args]] = None,
                    tags: Optional[Mapping[str, str]] = None,
                    template_sections: Optional[Sequence[MarketplaceTemplateSectionArgs]] = None,
                    timeouts: Optional[MarketplaceTimeoutsArgs] = None,
                    turnkeys: Optional[Sequence[MarketplaceTurnkeyArgs]] = None)
    func NewMarketplace(ctx *Context, name string, args *MarketplaceArgs, opts ...ResourceOption) (*Marketplace, error)
    public Marketplace(string name, MarketplaceArgs? args = null, CustomResourceOptions? opts = null)
    public Marketplace(String name, MarketplaceArgs args)
    public Marketplace(String name, MarketplaceArgs args, CustomResourceOptions options)
    
    type: opennebula:Marketplace
    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 MarketplaceArgs
    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 MarketplaceArgs
    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 MarketplaceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MarketplaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MarketplaceArgs
    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 marketplaceResource = new Opennebula.Marketplace("marketplaceResource", new()
    {
        Description = "string",
        Disabled = false,
        Dockerhub = false,
        Https = new[]
        {
            new Opennebula.Inputs.MarketplaceHttpArgs
            {
                EndpointUrl = "string",
                Path = "string",
                StorageBridgeLists = new[]
                {
                    "string",
                },
            },
        },
        Lxcs = new[]
        {
            new Opennebula.Inputs.MarketplaceLxcArgs
            {
                Cpu = 0,
                EndpointUrl = "string",
                Filesystem = "string",
                ImageBlockFileFormat = "string",
                Memory = 0,
                Privileged = false,
                RoofsImageSize = 0,
                SkipUntested = false,
                Vcpu = 0,
            },
        },
        MarketplaceId = "string",
        Name = "string",
        Ones = new[]
        {
            new Opennebula.Inputs.MarketplaceOneArgs
            {
                EndpointUrl = "string",
            },
        },
        Permissions = "string",
        S3s = new[]
        {
            new Opennebula.Inputs.MarketplaceS3Args
            {
                AccessKeyId = "string",
                Bucket = "string",
                Region = "string",
                SecretAccessKey = "string",
                EndpointUrl = "string",
                ReadBlockLength = 0,
                TotalSize = 0,
                Type = "string",
            },
        },
        Tags = 
        {
            { "string", "string" },
        },
        TemplateSections = new[]
        {
            new Opennebula.Inputs.MarketplaceTemplateSectionArgs
            {
                Name = "string",
                Elements = 
                {
                    { "string", "string" },
                },
            },
        },
        Timeouts = new Opennebula.Inputs.MarketplaceTimeoutsArgs
        {
            Create = "string",
            Update = "string",
        },
        Turnkeys = new[]
        {
            new Opennebula.Inputs.MarketplaceTurnkeyArgs
            {
                EndpointUrl = "string",
                Filesystem = "string",
                ImageBlockFileFormat = "string",
                RoofsImageSize = 0,
                SkipUntested = false,
            },
        },
    });
    
    example, err := opennebula.NewMarketplace(ctx, "marketplaceResource", &opennebula.MarketplaceArgs{
    	Description: pulumi.String("string"),
    	Disabled:    pulumi.Bool(false),
    	Dockerhub:   pulumi.Bool(false),
    	Https: opennebula.MarketplaceHttpArray{
    		&opennebula.MarketplaceHttpArgs{
    			EndpointUrl: pulumi.String("string"),
    			Path:        pulumi.String("string"),
    			StorageBridgeLists: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	Lxcs: opennebula.MarketplaceLxcArray{
    		&opennebula.MarketplaceLxcArgs{
    			Cpu:                  pulumi.Float64(0),
    			EndpointUrl:          pulumi.String("string"),
    			Filesystem:           pulumi.String("string"),
    			ImageBlockFileFormat: pulumi.String("string"),
    			Memory:               pulumi.Float64(0),
    			Privileged:           pulumi.Bool(false),
    			RoofsImageSize:       pulumi.Float64(0),
    			SkipUntested:         pulumi.Bool(false),
    			Vcpu:                 pulumi.Float64(0),
    		},
    	},
    	MarketplaceId: pulumi.String("string"),
    	Name:          pulumi.String("string"),
    	Ones: opennebula.MarketplaceOneArray{
    		&opennebula.MarketplaceOneArgs{
    			EndpointUrl: pulumi.String("string"),
    		},
    	},
    	Permissions: pulumi.String("string"),
    	S3s: opennebula.MarketplaceS3Array{
    		&opennebula.MarketplaceS3Args{
    			AccessKeyId:     pulumi.String("string"),
    			Bucket:          pulumi.String("string"),
    			Region:          pulumi.String("string"),
    			SecretAccessKey: pulumi.String("string"),
    			EndpointUrl:     pulumi.String("string"),
    			ReadBlockLength: pulumi.Float64(0),
    			TotalSize:       pulumi.Float64(0),
    			Type:            pulumi.String("string"),
    		},
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	TemplateSections: opennebula.MarketplaceTemplateSectionArray{
    		&opennebula.MarketplaceTemplateSectionArgs{
    			Name: pulumi.String("string"),
    			Elements: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    		},
    	},
    	Timeouts: &opennebula.MarketplaceTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	Turnkeys: opennebula.MarketplaceTurnkeyArray{
    		&opennebula.MarketplaceTurnkeyArgs{
    			EndpointUrl:          pulumi.String("string"),
    			Filesystem:           pulumi.String("string"),
    			ImageBlockFileFormat: pulumi.String("string"),
    			RoofsImageSize:       pulumi.Float64(0),
    			SkipUntested:         pulumi.Bool(false),
    		},
    	},
    })
    
    var marketplaceResource = new Marketplace("marketplaceResource", MarketplaceArgs.builder()
        .description("string")
        .disabled(false)
        .dockerhub(false)
        .https(MarketplaceHttpArgs.builder()
            .endpointUrl("string")
            .path("string")
            .storageBridgeLists("string")
            .build())
        .lxcs(MarketplaceLxcArgs.builder()
            .cpu(0)
            .endpointUrl("string")
            .filesystem("string")
            .imageBlockFileFormat("string")
            .memory(0)
            .privileged(false)
            .roofsImageSize(0)
            .skipUntested(false)
            .vcpu(0)
            .build())
        .marketplaceId("string")
        .name("string")
        .ones(MarketplaceOneArgs.builder()
            .endpointUrl("string")
            .build())
        .permissions("string")
        .s3s(MarketplaceS3Args.builder()
            .accessKeyId("string")
            .bucket("string")
            .region("string")
            .secretAccessKey("string")
            .endpointUrl("string")
            .readBlockLength(0)
            .totalSize(0)
            .type("string")
            .build())
        .tags(Map.of("string", "string"))
        .templateSections(MarketplaceTemplateSectionArgs.builder()
            .name("string")
            .elements(Map.of("string", "string"))
            .build())
        .timeouts(MarketplaceTimeoutsArgs.builder()
            .create("string")
            .update("string")
            .build())
        .turnkeys(MarketplaceTurnkeyArgs.builder()
            .endpointUrl("string")
            .filesystem("string")
            .imageBlockFileFormat("string")
            .roofsImageSize(0)
            .skipUntested(false)
            .build())
        .build());
    
    marketplace_resource = opennebula.Marketplace("marketplaceResource",
        description="string",
        disabled=False,
        dockerhub=False,
        https=[{
            "endpoint_url": "string",
            "path": "string",
            "storage_bridge_lists": ["string"],
        }],
        lxcs=[{
            "cpu": 0,
            "endpoint_url": "string",
            "filesystem": "string",
            "image_block_file_format": "string",
            "memory": 0,
            "privileged": False,
            "roofs_image_size": 0,
            "skip_untested": False,
            "vcpu": 0,
        }],
        marketplace_id="string",
        name="string",
        ones=[{
            "endpoint_url": "string",
        }],
        permissions="string",
        s3s=[{
            "access_key_id": "string",
            "bucket": "string",
            "region": "string",
            "secret_access_key": "string",
            "endpoint_url": "string",
            "read_block_length": 0,
            "total_size": 0,
            "type": "string",
        }],
        tags={
            "string": "string",
        },
        template_sections=[{
            "name": "string",
            "elements": {
                "string": "string",
            },
        }],
        timeouts={
            "create": "string",
            "update": "string",
        },
        turnkeys=[{
            "endpoint_url": "string",
            "filesystem": "string",
            "image_block_file_format": "string",
            "roofs_image_size": 0,
            "skip_untested": False,
        }])
    
    const marketplaceResource = new opennebula.Marketplace("marketplaceResource", {
        description: "string",
        disabled: false,
        dockerhub: false,
        https: [{
            endpointUrl: "string",
            path: "string",
            storageBridgeLists: ["string"],
        }],
        lxcs: [{
            cpu: 0,
            endpointUrl: "string",
            filesystem: "string",
            imageBlockFileFormat: "string",
            memory: 0,
            privileged: false,
            roofsImageSize: 0,
            skipUntested: false,
            vcpu: 0,
        }],
        marketplaceId: "string",
        name: "string",
        ones: [{
            endpointUrl: "string",
        }],
        permissions: "string",
        s3s: [{
            accessKeyId: "string",
            bucket: "string",
            region: "string",
            secretAccessKey: "string",
            endpointUrl: "string",
            readBlockLength: 0,
            totalSize: 0,
            type: "string",
        }],
        tags: {
            string: "string",
        },
        templateSections: [{
            name: "string",
            elements: {
                string: "string",
            },
        }],
        timeouts: {
            create: "string",
            update: "string",
        },
        turnkeys: [{
            endpointUrl: "string",
            filesystem: "string",
            imageBlockFileFormat: "string",
            roofsImageSize: 0,
            skipUntested: false,
        }],
    });
    
    type: opennebula:Marketplace
    properties:
        description: string
        disabled: false
        dockerhub: false
        https:
            - endpointUrl: string
              path: string
              storageBridgeLists:
                - string
        lxcs:
            - cpu: 0
              endpointUrl: string
              filesystem: string
              imageBlockFileFormat: string
              memory: 0
              privileged: false
              roofsImageSize: 0
              skipUntested: false
              vcpu: 0
        marketplaceId: string
        name: string
        ones:
            - endpointUrl: string
        permissions: string
        s3s:
            - accessKeyId: string
              bucket: string
              endpointUrl: string
              readBlockLength: 0
              region: string
              secretAccessKey: string
              totalSize: 0
              type: string
        tags:
            string: string
        templateSections:
            - elements:
                string: string
              name: string
        timeouts:
            create: string
            update: string
        turnkeys:
            - endpointUrl: string
              filesystem: string
              imageBlockFileFormat: string
              roofsImageSize: 0
              skipUntested: false
    

    Marketplace 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 Marketplace resource accepts the following input properties:

    Description string
    The description of the marketplace.
    Disabled bool
    Allow to enable or disable the market place
    Dockerhub bool
    Flag as a dockerhub marketplace, this provide access to DockerHub Official Images.
    Https List<MarketplaceHttp>
    See Http section for details.
    Lxcs List<MarketplaceLxc>
    See LXC section for details.
    MarketplaceId string
    ID of the marketplace.
    Name string
    The name of the marketplace.
    Ones List<MarketplaceOne>
    See One section for details.
    Permissions string
    Permissions applied to the appliance. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    S3s List<MarketplaceS3>
    See S3 section for details.
    Tags Dictionary<string, string>
    Marketplace tags (Key = value).
    TemplateSections List<MarketplaceTemplateSection>
    Add custom section to the resource
    Timeouts MarketplaceTimeouts
    Turnkeys List<MarketplaceTurnkey>
    See Turnkey section for details.
    Description string
    The description of the marketplace.
    Disabled bool
    Allow to enable or disable the market place
    Dockerhub bool
    Flag as a dockerhub marketplace, this provide access to DockerHub Official Images.
    Https []MarketplaceHttpArgs
    See Http section for details.
    Lxcs []MarketplaceLxcArgs
    See LXC section for details.
    MarketplaceId string
    ID of the marketplace.
    Name string
    The name of the marketplace.
    Ones []MarketplaceOneArgs
    See One section for details.
    Permissions string
    Permissions applied to the appliance. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    S3s []MarketplaceS3Args
    See S3 section for details.
    Tags map[string]string
    Marketplace tags (Key = value).
    TemplateSections []MarketplaceTemplateSectionArgs
    Add custom section to the resource
    Timeouts MarketplaceTimeoutsArgs
    Turnkeys []MarketplaceTurnkeyArgs
    See Turnkey section for details.
    description String
    The description of the marketplace.
    disabled Boolean
    Allow to enable or disable the market place
    dockerhub Boolean
    Flag as a dockerhub marketplace, this provide access to DockerHub Official Images.
    https List<MarketplaceHttp>
    See Http section for details.
    lxcs List<MarketplaceLxc>
    See LXC section for details.
    marketplaceId String
    ID of the marketplace.
    name String
    The name of the marketplace.
    ones List<MarketplaceOne>
    See One section for details.
    permissions String
    Permissions applied to the appliance. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    s3s List<MarketplaceS3>
    See S3 section for details.
    tags Map<String,String>
    Marketplace tags (Key = value).
    templateSections List<MarketplaceTemplateSection>
    Add custom section to the resource
    timeouts MarketplaceTimeouts
    turnkeys List<MarketplaceTurnkey>
    See Turnkey section for details.
    description string
    The description of the marketplace.
    disabled boolean
    Allow to enable or disable the market place
    dockerhub boolean
    Flag as a dockerhub marketplace, this provide access to DockerHub Official Images.
    https MarketplaceHttp[]
    See Http section for details.
    lxcs MarketplaceLxc[]
    See LXC section for details.
    marketplaceId string
    ID of the marketplace.
    name string
    The name of the marketplace.
    ones MarketplaceOne[]
    See One section for details.
    permissions string
    Permissions applied to the appliance. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    s3s MarketplaceS3[]
    See S3 section for details.
    tags {[key: string]: string}
    Marketplace tags (Key = value).
    templateSections MarketplaceTemplateSection[]
    Add custom section to the resource
    timeouts MarketplaceTimeouts
    turnkeys MarketplaceTurnkey[]
    See Turnkey section for details.
    description str
    The description of the marketplace.
    disabled bool
    Allow to enable or disable the market place
    dockerhub bool
    Flag as a dockerhub marketplace, this provide access to DockerHub Official Images.
    https Sequence[MarketplaceHttpArgs]
    See Http section for details.
    lxcs Sequence[MarketplaceLxcArgs]
    See LXC section for details.
    marketplace_id str
    ID of the marketplace.
    name str
    The name of the marketplace.
    ones Sequence[MarketplaceOneArgs]
    See One section for details.
    permissions str
    Permissions applied to the appliance. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    s3s Sequence[MarketplaceS3Args]
    See S3 section for details.
    tags Mapping[str, str]
    Marketplace tags (Key = value).
    template_sections Sequence[MarketplaceTemplateSectionArgs]
    Add custom section to the resource
    timeouts MarketplaceTimeoutsArgs
    turnkeys Sequence[MarketplaceTurnkeyArgs]
    See Turnkey section for details.
    description String
    The description of the marketplace.
    disabled Boolean
    Allow to enable or disable the market place
    dockerhub Boolean
    Flag as a dockerhub marketplace, this provide access to DockerHub Official Images.
    https List<Property Map>
    See Http section for details.
    lxcs List<Property Map>
    See LXC section for details.
    marketplaceId String
    ID of the marketplace.
    name String
    The name of the marketplace.
    ones List<Property Map>
    See One section for details.
    permissions String
    Permissions applied to the appliance. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    s3s List<Property Map>
    See S3 section for details.
    tags Map<String>
    Marketplace tags (Key = value).
    templateSections List<Property Map>
    Add custom section to the resource
    timeouts Property Map
    turnkeys List<Property Map>
    See Turnkey section for details.

    Outputs

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

    DefaultTags Dictionary<string, string>
    Default tags defined in the provider configuration.
    Gid double
    ID of the group that will own the marketplace
    Gname string
    Name of the group that will own the marketplace
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    Result of the applied default_tags and then resource tags.
    Uid double
    ID of the user that will own the marketplace
    Uname string
    Name of the user that will own the marketplace
    DefaultTags map[string]string
    Default tags defined in the provider configuration.
    Gid float64
    ID of the group that will own the marketplace
    Gname string
    Name of the group that will own the marketplace
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    Result of the applied default_tags and then resource tags.
    Uid float64
    ID of the user that will own the marketplace
    Uname string
    Name of the user that will own the marketplace
    defaultTags Map<String,String>
    Default tags defined in the provider configuration.
    gid Double
    ID of the group that will own the marketplace
    gname String
    Name of the group that will own the marketplace
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    Result of the applied default_tags and then resource tags.
    uid Double
    ID of the user that will own the marketplace
    uname String
    Name of the user that will own the marketplace
    defaultTags {[key: string]: string}
    Default tags defined in the provider configuration.
    gid number
    ID of the group that will own the marketplace
    gname string
    Name of the group that will own the marketplace
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    Result of the applied default_tags and then resource tags.
    uid number
    ID of the user that will own the marketplace
    uname string
    Name of the user that will own the marketplace
    default_tags Mapping[str, str]
    Default tags defined in the provider configuration.
    gid float
    ID of the group that will own the marketplace
    gname str
    Name of the group that will own the marketplace
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]
    Result of the applied default_tags and then resource tags.
    uid float
    ID of the user that will own the marketplace
    uname str
    Name of the user that will own the marketplace
    defaultTags Map<String>
    Default tags defined in the provider configuration.
    gid Number
    ID of the group that will own the marketplace
    gname String
    Name of the group that will own the marketplace
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    Result of the applied default_tags and then resource tags.
    uid Number
    ID of the user that will own the marketplace
    uname String
    Name of the user that will own the marketplace

    Look up Existing Marketplace Resource

    Get an existing Marketplace 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?: MarketplaceState, opts?: CustomResourceOptions): Marketplace
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            default_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            disabled: Optional[bool] = None,
            dockerhub: Optional[bool] = None,
            gid: Optional[float] = None,
            gname: Optional[str] = None,
            https: Optional[Sequence[MarketplaceHttpArgs]] = None,
            lxcs: Optional[Sequence[MarketplaceLxcArgs]] = None,
            marketplace_id: Optional[str] = None,
            name: Optional[str] = None,
            ones: Optional[Sequence[MarketplaceOneArgs]] = None,
            permissions: Optional[str] = None,
            s3s: Optional[Sequence[MarketplaceS3Args]] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            template_sections: Optional[Sequence[MarketplaceTemplateSectionArgs]] = None,
            timeouts: Optional[MarketplaceTimeoutsArgs] = None,
            turnkeys: Optional[Sequence[MarketplaceTurnkeyArgs]] = None,
            uid: Optional[float] = None,
            uname: Optional[str] = None) -> Marketplace
    func GetMarketplace(ctx *Context, name string, id IDInput, state *MarketplaceState, opts ...ResourceOption) (*Marketplace, error)
    public static Marketplace Get(string name, Input<string> id, MarketplaceState? state, CustomResourceOptions? opts = null)
    public static Marketplace get(String name, Output<String> id, MarketplaceState state, CustomResourceOptions options)
    resources:  _:    type: opennebula:Marketplace    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:
    DefaultTags Dictionary<string, string>
    Default tags defined in the provider configuration.
    Description string
    The description of the marketplace.
    Disabled bool
    Allow to enable or disable the market place
    Dockerhub bool
    Flag as a dockerhub marketplace, this provide access to DockerHub Official Images.
    Gid double
    ID of the group that will own the marketplace
    Gname string
    Name of the group that will own the marketplace
    Https List<MarketplaceHttp>
    See Http section for details.
    Lxcs List<MarketplaceLxc>
    See LXC section for details.
    MarketplaceId string
    ID of the marketplace.
    Name string
    The name of the marketplace.
    Ones List<MarketplaceOne>
    See One section for details.
    Permissions string
    Permissions applied to the appliance. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    S3s List<MarketplaceS3>
    See S3 section for details.
    Tags Dictionary<string, string>
    Marketplace tags (Key = value).
    TagsAll Dictionary<string, string>
    Result of the applied default_tags and then resource tags.
    TemplateSections List<MarketplaceTemplateSection>
    Add custom section to the resource
    Timeouts MarketplaceTimeouts
    Turnkeys List<MarketplaceTurnkey>
    See Turnkey section for details.
    Uid double
    ID of the user that will own the marketplace
    Uname string
    Name of the user that will own the marketplace
    DefaultTags map[string]string
    Default tags defined in the provider configuration.
    Description string
    The description of the marketplace.
    Disabled bool
    Allow to enable or disable the market place
    Dockerhub bool
    Flag as a dockerhub marketplace, this provide access to DockerHub Official Images.
    Gid float64
    ID of the group that will own the marketplace
    Gname string
    Name of the group that will own the marketplace
    Https []MarketplaceHttpArgs
    See Http section for details.
    Lxcs []MarketplaceLxcArgs
    See LXC section for details.
    MarketplaceId string
    ID of the marketplace.
    Name string
    The name of the marketplace.
    Ones []MarketplaceOneArgs
    See One section for details.
    Permissions string
    Permissions applied to the appliance. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    S3s []MarketplaceS3Args
    See S3 section for details.
    Tags map[string]string
    Marketplace tags (Key = value).
    TagsAll map[string]string
    Result of the applied default_tags and then resource tags.
    TemplateSections []MarketplaceTemplateSectionArgs
    Add custom section to the resource
    Timeouts MarketplaceTimeoutsArgs
    Turnkeys []MarketplaceTurnkeyArgs
    See Turnkey section for details.
    Uid float64
    ID of the user that will own the marketplace
    Uname string
    Name of the user that will own the marketplace
    defaultTags Map<String,String>
    Default tags defined in the provider configuration.
    description String
    The description of the marketplace.
    disabled Boolean
    Allow to enable or disable the market place
    dockerhub Boolean
    Flag as a dockerhub marketplace, this provide access to DockerHub Official Images.
    gid Double
    ID of the group that will own the marketplace
    gname String
    Name of the group that will own the marketplace
    https List<MarketplaceHttp>
    See Http section for details.
    lxcs List<MarketplaceLxc>
    See LXC section for details.
    marketplaceId String
    ID of the marketplace.
    name String
    The name of the marketplace.
    ones List<MarketplaceOne>
    See One section for details.
    permissions String
    Permissions applied to the appliance. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    s3s List<MarketplaceS3>
    See S3 section for details.
    tags Map<String,String>
    Marketplace tags (Key = value).
    tagsAll Map<String,String>
    Result of the applied default_tags and then resource tags.
    templateSections List<MarketplaceTemplateSection>
    Add custom section to the resource
    timeouts MarketplaceTimeouts
    turnkeys List<MarketplaceTurnkey>
    See Turnkey section for details.
    uid Double
    ID of the user that will own the marketplace
    uname String
    Name of the user that will own the marketplace
    defaultTags {[key: string]: string}
    Default tags defined in the provider configuration.
    description string
    The description of the marketplace.
    disabled boolean
    Allow to enable or disable the market place
    dockerhub boolean
    Flag as a dockerhub marketplace, this provide access to DockerHub Official Images.
    gid number
    ID of the group that will own the marketplace
    gname string
    Name of the group that will own the marketplace
    https MarketplaceHttp[]
    See Http section for details.
    lxcs MarketplaceLxc[]
    See LXC section for details.
    marketplaceId string
    ID of the marketplace.
    name string
    The name of the marketplace.
    ones MarketplaceOne[]
    See One section for details.
    permissions string
    Permissions applied to the appliance. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    s3s MarketplaceS3[]
    See S3 section for details.
    tags {[key: string]: string}
    Marketplace tags (Key = value).
    tagsAll {[key: string]: string}
    Result of the applied default_tags and then resource tags.
    templateSections MarketplaceTemplateSection[]
    Add custom section to the resource
    timeouts MarketplaceTimeouts
    turnkeys MarketplaceTurnkey[]
    See Turnkey section for details.
    uid number
    ID of the user that will own the marketplace
    uname string
    Name of the user that will own the marketplace
    default_tags Mapping[str, str]
    Default tags defined in the provider configuration.
    description str
    The description of the marketplace.
    disabled bool
    Allow to enable or disable the market place
    dockerhub bool
    Flag as a dockerhub marketplace, this provide access to DockerHub Official Images.
    gid float
    ID of the group that will own the marketplace
    gname str
    Name of the group that will own the marketplace
    https Sequence[MarketplaceHttpArgs]
    See Http section for details.
    lxcs Sequence[MarketplaceLxcArgs]
    See LXC section for details.
    marketplace_id str
    ID of the marketplace.
    name str
    The name of the marketplace.
    ones Sequence[MarketplaceOneArgs]
    See One section for details.
    permissions str
    Permissions applied to the appliance. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    s3s Sequence[MarketplaceS3Args]
    See S3 section for details.
    tags Mapping[str, str]
    Marketplace tags (Key = value).
    tags_all Mapping[str, str]
    Result of the applied default_tags and then resource tags.
    template_sections Sequence[MarketplaceTemplateSectionArgs]
    Add custom section to the resource
    timeouts MarketplaceTimeoutsArgs
    turnkeys Sequence[MarketplaceTurnkeyArgs]
    See Turnkey section for details.
    uid float
    ID of the user that will own the marketplace
    uname str
    Name of the user that will own the marketplace
    defaultTags Map<String>
    Default tags defined in the provider configuration.
    description String
    The description of the marketplace.
    disabled Boolean
    Allow to enable or disable the market place
    dockerhub Boolean
    Flag as a dockerhub marketplace, this provide access to DockerHub Official Images.
    gid Number
    ID of the group that will own the marketplace
    gname String
    Name of the group that will own the marketplace
    https List<Property Map>
    See Http section for details.
    lxcs List<Property Map>
    See LXC section for details.
    marketplaceId String
    ID of the marketplace.
    name String
    The name of the marketplace.
    ones List<Property Map>
    See One section for details.
    permissions String
    Permissions applied to the appliance. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    s3s List<Property Map>
    See S3 section for details.
    tags Map<String>
    Marketplace tags (Key = value).
    tagsAll Map<String>
    Result of the applied default_tags and then resource tags.
    templateSections List<Property Map>
    Add custom section to the resource
    timeouts Property Map
    turnkeys List<Property Map>
    See Turnkey section for details.
    uid Number
    ID of the user that will own the marketplace
    uname String
    Name of the user that will own the marketplace

    Supporting Types

    MarketplaceHttp, MarketplaceHttpArgs

    EndpointUrl string
    Base URL of the Marketplace HTTP endpoint.
    Path string
    Absolute directory path to place images in the front-end or in the hosts pointed at by storage_bridge_list.
    StorageBridgeLists List<string>
    List of servers to access the public directory.
    EndpointUrl string
    Base URL of the Marketplace HTTP endpoint.
    Path string
    Absolute directory path to place images in the front-end or in the hosts pointed at by storage_bridge_list.
    StorageBridgeLists []string
    List of servers to access the public directory.
    endpointUrl String
    Base URL of the Marketplace HTTP endpoint.
    path String
    Absolute directory path to place images in the front-end or in the hosts pointed at by storage_bridge_list.
    storageBridgeLists List<String>
    List of servers to access the public directory.
    endpointUrl string
    Base URL of the Marketplace HTTP endpoint.
    path string
    Absolute directory path to place images in the front-end or in the hosts pointed at by storage_bridge_list.
    storageBridgeLists string[]
    List of servers to access the public directory.
    endpoint_url str
    Base URL of the Marketplace HTTP endpoint.
    path str
    Absolute directory path to place images in the front-end or in the hosts pointed at by storage_bridge_list.
    storage_bridge_lists Sequence[str]
    List of servers to access the public directory.
    endpointUrl String
    Base URL of the Marketplace HTTP endpoint.
    path String
    Absolute directory path to place images in the front-end or in the hosts pointed at by storage_bridge_list.
    storageBridgeLists List<String>
    List of servers to access the public directory.

    MarketplaceLxc, MarketplaceLxcArgs

    Cpu double
    VM template CPU.
    EndpointUrl string
    The base URL of the Market.
    Filesystem string
    Filesystem used for the image.
    ImageBlockFileFormat string
    Image block file format.
    Memory double
    VM template memory.
    Privileged bool
    Secrurity mode of the Linux Container.
    RoofsImageSize double
    Size in MB for the image holding the rootfs.
    SkipUntested bool
    Include only apps with support for context.
    Vcpu double
    VM template VCPU.
    Cpu float64
    VM template CPU.
    EndpointUrl string
    The base URL of the Market.
    Filesystem string
    Filesystem used for the image.
    ImageBlockFileFormat string
    Image block file format.
    Memory float64
    VM template memory.
    Privileged bool
    Secrurity mode of the Linux Container.
    RoofsImageSize float64
    Size in MB for the image holding the rootfs.
    SkipUntested bool
    Include only apps with support for context.
    Vcpu float64
    VM template VCPU.
    cpu Double
    VM template CPU.
    endpointUrl String
    The base URL of the Market.
    filesystem String
    Filesystem used for the image.
    imageBlockFileFormat String
    Image block file format.
    memory Double
    VM template memory.
    privileged Boolean
    Secrurity mode of the Linux Container.
    roofsImageSize Double
    Size in MB for the image holding the rootfs.
    skipUntested Boolean
    Include only apps with support for context.
    vcpu Double
    VM template VCPU.
    cpu number
    VM template CPU.
    endpointUrl string
    The base URL of the Market.
    filesystem string
    Filesystem used for the image.
    imageBlockFileFormat string
    Image block file format.
    memory number
    VM template memory.
    privileged boolean
    Secrurity mode of the Linux Container.
    roofsImageSize number
    Size in MB for the image holding the rootfs.
    skipUntested boolean
    Include only apps with support for context.
    vcpu number
    VM template VCPU.
    cpu float
    VM template CPU.
    endpoint_url str
    The base URL of the Market.
    filesystem str
    Filesystem used for the image.
    image_block_file_format str
    Image block file format.
    memory float
    VM template memory.
    privileged bool
    Secrurity mode of the Linux Container.
    roofs_image_size float
    Size in MB for the image holding the rootfs.
    skip_untested bool
    Include only apps with support for context.
    vcpu float
    VM template VCPU.
    cpu Number
    VM template CPU.
    endpointUrl String
    The base URL of the Market.
    filesystem String
    Filesystem used for the image.
    imageBlockFileFormat String
    Image block file format.
    memory Number
    VM template memory.
    privileged Boolean
    Secrurity mode of the Linux Container.
    roofsImageSize Number
    Size in MB for the image holding the rootfs.
    skipUntested Boolean
    Include only apps with support for context.
    vcpu Number
    VM template VCPU.

    MarketplaceOne, MarketplaceOneArgs

    EndpointUrl string
    The endpoint URL of the marketplace.
    EndpointUrl string
    The endpoint URL of the marketplace.
    endpointUrl String
    The endpoint URL of the marketplace.
    endpointUrl string
    The endpoint URL of the marketplace.
    endpoint_url str
    The endpoint URL of the marketplace.
    endpointUrl String
    The endpoint URL of the marketplace.

    MarketplaceS3, MarketplaceS3Args

    AccessKeyId string
    The access key of the S3 user.
    Bucket string
    The bucket where the files will be stored.
    Region string
    The region to connect to. Any value will work with Ceph-S3.
    SecretAccessKey string
    The secret key of the S3 user.
    EndpointUrl string
    Only required when connecteing to a service other than Amazon S3.
    ReadBlockLength double
    Split the file into chunks of this size in MB, never user a value larger than 100.
    TotalSize double
    Define the total size of the marketplace in MB.
    Type string
    Type of the s3 backend: aws, ceph, minio.
    AccessKeyId string
    The access key of the S3 user.
    Bucket string
    The bucket where the files will be stored.
    Region string
    The region to connect to. Any value will work with Ceph-S3.
    SecretAccessKey string
    The secret key of the S3 user.
    EndpointUrl string
    Only required when connecteing to a service other than Amazon S3.
    ReadBlockLength float64
    Split the file into chunks of this size in MB, never user a value larger than 100.
    TotalSize float64
    Define the total size of the marketplace in MB.
    Type string
    Type of the s3 backend: aws, ceph, minio.
    accessKeyId String
    The access key of the S3 user.
    bucket String
    The bucket where the files will be stored.
    region String
    The region to connect to. Any value will work with Ceph-S3.
    secretAccessKey String
    The secret key of the S3 user.
    endpointUrl String
    Only required when connecteing to a service other than Amazon S3.
    readBlockLength Double
    Split the file into chunks of this size in MB, never user a value larger than 100.
    totalSize Double
    Define the total size of the marketplace in MB.
    type String
    Type of the s3 backend: aws, ceph, minio.
    accessKeyId string
    The access key of the S3 user.
    bucket string
    The bucket where the files will be stored.
    region string
    The region to connect to. Any value will work with Ceph-S3.
    secretAccessKey string
    The secret key of the S3 user.
    endpointUrl string
    Only required when connecteing to a service other than Amazon S3.
    readBlockLength number
    Split the file into chunks of this size in MB, never user a value larger than 100.
    totalSize number
    Define the total size of the marketplace in MB.
    type string
    Type of the s3 backend: aws, ceph, minio.
    access_key_id str
    The access key of the S3 user.
    bucket str
    The bucket where the files will be stored.
    region str
    The region to connect to. Any value will work with Ceph-S3.
    secret_access_key str
    The secret key of the S3 user.
    endpoint_url str
    Only required when connecteing to a service other than Amazon S3.
    read_block_length float
    Split the file into chunks of this size in MB, never user a value larger than 100.
    total_size float
    Define the total size of the marketplace in MB.
    type str
    Type of the s3 backend: aws, ceph, minio.
    accessKeyId String
    The access key of the S3 user.
    bucket String
    The bucket where the files will be stored.
    region String
    The region to connect to. Any value will work with Ceph-S3.
    secretAccessKey String
    The secret key of the S3 user.
    endpointUrl String
    Only required when connecteing to a service other than Amazon S3.
    readBlockLength Number
    Split the file into chunks of this size in MB, never user a value larger than 100.
    totalSize Number
    Define the total size of the marketplace in MB.
    type String
    Type of the s3 backend: aws, ceph, minio.

    MarketplaceTemplateSection, MarketplaceTemplateSectionArgs

    Name string
    The name of the marketplace.
    Elements Dictionary<string, string>
    Name string
    The name of the marketplace.
    Elements map[string]string
    name String
    The name of the marketplace.
    elements Map<String,String>
    name string
    The name of the marketplace.
    elements {[key: string]: string}
    name str
    The name of the marketplace.
    elements Mapping[str, str]
    name String
    The name of the marketplace.
    elements Map<String>

    MarketplaceTimeouts, MarketplaceTimeoutsArgs

    Create string
    Update string
    Create string
    Update string
    create String
    update String
    create string
    update string
    create str
    update str
    create String
    update String

    MarketplaceTurnkey, MarketplaceTurnkeyArgs

    EndpointUrl string
    The base URL of the Market
    Filesystem string
    Filesystem used for the image
    ImageBlockFileFormat string
    Image block file format
    RoofsImageSize double
    Size in MB for the image holding the rootfs
    SkipUntested bool
    Include only apps with support for context
    EndpointUrl string
    The base URL of the Market
    Filesystem string
    Filesystem used for the image
    ImageBlockFileFormat string
    Image block file format
    RoofsImageSize float64
    Size in MB for the image holding the rootfs
    SkipUntested bool
    Include only apps with support for context
    endpointUrl String
    The base URL of the Market
    filesystem String
    Filesystem used for the image
    imageBlockFileFormat String
    Image block file format
    roofsImageSize Double
    Size in MB for the image holding the rootfs
    skipUntested Boolean
    Include only apps with support for context
    endpointUrl string
    The base URL of the Market
    filesystem string
    Filesystem used for the image
    imageBlockFileFormat string
    Image block file format
    roofsImageSize number
    Size in MB for the image holding the rootfs
    skipUntested boolean
    Include only apps with support for context
    endpoint_url str
    The base URL of the Market
    filesystem str
    Filesystem used for the image
    image_block_file_format str
    Image block file format
    roofs_image_size float
    Size in MB for the image holding the rootfs
    skip_untested bool
    Include only apps with support for context
    endpointUrl String
    The base URL of the Market
    filesystem String
    Filesystem used for the image
    imageBlockFileFormat String
    Image block file format
    roofsImageSize Number
    Size in MB for the image holding the rootfs
    skipUntested Boolean
    Include only apps with support for context

    Import

    opennebula_marketplace can be imported using its ID:

    $ pulumi import opennebula:index/marketplace:Marketplace example 123
    

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

    Package Details

    Repository
    opennebula opennebula/terraform-provider-opennebula
    License
    Notes
    This Pulumi package is based on the opennebula Terraform Provider.
    opennebula logo
    opennebula 1.4.1 published on Monday, Apr 14, 2025 by opennebula