ovh.Me.InstallationTemplate
Explore with Pulumi AI
Use this resource to create a custom installation template available for dedicated servers.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
mytemplate:
type: ovh:Me:InstallationTemplate
properties:
baseTemplateName: debian12_64
customHostname: mytest
templateName: mytemplate
Create InstallationTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InstallationTemplate(name: string, args: InstallationTemplateArgs, opts?: CustomResourceOptions);
@overload
def InstallationTemplate(resource_name: str,
args: InstallationTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InstallationTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
base_template_name: Optional[str] = None,
template_name: Optional[str] = None,
customization: Optional[_me.InstallationTemplateCustomizationArgs] = None,
remove_default_partition_schemes: Optional[bool] = None)
func NewInstallationTemplate(ctx *Context, name string, args InstallationTemplateArgs, opts ...ResourceOption) (*InstallationTemplate, error)
public InstallationTemplate(string name, InstallationTemplateArgs args, CustomResourceOptions? opts = null)
public InstallationTemplate(String name, InstallationTemplateArgs args)
public InstallationTemplate(String name, InstallationTemplateArgs args, CustomResourceOptions options)
type: ovh:Me:InstallationTemplate
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 InstallationTemplateArgs
- 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 InstallationTemplateArgs
- 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 InstallationTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstallationTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstallationTemplateArgs
- 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 installationTemplateResource = new Ovh.Me.InstallationTemplate("installationTemplateResource", new()
{
BaseTemplateName = "string",
TemplateName = "string",
Customization = new Ovh.Me.Inputs.InstallationTemplateCustomizationArgs
{
CustomHostname = "string",
},
RemoveDefaultPartitionSchemes = false,
});
example, err := Me.NewInstallationTemplate(ctx, "installationTemplateResource", &Me.InstallationTemplateArgs{
BaseTemplateName: pulumi.String("string"),
TemplateName: pulumi.String("string"),
Customization: &me.InstallationTemplateCustomizationArgs{
CustomHostname: pulumi.String("string"),
},
RemoveDefaultPartitionSchemes: pulumi.Bool(false),
})
var installationTemplateResource = new InstallationTemplate("installationTemplateResource", InstallationTemplateArgs.builder()
.baseTemplateName("string")
.templateName("string")
.customization(InstallationTemplateCustomizationArgs.builder()
.customHostname("string")
.build())
.removeDefaultPartitionSchemes(false)
.build());
installation_template_resource = ovh.me.InstallationTemplate("installationTemplateResource",
base_template_name="string",
template_name="string",
customization=ovh.me.InstallationTemplateCustomizationArgs(
custom_hostname="string",
),
remove_default_partition_schemes=False)
const installationTemplateResource = new ovh.me.InstallationTemplate("installationTemplateResource", {
baseTemplateName: "string",
templateName: "string",
customization: {
customHostname: "string",
},
removeDefaultPartitionSchemes: false,
});
type: ovh:Me:InstallationTemplate
properties:
baseTemplateName: string
customization:
customHostname: string
removeDefaultPartitionSchemes: false
templateName: string
InstallationTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The InstallationTemplate resource accepts the following input properties:
- Base
Template stringName - The name of an existing installation template, choose one among the list given by
ovh.getInstallationTemplates
datasource. - Template
Name string - This template name.
- Customization
Installation
Template Customization - Remove
Default boolPartition Schemes - Remove default partition schemes at creation.
- Base
Template stringName - The name of an existing installation template, choose one among the list given by
ovh.getInstallationTemplates
datasource. - Template
Name string - This template name.
- Customization
Installation
Template Customization Args - Remove
Default boolPartition Schemes - Remove default partition schemes at creation.
- base
Template StringName - The name of an existing installation template, choose one among the list given by
ovh.getInstallationTemplates
datasource. - template
Name String - This template name.
- customization
Installation
Template Customization - remove
Default BooleanPartition Schemes - Remove default partition schemes at creation.
- base
Template stringName - The name of an existing installation template, choose one among the list given by
ovh.getInstallationTemplates
datasource. - template
Name string - This template name.
- customization
Installation
Template Customization - remove
Default booleanPartition Schemes - Remove default partition schemes at creation.
- base_
template_ strname - The name of an existing installation template, choose one among the list given by
ovh.getInstallationTemplates
datasource. - template_
name str - This template name.
- customization
me.
Installation Template Customization Args - remove_
default_ boolpartition_ schemes - Remove default partition schemes at creation.
- base
Template StringName - The name of an existing installation template, choose one among the list given by
ovh.getInstallationTemplates
datasource. - template
Name String - This template name.
- customization Property Map
- remove
Default BooleanPartition Schemes - Remove default partition schemes at creation.
Outputs
All input properties are implicitly available as output properties. Additionally, the InstallationTemplate resource produces the following output properties:
- Bit
Format int - This template bit format (32 or 64).
- Category string
- Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
- Description string
- information about this template.
- Distribution string
- the distribution this template is based on.
- End
Of stringInstall - after this date, install of this template will not be possible at OVH
- Family string
- this template family type.
- Filesystems List<string>
- Filesystems available.
- Hard
Raid boolConfiguration - This distribution supports hardware raid configuration through the OVHcloud API. Deprecated, will be removed in next release.
- Id string
- The provider-assigned unique ID for this managed resource.
- Inputs
List<Installation
Template Input> - Lvm
Ready bool - Whether this distribution supports Logical Volumes (Linux LVM)
- No
Partitioning bool - Partitioning customization is not available for this OS template
- Soft
Raid boolOnly Mirroring - Partitioning customization is available but limited to mirroring for this OS template
- Subfamily string
- this template subfamily type
- Bit
Format int - This template bit format (32 or 64).
- Category string
- Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
- Description string
- information about this template.
- Distribution string
- the distribution this template is based on.
- End
Of stringInstall - after this date, install of this template will not be possible at OVH
- Family string
- this template family type.
- Filesystems []string
- Filesystems available.
- Hard
Raid boolConfiguration - This distribution supports hardware raid configuration through the OVHcloud API. Deprecated, will be removed in next release.
- Id string
- The provider-assigned unique ID for this managed resource.
- Inputs
[]Installation
Template Input Type - Lvm
Ready bool - Whether this distribution supports Logical Volumes (Linux LVM)
- No
Partitioning bool - Partitioning customization is not available for this OS template
- Soft
Raid boolOnly Mirroring - Partitioning customization is available but limited to mirroring for this OS template
- Subfamily string
- this template subfamily type
- bit
Format Integer - This template bit format (32 or 64).
- category String
- Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
- description String
- information about this template.
- distribution String
- the distribution this template is based on.
- end
Of StringInstall - after this date, install of this template will not be possible at OVH
- family String
- this template family type.
- filesystems List<String>
- Filesystems available.
- hard
Raid BooleanConfiguration - This distribution supports hardware raid configuration through the OVHcloud API. Deprecated, will be removed in next release.
- id String
- The provider-assigned unique ID for this managed resource.
- inputs
List<Installation
Template Input> - lvm
Ready Boolean - Whether this distribution supports Logical Volumes (Linux LVM)
- no
Partitioning Boolean - Partitioning customization is not available for this OS template
- soft
Raid BooleanOnly Mirroring - Partitioning customization is available but limited to mirroring for this OS template
- subfamily String
- this template subfamily type
- bit
Format number - This template bit format (32 or 64).
- category string
- Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
- description string
- information about this template.
- distribution string
- the distribution this template is based on.
- end
Of stringInstall - after this date, install of this template will not be possible at OVH
- family string
- this template family type.
- filesystems string[]
- Filesystems available.
- hard
Raid booleanConfiguration - This distribution supports hardware raid configuration through the OVHcloud API. Deprecated, will be removed in next release.
- id string
- The provider-assigned unique ID for this managed resource.
- inputs
Installation
Template Input[] - lvm
Ready boolean - Whether this distribution supports Logical Volumes (Linux LVM)
- no
Partitioning boolean - Partitioning customization is not available for this OS template
- soft
Raid booleanOnly Mirroring - Partitioning customization is available but limited to mirroring for this OS template
- subfamily string
- this template subfamily type
- bit_
format int - This template bit format (32 or 64).
- category str
- Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
- description str
- information about this template.
- distribution str
- the distribution this template is based on.
- end_
of_ strinstall - after this date, install of this template will not be possible at OVH
- family str
- this template family type.
- filesystems Sequence[str]
- Filesystems available.
- hard_
raid_ boolconfiguration - This distribution supports hardware raid configuration through the OVHcloud API. Deprecated, will be removed in next release.
- id str
- The provider-assigned unique ID for this managed resource.
- inputs
Sequence[me.
Installation Template Input] - lvm_
ready bool - Whether this distribution supports Logical Volumes (Linux LVM)
- no_
partitioning bool - Partitioning customization is not available for this OS template
- soft_
raid_ boolonly_ mirroring - Partitioning customization is available but limited to mirroring for this OS template
- subfamily str
- this template subfamily type
- bit
Format Number - This template bit format (32 or 64).
- category String
- Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
- description String
- information about this template.
- distribution String
- the distribution this template is based on.
- end
Of StringInstall - after this date, install of this template will not be possible at OVH
- family String
- this template family type.
- filesystems List<String>
- Filesystems available.
- hard
Raid BooleanConfiguration - This distribution supports hardware raid configuration through the OVHcloud API. Deprecated, will be removed in next release.
- id String
- The provider-assigned unique ID for this managed resource.
- inputs List<Property Map>
- lvm
Ready Boolean - Whether this distribution supports Logical Volumes (Linux LVM)
- no
Partitioning Boolean - Partitioning customization is not available for this OS template
- soft
Raid BooleanOnly Mirroring - Partitioning customization is available but limited to mirroring for this OS template
- subfamily String
- this template subfamily type
Look up Existing InstallationTemplate Resource
Get an existing InstallationTemplate 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?: InstallationTemplateState, opts?: CustomResourceOptions): InstallationTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
base_template_name: Optional[str] = None,
bit_format: Optional[int] = None,
category: Optional[str] = None,
customization: Optional[_me.InstallationTemplateCustomizationArgs] = None,
description: Optional[str] = None,
distribution: Optional[str] = None,
end_of_install: Optional[str] = None,
family: Optional[str] = None,
filesystems: Optional[Sequence[str]] = None,
hard_raid_configuration: Optional[bool] = None,
inputs: Optional[Sequence[_me.InstallationTemplateInputArgs]] = None,
lvm_ready: Optional[bool] = None,
no_partitioning: Optional[bool] = None,
remove_default_partition_schemes: Optional[bool] = None,
soft_raid_only_mirroring: Optional[bool] = None,
subfamily: Optional[str] = None,
template_name: Optional[str] = None) -> InstallationTemplate
func GetInstallationTemplate(ctx *Context, name string, id IDInput, state *InstallationTemplateState, opts ...ResourceOption) (*InstallationTemplate, error)
public static InstallationTemplate Get(string name, Input<string> id, InstallationTemplateState? state, CustomResourceOptions? opts = null)
public static InstallationTemplate get(String name, Output<String> id, InstallationTemplateState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Base
Template stringName - The name of an existing installation template, choose one among the list given by
ovh.getInstallationTemplates
datasource. - Bit
Format int - This template bit format (32 or 64).
- Category string
- Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
- Customization
Installation
Template Customization - Description string
- information about this template.
- Distribution string
- the distribution this template is based on.
- End
Of stringInstall - after this date, install of this template will not be possible at OVH
- Family string
- this template family type.
- Filesystems List<string>
- Filesystems available.
- Hard
Raid boolConfiguration - This distribution supports hardware raid configuration through the OVHcloud API. Deprecated, will be removed in next release.
- Inputs
List<Installation
Template Input> - Lvm
Ready bool - Whether this distribution supports Logical Volumes (Linux LVM)
- No
Partitioning bool - Partitioning customization is not available for this OS template
- Remove
Default boolPartition Schemes - Remove default partition schemes at creation.
- Soft
Raid boolOnly Mirroring - Partitioning customization is available but limited to mirroring for this OS template
- Subfamily string
- this template subfamily type
- Template
Name string - This template name.
- Base
Template stringName - The name of an existing installation template, choose one among the list given by
ovh.getInstallationTemplates
datasource. - Bit
Format int - This template bit format (32 or 64).
- Category string
- Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
- Customization
Installation
Template Customization Args - Description string
- information about this template.
- Distribution string
- the distribution this template is based on.
- End
Of stringInstall - after this date, install of this template will not be possible at OVH
- Family string
- this template family type.
- Filesystems []string
- Filesystems available.
- Hard
Raid boolConfiguration - This distribution supports hardware raid configuration through the OVHcloud API. Deprecated, will be removed in next release.
- Inputs
[]Installation
Template Input Type Args - Lvm
Ready bool - Whether this distribution supports Logical Volumes (Linux LVM)
- No
Partitioning bool - Partitioning customization is not available for this OS template
- Remove
Default boolPartition Schemes - Remove default partition schemes at creation.
- Soft
Raid boolOnly Mirroring - Partitioning customization is available but limited to mirroring for this OS template
- Subfamily string
- this template subfamily type
- Template
Name string - This template name.
- base
Template StringName - The name of an existing installation template, choose one among the list given by
ovh.getInstallationTemplates
datasource. - bit
Format Integer - This template bit format (32 or 64).
- category String
- Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
- customization
Installation
Template Customization - description String
- information about this template.
- distribution String
- the distribution this template is based on.
- end
Of StringInstall - after this date, install of this template will not be possible at OVH
- family String
- this template family type.
- filesystems List<String>
- Filesystems available.
- hard
Raid BooleanConfiguration - This distribution supports hardware raid configuration through the OVHcloud API. Deprecated, will be removed in next release.
- inputs
List<Installation
Template Input> - lvm
Ready Boolean - Whether this distribution supports Logical Volumes (Linux LVM)
- no
Partitioning Boolean - Partitioning customization is not available for this OS template
- remove
Default BooleanPartition Schemes - Remove default partition schemes at creation.
- soft
Raid BooleanOnly Mirroring - Partitioning customization is available but limited to mirroring for this OS template
- subfamily String
- this template subfamily type
- template
Name String - This template name.
- base
Template stringName - The name of an existing installation template, choose one among the list given by
ovh.getInstallationTemplates
datasource. - bit
Format number - This template bit format (32 or 64).
- category string
- Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
- customization
Installation
Template Customization - description string
- information about this template.
- distribution string
- the distribution this template is based on.
- end
Of stringInstall - after this date, install of this template will not be possible at OVH
- family string
- this template family type.
- filesystems string[]
- Filesystems available.
- hard
Raid booleanConfiguration - This distribution supports hardware raid configuration through the OVHcloud API. Deprecated, will be removed in next release.
- inputs
Installation
Template Input[] - lvm
Ready boolean - Whether this distribution supports Logical Volumes (Linux LVM)
- no
Partitioning boolean - Partitioning customization is not available for this OS template
- remove
Default booleanPartition Schemes - Remove default partition schemes at creation.
- soft
Raid booleanOnly Mirroring - Partitioning customization is available but limited to mirroring for this OS template
- subfamily string
- this template subfamily type
- template
Name string - This template name.
- base_
template_ strname - The name of an existing installation template, choose one among the list given by
ovh.getInstallationTemplates
datasource. - bit_
format int - This template bit format (32 or 64).
- category str
- Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
- customization
me.
Installation Template Customization Args - description str
- information about this template.
- distribution str
- the distribution this template is based on.
- end_
of_ strinstall - after this date, install of this template will not be possible at OVH
- family str
- this template family type.
- filesystems Sequence[str]
- Filesystems available.
- hard_
raid_ boolconfiguration - This distribution supports hardware raid configuration through the OVHcloud API. Deprecated, will be removed in next release.
- inputs
Sequence[me.
Installation Template Input Args] - lvm_
ready bool - Whether this distribution supports Logical Volumes (Linux LVM)
- no_
partitioning bool - Partitioning customization is not available for this OS template
- remove_
default_ boolpartition_ schemes - Remove default partition schemes at creation.
- soft_
raid_ boolonly_ mirroring - Partitioning customization is available but limited to mirroring for this OS template
- subfamily str
- this template subfamily type
- template_
name str - This template name.
- base
Template StringName - The name of an existing installation template, choose one among the list given by
ovh.getInstallationTemplates
datasource. - bit
Format Number - This template bit format (32 or 64).
- category String
- Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
- customization Property Map
- description String
- information about this template.
- distribution String
- the distribution this template is based on.
- end
Of StringInstall - after this date, install of this template will not be possible at OVH
- family String
- this template family type.
- filesystems List<String>
- Filesystems available.
- hard
Raid BooleanConfiguration - This distribution supports hardware raid configuration through the OVHcloud API. Deprecated, will be removed in next release.
- inputs List<Property Map>
- lvm
Ready Boolean - Whether this distribution supports Logical Volumes (Linux LVM)
- no
Partitioning Boolean - Partitioning customization is not available for this OS template
- remove
Default BooleanPartition Schemes - Remove default partition schemes at creation.
- soft
Raid BooleanOnly Mirroring - Partitioning customization is available but limited to mirroring for this OS template
- subfamily String
- this template subfamily type
- template
Name String - This template name.
Supporting Types
InstallationTemplateCustomization, InstallationTemplateCustomizationArgs
- Custom
Hostname string - Set up the server using the provided hostname instead of the default hostname.
- Custom
Hostname string - Set up the server using the provided hostname instead of the default hostname.
- custom
Hostname String - Set up the server using the provided hostname instead of the default hostname.
- custom
Hostname string - Set up the server using the provided hostname instead of the default hostname.
- custom_
hostname str - Set up the server using the provided hostname instead of the default hostname.
- custom
Hostname String - Set up the server using the provided hostname instead of the default hostname.
InstallationTemplateInput, InstallationTemplateInputArgs
Import
Custom installation template available for dedicated servers can be imported using the base_template_name
, template_name
of the cluster, separated by “/” E.g.,
bash
$ pulumi import ovh:Me/installationTemplate:InstallationTemplate mytemplate base_template_name/template_name
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovh
Terraform Provider.