opennebula.Marketplace
Explore with Pulumi AI
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<Marketplace
Http> - See Http section for details.
- Lxcs
List<Marketplace
Lxc> - See LXC section for details.
- Marketplace
Id string - ID of the marketplace.
- Name string
- The name of the marketplace.
- Ones
List<Marketplace
One> - 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<Marketplace
S3> - See S3 section for details.
- Dictionary<string, string>
- Marketplace tags (Key = value).
- Template
Sections List<MarketplaceTemplate Section> - Add custom section to the resource
- Timeouts
Marketplace
Timeouts - Turnkeys
List<Marketplace
Turnkey> - 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
[]Marketplace
Http Args - See Http section for details.
- Lxcs
[]Marketplace
Lxc Args - See LXC section for details.
- Marketplace
Id string - ID of the marketplace.
- Name string
- The name of the marketplace.
- Ones
[]Marketplace
One Args - 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
[]Marketplace
S3Args - See S3 section for details.
- map[string]string
- Marketplace tags (Key = value).
- Template
Sections []MarketplaceTemplate Section Args - Add custom section to the resource
- Timeouts
Marketplace
Timeouts Args - Turnkeys
[]Marketplace
Turnkey Args - 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<Marketplace
Http> - See Http section for details.
- lxcs
List<Marketplace
Lxc> - See LXC section for details.
- marketplace
Id String - ID of the marketplace.
- name String
- The name of the marketplace.
- ones
List<Marketplace
One> - 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<Marketplace
S3> - See S3 section for details.
- Map<String,String>
- Marketplace tags (Key = value).
- template
Sections List<MarketplaceTemplate Section> - Add custom section to the resource
- timeouts
Marketplace
Timeouts - turnkeys
List<Marketplace
Turnkey> - 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
Marketplace
Http[] - See Http section for details.
- lxcs
Marketplace
Lxc[] - See LXC section for details.
- marketplace
Id string - ID of the marketplace.
- name string
- The name of the marketplace.
- ones
Marketplace
One[] - 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
Marketplace
S3[] - See S3 section for details.
- {[key: string]: string}
- Marketplace tags (Key = value).
- template
Sections MarketplaceTemplate Section[] - Add custom section to the resource
- timeouts
Marketplace
Timeouts - turnkeys
Marketplace
Turnkey[] - 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[Marketplace
Http Args] - See Http section for details.
- lxcs
Sequence[Marketplace
Lxc Args] - See LXC section for details.
- marketplace_
id str - ID of the marketplace.
- name str
- The name of the marketplace.
- ones
Sequence[Marketplace
One Args] - 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[Marketplace
S3Args] - See S3 section for details.
- Mapping[str, str]
- Marketplace tags (Key = value).
- template_
sections Sequence[MarketplaceTemplate Section Args] - Add custom section to the resource
- timeouts
Marketplace
Timeouts Args - turnkeys
Sequence[Marketplace
Turnkey Args] - 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.
- marketplace
Id 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.
- Map<String>
- Marketplace tags (Key = value).
- template
Sections 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:
- 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.
- Dictionary<string, string>
- Result of the applied
default_tags
and then resourcetags
. - Uid double
- ID of the user that will own the marketplace
- Uname string
- Name of the user that will own the marketplace
- 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.
- map[string]string
- Result of the applied
default_tags
and then resourcetags
. - Uid float64
- ID of the user that will own the marketplace
- Uname string
- Name of the user that will own the marketplace
- 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.
- Map<String,String>
- Result of the applied
default_tags
and then resourcetags
. - uid Double
- ID of the user that will own the marketplace
- uname String
- Name of the user that will own the marketplace
- {[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.
- {[key: string]: string}
- Result of the applied
default_tags
and then resourcetags
. - uid number
- ID of the user that will own the marketplace
- uname string
- Name of the user that will own the marketplace
- 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.
- Mapping[str, str]
- Result of the applied
default_tags
and then resourcetags
. - uid float
- ID of the user that will own the marketplace
- uname str
- Name of the user that will own the marketplace
- 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.
- Map<String>
- Result of the applied
default_tags
and then resourcetags
. - 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.
- 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<Marketplace
Http> - See Http section for details.
- Lxcs
List<Marketplace
Lxc> - See LXC section for details.
- Marketplace
Id string - ID of the marketplace.
- Name string
- The name of the marketplace.
- Ones
List<Marketplace
One> - 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<Marketplace
S3> - See S3 section for details.
- Dictionary<string, string>
- Marketplace tags (Key = value).
- Dictionary<string, string>
- Result of the applied
default_tags
and then resourcetags
. - Template
Sections List<MarketplaceTemplate Section> - Add custom section to the resource
- Timeouts
Marketplace
Timeouts - Turnkeys
List<Marketplace
Turnkey> - 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
- 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
[]Marketplace
Http Args - See Http section for details.
- Lxcs
[]Marketplace
Lxc Args - See LXC section for details.
- Marketplace
Id string - ID of the marketplace.
- Name string
- The name of the marketplace.
- Ones
[]Marketplace
One Args - 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
[]Marketplace
S3Args - See S3 section for details.
- map[string]string
- Marketplace tags (Key = value).
- map[string]string
- Result of the applied
default_tags
and then resourcetags
. - Template
Sections []MarketplaceTemplate Section Args - Add custom section to the resource
- Timeouts
Marketplace
Timeouts Args - Turnkeys
[]Marketplace
Turnkey Args - 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
- 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<Marketplace
Http> - See Http section for details.
- lxcs
List<Marketplace
Lxc> - See LXC section for details.
- marketplace
Id String - ID of the marketplace.
- name String
- The name of the marketplace.
- ones
List<Marketplace
One> - 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<Marketplace
S3> - See S3 section for details.
- Map<String,String>
- Marketplace tags (Key = value).
- Map<String,String>
- Result of the applied
default_tags
and then resourcetags
. - template
Sections List<MarketplaceTemplate Section> - Add custom section to the resource
- timeouts
Marketplace
Timeouts - turnkeys
List<Marketplace
Turnkey> - 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
- {[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
Marketplace
Http[] - See Http section for details.
- lxcs
Marketplace
Lxc[] - See LXC section for details.
- marketplace
Id string - ID of the marketplace.
- name string
- The name of the marketplace.
- ones
Marketplace
One[] - 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
Marketplace
S3[] - See S3 section for details.
- {[key: string]: string}
- Marketplace tags (Key = value).
- {[key: string]: string}
- Result of the applied
default_tags
and then resourcetags
. - template
Sections MarketplaceTemplate Section[] - Add custom section to the resource
- timeouts
Marketplace
Timeouts - turnkeys
Marketplace
Turnkey[] - 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
- 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[Marketplace
Http Args] - See Http section for details.
- lxcs
Sequence[Marketplace
Lxc Args] - See LXC section for details.
- marketplace_
id str - ID of the marketplace.
- name str
- The name of the marketplace.
- ones
Sequence[Marketplace
One Args] - 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[Marketplace
S3Args] - See S3 section for details.
- Mapping[str, str]
- Marketplace tags (Key = value).
- Mapping[str, str]
- Result of the applied
default_tags
and then resourcetags
. - template_
sections Sequence[MarketplaceTemplate Section Args] - Add custom section to the resource
- timeouts
Marketplace
Timeouts Args - turnkeys
Sequence[Marketplace
Turnkey Args] - 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
- 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.
- marketplace
Id 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.
- Map<String>
- Marketplace tags (Key = value).
- Map<String>
- Result of the applied
default_tags
and then resourcetags
. - template
Sections 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
- Endpoint
Url 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.
- Storage
Bridge List<string>Lists - List of servers to access the public directory.
- Endpoint
Url 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.
- Storage
Bridge []stringLists - List of servers to access the public directory.
- endpoint
Url 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.
- storage
Bridge List<String>Lists - List of servers to access the public directory.
- endpoint
Url 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.
- storage
Bridge string[]Lists - 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_ Sequence[str]lists - List of servers to access the public directory.
- endpoint
Url 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.
- storage
Bridge List<String>Lists - List of servers to access the public directory.
MarketplaceLxc, MarketplaceLxcArgs
- Cpu double
- VM template CPU.
- Endpoint
Url string - The base URL of the Market.
- Filesystem string
- Filesystem used for the image.
- Image
Block stringFile Format - Image block file format.
- Memory double
- VM template memory.
- Privileged bool
- Secrurity mode of the Linux Container.
- Roofs
Image doubleSize - Size in MB for the image holding the rootfs.
- Skip
Untested bool - Include only apps with support for context.
- Vcpu double
- VM template VCPU.
- Cpu float64
- VM template CPU.
- Endpoint
Url string - The base URL of the Market.
- Filesystem string
- Filesystem used for the image.
- Image
Block stringFile Format - Image block file format.
- Memory float64
- VM template memory.
- Privileged bool
- Secrurity mode of the Linux Container.
- Roofs
Image float64Size - Size in MB for the image holding the rootfs.
- Skip
Untested bool - Include only apps with support for context.
- Vcpu float64
- VM template VCPU.
- cpu Double
- VM template CPU.
- endpoint
Url String - The base URL of the Market.
- filesystem String
- Filesystem used for the image.
- image
Block StringFile Format - Image block file format.
- memory Double
- VM template memory.
- privileged Boolean
- Secrurity mode of the Linux Container.
- roofs
Image DoubleSize - Size in MB for the image holding the rootfs.
- skip
Untested Boolean - Include only apps with support for context.
- vcpu Double
- VM template VCPU.
- cpu number
- VM template CPU.
- endpoint
Url string - The base URL of the Market.
- filesystem string
- Filesystem used for the image.
- image
Block stringFile Format - Image block file format.
- memory number
- VM template memory.
- privileged boolean
- Secrurity mode of the Linux Container.
- roofs
Image numberSize - Size in MB for the image holding the rootfs.
- skip
Untested 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_ strfile_ format - Image block file format.
- memory float
- VM template memory.
- privileged bool
- Secrurity mode of the Linux Container.
- roofs_
image_ floatsize - 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.
- endpoint
Url String - The base URL of the Market.
- filesystem String
- Filesystem used for the image.
- image
Block StringFile Format - Image block file format.
- memory Number
- VM template memory.
- privileged Boolean
- Secrurity mode of the Linux Container.
- roofs
Image NumberSize - Size in MB for the image holding the rootfs.
- skip
Untested Boolean - Include only apps with support for context.
- vcpu Number
- VM template VCPU.
MarketplaceOne, MarketplaceOneArgs
- Endpoint
Url string - The endpoint URL of the marketplace.
- Endpoint
Url string - The endpoint URL of the marketplace.
- endpoint
Url String - The endpoint URL of the marketplace.
- endpoint
Url string - The endpoint URL of the marketplace.
- endpoint_
url str - The endpoint URL of the marketplace.
- endpoint
Url String - The endpoint URL of the marketplace.
MarketplaceS3, MarketplaceS3Args
- Access
Key stringId - 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.
- Secret
Access stringKey - The secret key of the S3 user.
- Endpoint
Url string - Only required when connecteing to a service other than Amazon S3.
- Read
Block doubleLength - Split the file into chunks of this size in MB, never user a value larger than 100.
- Total
Size double - Define the total size of the marketplace in MB.
- Type string
- Type of the s3 backend: aws, ceph, minio.
- Access
Key stringId - 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.
- Secret
Access stringKey - The secret key of the S3 user.
- Endpoint
Url string - Only required when connecteing to a service other than Amazon S3.
- Read
Block float64Length - Split the file into chunks of this size in MB, never user a value larger than 100.
- Total
Size float64 - Define the total size of the marketplace in MB.
- Type string
- Type of the s3 backend: aws, ceph, minio.
- access
Key StringId - 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.
- secret
Access StringKey - The secret key of the S3 user.
- endpoint
Url String - Only required when connecteing to a service other than Amazon S3.
- read
Block DoubleLength - Split the file into chunks of this size in MB, never user a value larger than 100.
- total
Size Double - Define the total size of the marketplace in MB.
- type String
- Type of the s3 backend: aws, ceph, minio.
- access
Key stringId - 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.
- secret
Access stringKey - The secret key of the S3 user.
- endpoint
Url string - Only required when connecteing to a service other than Amazon S3.
- read
Block numberLength - Split the file into chunks of this size in MB, never user a value larger than 100.
- total
Size number - Define the total size of the marketplace in MB.
- type string
- Type of the s3 backend: aws, ceph, minio.
- access_
key_ strid - 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_ strkey - The secret key of the S3 user.
- endpoint_
url str - Only required when connecteing to a service other than Amazon S3.
- read_
block_ floatlength - 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.
- access
Key StringId - 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.
- secret
Access StringKey - The secret key of the S3 user.
- endpoint
Url String - Only required when connecteing to a service other than Amazon S3.
- read
Block NumberLength - Split the file into chunks of this size in MB, never user a value larger than 100.
- total
Size Number - Define the total size of the marketplace in MB.
- type String
- Type of the s3 backend: aws, ceph, minio.
MarketplaceTemplateSection, MarketplaceTemplateSectionArgs
MarketplaceTimeouts, MarketplaceTimeoutsArgs
MarketplaceTurnkey, MarketplaceTurnkeyArgs
- Endpoint
Url string - The base URL of the Market
- Filesystem string
- Filesystem used for the image
- Image
Block stringFile Format - Image block file format
- Roofs
Image doubleSize - Size in MB for the image holding the rootfs
- Skip
Untested bool - Include only apps with support for context
- Endpoint
Url string - The base URL of the Market
- Filesystem string
- Filesystem used for the image
- Image
Block stringFile Format - Image block file format
- Roofs
Image float64Size - Size in MB for the image holding the rootfs
- Skip
Untested bool - Include only apps with support for context
- endpoint
Url String - The base URL of the Market
- filesystem String
- Filesystem used for the image
- image
Block StringFile Format - Image block file format
- roofs
Image DoubleSize - Size in MB for the image holding the rootfs
- skip
Untested Boolean - Include only apps with support for context
- endpoint
Url string - The base URL of the Market
- filesystem string
- Filesystem used for the image
- image
Block stringFile Format - Image block file format
- roofs
Image numberSize - Size in MB for the image holding the rootfs
- skip
Untested 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_ strfile_ format - Image block file format
- roofs_
image_ floatsize - Size in MB for the image holding the rootfs
- skip_
untested bool - Include only apps with support for context
- endpoint
Url String - The base URL of the Market
- filesystem String
- Filesystem used for the image
- image
Block StringFile Format - Image block file format
- roofs
Image NumberSize - Size in MB for the image holding the rootfs
- skip
Untested 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.