OVHCloud v0.50.0 published on Friday, Sep 20, 2024 by OVHcloud
ovh.Me.getInstallationTemplate
Explore with Pulumi AI
Use this data source to get a custom installation template available for dedicated servers.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";
const mytemplate = ovh.Me.getInstallationTemplate({
    templateName: "mytemplate",
});
import pulumi
import pulumi_ovh as ovh
mytemplate = ovh.Me.get_installation_template(template_name="mytemplate")
package main
import (
	"github.com/ovh/pulumi-ovh/sdk/go/ovh/Me"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.GetInstallationTemplate(ctx, &me.GetInstallationTemplateArgs{
			TemplateName: "mytemplate",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() => 
{
    var mytemplate = Ovh.Me.GetInstallationTemplate.Invoke(new()
    {
        TemplateName = "mytemplate",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.Me.MeFunctions;
import com.pulumi.ovh.Me.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 mytemplate = MeFunctions.getInstallationTemplate(GetInstallationTemplateArgs.builder()
            .templateName("mytemplate")
            .build());
    }
}
variables:
  mytemplate:
    fn::invoke:
      Function: ovh:Me:getInstallationTemplate
      Arguments:
        templateName: mytemplate
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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: ovh:Me/getInstallationTemplate:getInstallationTemplate
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Template
Name string - Template name.
 
- Template
Name string - Template name.
 
- template
Name String - Template name.
 
- template
Name string - Template name.
 
- template_
name str - Template name.
 
- template
Name String - Template name.
 
getInstallationTemplate Result
The following output properties are available:
- Bit
Format int - Template bit format (32 or 64).
 - Category string
 - Category of this template (informative only).
 - Customizations
List<Get
Installation Template Customization>  - Description string
 - Information about this template.
 - Distribution string
 - Distribution this template is based on.
 - End
Of stringInstall  - End of install date of the template.
 - Family string
 - Template family type (bsd,linux,solaris,windows).
 - Filesystems List<string>
 - Filesystems available.
 - Hard
Raid boolConfiguration  - Distribution supports hardware raid configuration through the OVHcloud API.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Inputs
List<Get
Installation Template Input>  - Represents the questions of the expected answers in the userMetadata field.
 - Lvm
Ready bool - Whether this template supports LVM.
 - No
Partitioning bool - Partitioning customization is not available for this OS template.
 - Partition
Schemes List<GetInstallation Template Partition Scheme>  - Soft
Raid boolOnly Mirroring  - Template supports RAID0 and RAID1 on 2 disks.
 - Subfamily string
 - Subfamily of the template.
 - Template
Name string 
- Bit
Format int - Template bit format (32 or 64).
 - Category string
 - Category of this template (informative only).
 - Customizations
[]Get
Installation Template Customization  - Description string
 - Information about this template.
 - Distribution string
 - Distribution this template is based on.
 - End
Of stringInstall  - End of install date of the template.
 - Family string
 - Template family type (bsd,linux,solaris,windows).
 - Filesystems []string
 - Filesystems available.
 - Hard
Raid boolConfiguration  - Distribution supports hardware raid configuration through the OVHcloud API.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Inputs
[]Get
Installation Template Input  - Represents the questions of the expected answers in the userMetadata field.
 - Lvm
Ready bool - Whether this template supports LVM.
 - No
Partitioning bool - Partitioning customization is not available for this OS template.
 - Partition
Schemes []GetInstallation Template Partition Scheme Type  - Soft
Raid boolOnly Mirroring  - Template supports RAID0 and RAID1 on 2 disks.
 - Subfamily string
 - Subfamily of the template.
 - Template
Name string 
- bit
Format Integer - Template bit format (32 or 64).
 - category String
 - Category of this template (informative only).
 - customizations
List<Get
Installation Template Customization>  - description String
 - Information about this template.
 - distribution String
 - Distribution this template is based on.
 - end
Of StringInstall  - End of install date of the template.
 - family String
 - Template family type (bsd,linux,solaris,windows).
 - filesystems List<String>
 - Filesystems available.
 - hard
Raid BooleanConfiguration  - Distribution supports hardware raid configuration through the OVHcloud API.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - inputs
List<Get
Installation Template Input>  - Represents the questions of the expected answers in the userMetadata field.
 - lvm
Ready Boolean - Whether this template supports LVM.
 - no
Partitioning Boolean - Partitioning customization is not available for this OS template.
 - partition
Schemes List<GetInstallation Template Partition Scheme>  - soft
Raid BooleanOnly Mirroring  - Template supports RAID0 and RAID1 on 2 disks.
 - subfamily String
 - Subfamily of the template.
 - template
Name String 
- bit
Format number - Template bit format (32 or 64).
 - category string
 - Category of this template (informative only).
 - customizations
Get
Installation Template Customization[]  - description string
 - Information about this template.
 - distribution string
 - Distribution this template is based on.
 - end
Of stringInstall  - End of install date of the template.
 - family string
 - Template family type (bsd,linux,solaris,windows).
 - filesystems string[]
 - Filesystems available.
 - hard
Raid booleanConfiguration  - Distribution supports hardware raid configuration through the OVHcloud API.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - inputs
Get
Installation Template Input[]  - Represents the questions of the expected answers in the userMetadata field.
 - lvm
Ready boolean - Whether this template supports LVM.
 - no
Partitioning boolean - Partitioning customization is not available for this OS template.
 - partition
Schemes GetInstallation Template Partition Scheme[]  - soft
Raid booleanOnly Mirroring  - Template supports RAID0 and RAID1 on 2 disks.
 - subfamily string
 - Subfamily of the template.
 - template
Name string 
- bit_
format int - Template bit format (32 or 64).
 - category str
 - Category of this template (informative only).
 - customizations
Sequence[me.
Get Installation Template Customization]  - 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 (bsd,linux,solaris,windows).
 - filesystems Sequence[str]
 - Filesystems available.
 - hard_
raid_ boolconfiguration  - Distribution supports hardware raid configuration through the OVHcloud API.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - inputs
Sequence[me.
Get Installation Template Input]  - Represents the questions of the expected answers in the userMetadata field.
 - lvm_
ready bool - Whether this template supports LVM.
 - no_
partitioning bool - Partitioning customization is not available for this OS template.
 - partition_
schemes Sequence[me.Get Installation Template Partition Scheme]  - soft_
raid_ boolonly_ mirroring  - Template supports RAID0 and RAID1 on 2 disks.
 - subfamily str
 - Subfamily of the template.
 - template_
name str 
- bit
Format Number - Template bit format (32 or 64).
 - category String
 - Category of this template (informative only).
 - customizations List<Property Map>
 - description String
 - Information about this template.
 - distribution String
 - Distribution this template is based on.
 - end
Of StringInstall  - End of install date of the template.
 - family String
 - Template family type (bsd,linux,solaris,windows).
 - filesystems List<String>
 - Filesystems available.
 - hard
Raid BooleanConfiguration  - Distribution supports hardware raid configuration through the OVHcloud API.
 - 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.
 - lvm
Ready Boolean - Whether this template supports LVM.
 - no
Partitioning Boolean - Partitioning customization is not available for this OS template.
 - partition
Schemes List<Property Map> - soft
Raid BooleanOnly Mirroring  - Template supports RAID0 and RAID1 on 2 disks.
 - subfamily String
 - Subfamily of the template.
 - template
Name String 
Supporting Types
GetInstallationTemplateCustomization   
- 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.
 
GetInstallationTemplateInput   
GetInstallationTemplatePartitionScheme    
- Hardware
Raids List<GetInstallation Template Partition Scheme Hardware Raid>  - Name string
 - Hardware RAID name.
 - Partitions
List<Get
Installation Template Partition Scheme Partition>  - Priority int
 - On a reinstall, if a partitioning scheme is not specified, the one with the higher priority will be used by default, among all the compatible partitioning schemes (given the underlying hardware specifications).
 
- Hardware
Raids []GetInstallation Template Partition Scheme Hardware Raid Type  - Name string
 - Hardware RAID name.
 - Partitions
[]Get
Installation Template Partition Scheme Partition Type  - Priority int
 - On a reinstall, if a partitioning scheme is not specified, the one with the higher priority will be used by default, among all the compatible partitioning schemes (given the underlying hardware specifications).
 
- hardware
Raids List<GetInstallation Template Partition Scheme Hardware Raid>  - name String
 - Hardware RAID name.
 - partitions
List<Get
Installation Template Partition Scheme Partition>  - priority Integer
 - On a reinstall, if a partitioning scheme is not specified, the one with the higher priority will be used by default, among all the compatible partitioning schemes (given the underlying hardware specifications).
 
- hardware
Raids GetInstallation Template Partition Scheme Hardware Raid[]  - name string
 - Hardware RAID name.
 - partitions
Get
Installation Template Partition Scheme Partition[]  - priority number
 - On a reinstall, if a partitioning scheme is not specified, the one with the higher priority will be used by default, among all the compatible partitioning schemes (given the underlying hardware specifications).
 
- hardware_
raids Sequence[me.Get Installation Template Partition Scheme Hardware Raid]  - name str
 - Hardware RAID name.
 - partitions
Sequence[me.
Get Installation Template Partition Scheme Partition]  - priority int
 - On a reinstall, if a partitioning scheme is not specified, the one with the higher priority will be used by default, among all the compatible partitioning schemes (given the underlying hardware specifications).
 
- hardware
Raids List<Property Map> - name String
 - Hardware RAID name.
 - partitions List<Property Map>
 - priority Number
 - On a reinstall, if a partitioning scheme is not specified, the one with the higher priority will be used by default, among all the compatible partitioning schemes (given the underlying hardware specifications).
 
GetInstallationTemplatePartitionSchemeHardwareRaid      
- Disks List<string>
 - Disk List. Syntax is cX:dY for disks and [cX:dY,cX:dY] for groups. With X and Y resp. the controller id and the disk id.
 - Mode string
 - RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60).
 - Name string
 - Hardware RAID name.
 - Step int
 - Specifies the creation order of the hardware RAID.
 
- disks List<String>
 - Disk List. Syntax is cX:dY for disks and [cX:dY,cX:dY] for groups. With X and Y resp. the controller id and the disk id.
 - mode String
 - RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60).
 - name String
 - Hardware RAID name.
 - step Integer
 - Specifies the creation order of the hardware RAID.
 
- disks List<String>
 - Disk List. Syntax is cX:dY for disks and [cX:dY,cX:dY] for groups. With X and Y resp. the controller id and the disk id.
 - mode String
 - RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60).
 - name String
 - Hardware RAID name.
 - step Number
 - Specifies the creation order of the hardware RAID.
 
GetInstallationTemplatePartitionSchemePartition     
- Filesystem string
 - Partition filesystem.
 - Mountpoint string
 - Partition mount point.
 - Order int
 - Step or order. Specifies the creation order of the partition on the disk.
 - Raid string
 - Raid partition type.
 - Size int
 - Size of partition in MB, 0 => rest of the space.
 - Type string
 - Partition type.
 - Volume
Name string - Volume name needed for proxmox distribution.
 
- Filesystem string
 - Partition filesystem.
 - Mountpoint string
 - Partition mount point.
 - Order int
 - Step or order. Specifies the creation order of the partition on the disk.
 - Raid string
 - Raid partition type.
 - Size int
 - Size of partition in MB, 0 => rest of the space.
 - Type string
 - Partition type.
 - Volume
Name string - Volume name needed for proxmox distribution.
 
- filesystem String
 - Partition filesystem.
 - mountpoint String
 - Partition mount point.
 - order Integer
 - Step or order. Specifies the creation order of the partition on the disk.
 - raid String
 - Raid partition type.
 - size Integer
 - Size of partition in MB, 0 => rest of the space.
 - type String
 - Partition type.
 - volume
Name String - Volume name needed for proxmox distribution.
 
- filesystem string
 - Partition filesystem.
 - mountpoint string
 - Partition mount point.
 - order number
 - Step or order. Specifies the creation order of the partition on the disk.
 - raid string
 - Raid partition type.
 - size number
 - Size of partition in MB, 0 => rest of the space.
 - type string
 - Partition type.
 - volume
Name string - Volume name needed for proxmox distribution.
 
- filesystem str
 - Partition filesystem.
 - mountpoint str
 - Partition mount point.
 - order int
 - Step or order. Specifies the creation order of the partition on the disk.
 - raid str
 - Raid partition type.
 - size int
 - Size of partition in MB, 0 => rest of the space.
 - type str
 - Partition type.
 - volume_
name str - Volume name needed for proxmox distribution.
 
- filesystem String
 - Partition filesystem.
 - mountpoint String
 - Partition mount point.
 - order Number
 - Step or order. Specifies the creation order of the partition on the disk.
 - raid String
 - Raid partition type.
 - size Number
 - Size of partition in MB, 0 => rest of the space.
 - type String
 - Partition type.
 - volume
Name String - Volume name needed for proxmox distribution.
 
Package Details
- Repository
 - ovh ovh/pulumi-ovh
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ovhTerraform Provider.