OVHCloud v2.8.0 published on Wednesday, Sep 24, 2025 by OVHcloud
ovh.getInstallationTemplate
Use this data source to retrieve information about a specific OVH dedicated server installation template.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const ovhTemplate = ovh.getInstallationTemplate({
    templateName: "debian12_64",
});
export const template = ovhTemplate;
import pulumi
import pulumi_ovh as ovh
ovh_template = ovh.get_installation_template(template_name="debian12_64")
pulumi.export("template", ovh_template)
package main
import (
	"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ovhTemplate, err := ovh.GetInstallationTemplate(ctx, &ovh.GetInstallationTemplateArgs{
			TemplateName: "debian12_64",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("template", ovhTemplate)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() => 
{
    var ovhTemplate = Ovh.GetInstallationTemplate.Invoke(new()
    {
        TemplateName = "debian12_64",
    });
    return new Dictionary<string, object?>
    {
        ["template"] = ovhTemplate,
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.OvhFunctions;
import com.pulumi.ovh.inputs.GetInstallationTemplateArgs;
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) {
        final var ovhTemplate = OvhFunctions.getInstallationTemplate(GetInstallationTemplateArgs.builder()
            .templateName("debian12_64")
            .build());
        ctx.export("template", ovhTemplate);
    }
}
variables:
  ovhTemplate:
    fn::invoke:
      function: ovh:getInstallationTemplate
      arguments:
        templateName: debian12_64
outputs:
  template: ${ovhTemplate}
Using getInstallationTemplate
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getInstallationTemplate(args: GetInstallationTemplateArgs, opts?: InvokeOptions): Promise<GetInstallationTemplateResult>
function getInstallationTemplateOutput(args: GetInstallationTemplateOutputArgs, opts?: InvokeOptions): Output<GetInstallationTemplateResult>def get_installation_template(template_name: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetInstallationTemplateResult
def get_installation_template_output(template_name: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetInstallationTemplateResult]func GetInstallationTemplate(ctx *Context, args *GetInstallationTemplateArgs, opts ...InvokeOption) (*GetInstallationTemplateResult, error)
func GetInstallationTemplateOutput(ctx *Context, args *GetInstallationTemplateOutputArgs, opts ...InvokeOption) GetInstallationTemplateResultOutput> Note: This function is named GetInstallationTemplate in the Go SDK.
public static class GetInstallationTemplate 
{
    public static Task<GetInstallationTemplateResult> InvokeAsync(GetInstallationTemplateArgs args, InvokeOptions? opts = null)
    public static Output<GetInstallationTemplateResult> Invoke(GetInstallationTemplateInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInstallationTemplateResult> getInstallationTemplate(GetInstallationTemplateArgs args, InvokeOptions options)
public static Output<GetInstallationTemplateResult> getInstallationTemplate(GetInstallationTemplateArgs args, InvokeOptions options)
fn::invoke:
  function: ovh:index/getInstallationTemplate:getInstallationTemplate
  arguments:
    # arguments dictionaryThe following arguments are supported:
- TemplateName string
- The name of the template.
- TemplateName string
- The name of the template.
- templateName String
- The name of the template.
- templateName string
- The name of the template.
- template_name str
- The name of the template.
- templateName String
- The name of the template.
getInstallationTemplate Result
The following output properties are available:
- BitFormat int
- Template bit format (32 or 64).
- Category string
- Category of this template (informative only).
- Description string
- Information about this template.
- Distribution string
- Distribution this template is based on.
- EndOf stringInstall 
- End of install date of the template.
- Family string
- Template family type.
- Filesystems List<string>
- Filesystems available.
- HardRaid boolConfiguration 
- Id string
- The provider-assigned unique ID for this managed resource.
- Inputs
List<GetInstallation Template Input> 
- Represents the questions of the expected answers in the userMetadata field.
- Licenses
List<GetInstallation Template License> 
- License available for this template.
- LvmReady bool
- Whether this template supports LVM.
- NoPartitioning bool
- Partitioning customization is not available for this OS template.
- Projects
List<GetInstallation Template Project> 
- Distribution project details.
- SoftRaid boolOnly Mirroring 
- Template supports RAID0 and RAID1 on 2 disks.
- Subfamily string
- Subfamily of the template.
- TemplateName string
- BitFormat int
- Template bit format (32 or 64).
- Category string
- Category of this template (informative only).
- Description string
- Information about this template.
- Distribution string
- Distribution this template is based on.
- EndOf stringInstall 
- End of install date of the template.
- Family string
- Template family type.
- Filesystems []string
- Filesystems available.
- HardRaid boolConfiguration 
- Id string
- The provider-assigned unique ID for this managed resource.
- Inputs
[]GetInstallation Template Input 
- Represents the questions of the expected answers in the userMetadata field.
- Licenses
[]GetInstallation Template License 
- License available for this template.
- LvmReady bool
- Whether this template supports LVM.
- NoPartitioning bool
- Partitioning customization is not available for this OS template.
- Projects
[]GetInstallation Template Project 
- Distribution project details.
- SoftRaid boolOnly Mirroring 
- Template supports RAID0 and RAID1 on 2 disks.
- Subfamily string
- Subfamily of the template.
- TemplateName string
- bitFormat Integer
- Template bit format (32 or 64).
- category String
- Category of this template (informative only).
- description String
- Information about this template.
- distribution String
- Distribution this template is based on.
- endOf StringInstall 
- End of install date of the template.
- family String
- Template family type.
- filesystems List<String>
- Filesystems available.
- hardRaid BooleanConfiguration 
- id String
- The provider-assigned unique ID for this managed resource.
- inputs
List<GetInstallation Template Input> 
- Represents the questions of the expected answers in the userMetadata field.
- licenses
List<GetInstallation Template License> 
- License available for this template.
- lvmReady Boolean
- Whether this template supports LVM.
- noPartitioning Boolean
- Partitioning customization is not available for this OS template.
- projects
List<GetInstallation Template Project> 
- Distribution project details.
- softRaid BooleanOnly Mirroring 
- Template supports RAID0 and RAID1 on 2 disks.
- subfamily String
- Subfamily of the template.
- templateName String
- bitFormat number
- Template bit format (32 or 64).
- category string
- Category of this template (informative only).
- description string
- Information about this template.
- distribution string
- Distribution this template is based on.
- endOf stringInstall 
- End of install date of the template.
- family string
- Template family type.
- filesystems string[]
- Filesystems available.
- hardRaid booleanConfiguration 
- id string
- The provider-assigned unique ID for this managed resource.
- inputs
GetInstallation Template Input[] 
- Represents the questions of the expected answers in the userMetadata field.
- licenses
GetInstallation Template License[] 
- License available for this template.
- lvmReady boolean
- Whether this template supports LVM.
- noPartitioning boolean
- Partitioning customization is not available for this OS template.
- projects
GetInstallation Template Project[] 
- Distribution project details.
- softRaid booleanOnly Mirroring 
- Template supports RAID0 and RAID1 on 2 disks.
- subfamily string
- Subfamily of the template.
- templateName string
- bit_format int
- Template bit format (32 or 64).
- category str
- Category of this template (informative only).
- description str
- Information about this template.
- distribution str
- Distribution this template is based on.
- end_of_ strinstall 
- End of install date of the template.
- family str
- Template family type.
- filesystems Sequence[str]
- Filesystems available.
- hard_raid_ boolconfiguration 
- id str
- The provider-assigned unique ID for this managed resource.
- inputs
Sequence[GetInstallation Template Input] 
- Represents the questions of the expected answers in the userMetadata field.
- licenses
Sequence[GetInstallation Template License] 
- License available for this template.
- lvm_ready bool
- Whether this template supports LVM.
- no_partitioning bool
- Partitioning customization is not available for this OS template.
- projects
Sequence[GetInstallation Template Project] 
- Distribution project details.
- soft_raid_ boolonly_ mirroring 
- Template supports RAID0 and RAID1 on 2 disks.
- subfamily str
- Subfamily of the template.
- template_name str
- bitFormat Number
- Template bit format (32 or 64).
- category String
- Category of this template (informative only).
- description String
- Information about this template.
- distribution String
- Distribution this template is based on.
- endOf StringInstall 
- End of install date of the template.
- family String
- Template family type.
- filesystems List<String>
- Filesystems available.
- hardRaid BooleanConfiguration 
- id String
- The provider-assigned unique ID for this managed resource.
- inputs List<Property Map>
- Represents the questions of the expected answers in the userMetadata field.
- licenses List<Property Map>
- License available for this template.
- lvmReady Boolean
- Whether this template supports LVM.
- noPartitioning Boolean
- Partitioning customization is not available for this OS template.
- projects List<Property Map>
- Distribution project details.
- softRaid BooleanOnly Mirroring 
- Template supports RAID0 and RAID1 on 2 disks.
- subfamily String
- Subfamily of the template.
- templateName String
Supporting Types
GetInstallationTemplateInput   
GetInstallationTemplateLicense   
GetInstallationTemplateLicenseO    
GetInstallationTemplateLicenseUsage    
GetInstallationTemplateProject   
- Os
List<GetInstallation Template Project O> 
- OS template project OS details
- Usages
List<GetInstallation Template Project Usage> 
- Os
[]GetInstallation Template Project O 
- OS template project OS details
- Usages
[]GetInstallation Template Project Usage 
- os
List<GetInstallation Template Project O> 
- OS template project OS details
- usages
List<GetInstallation Template Project Usage> 
- os
GetInstallation Template Project O[] 
- OS template project OS details
- usages
GetInstallation Template Project Usage[] 
- os
Sequence[GetInstallation Template Project O] 
- OS template project OS details
- usages
Sequence[GetInstallation Template Project Usage] 
- os List<Property Map>
- OS template project OS details
- usages List<Property Map>
GetInstallationTemplateProjectO    
- Governances List<string>
- OS template project item governance
- Name string
- OS template project item name
- ReleaseNotes string
- OS template project item release notes
- Url string
- OS template project item url
- Version string
- OS template project item version
- Governances []string
- OS template project item governance
- Name string
- OS template project item name
- ReleaseNotes string
- OS template project item release notes
- Url string
- OS template project item url
- Version string
- OS template project item version
- governances List<String>
- OS template project item governance
- name String
- OS template project item name
- releaseNotes String
- OS template project item release notes
- url String
- OS template project item url
- version String
- OS template project item version
- governances string[]
- OS template project item governance
- name string
- OS template project item name
- releaseNotes string
- OS template project item release notes
- url string
- OS template project item url
- version string
- OS template project item version
- governances Sequence[str]
- OS template project item governance
- name str
- OS template project item name
- release_notes str
- OS template project item release notes
- url str
- OS template project item url
- version str
- OS template project item version
- governances List<String>
- OS template project item governance
- name String
- OS template project item name
- releaseNotes String
- OS template project item release notes
- url String
- OS template project item url
- version String
- OS template project item version
GetInstallationTemplateProjectUsage    
- Governances List<string>
- OS template project item governance
- Name string
- OS template project item name
- ReleaseNotes string
- OS template project item release notes
- Url string
- OS template project item url
- Version string
- OS template project item version
- Governances []string
- OS template project item governance
- Name string
- OS template project item name
- ReleaseNotes string
- OS template project item release notes
- Url string
- OS template project item url
- Version string
- OS template project item version
- governances List<String>
- OS template project item governance
- name String
- OS template project item name
- releaseNotes String
- OS template project item release notes
- url String
- OS template project item url
- version String
- OS template project item version
- governances string[]
- OS template project item governance
- name string
- OS template project item name
- releaseNotes string
- OS template project item release notes
- url string
- OS template project item url
- version string
- OS template project item version
- governances Sequence[str]
- OS template project item governance
- name str
- OS template project item name
- release_notes str
- OS template project item release notes
- url str
- OS template project item url
- version str
- OS template project item version
- governances List<String>
- OS template project item governance
- name String
- OS template project item name
- releaseNotes String
- OS template project item release notes
- url String
- OS template project item url
- version String
- OS template project item version
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ovhTerraform Provider.
