OVHCloud v0.42.0 published on Tuesday, Apr 9, 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 dictionary
The following arguments are supported:
- Template
Name string - This template name
- Template
Name string - This template name
- template
Name String - This template name
- template
Name string - This template name
- template_
name str - This template name
- template
Name String - This template name
getInstallationTemplate Result
The following output properties are available:
- Available
Languages List<string> - List of all language available for this template.
- Beta bool
- This distribution is new and, although tested and functional, may still display odd behaviour.
- Bit
Format int - This template bit format (32 or 64).
- Category string
- Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
- Customizations
List<Get
Installation Template Customization> - Default
Language string - The default language of this template.
- Deprecated bool
- is this distribution deprecated.
- Description string
- information about this template.
- Distribution string
- the distribution this template is based on.
- Family string
- this template family type (bsd,linux,solaris,windows).
- Filesystems List<string>
- Filesystems available (btrfs,ext3,ext4,ntfs,reiserfs,swap,ufs,xfs,zfs).
- Hard
Raid boolConfiguration - This distribution supports hardware raid configuration through the OVHcloud API.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modification string - Date of last modification of the base image.
- Lvm
Ready bool - Partition
Schemes List<GetInstallation Template Partition Scheme> - Supports
Sql boolServer - This distribution supports the microsoft SQL server.
- Template
Name string
- Available
Languages []string - List of all language available for this template.
- Beta bool
- This distribution is new and, although tested and functional, may still display odd behaviour.
- Bit
Format int - This template bit format (32 or 64).
- Category string
- Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
- Customizations
[]Get
Installation Template Customization - Default
Language string - The default language of this template.
- Deprecated bool
- is this distribution deprecated.
- Description string
- information about this template.
- Distribution string
- the distribution this template is based on.
- Family string
- this template family type (bsd,linux,solaris,windows).
- Filesystems []string
- Filesystems available (btrfs,ext3,ext4,ntfs,reiserfs,swap,ufs,xfs,zfs).
- Hard
Raid boolConfiguration - This distribution supports hardware raid configuration through the OVHcloud API.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modification string - Date of last modification of the base image.
- Lvm
Ready bool - Partition
Schemes []GetInstallation Template Partition Scheme Type - Supports
Sql boolServer - This distribution supports the microsoft SQL server.
- Template
Name string
- available
Languages List<String> - List of all language available for this template.
- beta Boolean
- This distribution is new and, although tested and functional, may still display odd behaviour.
- bit
Format Integer - This template bit format (32 or 64).
- category String
- Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
- customizations
List<Get
Installation Template Customization> - default
Language String - The default language of this template.
- deprecated Boolean
- is this distribution deprecated.
- description String
- information about this template.
- distribution String
- the distribution this template is based on.
- family String
- this template family type (bsd,linux,solaris,windows).
- filesystems List<String>
- Filesystems available (btrfs,ext3,ext4,ntfs,reiserfs,swap,ufs,xfs,zfs).
- hard
Raid BooleanConfiguration - This distribution supports hardware raid configuration through the OVHcloud API.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modification String - Date of last modification of the base image.
- lvm
Ready Boolean - partition
Schemes List<GetInstallation Template Partition Scheme> - supports
Sql BooleanServer - This distribution supports the microsoft SQL server.
- template
Name String
- available
Languages string[] - List of all language available for this template.
- beta boolean
- This distribution is new and, although tested and functional, may still display odd behaviour.
- bit
Format number - This template bit format (32 or 64).
- category string
- Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
- customizations
Get
Installation Template Customization[] - default
Language string - The default language of this template.
- deprecated boolean
- is this distribution deprecated.
- description string
- information about this template.
- distribution string
- the distribution this template is based on.
- family string
- this template family type (bsd,linux,solaris,windows).
- filesystems string[]
- Filesystems available (btrfs,ext3,ext4,ntfs,reiserfs,swap,ufs,xfs,zfs).
- hard
Raid booleanConfiguration - This distribution supports hardware raid configuration through the OVHcloud API.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Modification string - Date of last modification of the base image.
- lvm
Ready boolean - partition
Schemes GetInstallation Template Partition Scheme[] - supports
Sql booleanServer - This distribution supports the microsoft SQL server.
- template
Name string
- available_
languages Sequence[str] - List of all language available for this template.
- beta bool
- This distribution is new and, although tested and functional, may still display odd behaviour.
- bit_
format int - This template bit format (32 or 64).
- category str
- Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
- customizations
Sequence[me.
Get Installation Template Customization] - default_
language str - The default language of this template.
- deprecated bool
- is this distribution deprecated.
- description str
- information about this template.
- distribution str
- the distribution this template is based on.
- family str
- this template family type (bsd,linux,solaris,windows).
- filesystems Sequence[str]
- Filesystems available (btrfs,ext3,ext4,ntfs,reiserfs,swap,ufs,xfs,zfs).
- hard_
raid_ boolconfiguration - This distribution supports hardware raid configuration through the OVHcloud API.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
modification str - Date of last modification of the base image.
- lvm_
ready bool - partition_
schemes Sequence[me.Get Installation Template Partition Scheme] - supports_
sql_ boolserver - This distribution supports the microsoft SQL server.
- template_
name str
- available
Languages List<String> - List of all language available for this template.
- beta Boolean
- This distribution is new and, although tested and functional, may still display odd behaviour.
- bit
Format Number - This template bit format (32 or 64).
- category String
- Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
- customizations List<Property Map>
- default
Language String - The default language of this template.
- deprecated Boolean
- is this distribution deprecated.
- description String
- information about this template.
- distribution String
- the distribution this template is based on.
- family String
- this template family type (bsd,linux,solaris,windows).
- filesystems List<String>
- Filesystems available (btrfs,ext3,ext4,ntfs,reiserfs,swap,ufs,xfs,zfs).
- hard
Raid BooleanConfiguration - This distribution supports hardware raid configuration through the OVHcloud API.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modification String - Date of last modification of the base image.
- lvm
Ready Boolean - partition
Schemes List<Property Map> - supports
Sql BooleanServer - This distribution supports the microsoft SQL server.
- template
Name String
Supporting Types
GetInstallationTemplateCustomization
- Custom
Hostname string - Set up the server using the provided hostname instead of the default hostname.
- Post
Installation stringScript Link - Indicate the URL where your postinstall customisation script is located.
- Post
Installation stringScript Return - indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu'.
- Rating int
- (DEPRECATED) Rating.
- Ssh
Key stringName - Name of the ssh key that should be installed. Password login will be disabled.
- Custom
Hostname string - Set up the server using the provided hostname instead of the default hostname.
- Post
Installation stringScript Link - Indicate the URL where your postinstall customisation script is located.
- Post
Installation stringScript Return - indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu'.
- Rating int
- (DEPRECATED) Rating.
- Ssh
Key stringName - Name of the ssh key that should be installed. Password login will be disabled.
- custom
Hostname String - Set up the server using the provided hostname instead of the default hostname.
- post
Installation StringScript Link - Indicate the URL where your postinstall customisation script is located.
- post
Installation StringScript Return - indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu'.
- rating Integer
- (DEPRECATED) Rating.
- ssh
Key StringName - Name of the ssh key that should be installed. Password login will be disabled.
- custom
Hostname string - Set up the server using the provided hostname instead of the default hostname.
- post
Installation stringScript Link - Indicate the URL where your postinstall customisation script is located.
- post
Installation stringScript Return - indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu'.
- rating number
- (DEPRECATED) Rating.
- ssh
Key stringName - Name of the ssh key that should be installed. Password login will be disabled.
- custom_
hostname str - Set up the server using the provided hostname instead of the default hostname.
- post_
installation_ strscript_ link - Indicate the URL where your postinstall customisation script is located.
- post_
installation_ strscript_ return - indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu'.
- rating int
- (DEPRECATED) Rating.
- ssh_
key_ strname - Name of the ssh key that should be installed. Password login will be disabled.
- custom
Hostname String - Set up the server using the provided hostname instead of the default hostname.
- post
Installation StringScript Link - Indicate the URL where your postinstall customisation script is located.
- post
Installation StringScript Return - indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu'.
- rating Number
- (DEPRECATED) Rating.
- ssh
Key StringName - Name of the ssh key that should be installed. Password login will be disabled.
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 - The 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 - The 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 - The 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 - The 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 - The 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 - The 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
ovh
Terraform Provider.