opennebula.MarketplaceAppliance
Explore with Pulumi AI
Create MarketplaceAppliance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MarketplaceAppliance(name: string, args: MarketplaceApplianceArgs, opts?: CustomResourceOptions);
@overload
def MarketplaceAppliance(resource_name: str,
args: MarketplaceApplianceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MarketplaceAppliance(resource_name: str,
opts: Optional[ResourceOptions] = None,
market_id: Optional[float] = None,
type: Optional[str] = None,
origin_id: Optional[float] = None,
permissions: Optional[str] = None,
lock: Optional[str] = None,
disabled: Optional[bool] = None,
marketplace_appliance_id: Optional[str] = None,
name: Optional[str] = None,
apptemplate64: Optional[str] = None,
group: Optional[str] = None,
publisher: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
template_sections: Optional[Sequence[MarketplaceApplianceTemplateSectionArgs]] = None,
timeouts: Optional[MarketplaceApplianceTimeoutsArgs] = None,
description: Optional[str] = None,
version: Optional[str] = None,
vmtemplate64: Optional[str] = None)
func NewMarketplaceAppliance(ctx *Context, name string, args MarketplaceApplianceArgs, opts ...ResourceOption) (*MarketplaceAppliance, error)
public MarketplaceAppliance(string name, MarketplaceApplianceArgs args, CustomResourceOptions? opts = null)
public MarketplaceAppliance(String name, MarketplaceApplianceArgs args)
public MarketplaceAppliance(String name, MarketplaceApplianceArgs args, CustomResourceOptions options)
type: opennebula:MarketplaceAppliance
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 MarketplaceApplianceArgs
- 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 MarketplaceApplianceArgs
- 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 MarketplaceApplianceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MarketplaceApplianceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MarketplaceApplianceArgs
- 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 marketplaceApplianceResource = new Opennebula.MarketplaceAppliance("marketplaceApplianceResource", new()
{
MarketId = 0,
Type = "string",
OriginId = 0,
Permissions = "string",
Lock = "string",
Disabled = false,
MarketplaceApplianceId = "string",
Name = "string",
Apptemplate64 = "string",
Group = "string",
Publisher = "string",
Tags =
{
{ "string", "string" },
},
TemplateSections = new[]
{
new Opennebula.Inputs.MarketplaceApplianceTemplateSectionArgs
{
Name = "string",
Elements =
{
{ "string", "string" },
},
},
},
Timeouts = new Opennebula.Inputs.MarketplaceApplianceTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
Description = "string",
Version = "string",
Vmtemplate64 = "string",
});
example, err := opennebula.NewMarketplaceAppliance(ctx, "marketplaceApplianceResource", &opennebula.MarketplaceApplianceArgs{
MarketId: pulumi.Float64(0),
Type: pulumi.String("string"),
OriginId: pulumi.Float64(0),
Permissions: pulumi.String("string"),
Lock: pulumi.String("string"),
Disabled: pulumi.Bool(false),
MarketplaceApplianceId: pulumi.String("string"),
Name: pulumi.String("string"),
Apptemplate64: pulumi.String("string"),
Group: pulumi.String("string"),
Publisher: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TemplateSections: opennebula.MarketplaceApplianceTemplateSectionArray{
&opennebula.MarketplaceApplianceTemplateSectionArgs{
Name: pulumi.String("string"),
Elements: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
Timeouts: &opennebula.MarketplaceApplianceTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
Description: pulumi.String("string"),
Version: pulumi.String("string"),
Vmtemplate64: pulumi.String("string"),
})
var marketplaceApplianceResource = new MarketplaceAppliance("marketplaceApplianceResource", MarketplaceApplianceArgs.builder()
.marketId(0)
.type("string")
.originId(0)
.permissions("string")
.lock("string")
.disabled(false)
.marketplaceApplianceId("string")
.name("string")
.apptemplate64("string")
.group("string")
.publisher("string")
.tags(Map.of("string", "string"))
.templateSections(MarketplaceApplianceTemplateSectionArgs.builder()
.name("string")
.elements(Map.of("string", "string"))
.build())
.timeouts(MarketplaceApplianceTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.description("string")
.version("string")
.vmtemplate64("string")
.build());
marketplace_appliance_resource = opennebula.MarketplaceAppliance("marketplaceApplianceResource",
market_id=0,
type="string",
origin_id=0,
permissions="string",
lock="string",
disabled=False,
marketplace_appliance_id="string",
name="string",
apptemplate64="string",
group="string",
publisher="string",
tags={
"string": "string",
},
template_sections=[{
"name": "string",
"elements": {
"string": "string",
},
}],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
description="string",
version="string",
vmtemplate64="string")
const marketplaceApplianceResource = new opennebula.MarketplaceAppliance("marketplaceApplianceResource", {
marketId: 0,
type: "string",
originId: 0,
permissions: "string",
lock: "string",
disabled: false,
marketplaceApplianceId: "string",
name: "string",
apptemplate64: "string",
group: "string",
publisher: "string",
tags: {
string: "string",
},
templateSections: [{
name: "string",
elements: {
string: "string",
},
}],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
description: "string",
version: "string",
vmtemplate64: "string",
});
type: opennebula:MarketplaceAppliance
properties:
apptemplate64: string
description: string
disabled: false
group: string
lock: string
marketId: 0
marketplaceApplianceId: string
name: string
originId: 0
permissions: string
publisher: string
tags:
string: string
templateSections:
- elements:
string: string
name: string
timeouts:
create: string
delete: string
update: string
type: string
version: string
vmtemplate64: string
MarketplaceAppliance 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 MarketplaceAppliance resource accepts the following input properties:
- Market
Id double - The ID of the market to host the appliance
- Type string
- Type of the app: IMAGE, VMTEMPLATE, SERVICE_TEMPLATE
- Apptemplate64 string
- Associated template that will be added to the registered object
- Description string
- Text description of the appliance
- Disabled bool
- Allow to enable or disable the appliance
- Group string
- Name of the group owning the appliance
- Lock string
- Lock level of the new resource: USE, MANAGE, ADMIN, ALL, UNLOCK
- Marketplace
Appliance stringId - Name string
- Name of the appliance
- Origin
Id double - The ID of the source image
- Permissions string
- Permissions for the appliance (in Unix format, owner-group-other, use-manage-admin)
- Publisher string
- Publisher of the appliance
- Dictionary<string, string>
- Add custom tags to the resource
- Template
Sections List<MarketplaceAppliance Template Section> - Add custom section to the resource
- Timeouts
Marketplace
Appliance Timeouts - Version string
- A string indicating the appliance version
- Vmtemplate64 string
- Creates this template pointing to the base image
- Market
Id float64 - The ID of the market to host the appliance
- Type string
- Type of the app: IMAGE, VMTEMPLATE, SERVICE_TEMPLATE
- Apptemplate64 string
- Associated template that will be added to the registered object
- Description string
- Text description of the appliance
- Disabled bool
- Allow to enable or disable the appliance
- Group string
- Name of the group owning the appliance
- Lock string
- Lock level of the new resource: USE, MANAGE, ADMIN, ALL, UNLOCK
- Marketplace
Appliance stringId - Name string
- Name of the appliance
- Origin
Id float64 - The ID of the source image
- Permissions string
- Permissions for the appliance (in Unix format, owner-group-other, use-manage-admin)
- Publisher string
- Publisher of the appliance
- map[string]string
- Add custom tags to the resource
- Template
Sections []MarketplaceAppliance Template Section Args - Add custom section to the resource
- Timeouts
Marketplace
Appliance Timeouts Args - Version string
- A string indicating the appliance version
- Vmtemplate64 string
- Creates this template pointing to the base image
- market
Id Double - The ID of the market to host the appliance
- type String
- Type of the app: IMAGE, VMTEMPLATE, SERVICE_TEMPLATE
- apptemplate64 String
- Associated template that will be added to the registered object
- description String
- Text description of the appliance
- disabled Boolean
- Allow to enable or disable the appliance
- group String
- Name of the group owning the appliance
- lock String
- Lock level of the new resource: USE, MANAGE, ADMIN, ALL, UNLOCK
- marketplace
Appliance StringId - name String
- Name of the appliance
- origin
Id Double - The ID of the source image
- permissions String
- Permissions for the appliance (in Unix format, owner-group-other, use-manage-admin)
- publisher String
- Publisher of the appliance
- Map<String,String>
- Add custom tags to the resource
- template
Sections List<MarketplaceAppliance Template Section> - Add custom section to the resource
- timeouts
Marketplace
Appliance Timeouts - version String
- A string indicating the appliance version
- vmtemplate64 String
- Creates this template pointing to the base image
- market
Id number - The ID of the market to host the appliance
- type string
- Type of the app: IMAGE, VMTEMPLATE, SERVICE_TEMPLATE
- apptemplate64 string
- Associated template that will be added to the registered object
- description string
- Text description of the appliance
- disabled boolean
- Allow to enable or disable the appliance
- group string
- Name of the group owning the appliance
- lock string
- Lock level of the new resource: USE, MANAGE, ADMIN, ALL, UNLOCK
- marketplace
Appliance stringId - name string
- Name of the appliance
- origin
Id number - The ID of the source image
- permissions string
- Permissions for the appliance (in Unix format, owner-group-other, use-manage-admin)
- publisher string
- Publisher of the appliance
- {[key: string]: string}
- Add custom tags to the resource
- template
Sections MarketplaceAppliance Template Section[] - Add custom section to the resource
- timeouts
Marketplace
Appliance Timeouts - version string
- A string indicating the appliance version
- vmtemplate64 string
- Creates this template pointing to the base image
- market_
id float - The ID of the market to host the appliance
- type str
- Type of the app: IMAGE, VMTEMPLATE, SERVICE_TEMPLATE
- apptemplate64 str
- Associated template that will be added to the registered object
- description str
- Text description of the appliance
- disabled bool
- Allow to enable or disable the appliance
- group str
- Name of the group owning the appliance
- lock str
- Lock level of the new resource: USE, MANAGE, ADMIN, ALL, UNLOCK
- marketplace_
appliance_ strid - name str
- Name of the appliance
- origin_
id float - The ID of the source image
- permissions str
- Permissions for the appliance (in Unix format, owner-group-other, use-manage-admin)
- publisher str
- Publisher of the appliance
- Mapping[str, str]
- Add custom tags to the resource
- template_
sections Sequence[MarketplaceAppliance Template Section Args] - Add custom section to the resource
- timeouts
Marketplace
Appliance Timeouts Args - version str
- A string indicating the appliance version
- vmtemplate64 str
- Creates this template pointing to the base image
- market
Id Number - The ID of the market to host the appliance
- type String
- Type of the app: IMAGE, VMTEMPLATE, SERVICE_TEMPLATE
- apptemplate64 String
- Associated template that will be added to the registered object
- description String
- Text description of the appliance
- disabled Boolean
- Allow to enable or disable the appliance
- group String
- Name of the group owning the appliance
- lock String
- Lock level of the new resource: USE, MANAGE, ADMIN, ALL, UNLOCK
- marketplace
Appliance StringId - name String
- Name of the appliance
- origin
Id Number - The ID of the source image
- permissions String
- Permissions for the appliance (in Unix format, owner-group-other, use-manage-admin)
- publisher String
- Publisher of the appliance
- Map<String>
- Add custom tags to the resource
- template
Sections List<Property Map> - Add custom section to the resource
- timeouts Property Map
- version String
- A string indicating the appliance version
- vmtemplate64 String
- Creates this template pointing to the base image
Outputs
All input properties are implicitly available as output properties. Additionally, the MarketplaceAppliance resource produces the following output properties:
- Dictionary<string, string>
- Default tags defined in the provider configuration
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- Result of the applied default_tags and resource tags
- map[string]string
- Default tags defined in the provider configuration
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- Result of the applied default_tags and resource tags
- Map<String,String>
- Default tags defined in the provider configuration
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- Result of the applied default_tags and resource tags
- {[key: string]: string}
- Default tags defined in the provider configuration
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- Result of the applied default_tags and resource tags
- Mapping[str, str]
- Default tags defined in the provider configuration
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- Result of the applied default_tags and resource tags
- Map<String>
- Default tags defined in the provider configuration
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- Result of the applied default_tags and resource tags
Look up Existing MarketplaceAppliance Resource
Get an existing MarketplaceAppliance 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?: MarketplaceApplianceState, opts?: CustomResourceOptions): MarketplaceAppliance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
apptemplate64: Optional[str] = None,
default_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
disabled: Optional[bool] = None,
group: Optional[str] = None,
lock: Optional[str] = None,
market_id: Optional[float] = None,
marketplace_appliance_id: Optional[str] = None,
name: Optional[str] = None,
origin_id: Optional[float] = None,
permissions: Optional[str] = None,
publisher: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
template_sections: Optional[Sequence[MarketplaceApplianceTemplateSectionArgs]] = None,
timeouts: Optional[MarketplaceApplianceTimeoutsArgs] = None,
type: Optional[str] = None,
version: Optional[str] = None,
vmtemplate64: Optional[str] = None) -> MarketplaceAppliance
func GetMarketplaceAppliance(ctx *Context, name string, id IDInput, state *MarketplaceApplianceState, opts ...ResourceOption) (*MarketplaceAppliance, error)
public static MarketplaceAppliance Get(string name, Input<string> id, MarketplaceApplianceState? state, CustomResourceOptions? opts = null)
public static MarketplaceAppliance get(String name, Output<String> id, MarketplaceApplianceState state, CustomResourceOptions options)
resources: _: type: opennebula:MarketplaceAppliance 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.
- Apptemplate64 string
- Associated template that will be added to the registered object
- Dictionary<string, string>
- Default tags defined in the provider configuration
- Description string
- Text description of the appliance
- Disabled bool
- Allow to enable or disable the appliance
- Group string
- Name of the group owning the appliance
- Lock string
- Lock level of the new resource: USE, MANAGE, ADMIN, ALL, UNLOCK
- Market
Id double - The ID of the market to host the appliance
- Marketplace
Appliance stringId - Name string
- Name of the appliance
- Origin
Id double - The ID of the source image
- Permissions string
- Permissions for the appliance (in Unix format, owner-group-other, use-manage-admin)
- Publisher string
- Publisher of the appliance
- Dictionary<string, string>
- Add custom tags to the resource
- Dictionary<string, string>
- Result of the applied default_tags and resource tags
- Template
Sections List<MarketplaceAppliance Template Section> - Add custom section to the resource
- Timeouts
Marketplace
Appliance Timeouts - Type string
- Type of the app: IMAGE, VMTEMPLATE, SERVICE_TEMPLATE
- Version string
- A string indicating the appliance version
- Vmtemplate64 string
- Creates this template pointing to the base image
- Apptemplate64 string
- Associated template that will be added to the registered object
- map[string]string
- Default tags defined in the provider configuration
- Description string
- Text description of the appliance
- Disabled bool
- Allow to enable or disable the appliance
- Group string
- Name of the group owning the appliance
- Lock string
- Lock level of the new resource: USE, MANAGE, ADMIN, ALL, UNLOCK
- Market
Id float64 - The ID of the market to host the appliance
- Marketplace
Appliance stringId - Name string
- Name of the appliance
- Origin
Id float64 - The ID of the source image
- Permissions string
- Permissions for the appliance (in Unix format, owner-group-other, use-manage-admin)
- Publisher string
- Publisher of the appliance
- map[string]string
- Add custom tags to the resource
- map[string]string
- Result of the applied default_tags and resource tags
- Template
Sections []MarketplaceAppliance Template Section Args - Add custom section to the resource
- Timeouts
Marketplace
Appliance Timeouts Args - Type string
- Type of the app: IMAGE, VMTEMPLATE, SERVICE_TEMPLATE
- Version string
- A string indicating the appliance version
- Vmtemplate64 string
- Creates this template pointing to the base image
- apptemplate64 String
- Associated template that will be added to the registered object
- Map<String,String>
- Default tags defined in the provider configuration
- description String
- Text description of the appliance
- disabled Boolean
- Allow to enable or disable the appliance
- group String
- Name of the group owning the appliance
- lock String
- Lock level of the new resource: USE, MANAGE, ADMIN, ALL, UNLOCK
- market
Id Double - The ID of the market to host the appliance
- marketplace
Appliance StringId - name String
- Name of the appliance
- origin
Id Double - The ID of the source image
- permissions String
- Permissions for the appliance (in Unix format, owner-group-other, use-manage-admin)
- publisher String
- Publisher of the appliance
- Map<String,String>
- Add custom tags to the resource
- Map<String,String>
- Result of the applied default_tags and resource tags
- template
Sections List<MarketplaceAppliance Template Section> - Add custom section to the resource
- timeouts
Marketplace
Appliance Timeouts - type String
- Type of the app: IMAGE, VMTEMPLATE, SERVICE_TEMPLATE
- version String
- A string indicating the appliance version
- vmtemplate64 String
- Creates this template pointing to the base image
- apptemplate64 string
- Associated template that will be added to the registered object
- {[key: string]: string}
- Default tags defined in the provider configuration
- description string
- Text description of the appliance
- disabled boolean
- Allow to enable or disable the appliance
- group string
- Name of the group owning the appliance
- lock string
- Lock level of the new resource: USE, MANAGE, ADMIN, ALL, UNLOCK
- market
Id number - The ID of the market to host the appliance
- marketplace
Appliance stringId - name string
- Name of the appliance
- origin
Id number - The ID of the source image
- permissions string
- Permissions for the appliance (in Unix format, owner-group-other, use-manage-admin)
- publisher string
- Publisher of the appliance
- {[key: string]: string}
- Add custom tags to the resource
- {[key: string]: string}
- Result of the applied default_tags and resource tags
- template
Sections MarketplaceAppliance Template Section[] - Add custom section to the resource
- timeouts
Marketplace
Appliance Timeouts - type string
- Type of the app: IMAGE, VMTEMPLATE, SERVICE_TEMPLATE
- version string
- A string indicating the appliance version
- vmtemplate64 string
- Creates this template pointing to the base image
- apptemplate64 str
- Associated template that will be added to the registered object
- Mapping[str, str]
- Default tags defined in the provider configuration
- description str
- Text description of the appliance
- disabled bool
- Allow to enable or disable the appliance
- group str
- Name of the group owning the appliance
- lock str
- Lock level of the new resource: USE, MANAGE, ADMIN, ALL, UNLOCK
- market_
id float - The ID of the market to host the appliance
- marketplace_
appliance_ strid - name str
- Name of the appliance
- origin_
id float - The ID of the source image
- permissions str
- Permissions for the appliance (in Unix format, owner-group-other, use-manage-admin)
- publisher str
- Publisher of the appliance
- Mapping[str, str]
- Add custom tags to the resource
- Mapping[str, str]
- Result of the applied default_tags and resource tags
- template_
sections Sequence[MarketplaceAppliance Template Section Args] - Add custom section to the resource
- timeouts
Marketplace
Appliance Timeouts Args - type str
- Type of the app: IMAGE, VMTEMPLATE, SERVICE_TEMPLATE
- version str
- A string indicating the appliance version
- vmtemplate64 str
- Creates this template pointing to the base image
- apptemplate64 String
- Associated template that will be added to the registered object
- Map<String>
- Default tags defined in the provider configuration
- description String
- Text description of the appliance
- disabled Boolean
- Allow to enable or disable the appliance
- group String
- Name of the group owning the appliance
- lock String
- Lock level of the new resource: USE, MANAGE, ADMIN, ALL, UNLOCK
- market
Id Number - The ID of the market to host the appliance
- marketplace
Appliance StringId - name String
- Name of the appliance
- origin
Id Number - The ID of the source image
- permissions String
- Permissions for the appliance (in Unix format, owner-group-other, use-manage-admin)
- publisher String
- Publisher of the appliance
- Map<String>
- Add custom tags to the resource
- Map<String>
- Result of the applied default_tags and resource tags
- template
Sections List<Property Map> - Add custom section to the resource
- timeouts Property Map
- type String
- Type of the app: IMAGE, VMTEMPLATE, SERVICE_TEMPLATE
- version String
- A string indicating the appliance version
- vmtemplate64 String
- Creates this template pointing to the base image
Supporting Types
MarketplaceApplianceTemplateSection, MarketplaceApplianceTemplateSectionArgs
MarketplaceApplianceTimeouts, MarketplaceApplianceTimeoutsArgs
Package Details
- Repository
- opennebula opennebula/terraform-provider-opennebula
- License
- Notes
- This Pulumi package is based on the
opennebula
Terraform Provider.