me

package
v0.32.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetIdentityGroupsResult added in v0.32.0

type GetIdentityGroupsResult struct {
	// The list of the group names of all the identity groups.
	Groups []string `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
}

A collection of values returned by getIdentityGroups.

func GetIdentityGroups added in v0.32.0

func GetIdentityGroups(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetIdentityGroupsResult, error)

Use this data source to retrieve the list of the account's identity groups

## Example Usage

```go package main

import (

"github.com/lbrlabs/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.GetIdentityGroups(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetIdentityUsersResult

type GetIdentityUsersResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of the user's logins of all the identity users.
	Users []string `pulumi:"users"`
}

A collection of values returned by getIdentityUsers.

func GetIdentityUsers

func GetIdentityUsers(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetIdentityUsersResult, error)

Use this data source to retrieve list of user logins of the account's identity users.

## Example Usage

```go package main

import (

"github.com/lbrlabs/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.GetIdentityUsers(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetInstallationTemplateCustomization

type GetInstallationTemplateCustomization struct {
	// (DEPRECATED) Template change log details.
	//
	// Deprecated: field is not used anymore
	ChangeLog string `pulumi:"changeLog"`
	// Set up the server using the provided hostname instead of the default hostname.
	CustomHostname string `pulumi:"customHostname"`
	// Indicate the URL where your postinstall customisation script is located.
	PostInstallationScriptLink string `pulumi:"postInstallationScriptLink"`
	// 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'.
	PostInstallationScriptReturn string `pulumi:"postInstallationScriptReturn"`
	// (DEPRECATED) Rating.
	//
	// Deprecated: field is not used anymore
	Rating int `pulumi:"rating"`
	// Name of the ssh key that should be installed. Password login will be disabled.
	SshKeyName string `pulumi:"sshKeyName"`
	// Use the distribution's native kernel instead of the recommended OVHcloud Kernel.
	UseDistributionKernel bool `pulumi:"useDistributionKernel"`
}

type GetInstallationTemplateCustomizationArgs

type GetInstallationTemplateCustomizationArgs struct {
	// (DEPRECATED) Template change log details.
	//
	// Deprecated: field is not used anymore
	ChangeLog pulumi.StringInput `pulumi:"changeLog"`
	// Set up the server using the provided hostname instead of the default hostname.
	CustomHostname pulumi.StringInput `pulumi:"customHostname"`
	// Indicate the URL where your postinstall customisation script is located.
	PostInstallationScriptLink pulumi.StringInput `pulumi:"postInstallationScriptLink"`
	// 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'.
	PostInstallationScriptReturn pulumi.StringInput `pulumi:"postInstallationScriptReturn"`
	// (DEPRECATED) Rating.
	//
	// Deprecated: field is not used anymore
	Rating pulumi.IntInput `pulumi:"rating"`
	// Name of the ssh key that should be installed. Password login will be disabled.
	SshKeyName pulumi.StringInput `pulumi:"sshKeyName"`
	// Use the distribution's native kernel instead of the recommended OVHcloud Kernel.
	UseDistributionKernel pulumi.BoolInput `pulumi:"useDistributionKernel"`
}

func (GetInstallationTemplateCustomizationArgs) ElementType

func (GetInstallationTemplateCustomizationArgs) ToGetInstallationTemplateCustomizationOutput

func (i GetInstallationTemplateCustomizationArgs) ToGetInstallationTemplateCustomizationOutput() GetInstallationTemplateCustomizationOutput

func (GetInstallationTemplateCustomizationArgs) ToGetInstallationTemplateCustomizationOutputWithContext

func (i GetInstallationTemplateCustomizationArgs) ToGetInstallationTemplateCustomizationOutputWithContext(ctx context.Context) GetInstallationTemplateCustomizationOutput

type GetInstallationTemplateCustomizationArray

type GetInstallationTemplateCustomizationArray []GetInstallationTemplateCustomizationInput

func (GetInstallationTemplateCustomizationArray) ElementType

func (GetInstallationTemplateCustomizationArray) ToGetInstallationTemplateCustomizationArrayOutput

func (i GetInstallationTemplateCustomizationArray) ToGetInstallationTemplateCustomizationArrayOutput() GetInstallationTemplateCustomizationArrayOutput

func (GetInstallationTemplateCustomizationArray) ToGetInstallationTemplateCustomizationArrayOutputWithContext

func (i GetInstallationTemplateCustomizationArray) ToGetInstallationTemplateCustomizationArrayOutputWithContext(ctx context.Context) GetInstallationTemplateCustomizationArrayOutput

type GetInstallationTemplateCustomizationArrayInput

type GetInstallationTemplateCustomizationArrayInput interface {
	pulumi.Input

	ToGetInstallationTemplateCustomizationArrayOutput() GetInstallationTemplateCustomizationArrayOutput
	ToGetInstallationTemplateCustomizationArrayOutputWithContext(context.Context) GetInstallationTemplateCustomizationArrayOutput
}

GetInstallationTemplateCustomizationArrayInput is an input type that accepts GetInstallationTemplateCustomizationArray and GetInstallationTemplateCustomizationArrayOutput values. You can construct a concrete instance of `GetInstallationTemplateCustomizationArrayInput` via:

GetInstallationTemplateCustomizationArray{ GetInstallationTemplateCustomizationArgs{...} }

type GetInstallationTemplateCustomizationArrayOutput

type GetInstallationTemplateCustomizationArrayOutput struct{ *pulumi.OutputState }

func (GetInstallationTemplateCustomizationArrayOutput) ElementType

func (GetInstallationTemplateCustomizationArrayOutput) Index

func (GetInstallationTemplateCustomizationArrayOutput) ToGetInstallationTemplateCustomizationArrayOutput

func (o GetInstallationTemplateCustomizationArrayOutput) ToGetInstallationTemplateCustomizationArrayOutput() GetInstallationTemplateCustomizationArrayOutput

func (GetInstallationTemplateCustomizationArrayOutput) ToGetInstallationTemplateCustomizationArrayOutputWithContext

func (o GetInstallationTemplateCustomizationArrayOutput) ToGetInstallationTemplateCustomizationArrayOutputWithContext(ctx context.Context) GetInstallationTemplateCustomizationArrayOutput

type GetInstallationTemplateCustomizationInput

type GetInstallationTemplateCustomizationInput interface {
	pulumi.Input

	ToGetInstallationTemplateCustomizationOutput() GetInstallationTemplateCustomizationOutput
	ToGetInstallationTemplateCustomizationOutputWithContext(context.Context) GetInstallationTemplateCustomizationOutput
}

GetInstallationTemplateCustomizationInput is an input type that accepts GetInstallationTemplateCustomizationArgs and GetInstallationTemplateCustomizationOutput values. You can construct a concrete instance of `GetInstallationTemplateCustomizationInput` via:

GetInstallationTemplateCustomizationArgs{...}

type GetInstallationTemplateCustomizationOutput

type GetInstallationTemplateCustomizationOutput struct{ *pulumi.OutputState }

func (GetInstallationTemplateCustomizationOutput) ChangeLog deprecated

(DEPRECATED) Template change log details.

Deprecated: field is not used anymore

func (GetInstallationTemplateCustomizationOutput) CustomHostname

Set up the server using the provided hostname instead of the default hostname.

func (GetInstallationTemplateCustomizationOutput) ElementType

func (o GetInstallationTemplateCustomizationOutput) PostInstallationScriptLink() pulumi.StringOutput

Indicate the URL where your postinstall customisation script is located.

func (GetInstallationTemplateCustomizationOutput) PostInstallationScriptReturn

func (o GetInstallationTemplateCustomizationOutput) PostInstallationScriptReturn() pulumi.StringOutput

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'.

func (GetInstallationTemplateCustomizationOutput) Rating deprecated

(DEPRECATED) Rating.

Deprecated: field is not used anymore

func (GetInstallationTemplateCustomizationOutput) SshKeyName

Name of the ssh key that should be installed. Password login will be disabled.

func (GetInstallationTemplateCustomizationOutput) ToGetInstallationTemplateCustomizationOutput

func (o GetInstallationTemplateCustomizationOutput) ToGetInstallationTemplateCustomizationOutput() GetInstallationTemplateCustomizationOutput

func (GetInstallationTemplateCustomizationOutput) ToGetInstallationTemplateCustomizationOutputWithContext

func (o GetInstallationTemplateCustomizationOutput) ToGetInstallationTemplateCustomizationOutputWithContext(ctx context.Context) GetInstallationTemplateCustomizationOutput

func (GetInstallationTemplateCustomizationOutput) UseDistributionKernel

Use the distribution's native kernel instead of the recommended OVHcloud Kernel.

type GetInstallationTemplatePartitionSchemeHardwareRaidType

type GetInstallationTemplatePartitionSchemeHardwareRaidType struct {
	// 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.
	Disks []string `pulumi:"disks"`
	// RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60).
	Mode string `pulumi:"mode"`
	// Hardware RAID name.
	Name string `pulumi:"name"`
	// Specifies the creation order of the hardware RAID.
	Step int `pulumi:"step"`
}

type GetInstallationTemplatePartitionSchemeHardwareRaidTypeArgs

type GetInstallationTemplatePartitionSchemeHardwareRaidTypeArgs struct {
	// 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.
	Disks pulumi.StringArrayInput `pulumi:"disks"`
	// RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60).
	Mode pulumi.StringInput `pulumi:"mode"`
	// Hardware RAID name.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the creation order of the hardware RAID.
	Step pulumi.IntInput `pulumi:"step"`
}

func (GetInstallationTemplatePartitionSchemeHardwareRaidTypeArgs) ElementType

func (GetInstallationTemplatePartitionSchemeHardwareRaidTypeArgs) ToGetInstallationTemplatePartitionSchemeHardwareRaidTypeOutput

func (GetInstallationTemplatePartitionSchemeHardwareRaidTypeArgs) ToGetInstallationTemplatePartitionSchemeHardwareRaidTypeOutputWithContext

func (i GetInstallationTemplatePartitionSchemeHardwareRaidTypeArgs) ToGetInstallationTemplatePartitionSchemeHardwareRaidTypeOutputWithContext(ctx context.Context) GetInstallationTemplatePartitionSchemeHardwareRaidTypeOutput

type GetInstallationTemplatePartitionSchemeHardwareRaidTypeArray

type GetInstallationTemplatePartitionSchemeHardwareRaidTypeArray []GetInstallationTemplatePartitionSchemeHardwareRaidTypeInput

func (GetInstallationTemplatePartitionSchemeHardwareRaidTypeArray) ElementType

func (GetInstallationTemplatePartitionSchemeHardwareRaidTypeArray) ToGetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput

func (GetInstallationTemplatePartitionSchemeHardwareRaidTypeArray) ToGetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutputWithContext

func (i GetInstallationTemplatePartitionSchemeHardwareRaidTypeArray) ToGetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutputWithContext(ctx context.Context) GetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput

type GetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayInput

type GetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayInput interface {
	pulumi.Input

	ToGetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput() GetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput
	ToGetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutputWithContext(context.Context) GetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput
}

GetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayInput is an input type that accepts GetInstallationTemplatePartitionSchemeHardwareRaidTypeArray and GetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput values. You can construct a concrete instance of `GetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayInput` via:

GetInstallationTemplatePartitionSchemeHardwareRaidTypeArray{ GetInstallationTemplatePartitionSchemeHardwareRaidTypeArgs{...} }

type GetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput

type GetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput struct{ *pulumi.OutputState }

func (GetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput) ElementType

func (GetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput) Index

func (GetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput) ToGetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput

func (GetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput) ToGetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutputWithContext

func (o GetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput) ToGetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutputWithContext(ctx context.Context) GetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput

type GetInstallationTemplatePartitionSchemeHardwareRaidTypeInput

type GetInstallationTemplatePartitionSchemeHardwareRaidTypeInput interface {
	pulumi.Input

	ToGetInstallationTemplatePartitionSchemeHardwareRaidTypeOutput() GetInstallationTemplatePartitionSchemeHardwareRaidTypeOutput
	ToGetInstallationTemplatePartitionSchemeHardwareRaidTypeOutputWithContext(context.Context) GetInstallationTemplatePartitionSchemeHardwareRaidTypeOutput
}

GetInstallationTemplatePartitionSchemeHardwareRaidTypeInput is an input type that accepts GetInstallationTemplatePartitionSchemeHardwareRaidTypeArgs and GetInstallationTemplatePartitionSchemeHardwareRaidTypeOutput values. You can construct a concrete instance of `GetInstallationTemplatePartitionSchemeHardwareRaidTypeInput` via:

GetInstallationTemplatePartitionSchemeHardwareRaidTypeArgs{...}

type GetInstallationTemplatePartitionSchemeHardwareRaidTypeOutput

type GetInstallationTemplatePartitionSchemeHardwareRaidTypeOutput struct{ *pulumi.OutputState }

func (GetInstallationTemplatePartitionSchemeHardwareRaidTypeOutput) Disks

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.

func (GetInstallationTemplatePartitionSchemeHardwareRaidTypeOutput) ElementType

func (GetInstallationTemplatePartitionSchemeHardwareRaidTypeOutput) Mode

RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60).

func (GetInstallationTemplatePartitionSchemeHardwareRaidTypeOutput) Name

Hardware RAID name.

func (GetInstallationTemplatePartitionSchemeHardwareRaidTypeOutput) Step

Specifies the creation order of the hardware RAID.

func (GetInstallationTemplatePartitionSchemeHardwareRaidTypeOutput) ToGetInstallationTemplatePartitionSchemeHardwareRaidTypeOutput

func (GetInstallationTemplatePartitionSchemeHardwareRaidTypeOutput) ToGetInstallationTemplatePartitionSchemeHardwareRaidTypeOutputWithContext

func (o GetInstallationTemplatePartitionSchemeHardwareRaidTypeOutput) ToGetInstallationTemplatePartitionSchemeHardwareRaidTypeOutputWithContext(ctx context.Context) GetInstallationTemplatePartitionSchemeHardwareRaidTypeOutput

type GetInstallationTemplatePartitionSchemePartitionType

type GetInstallationTemplatePartitionSchemePartitionType struct {
	// Partition filesystem.
	Filesystem string `pulumi:"filesystem"`
	// partition mount point.
	Mountpoint string `pulumi:"mountpoint"`
	// step or order. specifies the creation order of the partition on the disk
	Order int `pulumi:"order"`
	// raid partition type.
	Raid string `pulumi:"raid"`
	// size of partition in MB, 0 => rest of the space.
	Size int `pulumi:"size"`
	// partition type.
	Type string `pulumi:"type"`
	// The volume name needed for proxmox distribution
	VolumeName string `pulumi:"volumeName"`
}

type GetInstallationTemplatePartitionSchemePartitionTypeArgs

type GetInstallationTemplatePartitionSchemePartitionTypeArgs struct {
	// Partition filesystem.
	Filesystem pulumi.StringInput `pulumi:"filesystem"`
	// partition mount point.
	Mountpoint pulumi.StringInput `pulumi:"mountpoint"`
	// step or order. specifies the creation order of the partition on the disk
	Order pulumi.IntInput `pulumi:"order"`
	// raid partition type.
	Raid pulumi.StringInput `pulumi:"raid"`
	// size of partition in MB, 0 => rest of the space.
	Size pulumi.IntInput `pulumi:"size"`
	// partition type.
	Type pulumi.StringInput `pulumi:"type"`
	// The volume name needed for proxmox distribution
	VolumeName pulumi.StringInput `pulumi:"volumeName"`
}

func (GetInstallationTemplatePartitionSchemePartitionTypeArgs) ElementType

func (GetInstallationTemplatePartitionSchemePartitionTypeArgs) ToGetInstallationTemplatePartitionSchemePartitionTypeOutput

func (GetInstallationTemplatePartitionSchemePartitionTypeArgs) ToGetInstallationTemplatePartitionSchemePartitionTypeOutputWithContext

func (i GetInstallationTemplatePartitionSchemePartitionTypeArgs) ToGetInstallationTemplatePartitionSchemePartitionTypeOutputWithContext(ctx context.Context) GetInstallationTemplatePartitionSchemePartitionTypeOutput

type GetInstallationTemplatePartitionSchemePartitionTypeArray

type GetInstallationTemplatePartitionSchemePartitionTypeArray []GetInstallationTemplatePartitionSchemePartitionTypeInput

func (GetInstallationTemplatePartitionSchemePartitionTypeArray) ElementType

func (GetInstallationTemplatePartitionSchemePartitionTypeArray) ToGetInstallationTemplatePartitionSchemePartitionTypeArrayOutput

func (i GetInstallationTemplatePartitionSchemePartitionTypeArray) ToGetInstallationTemplatePartitionSchemePartitionTypeArrayOutput() GetInstallationTemplatePartitionSchemePartitionTypeArrayOutput

func (GetInstallationTemplatePartitionSchemePartitionTypeArray) ToGetInstallationTemplatePartitionSchemePartitionTypeArrayOutputWithContext

func (i GetInstallationTemplatePartitionSchemePartitionTypeArray) ToGetInstallationTemplatePartitionSchemePartitionTypeArrayOutputWithContext(ctx context.Context) GetInstallationTemplatePartitionSchemePartitionTypeArrayOutput

type GetInstallationTemplatePartitionSchemePartitionTypeArrayInput

type GetInstallationTemplatePartitionSchemePartitionTypeArrayInput interface {
	pulumi.Input

	ToGetInstallationTemplatePartitionSchemePartitionTypeArrayOutput() GetInstallationTemplatePartitionSchemePartitionTypeArrayOutput
	ToGetInstallationTemplatePartitionSchemePartitionTypeArrayOutputWithContext(context.Context) GetInstallationTemplatePartitionSchemePartitionTypeArrayOutput
}

GetInstallationTemplatePartitionSchemePartitionTypeArrayInput is an input type that accepts GetInstallationTemplatePartitionSchemePartitionTypeArray and GetInstallationTemplatePartitionSchemePartitionTypeArrayOutput values. You can construct a concrete instance of `GetInstallationTemplatePartitionSchemePartitionTypeArrayInput` via:

GetInstallationTemplatePartitionSchemePartitionTypeArray{ GetInstallationTemplatePartitionSchemePartitionTypeArgs{...} }

type GetInstallationTemplatePartitionSchemePartitionTypeArrayOutput

type GetInstallationTemplatePartitionSchemePartitionTypeArrayOutput struct{ *pulumi.OutputState }

func (GetInstallationTemplatePartitionSchemePartitionTypeArrayOutput) ElementType

func (GetInstallationTemplatePartitionSchemePartitionTypeArrayOutput) Index

func (GetInstallationTemplatePartitionSchemePartitionTypeArrayOutput) ToGetInstallationTemplatePartitionSchemePartitionTypeArrayOutput

func (GetInstallationTemplatePartitionSchemePartitionTypeArrayOutput) ToGetInstallationTemplatePartitionSchemePartitionTypeArrayOutputWithContext

func (o GetInstallationTemplatePartitionSchemePartitionTypeArrayOutput) ToGetInstallationTemplatePartitionSchemePartitionTypeArrayOutputWithContext(ctx context.Context) GetInstallationTemplatePartitionSchemePartitionTypeArrayOutput

type GetInstallationTemplatePartitionSchemePartitionTypeInput

type GetInstallationTemplatePartitionSchemePartitionTypeInput interface {
	pulumi.Input

	ToGetInstallationTemplatePartitionSchemePartitionTypeOutput() GetInstallationTemplatePartitionSchemePartitionTypeOutput
	ToGetInstallationTemplatePartitionSchemePartitionTypeOutputWithContext(context.Context) GetInstallationTemplatePartitionSchemePartitionTypeOutput
}

GetInstallationTemplatePartitionSchemePartitionTypeInput is an input type that accepts GetInstallationTemplatePartitionSchemePartitionTypeArgs and GetInstallationTemplatePartitionSchemePartitionTypeOutput values. You can construct a concrete instance of `GetInstallationTemplatePartitionSchemePartitionTypeInput` via:

GetInstallationTemplatePartitionSchemePartitionTypeArgs{...}

type GetInstallationTemplatePartitionSchemePartitionTypeOutput

type GetInstallationTemplatePartitionSchemePartitionTypeOutput struct{ *pulumi.OutputState }

func (GetInstallationTemplatePartitionSchemePartitionTypeOutput) ElementType

func (GetInstallationTemplatePartitionSchemePartitionTypeOutput) Filesystem

Partition filesystem.

func (GetInstallationTemplatePartitionSchemePartitionTypeOutput) Mountpoint

partition mount point.

func (GetInstallationTemplatePartitionSchemePartitionTypeOutput) Order

step or order. specifies the creation order of the partition on the disk

func (GetInstallationTemplatePartitionSchemePartitionTypeOutput) Raid

raid partition type.

func (GetInstallationTemplatePartitionSchemePartitionTypeOutput) Size

size of partition in MB, 0 => rest of the space.

func (GetInstallationTemplatePartitionSchemePartitionTypeOutput) ToGetInstallationTemplatePartitionSchemePartitionTypeOutput

func (GetInstallationTemplatePartitionSchemePartitionTypeOutput) ToGetInstallationTemplatePartitionSchemePartitionTypeOutputWithContext

func (o GetInstallationTemplatePartitionSchemePartitionTypeOutput) ToGetInstallationTemplatePartitionSchemePartitionTypeOutputWithContext(ctx context.Context) GetInstallationTemplatePartitionSchemePartitionTypeOutput

func (GetInstallationTemplatePartitionSchemePartitionTypeOutput) Type

partition type.

func (GetInstallationTemplatePartitionSchemePartitionTypeOutput) VolumeName

The volume name needed for proxmox distribution

type GetInstallationTemplatePartitionSchemeType

type GetInstallationTemplatePartitionSchemeType struct {
	HardwareRaids []GetInstallationTemplatePartitionSchemeHardwareRaidType `pulumi:"hardwareRaids"`
	// Hardware RAID name.
	Name       string                                                `pulumi:"name"`
	Partitions []GetInstallationTemplatePartitionSchemePartitionType `pulumi:"partitions"`
	// 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).
	Priority int `pulumi:"priority"`
}

type GetInstallationTemplatePartitionSchemeTypeArgs

type GetInstallationTemplatePartitionSchemeTypeArgs struct {
	HardwareRaids GetInstallationTemplatePartitionSchemeHardwareRaidTypeArrayInput `pulumi:"hardwareRaids"`
	// Hardware RAID name.
	Name       pulumi.StringInput                                            `pulumi:"name"`
	Partitions GetInstallationTemplatePartitionSchemePartitionTypeArrayInput `pulumi:"partitions"`
	// 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).
	Priority pulumi.IntInput `pulumi:"priority"`
}

func (GetInstallationTemplatePartitionSchemeTypeArgs) ElementType

func (GetInstallationTemplatePartitionSchemeTypeArgs) ToGetInstallationTemplatePartitionSchemeTypeOutput

func (i GetInstallationTemplatePartitionSchemeTypeArgs) ToGetInstallationTemplatePartitionSchemeTypeOutput() GetInstallationTemplatePartitionSchemeTypeOutput

func (GetInstallationTemplatePartitionSchemeTypeArgs) ToGetInstallationTemplatePartitionSchemeTypeOutputWithContext

func (i GetInstallationTemplatePartitionSchemeTypeArgs) ToGetInstallationTemplatePartitionSchemeTypeOutputWithContext(ctx context.Context) GetInstallationTemplatePartitionSchemeTypeOutput

type GetInstallationTemplatePartitionSchemeTypeArray

type GetInstallationTemplatePartitionSchemeTypeArray []GetInstallationTemplatePartitionSchemeTypeInput

func (GetInstallationTemplatePartitionSchemeTypeArray) ElementType

func (GetInstallationTemplatePartitionSchemeTypeArray) ToGetInstallationTemplatePartitionSchemeTypeArrayOutput

func (i GetInstallationTemplatePartitionSchemeTypeArray) ToGetInstallationTemplatePartitionSchemeTypeArrayOutput() GetInstallationTemplatePartitionSchemeTypeArrayOutput

func (GetInstallationTemplatePartitionSchemeTypeArray) ToGetInstallationTemplatePartitionSchemeTypeArrayOutputWithContext

func (i GetInstallationTemplatePartitionSchemeTypeArray) ToGetInstallationTemplatePartitionSchemeTypeArrayOutputWithContext(ctx context.Context) GetInstallationTemplatePartitionSchemeTypeArrayOutput

type GetInstallationTemplatePartitionSchemeTypeArrayInput

type GetInstallationTemplatePartitionSchemeTypeArrayInput interface {
	pulumi.Input

	ToGetInstallationTemplatePartitionSchemeTypeArrayOutput() GetInstallationTemplatePartitionSchemeTypeArrayOutput
	ToGetInstallationTemplatePartitionSchemeTypeArrayOutputWithContext(context.Context) GetInstallationTemplatePartitionSchemeTypeArrayOutput
}

GetInstallationTemplatePartitionSchemeTypeArrayInput is an input type that accepts GetInstallationTemplatePartitionSchemeTypeArray and GetInstallationTemplatePartitionSchemeTypeArrayOutput values. You can construct a concrete instance of `GetInstallationTemplatePartitionSchemeTypeArrayInput` via:

GetInstallationTemplatePartitionSchemeTypeArray{ GetInstallationTemplatePartitionSchemeTypeArgs{...} }

type GetInstallationTemplatePartitionSchemeTypeArrayOutput

type GetInstallationTemplatePartitionSchemeTypeArrayOutput struct{ *pulumi.OutputState }

func (GetInstallationTemplatePartitionSchemeTypeArrayOutput) ElementType

func (GetInstallationTemplatePartitionSchemeTypeArrayOutput) Index

func (GetInstallationTemplatePartitionSchemeTypeArrayOutput) ToGetInstallationTemplatePartitionSchemeTypeArrayOutput

func (GetInstallationTemplatePartitionSchemeTypeArrayOutput) ToGetInstallationTemplatePartitionSchemeTypeArrayOutputWithContext

func (o GetInstallationTemplatePartitionSchemeTypeArrayOutput) ToGetInstallationTemplatePartitionSchemeTypeArrayOutputWithContext(ctx context.Context) GetInstallationTemplatePartitionSchemeTypeArrayOutput

type GetInstallationTemplatePartitionSchemeTypeInput

type GetInstallationTemplatePartitionSchemeTypeInput interface {
	pulumi.Input

	ToGetInstallationTemplatePartitionSchemeTypeOutput() GetInstallationTemplatePartitionSchemeTypeOutput
	ToGetInstallationTemplatePartitionSchemeTypeOutputWithContext(context.Context) GetInstallationTemplatePartitionSchemeTypeOutput
}

GetInstallationTemplatePartitionSchemeTypeInput is an input type that accepts GetInstallationTemplatePartitionSchemeTypeArgs and GetInstallationTemplatePartitionSchemeTypeOutput values. You can construct a concrete instance of `GetInstallationTemplatePartitionSchemeTypeInput` via:

GetInstallationTemplatePartitionSchemeTypeArgs{...}

type GetInstallationTemplatePartitionSchemeTypeOutput

type GetInstallationTemplatePartitionSchemeTypeOutput struct{ *pulumi.OutputState }

func (GetInstallationTemplatePartitionSchemeTypeOutput) ElementType

func (GetInstallationTemplatePartitionSchemeTypeOutput) HardwareRaids

func (GetInstallationTemplatePartitionSchemeTypeOutput) Name

Hardware RAID name.

func (GetInstallationTemplatePartitionSchemeTypeOutput) Partitions

func (GetInstallationTemplatePartitionSchemeTypeOutput) Priority

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).

func (GetInstallationTemplatePartitionSchemeTypeOutput) ToGetInstallationTemplatePartitionSchemeTypeOutput

func (o GetInstallationTemplatePartitionSchemeTypeOutput) ToGetInstallationTemplatePartitionSchemeTypeOutput() GetInstallationTemplatePartitionSchemeTypeOutput

func (GetInstallationTemplatePartitionSchemeTypeOutput) ToGetInstallationTemplatePartitionSchemeTypeOutputWithContext

func (o GetInstallationTemplatePartitionSchemeTypeOutput) ToGetInstallationTemplatePartitionSchemeTypeOutputWithContext(ctx context.Context) GetInstallationTemplatePartitionSchemeTypeOutput

type GetInstallationTemplatesResult

type GetInstallationTemplatesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of custom installation templates IDs available for dedicated servers.
	Results []string `pulumi:"results"`
}

A collection of values returned by getInstallationTemplates.

func GetInstallationTemplates

func GetInstallationTemplates(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetInstallationTemplatesResult, error)

Use this data source to get the list of custom installation templates available for dedicated servers.

## Example Usage

```go package main

import (

"github.com/lbrlabs/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.GetInstallationTemplates(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetIpxeScriptsResult

type GetIpxeScriptsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of the names of all the IPXE Scripts.
	Results []string `pulumi:"results"`
}

A collection of values returned by getIpxeScripts.

func GetIpxeScripts

func GetIpxeScripts(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetIpxeScriptsResult, error)

Use this data source to retrieve a list of the names of the account's IPXE Scripts.

## Example Usage

```go package main

import (

"github.com/lbrlabs/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.GetIpxeScripts(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetMeCurrency

type GetMeCurrency struct {
	// Currency code used by this account (e.g EUR, USD, ...)
	Code string `pulumi:"code"`
	// Currency symbol used by this account (e.g €, $, ...)
	Symbol string `pulumi:"symbol"`
}

type GetMeCurrencyArgs

type GetMeCurrencyArgs struct {
	// Currency code used by this account (e.g EUR, USD, ...)
	Code pulumi.StringInput `pulumi:"code"`
	// Currency symbol used by this account (e.g €, $, ...)
	Symbol pulumi.StringInput `pulumi:"symbol"`
}

func (GetMeCurrencyArgs) ElementType

func (GetMeCurrencyArgs) ElementType() reflect.Type

func (GetMeCurrencyArgs) ToGetMeCurrencyOutput

func (i GetMeCurrencyArgs) ToGetMeCurrencyOutput() GetMeCurrencyOutput

func (GetMeCurrencyArgs) ToGetMeCurrencyOutputWithContext

func (i GetMeCurrencyArgs) ToGetMeCurrencyOutputWithContext(ctx context.Context) GetMeCurrencyOutput

type GetMeCurrencyArray

type GetMeCurrencyArray []GetMeCurrencyInput

func (GetMeCurrencyArray) ElementType

func (GetMeCurrencyArray) ElementType() reflect.Type

func (GetMeCurrencyArray) ToGetMeCurrencyArrayOutput

func (i GetMeCurrencyArray) ToGetMeCurrencyArrayOutput() GetMeCurrencyArrayOutput

func (GetMeCurrencyArray) ToGetMeCurrencyArrayOutputWithContext

func (i GetMeCurrencyArray) ToGetMeCurrencyArrayOutputWithContext(ctx context.Context) GetMeCurrencyArrayOutput

type GetMeCurrencyArrayInput

type GetMeCurrencyArrayInput interface {
	pulumi.Input

	ToGetMeCurrencyArrayOutput() GetMeCurrencyArrayOutput
	ToGetMeCurrencyArrayOutputWithContext(context.Context) GetMeCurrencyArrayOutput
}

GetMeCurrencyArrayInput is an input type that accepts GetMeCurrencyArray and GetMeCurrencyArrayOutput values. You can construct a concrete instance of `GetMeCurrencyArrayInput` via:

GetMeCurrencyArray{ GetMeCurrencyArgs{...} }

type GetMeCurrencyArrayOutput

type GetMeCurrencyArrayOutput struct{ *pulumi.OutputState }

func (GetMeCurrencyArrayOutput) ElementType

func (GetMeCurrencyArrayOutput) ElementType() reflect.Type

func (GetMeCurrencyArrayOutput) Index

func (GetMeCurrencyArrayOutput) ToGetMeCurrencyArrayOutput

func (o GetMeCurrencyArrayOutput) ToGetMeCurrencyArrayOutput() GetMeCurrencyArrayOutput

func (GetMeCurrencyArrayOutput) ToGetMeCurrencyArrayOutputWithContext

func (o GetMeCurrencyArrayOutput) ToGetMeCurrencyArrayOutputWithContext(ctx context.Context) GetMeCurrencyArrayOutput

type GetMeCurrencyInput

type GetMeCurrencyInput interface {
	pulumi.Input

	ToGetMeCurrencyOutput() GetMeCurrencyOutput
	ToGetMeCurrencyOutputWithContext(context.Context) GetMeCurrencyOutput
}

GetMeCurrencyInput is an input type that accepts GetMeCurrencyArgs and GetMeCurrencyOutput values. You can construct a concrete instance of `GetMeCurrencyInput` via:

GetMeCurrencyArgs{...}

type GetMeCurrencyOutput

type GetMeCurrencyOutput struct{ *pulumi.OutputState }

func (GetMeCurrencyOutput) Code

Currency code used by this account (e.g EUR, USD, ...)

func (GetMeCurrencyOutput) ElementType

func (GetMeCurrencyOutput) ElementType() reflect.Type

func (GetMeCurrencyOutput) Symbol

Currency symbol used by this account (e.g €, $, ...)

func (GetMeCurrencyOutput) ToGetMeCurrencyOutput

func (o GetMeCurrencyOutput) ToGetMeCurrencyOutput() GetMeCurrencyOutput

func (GetMeCurrencyOutput) ToGetMeCurrencyOutputWithContext

func (o GetMeCurrencyOutput) ToGetMeCurrencyOutputWithContext(ctx context.Context) GetMeCurrencyOutput

type GetMeResult

type GetMeResult struct {
	// Postal address of the account
	Address string `pulumi:"address"`
	// Area of the account
	Area string `pulumi:"area"`
	// City of birth
	BirthCity string `pulumi:"birthCity"`
	// Birth date
	BirthDay string `pulumi:"birthDay"`
	// City of the account
	City string `pulumi:"city"`
	// This is the national identification number of the company that possess this account
	CompanyNationalIdentificationNumber string `pulumi:"companyNationalIdentificationNumber"`
	// Type of corporation
	CorporationType string `pulumi:"corporationType"`
	// Country of the account
	Country    string          `pulumi:"country"`
	Currencies []GetMeCurrency `pulumi:"currencies"`
	// The customer code of this account (a numerical value used for identification when contacting support via phone call)
	CustomerCode string `pulumi:"customerCode"`
	// Email address
	Email string `pulumi:"email"`
	// Fax number
	Fax string `pulumi:"fax"`
	// First name
	Firstname string `pulumi:"firstname"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Italian SDI
	ItalianSdi string `pulumi:"italianSdi"`
	// Preferred language for this account
	Language string `pulumi:"language"`
	// Legal form of the account
	Legalform string `pulumi:"legalform"`
	// Name of the account holder
	Name string `pulumi:"name"`
	// National Identification Number of this account
	NationalIdentificationNumber string `pulumi:"nationalIdentificationNumber"`
	// Nic handle / customer identifier
	Nichandle string `pulumi:"nichandle"`
	// Name of the organisation for this account
	Organisation string `pulumi:"organisation"`
	// OVHcloud subsidiary
	OvhCompany string `pulumi:"ovhCompany"`
	// OVHcloud subsidiary
	OvhSubsidiary string `pulumi:"ovhSubsidiary"`
	// Phone number
	Phone string `pulumi:"phone"`
	// Country code of the phone number
	PhoneCountry string `pulumi:"phoneCountry"`
	// Gender of the account holder
	Sex string `pulumi:"sex"`
	// Backup email address
	SpareEmail string `pulumi:"spareEmail"`
	// State of the postal address
	State string `pulumi:"state"`
	// The resource URN of the account, to be used when writing IAM policies
	Urn string `pulumi:"urn"`
	// VAT number
	Vat string `pulumi:"vat"`
	// Zipcode of the address
	Zip string `pulumi:"zip"`
}

A collection of values returned by getMe.

func GetMe

func GetMe(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetMeResult, error)

Use this data source to get information about the current OVHcloud account.

## Example Usage

```go package main

import (

"github.com/lbrlabs/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.GetMe(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetPaymentmeanBankAccountArgs

type GetPaymentmeanBankAccountArgs struct {
	// a regexp used to filter bank accounts
	// on their `description` attributes.
	DescriptionRegexp *string `pulumi:"descriptionRegexp"`
	// Filter bank accounts on their `state` attribute.
	// Can be "blockedForIncidents", "valid", "pendingValidation"
	State *string `pulumi:"state"`
	// Retrieve bank account marked as default payment mean.
	UseDefault *bool `pulumi:"useDefault"`
	// Retrieve oldest bank account.
	// project.
	UseOldest *bool `pulumi:"useOldest"`
}

A collection of arguments for invoking getPaymentmeanBankAccount.

type GetPaymentmeanBankAccountOutputArgs

type GetPaymentmeanBankAccountOutputArgs struct {
	// a regexp used to filter bank accounts
	// on their `description` attributes.
	DescriptionRegexp pulumi.StringPtrInput `pulumi:"descriptionRegexp"`
	// Filter bank accounts on their `state` attribute.
	// Can be "blockedForIncidents", "valid", "pendingValidation"
	State pulumi.StringPtrInput `pulumi:"state"`
	// Retrieve bank account marked as default payment mean.
	UseDefault pulumi.BoolPtrInput `pulumi:"useDefault"`
	// Retrieve oldest bank account.
	// project.
	UseOldest pulumi.BoolPtrInput `pulumi:"useOldest"`
}

A collection of arguments for invoking getPaymentmeanBankAccount.

func (GetPaymentmeanBankAccountOutputArgs) ElementType

type GetPaymentmeanBankAccountResult

type GetPaymentmeanBankAccountResult struct {
	// a boolean which tells if the retrieved bank account
	// is marked as the default payment mean
	Default bool `pulumi:"default"`
	// the description attribute of the bank account
	Description       string  `pulumi:"description"`
	DescriptionRegexp *string `pulumi:"descriptionRegexp"`
	// The provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	State      string `pulumi:"state"`
	UseDefault *bool  `pulumi:"useDefault"`
	UseOldest  *bool  `pulumi:"useOldest"`
}

A collection of values returned by getPaymentmeanBankAccount.

func GetPaymentmeanBankAccount

func GetPaymentmeanBankAccount(ctx *pulumi.Context, args *GetPaymentmeanBankAccountArgs, opts ...pulumi.InvokeOption) (*GetPaymentmeanBankAccountResult, error)

Use this data source to retrieve information about a bank account payment mean associated with an OVHcloud account.

## Example Usage

```go package main

import (

"github.com/lbrlabs/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.GetPaymentmeanBankAccount(ctx, &me.GetPaymentmeanBankAccountArgs{
			UseDefault: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetPaymentmeanBankAccountResultOutput

type GetPaymentmeanBankAccountResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPaymentmeanBankAccount.

func (GetPaymentmeanBankAccountResultOutput) Default

a boolean which tells if the retrieved bank account is marked as the default payment mean

func (GetPaymentmeanBankAccountResultOutput) Description

the description attribute of the bank account

func (GetPaymentmeanBankAccountResultOutput) DescriptionRegexp

func (GetPaymentmeanBankAccountResultOutput) ElementType

func (GetPaymentmeanBankAccountResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetPaymentmeanBankAccountResultOutput) State

func (GetPaymentmeanBankAccountResultOutput) ToGetPaymentmeanBankAccountResultOutput

func (o GetPaymentmeanBankAccountResultOutput) ToGetPaymentmeanBankAccountResultOutput() GetPaymentmeanBankAccountResultOutput

func (GetPaymentmeanBankAccountResultOutput) ToGetPaymentmeanBankAccountResultOutputWithContext

func (o GetPaymentmeanBankAccountResultOutput) ToGetPaymentmeanBankAccountResultOutputWithContext(ctx context.Context) GetPaymentmeanBankAccountResultOutput

func (GetPaymentmeanBankAccountResultOutput) UseDefault

func (GetPaymentmeanBankAccountResultOutput) UseOldest

type GetPaymentmeanCreditCardArgs

type GetPaymentmeanCreditCardArgs struct {
	// a regexp used to filter credit cards
	// on their `description` attributes.
	DescriptionRegexp *string `pulumi:"descriptionRegexp"`
	// Filter credit cards on their `state` attribute.
	// Can be "expired", "valid", "tooManyFailures"
	States []string `pulumi:"states"`
	// Retrieve credit card marked as default payment mean.
	UseDefault *bool `pulumi:"useDefault"`
	// Retrieve the credit card that will be the last
	// to expire according to its expiration date.
	UseLastToExpire *bool `pulumi:"useLastToExpire"`
}

A collection of arguments for invoking getPaymentmeanCreditCard.

type GetPaymentmeanCreditCardOutputArgs

type GetPaymentmeanCreditCardOutputArgs struct {
	// a regexp used to filter credit cards
	// on their `description` attributes.
	DescriptionRegexp pulumi.StringPtrInput `pulumi:"descriptionRegexp"`
	// Filter credit cards on their `state` attribute.
	// Can be "expired", "valid", "tooManyFailures"
	States pulumi.StringArrayInput `pulumi:"states"`
	// Retrieve credit card marked as default payment mean.
	UseDefault pulumi.BoolPtrInput `pulumi:"useDefault"`
	// Retrieve the credit card that will be the last
	// to expire according to its expiration date.
	UseLastToExpire pulumi.BoolPtrInput `pulumi:"useLastToExpire"`
}

A collection of arguments for invoking getPaymentmeanCreditCard.

func (GetPaymentmeanCreditCardOutputArgs) ElementType

type GetPaymentmeanCreditCardResult

type GetPaymentmeanCreditCardResult struct {
	// a boolean which tells if the retrieved credit card
	// is marked as the default payment mean
	Default bool `pulumi:"default"`
	// the description attribute of the credit card
	Description       string  `pulumi:"description"`
	DescriptionRegexp *string `pulumi:"descriptionRegexp"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// the state attribute of the credit card
	State           string   `pulumi:"state"`
	States          []string `pulumi:"states"`
	UseDefault      *bool    `pulumi:"useDefault"`
	UseLastToExpire *bool    `pulumi:"useLastToExpire"`
}

A collection of values returned by getPaymentmeanCreditCard.

func GetPaymentmeanCreditCard

func GetPaymentmeanCreditCard(ctx *pulumi.Context, args *GetPaymentmeanCreditCardArgs, opts ...pulumi.InvokeOption) (*GetPaymentmeanCreditCardResult, error)

Use this data source to retrieve information about a credit card payment mean associated with an OVHcloud account.

## Example Usage

```go package main

import (

"github.com/lbrlabs/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.GetPaymentmeanCreditCard(ctx, &me.GetPaymentmeanCreditCardArgs{
			UseDefault: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetPaymentmeanCreditCardResultOutput

type GetPaymentmeanCreditCardResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPaymentmeanCreditCard.

func (GetPaymentmeanCreditCardResultOutput) Default

a boolean which tells if the retrieved credit card is marked as the default payment mean

func (GetPaymentmeanCreditCardResultOutput) Description

the description attribute of the credit card

func (GetPaymentmeanCreditCardResultOutput) DescriptionRegexp

func (GetPaymentmeanCreditCardResultOutput) ElementType

func (GetPaymentmeanCreditCardResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetPaymentmeanCreditCardResultOutput) State

the state attribute of the credit card

func (GetPaymentmeanCreditCardResultOutput) States

func (GetPaymentmeanCreditCardResultOutput) ToGetPaymentmeanCreditCardResultOutput

func (o GetPaymentmeanCreditCardResultOutput) ToGetPaymentmeanCreditCardResultOutput() GetPaymentmeanCreditCardResultOutput

func (GetPaymentmeanCreditCardResultOutput) ToGetPaymentmeanCreditCardResultOutputWithContext

func (o GetPaymentmeanCreditCardResultOutput) ToGetPaymentmeanCreditCardResultOutputWithContext(ctx context.Context) GetPaymentmeanCreditCardResultOutput

func (GetPaymentmeanCreditCardResultOutput) UseDefault

func (GetPaymentmeanCreditCardResultOutput) UseLastToExpire

type GetSshKeysResult

type GetSshKeysResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of the names of all the SSH keys.
	Names []string `pulumi:"names"`
}

A collection of values returned by getSshKeys.

func GetSshKeys

func GetSshKeys(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetSshKeysResult, error)

Use this data source to retrieve list of names of the account's SSH keys.

## Example Usage

```go package main

import (

"github.com/lbrlabs/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.GetSshKeys(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type IdentityGroup added in v0.32.0

type IdentityGroup struct {
	pulumi.CustomResourceState

	// Creation date of this group.
	Creation pulumi.StringOutput `pulumi:"creation"`
	// Is the group a default and immutable one.
	DefaultGroup pulumi.BoolOutput `pulumi:"defaultGroup"`
	// Group description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Date of the last update of this group.
	LastUpdate pulumi.StringOutput `pulumi:"lastUpdate"`
	// Group name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Role associated with the group. Valid roles are ADMIN, REGULAR, UNPRIVILEGED, and NONE.
	Role pulumi.StringPtrOutput `pulumi:"role"`
	// URN of the user group, used when writing IAM policies
	Urn pulumi.StringOutput `pulumi:"urn"`
}

Creates an identity group.

## Example Usage

```go package main

import (

"github.com/lbrlabs/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.NewIdentityGroup(ctx, "myGroup", &Me.IdentityGroupArgs{
			Description: pulumi.String("Some custom description"),
			Role:        pulumi.String("NONE"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetIdentityGroup added in v0.32.0

func GetIdentityGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IdentityGroupState, opts ...pulumi.ResourceOption) (*IdentityGroup, error)

GetIdentityGroup gets an existing IdentityGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIdentityGroup added in v0.32.0

func NewIdentityGroup(ctx *pulumi.Context,
	name string, args *IdentityGroupArgs, opts ...pulumi.ResourceOption) (*IdentityGroup, error)

NewIdentityGroup registers a new resource with the given unique name, arguments, and options.

func (*IdentityGroup) ElementType added in v0.32.0

func (*IdentityGroup) ElementType() reflect.Type

func (*IdentityGroup) ToIdentityGroupOutput added in v0.32.0

func (i *IdentityGroup) ToIdentityGroupOutput() IdentityGroupOutput

func (*IdentityGroup) ToIdentityGroupOutputWithContext added in v0.32.0

func (i *IdentityGroup) ToIdentityGroupOutputWithContext(ctx context.Context) IdentityGroupOutput

type IdentityGroupArgs added in v0.32.0

type IdentityGroupArgs struct {
	// Group description.
	Description pulumi.StringPtrInput
	// Group name.
	Name pulumi.StringPtrInput
	// Role associated with the group. Valid roles are ADMIN, REGULAR, UNPRIVILEGED, and NONE.
	Role pulumi.StringPtrInput
}

The set of arguments for constructing a IdentityGroup resource.

func (IdentityGroupArgs) ElementType added in v0.32.0

func (IdentityGroupArgs) ElementType() reflect.Type

type IdentityGroupArray added in v0.32.0

type IdentityGroupArray []IdentityGroupInput

func (IdentityGroupArray) ElementType added in v0.32.0

func (IdentityGroupArray) ElementType() reflect.Type

func (IdentityGroupArray) ToIdentityGroupArrayOutput added in v0.32.0

func (i IdentityGroupArray) ToIdentityGroupArrayOutput() IdentityGroupArrayOutput

func (IdentityGroupArray) ToIdentityGroupArrayOutputWithContext added in v0.32.0

func (i IdentityGroupArray) ToIdentityGroupArrayOutputWithContext(ctx context.Context) IdentityGroupArrayOutput

type IdentityGroupArrayInput added in v0.32.0

type IdentityGroupArrayInput interface {
	pulumi.Input

	ToIdentityGroupArrayOutput() IdentityGroupArrayOutput
	ToIdentityGroupArrayOutputWithContext(context.Context) IdentityGroupArrayOutput
}

IdentityGroupArrayInput is an input type that accepts IdentityGroupArray and IdentityGroupArrayOutput values. You can construct a concrete instance of `IdentityGroupArrayInput` via:

IdentityGroupArray{ IdentityGroupArgs{...} }

type IdentityGroupArrayOutput added in v0.32.0

type IdentityGroupArrayOutput struct{ *pulumi.OutputState }

func (IdentityGroupArrayOutput) ElementType added in v0.32.0

func (IdentityGroupArrayOutput) ElementType() reflect.Type

func (IdentityGroupArrayOutput) Index added in v0.32.0

func (IdentityGroupArrayOutput) ToIdentityGroupArrayOutput added in v0.32.0

func (o IdentityGroupArrayOutput) ToIdentityGroupArrayOutput() IdentityGroupArrayOutput

func (IdentityGroupArrayOutput) ToIdentityGroupArrayOutputWithContext added in v0.32.0

func (o IdentityGroupArrayOutput) ToIdentityGroupArrayOutputWithContext(ctx context.Context) IdentityGroupArrayOutput

type IdentityGroupInput added in v0.32.0

type IdentityGroupInput interface {
	pulumi.Input

	ToIdentityGroupOutput() IdentityGroupOutput
	ToIdentityGroupOutputWithContext(ctx context.Context) IdentityGroupOutput
}

type IdentityGroupMap added in v0.32.0

type IdentityGroupMap map[string]IdentityGroupInput

func (IdentityGroupMap) ElementType added in v0.32.0

func (IdentityGroupMap) ElementType() reflect.Type

func (IdentityGroupMap) ToIdentityGroupMapOutput added in v0.32.0

func (i IdentityGroupMap) ToIdentityGroupMapOutput() IdentityGroupMapOutput

func (IdentityGroupMap) ToIdentityGroupMapOutputWithContext added in v0.32.0

func (i IdentityGroupMap) ToIdentityGroupMapOutputWithContext(ctx context.Context) IdentityGroupMapOutput

type IdentityGroupMapInput added in v0.32.0

type IdentityGroupMapInput interface {
	pulumi.Input

	ToIdentityGroupMapOutput() IdentityGroupMapOutput
	ToIdentityGroupMapOutputWithContext(context.Context) IdentityGroupMapOutput
}

IdentityGroupMapInput is an input type that accepts IdentityGroupMap and IdentityGroupMapOutput values. You can construct a concrete instance of `IdentityGroupMapInput` via:

IdentityGroupMap{ "key": IdentityGroupArgs{...} }

type IdentityGroupMapOutput added in v0.32.0

type IdentityGroupMapOutput struct{ *pulumi.OutputState }

func (IdentityGroupMapOutput) ElementType added in v0.32.0

func (IdentityGroupMapOutput) ElementType() reflect.Type

func (IdentityGroupMapOutput) MapIndex added in v0.32.0

func (IdentityGroupMapOutput) ToIdentityGroupMapOutput added in v0.32.0

func (o IdentityGroupMapOutput) ToIdentityGroupMapOutput() IdentityGroupMapOutput

func (IdentityGroupMapOutput) ToIdentityGroupMapOutputWithContext added in v0.32.0

func (o IdentityGroupMapOutput) ToIdentityGroupMapOutputWithContext(ctx context.Context) IdentityGroupMapOutput

type IdentityGroupOutput added in v0.32.0

type IdentityGroupOutput struct{ *pulumi.OutputState }

func (IdentityGroupOutput) Creation added in v0.32.0

Creation date of this group.

func (IdentityGroupOutput) DefaultGroup added in v0.32.0

func (o IdentityGroupOutput) DefaultGroup() pulumi.BoolOutput

Is the group a default and immutable one.

func (IdentityGroupOutput) Description added in v0.32.0

func (o IdentityGroupOutput) Description() pulumi.StringPtrOutput

Group description.

func (IdentityGroupOutput) ElementType added in v0.32.0

func (IdentityGroupOutput) ElementType() reflect.Type

func (IdentityGroupOutput) LastUpdate added in v0.32.0

func (o IdentityGroupOutput) LastUpdate() pulumi.StringOutput

Date of the last update of this group.

func (IdentityGroupOutput) Name added in v0.32.0

Group name.

func (IdentityGroupOutput) Role added in v0.32.0

Role associated with the group. Valid roles are ADMIN, REGULAR, UNPRIVILEGED, and NONE.

func (IdentityGroupOutput) ToIdentityGroupOutput added in v0.32.0

func (o IdentityGroupOutput) ToIdentityGroupOutput() IdentityGroupOutput

func (IdentityGroupOutput) ToIdentityGroupOutputWithContext added in v0.32.0

func (o IdentityGroupOutput) ToIdentityGroupOutputWithContext(ctx context.Context) IdentityGroupOutput

func (IdentityGroupOutput) Urn added in v0.32.0

URN of the user group, used when writing IAM policies

type IdentityGroupState added in v0.32.0

type IdentityGroupState struct {
	// Creation date of this group.
	Creation pulumi.StringPtrInput
	// Is the group a default and immutable one.
	DefaultGroup pulumi.BoolPtrInput
	// Group description.
	Description pulumi.StringPtrInput
	// Date of the last update of this group.
	LastUpdate pulumi.StringPtrInput
	// Group name.
	Name pulumi.StringPtrInput
	// Role associated with the group. Valid roles are ADMIN, REGULAR, UNPRIVILEGED, and NONE.
	Role pulumi.StringPtrInput
	// URN of the user group, used when writing IAM policies
	Urn pulumi.StringPtrInput
}

func (IdentityGroupState) ElementType added in v0.32.0

func (IdentityGroupState) ElementType() reflect.Type

type IdentityUser

type IdentityUser struct {
	pulumi.CustomResourceState

	// Creation date of this user.
	Creation pulumi.StringOutput `pulumi:"creation"`
	// User description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// User's email.
	Email pulumi.StringOutput `pulumi:"email"`
	// User's group.
	Group pulumi.StringPtrOutput `pulumi:"group"`
	// Last update of this user.
	LastUpdate pulumi.StringOutput `pulumi:"lastUpdate"`
	// User's login suffix.
	Login pulumi.StringOutput `pulumi:"login"`
	// User's password.
	Password pulumi.StringOutput `pulumi:"password"`
	// When the user changed his password for the last time.
	PasswordLastUpdate pulumi.StringOutput `pulumi:"passwordLastUpdate"`
	// Current user's status.
	Status pulumi.StringOutput `pulumi:"status"`
	// URN of the user, used when writing IAM policies
	Urn pulumi.StringOutput `pulumi:"urn"`
}

Creates an identity user.

## Example Usage

```go package main

import (

"github.com/lbrlabs/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.NewIdentityUser(ctx, "myUser", &Me.IdentityUserArgs{
			Description: pulumi.String("Some custom description"),
			Email:       pulumi.String("my_login@example.com"),
			Group:       pulumi.String("DEFAULT"),
			Login:       pulumi.String("my_login"),
			Password:    pulumi.String("super-s3cr3t!password"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetIdentityUser

func GetIdentityUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IdentityUserState, opts ...pulumi.ResourceOption) (*IdentityUser, error)

GetIdentityUser gets an existing IdentityUser resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIdentityUser

func NewIdentityUser(ctx *pulumi.Context,
	name string, args *IdentityUserArgs, opts ...pulumi.ResourceOption) (*IdentityUser, error)

NewIdentityUser registers a new resource with the given unique name, arguments, and options.

func (*IdentityUser) ElementType

func (*IdentityUser) ElementType() reflect.Type

func (*IdentityUser) ToIdentityUserOutput

func (i *IdentityUser) ToIdentityUserOutput() IdentityUserOutput

func (*IdentityUser) ToIdentityUserOutputWithContext

func (i *IdentityUser) ToIdentityUserOutputWithContext(ctx context.Context) IdentityUserOutput

type IdentityUserArgs

type IdentityUserArgs struct {
	// User description.
	Description pulumi.StringPtrInput
	// User's email.
	Email pulumi.StringInput
	// User's group.
	Group pulumi.StringPtrInput
	// User's login suffix.
	Login pulumi.StringInput
	// User's password.
	Password pulumi.StringInput
}

The set of arguments for constructing a IdentityUser resource.

func (IdentityUserArgs) ElementType

func (IdentityUserArgs) ElementType() reflect.Type

type IdentityUserArray

type IdentityUserArray []IdentityUserInput

func (IdentityUserArray) ElementType

func (IdentityUserArray) ElementType() reflect.Type

func (IdentityUserArray) ToIdentityUserArrayOutput

func (i IdentityUserArray) ToIdentityUserArrayOutput() IdentityUserArrayOutput

func (IdentityUserArray) ToIdentityUserArrayOutputWithContext

func (i IdentityUserArray) ToIdentityUserArrayOutputWithContext(ctx context.Context) IdentityUserArrayOutput

type IdentityUserArrayInput

type IdentityUserArrayInput interface {
	pulumi.Input

	ToIdentityUserArrayOutput() IdentityUserArrayOutput
	ToIdentityUserArrayOutputWithContext(context.Context) IdentityUserArrayOutput
}

IdentityUserArrayInput is an input type that accepts IdentityUserArray and IdentityUserArrayOutput values. You can construct a concrete instance of `IdentityUserArrayInput` via:

IdentityUserArray{ IdentityUserArgs{...} }

type IdentityUserArrayOutput

type IdentityUserArrayOutput struct{ *pulumi.OutputState }

func (IdentityUserArrayOutput) ElementType

func (IdentityUserArrayOutput) ElementType() reflect.Type

func (IdentityUserArrayOutput) Index

func (IdentityUserArrayOutput) ToIdentityUserArrayOutput

func (o IdentityUserArrayOutput) ToIdentityUserArrayOutput() IdentityUserArrayOutput

func (IdentityUserArrayOutput) ToIdentityUserArrayOutputWithContext

func (o IdentityUserArrayOutput) ToIdentityUserArrayOutputWithContext(ctx context.Context) IdentityUserArrayOutput

type IdentityUserInput

type IdentityUserInput interface {
	pulumi.Input

	ToIdentityUserOutput() IdentityUserOutput
	ToIdentityUserOutputWithContext(ctx context.Context) IdentityUserOutput
}

type IdentityUserMap

type IdentityUserMap map[string]IdentityUserInput

func (IdentityUserMap) ElementType

func (IdentityUserMap) ElementType() reflect.Type

func (IdentityUserMap) ToIdentityUserMapOutput

func (i IdentityUserMap) ToIdentityUserMapOutput() IdentityUserMapOutput

func (IdentityUserMap) ToIdentityUserMapOutputWithContext

func (i IdentityUserMap) ToIdentityUserMapOutputWithContext(ctx context.Context) IdentityUserMapOutput

type IdentityUserMapInput

type IdentityUserMapInput interface {
	pulumi.Input

	ToIdentityUserMapOutput() IdentityUserMapOutput
	ToIdentityUserMapOutputWithContext(context.Context) IdentityUserMapOutput
}

IdentityUserMapInput is an input type that accepts IdentityUserMap and IdentityUserMapOutput values. You can construct a concrete instance of `IdentityUserMapInput` via:

IdentityUserMap{ "key": IdentityUserArgs{...} }

type IdentityUserMapOutput

type IdentityUserMapOutput struct{ *pulumi.OutputState }

func (IdentityUserMapOutput) ElementType

func (IdentityUserMapOutput) ElementType() reflect.Type

func (IdentityUserMapOutput) MapIndex

func (IdentityUserMapOutput) ToIdentityUserMapOutput

func (o IdentityUserMapOutput) ToIdentityUserMapOutput() IdentityUserMapOutput

func (IdentityUserMapOutput) ToIdentityUserMapOutputWithContext

func (o IdentityUserMapOutput) ToIdentityUserMapOutputWithContext(ctx context.Context) IdentityUserMapOutput

type IdentityUserOutput

type IdentityUserOutput struct{ *pulumi.OutputState }

func (IdentityUserOutput) Creation

func (o IdentityUserOutput) Creation() pulumi.StringOutput

Creation date of this user.

func (IdentityUserOutput) Description

func (o IdentityUserOutput) Description() pulumi.StringPtrOutput

User description.

func (IdentityUserOutput) ElementType

func (IdentityUserOutput) ElementType() reflect.Type

func (IdentityUserOutput) Email

User's email.

func (IdentityUserOutput) Group

User's group.

func (IdentityUserOutput) LastUpdate

func (o IdentityUserOutput) LastUpdate() pulumi.StringOutput

Last update of this user.

func (IdentityUserOutput) Login

User's login suffix.

func (IdentityUserOutput) Password

func (o IdentityUserOutput) Password() pulumi.StringOutput

User's password.

func (IdentityUserOutput) PasswordLastUpdate

func (o IdentityUserOutput) PasswordLastUpdate() pulumi.StringOutput

When the user changed his password for the last time.

func (IdentityUserOutput) Status

Current user's status.

func (IdentityUserOutput) ToIdentityUserOutput

func (o IdentityUserOutput) ToIdentityUserOutput() IdentityUserOutput

func (IdentityUserOutput) ToIdentityUserOutputWithContext

func (o IdentityUserOutput) ToIdentityUserOutputWithContext(ctx context.Context) IdentityUserOutput

func (IdentityUserOutput) Urn added in v0.32.0

URN of the user, used when writing IAM policies

type IdentityUserState

type IdentityUserState struct {
	// Creation date of this user.
	Creation pulumi.StringPtrInput
	// User description.
	Description pulumi.StringPtrInput
	// User's email.
	Email pulumi.StringPtrInput
	// User's group.
	Group pulumi.StringPtrInput
	// Last update of this user.
	LastUpdate pulumi.StringPtrInput
	// User's login suffix.
	Login pulumi.StringPtrInput
	// User's password.
	Password pulumi.StringPtrInput
	// When the user changed his password for the last time.
	PasswordLastUpdate pulumi.StringPtrInput
	// Current user's status.
	Status pulumi.StringPtrInput
	// URN of the user, used when writing IAM policies
	Urn pulumi.StringPtrInput
}

func (IdentityUserState) ElementType

func (IdentityUserState) ElementType() reflect.Type

type InstallationTemplate

type InstallationTemplate struct {
	pulumi.CustomResourceState

	// List of all language available for this template.
	AvailableLanguages pulumi.StringArrayOutput `pulumi:"availableLanguages"`
	// The name of an existing installation template, choose one among the list given by `getInstallationTemplates` datasource.
	BaseTemplateName pulumi.StringOutput `pulumi:"baseTemplateName"`
	// This distribution is new and, although tested and functional, may still display odd behaviour.
	Beta pulumi.BoolOutput `pulumi:"beta"`
	// This template bit format (32 or 64).
	BitFormat pulumi.IntOutput `pulumi:"bitFormat"`
	// Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
	Category      pulumi.StringOutput                        `pulumi:"category"`
	Customization InstallationTemplateCustomizationPtrOutput `pulumi:"customization"`
	// The default language of this template.
	DefaultLanguage pulumi.StringOutput `pulumi:"defaultLanguage"`
	// is this distribution deprecated.
	Deprecated pulumi.BoolOutput `pulumi:"deprecated"`
	// information about this template.
	Description pulumi.StringOutput `pulumi:"description"`
	// the distribution this template is based on.
	Distribution pulumi.StringOutput `pulumi:"distribution"`
	// this template family type (bsd,linux,solaris,windows).
	Family pulumi.StringOutput `pulumi:"family"`
	// Filesystems available (btrfs,ext3,ext4,ntfs,reiserfs,swap,ufs,xfs,zfs).
	Filesystems pulumi.StringArrayOutput `pulumi:"filesystems"`
	// This distribution supports hardware raid configuration through the OVHcloud API.
	HardRaidConfiguration pulumi.BoolOutput `pulumi:"hardRaidConfiguration"`
	// Date of last modification of the base image.
	LastModification pulumi.StringOutput `pulumi:"lastModification"`
	// This distribution supports Logical Volumes (Linux LVM)
	LvmReady pulumi.BoolOutput `pulumi:"lvmReady"`
	// Remove default partition schemes at creation.
	RemoveDefaultPartitionSchemes pulumi.BoolOutput `pulumi:"removeDefaultPartitionSchemes"`
	// This distribution supports installation using the distribution's native kernel instead of the recommended OVHcloud kernel.
	SupportsDistributionKernel pulumi.BoolOutput `pulumi:"supportsDistributionKernel"`
	// This distribution supports RTM software.
	SupportsRtm pulumi.BoolOutput `pulumi:"supportsRtm"`
	// This distribution supports the microsoft SQL server.
	SupportsSqlServer pulumi.BoolOutput `pulumi:"supportsSqlServer"`
	// This template name.
	TemplateName pulumi.StringOutput `pulumi:"templateName"`
}

Use this resource to create a custom installation template available for dedicated servers.

## Example Usage

```go package main

import (

"github.com/lbrlabs/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.NewInstallationTemplate(ctx, "mytemplate", &Me.InstallationTemplateArgs{
			BaseTemplateName: pulumi.String("centos7_64"),
			DefaultLanguage:  pulumi.String("en"),
			TemplateName:     pulumi.String("mytemplate"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## 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

```sh

$ pulumi import ovh:Me/installationTemplate:InstallationTemplate mytemplate base_template_name/template_name

```

func GetInstallationTemplate

func GetInstallationTemplate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstallationTemplateState, opts ...pulumi.ResourceOption) (*InstallationTemplate, error)

GetInstallationTemplate gets an existing InstallationTemplate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInstallationTemplate

func NewInstallationTemplate(ctx *pulumi.Context,
	name string, args *InstallationTemplateArgs, opts ...pulumi.ResourceOption) (*InstallationTemplate, error)

NewInstallationTemplate registers a new resource with the given unique name, arguments, and options.

func (*InstallationTemplate) ElementType

func (*InstallationTemplate) ElementType() reflect.Type

func (*InstallationTemplate) ToInstallationTemplateOutput

func (i *InstallationTemplate) ToInstallationTemplateOutput() InstallationTemplateOutput

func (*InstallationTemplate) ToInstallationTemplateOutputWithContext

func (i *InstallationTemplate) ToInstallationTemplateOutputWithContext(ctx context.Context) InstallationTemplateOutput

type InstallationTemplateArgs

type InstallationTemplateArgs struct {
	// The name of an existing installation template, choose one among the list given by `getInstallationTemplates` datasource.
	BaseTemplateName pulumi.StringInput
	Customization    InstallationTemplateCustomizationPtrInput
	// The default language of this template.
	DefaultLanguage pulumi.StringInput
	// Remove default partition schemes at creation.
	RemoveDefaultPartitionSchemes pulumi.BoolPtrInput
	// This template name.
	TemplateName pulumi.StringInput
}

The set of arguments for constructing a InstallationTemplate resource.

func (InstallationTemplateArgs) ElementType

func (InstallationTemplateArgs) ElementType() reflect.Type

type InstallationTemplateArray

type InstallationTemplateArray []InstallationTemplateInput

func (InstallationTemplateArray) ElementType

func (InstallationTemplateArray) ElementType() reflect.Type

func (InstallationTemplateArray) ToInstallationTemplateArrayOutput

func (i InstallationTemplateArray) ToInstallationTemplateArrayOutput() InstallationTemplateArrayOutput

func (InstallationTemplateArray) ToInstallationTemplateArrayOutputWithContext

func (i InstallationTemplateArray) ToInstallationTemplateArrayOutputWithContext(ctx context.Context) InstallationTemplateArrayOutput

type InstallationTemplateArrayInput

type InstallationTemplateArrayInput interface {
	pulumi.Input

	ToInstallationTemplateArrayOutput() InstallationTemplateArrayOutput
	ToInstallationTemplateArrayOutputWithContext(context.Context) InstallationTemplateArrayOutput
}

InstallationTemplateArrayInput is an input type that accepts InstallationTemplateArray and InstallationTemplateArrayOutput values. You can construct a concrete instance of `InstallationTemplateArrayInput` via:

InstallationTemplateArray{ InstallationTemplateArgs{...} }

type InstallationTemplateArrayOutput

type InstallationTemplateArrayOutput struct{ *pulumi.OutputState }

func (InstallationTemplateArrayOutput) ElementType

func (InstallationTemplateArrayOutput) Index

func (InstallationTemplateArrayOutput) ToInstallationTemplateArrayOutput

func (o InstallationTemplateArrayOutput) ToInstallationTemplateArrayOutput() InstallationTemplateArrayOutput

func (InstallationTemplateArrayOutput) ToInstallationTemplateArrayOutputWithContext

func (o InstallationTemplateArrayOutput) ToInstallationTemplateArrayOutputWithContext(ctx context.Context) InstallationTemplateArrayOutput

type InstallationTemplateCustomization

type InstallationTemplateCustomization struct {
	// Template change log details.
	//
	// Deprecated: field is not used anymore
	ChangeLog *string `pulumi:"changeLog"`
	// Set up the server using the provided hostname instead of the default hostname.
	CustomHostname *string `pulumi:"customHostname"`
	// Indicate the URL where your postinstall customisation script is located.
	PostInstallationScriptLink *string `pulumi:"postInstallationScriptLink"`
	// 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'.
	PostInstallationScriptReturn *string `pulumi:"postInstallationScriptReturn"`
	// Rating.
	//
	// Deprecated: field is not used anymore
	Rating *int `pulumi:"rating"`
	// Name of the ssh key that should be installed. Password login will be disabled.
	SshKeyName *string `pulumi:"sshKeyName"`
	// Use the distribution's native kernel instead of the recommended OV
	UseDistributionKernel *bool `pulumi:"useDistributionKernel"`
}

type InstallationTemplateCustomizationArgs

type InstallationTemplateCustomizationArgs struct {
	// Template change log details.
	//
	// Deprecated: field is not used anymore
	ChangeLog pulumi.StringPtrInput `pulumi:"changeLog"`
	// Set up the server using the provided hostname instead of the default hostname.
	CustomHostname pulumi.StringPtrInput `pulumi:"customHostname"`
	// Indicate the URL where your postinstall customisation script is located.
	PostInstallationScriptLink pulumi.StringPtrInput `pulumi:"postInstallationScriptLink"`
	// 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'.
	PostInstallationScriptReturn pulumi.StringPtrInput `pulumi:"postInstallationScriptReturn"`
	// Rating.
	//
	// Deprecated: field is not used anymore
	Rating pulumi.IntPtrInput `pulumi:"rating"`
	// Name of the ssh key that should be installed. Password login will be disabled.
	SshKeyName pulumi.StringPtrInput `pulumi:"sshKeyName"`
	// Use the distribution's native kernel instead of the recommended OV
	UseDistributionKernel pulumi.BoolPtrInput `pulumi:"useDistributionKernel"`
}

func (InstallationTemplateCustomizationArgs) ElementType

func (InstallationTemplateCustomizationArgs) ToInstallationTemplateCustomizationOutput

func (i InstallationTemplateCustomizationArgs) ToInstallationTemplateCustomizationOutput() InstallationTemplateCustomizationOutput

func (InstallationTemplateCustomizationArgs) ToInstallationTemplateCustomizationOutputWithContext

func (i InstallationTemplateCustomizationArgs) ToInstallationTemplateCustomizationOutputWithContext(ctx context.Context) InstallationTemplateCustomizationOutput

func (InstallationTemplateCustomizationArgs) ToInstallationTemplateCustomizationPtrOutput

func (i InstallationTemplateCustomizationArgs) ToInstallationTemplateCustomizationPtrOutput() InstallationTemplateCustomizationPtrOutput

func (InstallationTemplateCustomizationArgs) ToInstallationTemplateCustomizationPtrOutputWithContext

func (i InstallationTemplateCustomizationArgs) ToInstallationTemplateCustomizationPtrOutputWithContext(ctx context.Context) InstallationTemplateCustomizationPtrOutput

type InstallationTemplateCustomizationInput

type InstallationTemplateCustomizationInput interface {
	pulumi.Input

	ToInstallationTemplateCustomizationOutput() InstallationTemplateCustomizationOutput
	ToInstallationTemplateCustomizationOutputWithContext(context.Context) InstallationTemplateCustomizationOutput
}

InstallationTemplateCustomizationInput is an input type that accepts InstallationTemplateCustomizationArgs and InstallationTemplateCustomizationOutput values. You can construct a concrete instance of `InstallationTemplateCustomizationInput` via:

InstallationTemplateCustomizationArgs{...}

type InstallationTemplateCustomizationOutput

type InstallationTemplateCustomizationOutput struct{ *pulumi.OutputState }

func (InstallationTemplateCustomizationOutput) ChangeLog deprecated

Template change log details.

Deprecated: field is not used anymore

func (InstallationTemplateCustomizationOutput) CustomHostname

Set up the server using the provided hostname instead of the default hostname.

func (InstallationTemplateCustomizationOutput) ElementType

func (o InstallationTemplateCustomizationOutput) PostInstallationScriptLink() pulumi.StringPtrOutput

Indicate the URL where your postinstall customisation script is located.

func (InstallationTemplateCustomizationOutput) PostInstallationScriptReturn

func (o InstallationTemplateCustomizationOutput) PostInstallationScriptReturn() pulumi.StringPtrOutput

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'.

func (InstallationTemplateCustomizationOutput) Rating deprecated

Rating.

Deprecated: field is not used anymore

func (InstallationTemplateCustomizationOutput) SshKeyName

Name of the ssh key that should be installed. Password login will be disabled.

func (InstallationTemplateCustomizationOutput) ToInstallationTemplateCustomizationOutput

func (o InstallationTemplateCustomizationOutput) ToInstallationTemplateCustomizationOutput() InstallationTemplateCustomizationOutput

func (InstallationTemplateCustomizationOutput) ToInstallationTemplateCustomizationOutputWithContext

func (o InstallationTemplateCustomizationOutput) ToInstallationTemplateCustomizationOutputWithContext(ctx context.Context) InstallationTemplateCustomizationOutput

func (InstallationTemplateCustomizationOutput) ToInstallationTemplateCustomizationPtrOutput

func (o InstallationTemplateCustomizationOutput) ToInstallationTemplateCustomizationPtrOutput() InstallationTemplateCustomizationPtrOutput

func (InstallationTemplateCustomizationOutput) ToInstallationTemplateCustomizationPtrOutputWithContext

func (o InstallationTemplateCustomizationOutput) ToInstallationTemplateCustomizationPtrOutputWithContext(ctx context.Context) InstallationTemplateCustomizationPtrOutput

func (InstallationTemplateCustomizationOutput) UseDistributionKernel

Use the distribution's native kernel instead of the recommended OV

type InstallationTemplateCustomizationPtrInput

type InstallationTemplateCustomizationPtrInput interface {
	pulumi.Input

	ToInstallationTemplateCustomizationPtrOutput() InstallationTemplateCustomizationPtrOutput
	ToInstallationTemplateCustomizationPtrOutputWithContext(context.Context) InstallationTemplateCustomizationPtrOutput
}

InstallationTemplateCustomizationPtrInput is an input type that accepts InstallationTemplateCustomizationArgs, InstallationTemplateCustomizationPtr and InstallationTemplateCustomizationPtrOutput values. You can construct a concrete instance of `InstallationTemplateCustomizationPtrInput` via:

        InstallationTemplateCustomizationArgs{...}

or:

        nil

type InstallationTemplateCustomizationPtrOutput

type InstallationTemplateCustomizationPtrOutput struct{ *pulumi.OutputState }

func (InstallationTemplateCustomizationPtrOutput) ChangeLog deprecated

Template change log details.

Deprecated: field is not used anymore

func (InstallationTemplateCustomizationPtrOutput) CustomHostname

Set up the server using the provided hostname instead of the default hostname.

func (InstallationTemplateCustomizationPtrOutput) Elem

func (InstallationTemplateCustomizationPtrOutput) ElementType

func (o InstallationTemplateCustomizationPtrOutput) PostInstallationScriptLink() pulumi.StringPtrOutput

Indicate the URL where your postinstall customisation script is located.

func (InstallationTemplateCustomizationPtrOutput) PostInstallationScriptReturn

func (o InstallationTemplateCustomizationPtrOutput) PostInstallationScriptReturn() pulumi.StringPtrOutput

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'.

func (InstallationTemplateCustomizationPtrOutput) Rating deprecated

Rating.

Deprecated: field is not used anymore

func (InstallationTemplateCustomizationPtrOutput) SshKeyName

Name of the ssh key that should be installed. Password login will be disabled.

func (InstallationTemplateCustomizationPtrOutput) ToInstallationTemplateCustomizationPtrOutput

func (o InstallationTemplateCustomizationPtrOutput) ToInstallationTemplateCustomizationPtrOutput() InstallationTemplateCustomizationPtrOutput

func (InstallationTemplateCustomizationPtrOutput) ToInstallationTemplateCustomizationPtrOutputWithContext

func (o InstallationTemplateCustomizationPtrOutput) ToInstallationTemplateCustomizationPtrOutputWithContext(ctx context.Context) InstallationTemplateCustomizationPtrOutput

func (InstallationTemplateCustomizationPtrOutput) UseDistributionKernel

Use the distribution's native kernel instead of the recommended OV

type InstallationTemplateInput

type InstallationTemplateInput interface {
	pulumi.Input

	ToInstallationTemplateOutput() InstallationTemplateOutput
	ToInstallationTemplateOutputWithContext(ctx context.Context) InstallationTemplateOutput
}

type InstallationTemplateMap

type InstallationTemplateMap map[string]InstallationTemplateInput

func (InstallationTemplateMap) ElementType

func (InstallationTemplateMap) ElementType() reflect.Type

func (InstallationTemplateMap) ToInstallationTemplateMapOutput

func (i InstallationTemplateMap) ToInstallationTemplateMapOutput() InstallationTemplateMapOutput

func (InstallationTemplateMap) ToInstallationTemplateMapOutputWithContext

func (i InstallationTemplateMap) ToInstallationTemplateMapOutputWithContext(ctx context.Context) InstallationTemplateMapOutput

type InstallationTemplateMapInput

type InstallationTemplateMapInput interface {
	pulumi.Input

	ToInstallationTemplateMapOutput() InstallationTemplateMapOutput
	ToInstallationTemplateMapOutputWithContext(context.Context) InstallationTemplateMapOutput
}

InstallationTemplateMapInput is an input type that accepts InstallationTemplateMap and InstallationTemplateMapOutput values. You can construct a concrete instance of `InstallationTemplateMapInput` via:

InstallationTemplateMap{ "key": InstallationTemplateArgs{...} }

type InstallationTemplateMapOutput

type InstallationTemplateMapOutput struct{ *pulumi.OutputState }

func (InstallationTemplateMapOutput) ElementType

func (InstallationTemplateMapOutput) MapIndex

func (InstallationTemplateMapOutput) ToInstallationTemplateMapOutput

func (o InstallationTemplateMapOutput) ToInstallationTemplateMapOutput() InstallationTemplateMapOutput

func (InstallationTemplateMapOutput) ToInstallationTemplateMapOutputWithContext

func (o InstallationTemplateMapOutput) ToInstallationTemplateMapOutputWithContext(ctx context.Context) InstallationTemplateMapOutput

type InstallationTemplateOutput

type InstallationTemplateOutput struct{ *pulumi.OutputState }

func (InstallationTemplateOutput) AvailableLanguages

func (o InstallationTemplateOutput) AvailableLanguages() pulumi.StringArrayOutput

List of all language available for this template.

func (InstallationTemplateOutput) BaseTemplateName

func (o InstallationTemplateOutput) BaseTemplateName() pulumi.StringOutput

The name of an existing installation template, choose one among the list given by `getInstallationTemplates` datasource.

func (InstallationTemplateOutput) Beta

This distribution is new and, although tested and functional, may still display odd behaviour.

func (InstallationTemplateOutput) BitFormat

This template bit format (32 or 64).

func (InstallationTemplateOutput) Category

Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).

func (InstallationTemplateOutput) Customization

func (InstallationTemplateOutput) DefaultLanguage

func (o InstallationTemplateOutput) DefaultLanguage() pulumi.StringOutput

The default language of this template.

func (InstallationTemplateOutput) Deprecated

is this distribution deprecated.

func (InstallationTemplateOutput) Description

information about this template.

func (InstallationTemplateOutput) Distribution

the distribution this template is based on.

func (InstallationTemplateOutput) ElementType

func (InstallationTemplateOutput) ElementType() reflect.Type

func (InstallationTemplateOutput) Family

this template family type (bsd,linux,solaris,windows).

func (InstallationTemplateOutput) Filesystems

Filesystems available (btrfs,ext3,ext4,ntfs,reiserfs,swap,ufs,xfs,zfs).

func (InstallationTemplateOutput) HardRaidConfiguration

func (o InstallationTemplateOutput) HardRaidConfiguration() pulumi.BoolOutput

This distribution supports hardware raid configuration through the OVHcloud API.

func (InstallationTemplateOutput) LastModification

func (o InstallationTemplateOutput) LastModification() pulumi.StringOutput

Date of last modification of the base image.

func (InstallationTemplateOutput) LvmReady

This distribution supports Logical Volumes (Linux LVM)

func (InstallationTemplateOutput) RemoveDefaultPartitionSchemes

func (o InstallationTemplateOutput) RemoveDefaultPartitionSchemes() pulumi.BoolOutput

Remove default partition schemes at creation.

func (InstallationTemplateOutput) SupportsDistributionKernel

func (o InstallationTemplateOutput) SupportsDistributionKernel() pulumi.BoolOutput

This distribution supports installation using the distribution's native kernel instead of the recommended OVHcloud kernel.

func (InstallationTemplateOutput) SupportsRtm

This distribution supports RTM software.

func (InstallationTemplateOutput) SupportsSqlServer

func (o InstallationTemplateOutput) SupportsSqlServer() pulumi.BoolOutput

This distribution supports the microsoft SQL server.

func (InstallationTemplateOutput) TemplateName

This template name.

func (InstallationTemplateOutput) ToInstallationTemplateOutput

func (o InstallationTemplateOutput) ToInstallationTemplateOutput() InstallationTemplateOutput

func (InstallationTemplateOutput) ToInstallationTemplateOutputWithContext

func (o InstallationTemplateOutput) ToInstallationTemplateOutputWithContext(ctx context.Context) InstallationTemplateOutput

type InstallationTemplatePartitionScheme

type InstallationTemplatePartitionScheme struct {
	pulumi.CustomResourceState

	// (Required) This partition scheme name.
	Name pulumi.StringOutput `pulumi:"name"`
	// 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).
	Priority pulumi.IntOutput `pulumi:"priority"`
	// The template name of the partition scheme.
	TemplateName pulumi.StringOutput `pulumi:"templateName"`
}

Use this resource to create partition scheme for a custom installation template available for dedicated servers.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/Me"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		mytemplate, err := Me.NewInstallationTemplate(ctx, "mytemplate", &Me.InstallationTemplateArgs{
			BaseTemplateName: pulumi.String("centos7_64"),
			TemplateName:     pulumi.String("mytemplate"),
			DefaultLanguage:  pulumi.String("fr"),
		})
		if err != nil {
			return err
		}
		_, err = Me.NewInstallationTemplatePartitionScheme(ctx, "scheme", &Me.InstallationTemplatePartitionSchemeArgs{
			TemplateName: mytemplate.TemplateName,
			Priority:     pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The resource can be imported using the `template_name`, `name` of the cluster, separated by "/" E.g., bash

```sh

$ pulumi import ovh:Me/installationTemplatePartitionScheme:InstallationTemplatePartitionScheme scheme template_name/name

```

func GetInstallationTemplatePartitionScheme

func GetInstallationTemplatePartitionScheme(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstallationTemplatePartitionSchemeState, opts ...pulumi.ResourceOption) (*InstallationTemplatePartitionScheme, error)

GetInstallationTemplatePartitionScheme gets an existing InstallationTemplatePartitionScheme resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInstallationTemplatePartitionScheme

func NewInstallationTemplatePartitionScheme(ctx *pulumi.Context,
	name string, args *InstallationTemplatePartitionSchemeArgs, opts ...pulumi.ResourceOption) (*InstallationTemplatePartitionScheme, error)

NewInstallationTemplatePartitionScheme registers a new resource with the given unique name, arguments, and options.

func (*InstallationTemplatePartitionScheme) ElementType

func (*InstallationTemplatePartitionScheme) ToInstallationTemplatePartitionSchemeOutput

func (i *InstallationTemplatePartitionScheme) ToInstallationTemplatePartitionSchemeOutput() InstallationTemplatePartitionSchemeOutput

func (*InstallationTemplatePartitionScheme) ToInstallationTemplatePartitionSchemeOutputWithContext

func (i *InstallationTemplatePartitionScheme) ToInstallationTemplatePartitionSchemeOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemeOutput

type InstallationTemplatePartitionSchemeArgs

type InstallationTemplatePartitionSchemeArgs struct {
	// (Required) This partition scheme name.
	Name pulumi.StringPtrInput
	// 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).
	Priority pulumi.IntInput
	// The template name of the partition scheme.
	TemplateName pulumi.StringInput
}

The set of arguments for constructing a InstallationTemplatePartitionScheme resource.

func (InstallationTemplatePartitionSchemeArgs) ElementType

type InstallationTemplatePartitionSchemeArray

type InstallationTemplatePartitionSchemeArray []InstallationTemplatePartitionSchemeInput

func (InstallationTemplatePartitionSchemeArray) ElementType

func (InstallationTemplatePartitionSchemeArray) ToInstallationTemplatePartitionSchemeArrayOutput

func (i InstallationTemplatePartitionSchemeArray) ToInstallationTemplatePartitionSchemeArrayOutput() InstallationTemplatePartitionSchemeArrayOutput

func (InstallationTemplatePartitionSchemeArray) ToInstallationTemplatePartitionSchemeArrayOutputWithContext

func (i InstallationTemplatePartitionSchemeArray) ToInstallationTemplatePartitionSchemeArrayOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemeArrayOutput

type InstallationTemplatePartitionSchemeArrayInput

type InstallationTemplatePartitionSchemeArrayInput interface {
	pulumi.Input

	ToInstallationTemplatePartitionSchemeArrayOutput() InstallationTemplatePartitionSchemeArrayOutput
	ToInstallationTemplatePartitionSchemeArrayOutputWithContext(context.Context) InstallationTemplatePartitionSchemeArrayOutput
}

InstallationTemplatePartitionSchemeArrayInput is an input type that accepts InstallationTemplatePartitionSchemeArray and InstallationTemplatePartitionSchemeArrayOutput values. You can construct a concrete instance of `InstallationTemplatePartitionSchemeArrayInput` via:

InstallationTemplatePartitionSchemeArray{ InstallationTemplatePartitionSchemeArgs{...} }

type InstallationTemplatePartitionSchemeArrayOutput

type InstallationTemplatePartitionSchemeArrayOutput struct{ *pulumi.OutputState }

func (InstallationTemplatePartitionSchemeArrayOutput) ElementType

func (InstallationTemplatePartitionSchemeArrayOutput) Index

func (InstallationTemplatePartitionSchemeArrayOutput) ToInstallationTemplatePartitionSchemeArrayOutput

func (o InstallationTemplatePartitionSchemeArrayOutput) ToInstallationTemplatePartitionSchemeArrayOutput() InstallationTemplatePartitionSchemeArrayOutput

func (InstallationTemplatePartitionSchemeArrayOutput) ToInstallationTemplatePartitionSchemeArrayOutputWithContext

func (o InstallationTemplatePartitionSchemeArrayOutput) ToInstallationTemplatePartitionSchemeArrayOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemeArrayOutput

type InstallationTemplatePartitionSchemeHardwareRaid

type InstallationTemplatePartitionSchemeHardwareRaid struct {
	pulumi.CustomResourceState

	// 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.
	Disks pulumi.StringArrayOutput `pulumi:"disks"`
	// RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60).
	Mode pulumi.StringOutput `pulumi:"mode"`
	// Hardware RAID name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The partition scheme name.
	SchemeName pulumi.StringOutput `pulumi:"schemeName"`
	// Specifies the creation order of the hardware RAID.
	Step pulumi.IntOutput `pulumi:"step"`
	// The template name of the partition scheme.
	TemplateName pulumi.StringOutput `pulumi:"templateName"`
}

Use this resource to create a hardware raid group in the partition scheme of a custom installation template available for dedicated servers.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/Me"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		mytemplate, err := Me.NewInstallationTemplate(ctx, "mytemplate", &Me.InstallationTemplateArgs{
			BaseTemplateName: pulumi.String("centos7_64"),
			TemplateName:     pulumi.String("mytemplate"),
			DefaultLanguage:  pulumi.String("fr"),
		})
		if err != nil {
			return err
		}
		scheme, err := Me.NewInstallationTemplatePartitionScheme(ctx, "scheme", &Me.InstallationTemplatePartitionSchemeArgs{
			TemplateName: mytemplate.TemplateName,
			Priority:     pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = Me.NewInstallationTemplatePartitionSchemeHardwareRaid(ctx, "group1", &Me.InstallationTemplatePartitionSchemeHardwareRaidArgs{
			TemplateName: scheme.TemplateName,
			SchemeName:   scheme.Name,
			Disks: pulumi.StringArray{
				pulumi.String("[c1:d1,c1:d2,c1:d3]"),
				pulumi.String("[c1:d10,c1:d20,c1:d30]"),
			},
			Mode: pulumi.String("raid50"),
			Step: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The resource can be imported using the `template_name`, `scheme_name`, `name` of the cluster, separated by "/" E.g., bash

```sh

$ pulumi import ovh:Me/installationTemplatePartitionSchemeHardwareRaid:InstallationTemplatePartitionSchemeHardwareRaid group1 template_name/scheme_name/name

```

func GetInstallationTemplatePartitionSchemeHardwareRaid

func GetInstallationTemplatePartitionSchemeHardwareRaid(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstallationTemplatePartitionSchemeHardwareRaidState, opts ...pulumi.ResourceOption) (*InstallationTemplatePartitionSchemeHardwareRaid, error)

GetInstallationTemplatePartitionSchemeHardwareRaid gets an existing InstallationTemplatePartitionSchemeHardwareRaid resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInstallationTemplatePartitionSchemeHardwareRaid

func NewInstallationTemplatePartitionSchemeHardwareRaid(ctx *pulumi.Context,
	name string, args *InstallationTemplatePartitionSchemeHardwareRaidArgs, opts ...pulumi.ResourceOption) (*InstallationTemplatePartitionSchemeHardwareRaid, error)

NewInstallationTemplatePartitionSchemeHardwareRaid registers a new resource with the given unique name, arguments, and options.

func (*InstallationTemplatePartitionSchemeHardwareRaid) ElementType

func (*InstallationTemplatePartitionSchemeHardwareRaid) ToInstallationTemplatePartitionSchemeHardwareRaidOutput

func (i *InstallationTemplatePartitionSchemeHardwareRaid) ToInstallationTemplatePartitionSchemeHardwareRaidOutput() InstallationTemplatePartitionSchemeHardwareRaidOutput

func (*InstallationTemplatePartitionSchemeHardwareRaid) ToInstallationTemplatePartitionSchemeHardwareRaidOutputWithContext

func (i *InstallationTemplatePartitionSchemeHardwareRaid) ToInstallationTemplatePartitionSchemeHardwareRaidOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemeHardwareRaidOutput

type InstallationTemplatePartitionSchemeHardwareRaidArgs

type InstallationTemplatePartitionSchemeHardwareRaidArgs struct {
	// 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.
	Disks pulumi.StringArrayInput
	// RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60).
	Mode pulumi.StringInput
	// Hardware RAID name.
	Name pulumi.StringPtrInput
	// The partition scheme name.
	SchemeName pulumi.StringInput
	// Specifies the creation order of the hardware RAID.
	Step pulumi.IntInput
	// The template name of the partition scheme.
	TemplateName pulumi.StringInput
}

The set of arguments for constructing a InstallationTemplatePartitionSchemeHardwareRaid resource.

func (InstallationTemplatePartitionSchemeHardwareRaidArgs) ElementType

type InstallationTemplatePartitionSchemeHardwareRaidArray

type InstallationTemplatePartitionSchemeHardwareRaidArray []InstallationTemplatePartitionSchemeHardwareRaidInput

func (InstallationTemplatePartitionSchemeHardwareRaidArray) ElementType

func (InstallationTemplatePartitionSchemeHardwareRaidArray) ToInstallationTemplatePartitionSchemeHardwareRaidArrayOutput

func (i InstallationTemplatePartitionSchemeHardwareRaidArray) ToInstallationTemplatePartitionSchemeHardwareRaidArrayOutput() InstallationTemplatePartitionSchemeHardwareRaidArrayOutput

func (InstallationTemplatePartitionSchemeHardwareRaidArray) ToInstallationTemplatePartitionSchemeHardwareRaidArrayOutputWithContext

func (i InstallationTemplatePartitionSchemeHardwareRaidArray) ToInstallationTemplatePartitionSchemeHardwareRaidArrayOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemeHardwareRaidArrayOutput

type InstallationTemplatePartitionSchemeHardwareRaidArrayInput

type InstallationTemplatePartitionSchemeHardwareRaidArrayInput interface {
	pulumi.Input

	ToInstallationTemplatePartitionSchemeHardwareRaidArrayOutput() InstallationTemplatePartitionSchemeHardwareRaidArrayOutput
	ToInstallationTemplatePartitionSchemeHardwareRaidArrayOutputWithContext(context.Context) InstallationTemplatePartitionSchemeHardwareRaidArrayOutput
}

InstallationTemplatePartitionSchemeHardwareRaidArrayInput is an input type that accepts InstallationTemplatePartitionSchemeHardwareRaidArray and InstallationTemplatePartitionSchemeHardwareRaidArrayOutput values. You can construct a concrete instance of `InstallationTemplatePartitionSchemeHardwareRaidArrayInput` via:

InstallationTemplatePartitionSchemeHardwareRaidArray{ InstallationTemplatePartitionSchemeHardwareRaidArgs{...} }

type InstallationTemplatePartitionSchemeHardwareRaidArrayOutput

type InstallationTemplatePartitionSchemeHardwareRaidArrayOutput struct{ *pulumi.OutputState }

func (InstallationTemplatePartitionSchemeHardwareRaidArrayOutput) ElementType

func (InstallationTemplatePartitionSchemeHardwareRaidArrayOutput) Index

func (InstallationTemplatePartitionSchemeHardwareRaidArrayOutput) ToInstallationTemplatePartitionSchemeHardwareRaidArrayOutput

func (InstallationTemplatePartitionSchemeHardwareRaidArrayOutput) ToInstallationTemplatePartitionSchemeHardwareRaidArrayOutputWithContext

func (o InstallationTemplatePartitionSchemeHardwareRaidArrayOutput) ToInstallationTemplatePartitionSchemeHardwareRaidArrayOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemeHardwareRaidArrayOutput

type InstallationTemplatePartitionSchemeHardwareRaidInput

type InstallationTemplatePartitionSchemeHardwareRaidInput interface {
	pulumi.Input

	ToInstallationTemplatePartitionSchemeHardwareRaidOutput() InstallationTemplatePartitionSchemeHardwareRaidOutput
	ToInstallationTemplatePartitionSchemeHardwareRaidOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemeHardwareRaidOutput
}

type InstallationTemplatePartitionSchemeHardwareRaidMap

type InstallationTemplatePartitionSchemeHardwareRaidMap map[string]InstallationTemplatePartitionSchemeHardwareRaidInput

func (InstallationTemplatePartitionSchemeHardwareRaidMap) ElementType

func (InstallationTemplatePartitionSchemeHardwareRaidMap) ToInstallationTemplatePartitionSchemeHardwareRaidMapOutput

func (i InstallationTemplatePartitionSchemeHardwareRaidMap) ToInstallationTemplatePartitionSchemeHardwareRaidMapOutput() InstallationTemplatePartitionSchemeHardwareRaidMapOutput

func (InstallationTemplatePartitionSchemeHardwareRaidMap) ToInstallationTemplatePartitionSchemeHardwareRaidMapOutputWithContext

func (i InstallationTemplatePartitionSchemeHardwareRaidMap) ToInstallationTemplatePartitionSchemeHardwareRaidMapOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemeHardwareRaidMapOutput

type InstallationTemplatePartitionSchemeHardwareRaidMapInput

type InstallationTemplatePartitionSchemeHardwareRaidMapInput interface {
	pulumi.Input

	ToInstallationTemplatePartitionSchemeHardwareRaidMapOutput() InstallationTemplatePartitionSchemeHardwareRaidMapOutput
	ToInstallationTemplatePartitionSchemeHardwareRaidMapOutputWithContext(context.Context) InstallationTemplatePartitionSchemeHardwareRaidMapOutput
}

InstallationTemplatePartitionSchemeHardwareRaidMapInput is an input type that accepts InstallationTemplatePartitionSchemeHardwareRaidMap and InstallationTemplatePartitionSchemeHardwareRaidMapOutput values. You can construct a concrete instance of `InstallationTemplatePartitionSchemeHardwareRaidMapInput` via:

InstallationTemplatePartitionSchemeHardwareRaidMap{ "key": InstallationTemplatePartitionSchemeHardwareRaidArgs{...} }

type InstallationTemplatePartitionSchemeHardwareRaidMapOutput

type InstallationTemplatePartitionSchemeHardwareRaidMapOutput struct{ *pulumi.OutputState }

func (InstallationTemplatePartitionSchemeHardwareRaidMapOutput) ElementType

func (InstallationTemplatePartitionSchemeHardwareRaidMapOutput) MapIndex

func (InstallationTemplatePartitionSchemeHardwareRaidMapOutput) ToInstallationTemplatePartitionSchemeHardwareRaidMapOutput

func (InstallationTemplatePartitionSchemeHardwareRaidMapOutput) ToInstallationTemplatePartitionSchemeHardwareRaidMapOutputWithContext

func (o InstallationTemplatePartitionSchemeHardwareRaidMapOutput) ToInstallationTemplatePartitionSchemeHardwareRaidMapOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemeHardwareRaidMapOutput

type InstallationTemplatePartitionSchemeHardwareRaidOutput

type InstallationTemplatePartitionSchemeHardwareRaidOutput struct{ *pulumi.OutputState }

func (InstallationTemplatePartitionSchemeHardwareRaidOutput) Disks

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.

func (InstallationTemplatePartitionSchemeHardwareRaidOutput) ElementType

func (InstallationTemplatePartitionSchemeHardwareRaidOutput) Mode

RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60).

func (InstallationTemplatePartitionSchemeHardwareRaidOutput) Name

Hardware RAID name.

func (InstallationTemplatePartitionSchemeHardwareRaidOutput) SchemeName

The partition scheme name.

func (InstallationTemplatePartitionSchemeHardwareRaidOutput) Step

Specifies the creation order of the hardware RAID.

func (InstallationTemplatePartitionSchemeHardwareRaidOutput) TemplateName

The template name of the partition scheme.

func (InstallationTemplatePartitionSchemeHardwareRaidOutput) ToInstallationTemplatePartitionSchemeHardwareRaidOutput

func (InstallationTemplatePartitionSchemeHardwareRaidOutput) ToInstallationTemplatePartitionSchemeHardwareRaidOutputWithContext

func (o InstallationTemplatePartitionSchemeHardwareRaidOutput) ToInstallationTemplatePartitionSchemeHardwareRaidOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemeHardwareRaidOutput

type InstallationTemplatePartitionSchemeHardwareRaidState

type InstallationTemplatePartitionSchemeHardwareRaidState struct {
	// 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.
	Disks pulumi.StringArrayInput
	// RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60).
	Mode pulumi.StringPtrInput
	// Hardware RAID name.
	Name pulumi.StringPtrInput
	// The partition scheme name.
	SchemeName pulumi.StringPtrInput
	// Specifies the creation order of the hardware RAID.
	Step pulumi.IntPtrInput
	// The template name of the partition scheme.
	TemplateName pulumi.StringPtrInput
}

func (InstallationTemplatePartitionSchemeHardwareRaidState) ElementType

type InstallationTemplatePartitionSchemeInput

type InstallationTemplatePartitionSchemeInput interface {
	pulumi.Input

	ToInstallationTemplatePartitionSchemeOutput() InstallationTemplatePartitionSchemeOutput
	ToInstallationTemplatePartitionSchemeOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemeOutput
}

type InstallationTemplatePartitionSchemeMap

type InstallationTemplatePartitionSchemeMap map[string]InstallationTemplatePartitionSchemeInput

func (InstallationTemplatePartitionSchemeMap) ElementType

func (InstallationTemplatePartitionSchemeMap) ToInstallationTemplatePartitionSchemeMapOutput

func (i InstallationTemplatePartitionSchemeMap) ToInstallationTemplatePartitionSchemeMapOutput() InstallationTemplatePartitionSchemeMapOutput

func (InstallationTemplatePartitionSchemeMap) ToInstallationTemplatePartitionSchemeMapOutputWithContext

func (i InstallationTemplatePartitionSchemeMap) ToInstallationTemplatePartitionSchemeMapOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemeMapOutput

type InstallationTemplatePartitionSchemeMapInput

type InstallationTemplatePartitionSchemeMapInput interface {
	pulumi.Input

	ToInstallationTemplatePartitionSchemeMapOutput() InstallationTemplatePartitionSchemeMapOutput
	ToInstallationTemplatePartitionSchemeMapOutputWithContext(context.Context) InstallationTemplatePartitionSchemeMapOutput
}

InstallationTemplatePartitionSchemeMapInput is an input type that accepts InstallationTemplatePartitionSchemeMap and InstallationTemplatePartitionSchemeMapOutput values. You can construct a concrete instance of `InstallationTemplatePartitionSchemeMapInput` via:

InstallationTemplatePartitionSchemeMap{ "key": InstallationTemplatePartitionSchemeArgs{...} }

type InstallationTemplatePartitionSchemeMapOutput

type InstallationTemplatePartitionSchemeMapOutput struct{ *pulumi.OutputState }

func (InstallationTemplatePartitionSchemeMapOutput) ElementType

func (InstallationTemplatePartitionSchemeMapOutput) MapIndex

func (InstallationTemplatePartitionSchemeMapOutput) ToInstallationTemplatePartitionSchemeMapOutput

func (o InstallationTemplatePartitionSchemeMapOutput) ToInstallationTemplatePartitionSchemeMapOutput() InstallationTemplatePartitionSchemeMapOutput

func (InstallationTemplatePartitionSchemeMapOutput) ToInstallationTemplatePartitionSchemeMapOutputWithContext

func (o InstallationTemplatePartitionSchemeMapOutput) ToInstallationTemplatePartitionSchemeMapOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemeMapOutput

type InstallationTemplatePartitionSchemeOutput

type InstallationTemplatePartitionSchemeOutput struct{ *pulumi.OutputState }

func (InstallationTemplatePartitionSchemeOutput) ElementType

func (InstallationTemplatePartitionSchemeOutput) Name

(Required) This partition scheme name.

func (InstallationTemplatePartitionSchemeOutput) Priority

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).

func (InstallationTemplatePartitionSchemeOutput) TemplateName

The template name of the partition scheme.

func (InstallationTemplatePartitionSchemeOutput) ToInstallationTemplatePartitionSchemeOutput

func (o InstallationTemplatePartitionSchemeOutput) ToInstallationTemplatePartitionSchemeOutput() InstallationTemplatePartitionSchemeOutput

func (InstallationTemplatePartitionSchemeOutput) ToInstallationTemplatePartitionSchemeOutputWithContext

func (o InstallationTemplatePartitionSchemeOutput) ToInstallationTemplatePartitionSchemeOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemeOutput

type InstallationTemplatePartitionSchemePartition

type InstallationTemplatePartitionSchemePartition struct {
	pulumi.CustomResourceState

	// Partition filesystem. Enum with possibles values:
	// - btrfs
	// - ext3
	// - ext4
	// - ntfs
	// - reiserfs
	// - swap
	// - ufs
	// - xfs
	// - zfs
	Filesystem pulumi.StringOutput `pulumi:"filesystem"`
	// partition mount point.
	Mountpoint pulumi.StringOutput `pulumi:"mountpoint"`
	// step or order. specifies the creation order of the partition on the disk
	Order pulumi.IntOutput `pulumi:"order"`
	// raid partition type. Enum with possible values:
	// - raid0
	// - raid1
	// - raid10
	// - raid5
	// - raid6
	Raid pulumi.StringOutput `pulumi:"raid"`
	// The partition scheme name.
	SchemeName pulumi.StringOutput `pulumi:"schemeName"`
	// size of partition in MB, 0 => rest of the space.
	Size pulumi.IntOutput `pulumi:"size"`
	// The template name of the partition scheme.
	TemplateName pulumi.StringOutput `pulumi:"templateName"`
	// partition type. Enum with possible values:
	// - lv
	// - primary
	// - logical
	Type pulumi.StringOutput `pulumi:"type"`
	// The volume name needed for proxmox distribution
	VolumeName pulumi.StringOutput `pulumi:"volumeName"`
}

Use this resource to create a partition in the partition scheme of a custom installation template available for dedicated servers.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/Me"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		mytemplate, err := Me.NewInstallationTemplate(ctx, "mytemplate", &Me.InstallationTemplateArgs{
			BaseTemplateName: pulumi.String("centos7_64"),
			TemplateName:     pulumi.String("mytemplate"),
			DefaultLanguage:  pulumi.String("fr"),
		})
		if err != nil {
			return err
		}
		scheme, err := Me.NewInstallationTemplatePartitionScheme(ctx, "scheme", &Me.InstallationTemplatePartitionSchemeArgs{
			TemplateName: mytemplate.TemplateName,
			Priority:     pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = Me.NewInstallationTemplatePartitionSchemePartition(ctx, "root", &Me.InstallationTemplatePartitionSchemePartitionArgs{
			TemplateName: scheme.TemplateName,
			SchemeName:   scheme.Name,
			Mountpoint:   pulumi.String("/"),
			Filesystem:   pulumi.String("ext4"),
			Size:         pulumi.Int(400),
			Order:        pulumi.Int(1),
			Type:         pulumi.String("primary"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The resource can be imported using the `template_name`, `scheme_name`, `mountpoint` of the cluster, separated by "/" E.g., bash

```sh

$ pulumi import ovh:Me/installationTemplatePartitionSchemePartition:InstallationTemplatePartitionSchemePartition root template_name/scheme_name/mountpoint

```

func GetInstallationTemplatePartitionSchemePartition

func GetInstallationTemplatePartitionSchemePartition(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstallationTemplatePartitionSchemePartitionState, opts ...pulumi.ResourceOption) (*InstallationTemplatePartitionSchemePartition, error)

GetInstallationTemplatePartitionSchemePartition gets an existing InstallationTemplatePartitionSchemePartition resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInstallationTemplatePartitionSchemePartition

func NewInstallationTemplatePartitionSchemePartition(ctx *pulumi.Context,
	name string, args *InstallationTemplatePartitionSchemePartitionArgs, opts ...pulumi.ResourceOption) (*InstallationTemplatePartitionSchemePartition, error)

NewInstallationTemplatePartitionSchemePartition registers a new resource with the given unique name, arguments, and options.

func (*InstallationTemplatePartitionSchemePartition) ElementType

func (*InstallationTemplatePartitionSchemePartition) ToInstallationTemplatePartitionSchemePartitionOutput

func (i *InstallationTemplatePartitionSchemePartition) ToInstallationTemplatePartitionSchemePartitionOutput() InstallationTemplatePartitionSchemePartitionOutput

func (*InstallationTemplatePartitionSchemePartition) ToInstallationTemplatePartitionSchemePartitionOutputWithContext

func (i *InstallationTemplatePartitionSchemePartition) ToInstallationTemplatePartitionSchemePartitionOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemePartitionOutput

type InstallationTemplatePartitionSchemePartitionArgs

type InstallationTemplatePartitionSchemePartitionArgs struct {
	// Partition filesystem. Enum with possibles values:
	// - btrfs
	// - ext3
	// - ext4
	// - ntfs
	// - reiserfs
	// - swap
	// - ufs
	// - xfs
	// - zfs
	Filesystem pulumi.StringInput
	// partition mount point.
	Mountpoint pulumi.StringInput
	// step or order. specifies the creation order of the partition on the disk
	Order pulumi.IntInput
	// raid partition type. Enum with possible values:
	// - raid0
	// - raid1
	// - raid10
	// - raid5
	// - raid6
	Raid pulumi.StringPtrInput
	// The partition scheme name.
	SchemeName pulumi.StringInput
	// size of partition in MB, 0 => rest of the space.
	Size pulumi.IntInput
	// The template name of the partition scheme.
	TemplateName pulumi.StringInput
	// partition type. Enum with possible values:
	// - lv
	// - primary
	// - logical
	Type pulumi.StringInput
	// The volume name needed for proxmox distribution
	VolumeName pulumi.StringPtrInput
}

The set of arguments for constructing a InstallationTemplatePartitionSchemePartition resource.

func (InstallationTemplatePartitionSchemePartitionArgs) ElementType

type InstallationTemplatePartitionSchemePartitionArray

type InstallationTemplatePartitionSchemePartitionArray []InstallationTemplatePartitionSchemePartitionInput

func (InstallationTemplatePartitionSchemePartitionArray) ElementType

func (InstallationTemplatePartitionSchemePartitionArray) ToInstallationTemplatePartitionSchemePartitionArrayOutput

func (i InstallationTemplatePartitionSchemePartitionArray) ToInstallationTemplatePartitionSchemePartitionArrayOutput() InstallationTemplatePartitionSchemePartitionArrayOutput

func (InstallationTemplatePartitionSchemePartitionArray) ToInstallationTemplatePartitionSchemePartitionArrayOutputWithContext

func (i InstallationTemplatePartitionSchemePartitionArray) ToInstallationTemplatePartitionSchemePartitionArrayOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemePartitionArrayOutput

type InstallationTemplatePartitionSchemePartitionArrayInput

type InstallationTemplatePartitionSchemePartitionArrayInput interface {
	pulumi.Input

	ToInstallationTemplatePartitionSchemePartitionArrayOutput() InstallationTemplatePartitionSchemePartitionArrayOutput
	ToInstallationTemplatePartitionSchemePartitionArrayOutputWithContext(context.Context) InstallationTemplatePartitionSchemePartitionArrayOutput
}

InstallationTemplatePartitionSchemePartitionArrayInput is an input type that accepts InstallationTemplatePartitionSchemePartitionArray and InstallationTemplatePartitionSchemePartitionArrayOutput values. You can construct a concrete instance of `InstallationTemplatePartitionSchemePartitionArrayInput` via:

InstallationTemplatePartitionSchemePartitionArray{ InstallationTemplatePartitionSchemePartitionArgs{...} }

type InstallationTemplatePartitionSchemePartitionArrayOutput

type InstallationTemplatePartitionSchemePartitionArrayOutput struct{ *pulumi.OutputState }

func (InstallationTemplatePartitionSchemePartitionArrayOutput) ElementType

func (InstallationTemplatePartitionSchemePartitionArrayOutput) Index

func (InstallationTemplatePartitionSchemePartitionArrayOutput) ToInstallationTemplatePartitionSchemePartitionArrayOutput

func (InstallationTemplatePartitionSchemePartitionArrayOutput) ToInstallationTemplatePartitionSchemePartitionArrayOutputWithContext

func (o InstallationTemplatePartitionSchemePartitionArrayOutput) ToInstallationTemplatePartitionSchemePartitionArrayOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemePartitionArrayOutput

type InstallationTemplatePartitionSchemePartitionInput

type InstallationTemplatePartitionSchemePartitionInput interface {
	pulumi.Input

	ToInstallationTemplatePartitionSchemePartitionOutput() InstallationTemplatePartitionSchemePartitionOutput
	ToInstallationTemplatePartitionSchemePartitionOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemePartitionOutput
}

type InstallationTemplatePartitionSchemePartitionMap

type InstallationTemplatePartitionSchemePartitionMap map[string]InstallationTemplatePartitionSchemePartitionInput

func (InstallationTemplatePartitionSchemePartitionMap) ElementType

func (InstallationTemplatePartitionSchemePartitionMap) ToInstallationTemplatePartitionSchemePartitionMapOutput

func (i InstallationTemplatePartitionSchemePartitionMap) ToInstallationTemplatePartitionSchemePartitionMapOutput() InstallationTemplatePartitionSchemePartitionMapOutput

func (InstallationTemplatePartitionSchemePartitionMap) ToInstallationTemplatePartitionSchemePartitionMapOutputWithContext

func (i InstallationTemplatePartitionSchemePartitionMap) ToInstallationTemplatePartitionSchemePartitionMapOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemePartitionMapOutput

type InstallationTemplatePartitionSchemePartitionMapInput

type InstallationTemplatePartitionSchemePartitionMapInput interface {
	pulumi.Input

	ToInstallationTemplatePartitionSchemePartitionMapOutput() InstallationTemplatePartitionSchemePartitionMapOutput
	ToInstallationTemplatePartitionSchemePartitionMapOutputWithContext(context.Context) InstallationTemplatePartitionSchemePartitionMapOutput
}

InstallationTemplatePartitionSchemePartitionMapInput is an input type that accepts InstallationTemplatePartitionSchemePartitionMap and InstallationTemplatePartitionSchemePartitionMapOutput values. You can construct a concrete instance of `InstallationTemplatePartitionSchemePartitionMapInput` via:

InstallationTemplatePartitionSchemePartitionMap{ "key": InstallationTemplatePartitionSchemePartitionArgs{...} }

type InstallationTemplatePartitionSchemePartitionMapOutput

type InstallationTemplatePartitionSchemePartitionMapOutput struct{ *pulumi.OutputState }

func (InstallationTemplatePartitionSchemePartitionMapOutput) ElementType

func (InstallationTemplatePartitionSchemePartitionMapOutput) MapIndex

func (InstallationTemplatePartitionSchemePartitionMapOutput) ToInstallationTemplatePartitionSchemePartitionMapOutput

func (InstallationTemplatePartitionSchemePartitionMapOutput) ToInstallationTemplatePartitionSchemePartitionMapOutputWithContext

func (o InstallationTemplatePartitionSchemePartitionMapOutput) ToInstallationTemplatePartitionSchemePartitionMapOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemePartitionMapOutput

type InstallationTemplatePartitionSchemePartitionOutput

type InstallationTemplatePartitionSchemePartitionOutput struct{ *pulumi.OutputState }

func (InstallationTemplatePartitionSchemePartitionOutput) ElementType

func (InstallationTemplatePartitionSchemePartitionOutput) Filesystem

Partition filesystem. Enum with possibles values: - btrfs - ext3 - ext4 - ntfs - reiserfs - swap - ufs - xfs - zfs

func (InstallationTemplatePartitionSchemePartitionOutput) Mountpoint

partition mount point.

func (InstallationTemplatePartitionSchemePartitionOutput) Order

step or order. specifies the creation order of the partition on the disk

func (InstallationTemplatePartitionSchemePartitionOutput) Raid

raid partition type. Enum with possible values: - raid0 - raid1 - raid10 - raid5 - raid6

func (InstallationTemplatePartitionSchemePartitionOutput) SchemeName

The partition scheme name.

func (InstallationTemplatePartitionSchemePartitionOutput) Size

size of partition in MB, 0 => rest of the space.

func (InstallationTemplatePartitionSchemePartitionOutput) TemplateName

The template name of the partition scheme.

func (InstallationTemplatePartitionSchemePartitionOutput) ToInstallationTemplatePartitionSchemePartitionOutput

func (o InstallationTemplatePartitionSchemePartitionOutput) ToInstallationTemplatePartitionSchemePartitionOutput() InstallationTemplatePartitionSchemePartitionOutput

func (InstallationTemplatePartitionSchemePartitionOutput) ToInstallationTemplatePartitionSchemePartitionOutputWithContext

func (o InstallationTemplatePartitionSchemePartitionOutput) ToInstallationTemplatePartitionSchemePartitionOutputWithContext(ctx context.Context) InstallationTemplatePartitionSchemePartitionOutput

func (InstallationTemplatePartitionSchemePartitionOutput) Type

partition type. Enum with possible values: - lv - primary - logical

func (InstallationTemplatePartitionSchemePartitionOutput) VolumeName

The volume name needed for proxmox distribution

type InstallationTemplatePartitionSchemePartitionState

type InstallationTemplatePartitionSchemePartitionState struct {
	// Partition filesystem. Enum with possibles values:
	// - btrfs
	// - ext3
	// - ext4
	// - ntfs
	// - reiserfs
	// - swap
	// - ufs
	// - xfs
	// - zfs
	Filesystem pulumi.StringPtrInput
	// partition mount point.
	Mountpoint pulumi.StringPtrInput
	// step or order. specifies the creation order of the partition on the disk
	Order pulumi.IntPtrInput
	// raid partition type. Enum with possible values:
	// - raid0
	// - raid1
	// - raid10
	// - raid5
	// - raid6
	Raid pulumi.StringPtrInput
	// The partition scheme name.
	SchemeName pulumi.StringPtrInput
	// size of partition in MB, 0 => rest of the space.
	Size pulumi.IntPtrInput
	// The template name of the partition scheme.
	TemplateName pulumi.StringPtrInput
	// partition type. Enum with possible values:
	// - lv
	// - primary
	// - logical
	Type pulumi.StringPtrInput
	// The volume name needed for proxmox distribution
	VolumeName pulumi.StringPtrInput
}

func (InstallationTemplatePartitionSchemePartitionState) ElementType

type InstallationTemplatePartitionSchemeState

type InstallationTemplatePartitionSchemeState struct {
	// (Required) This partition scheme name.
	Name pulumi.StringPtrInput
	// 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).
	Priority pulumi.IntPtrInput
	// The template name of the partition scheme.
	TemplateName pulumi.StringPtrInput
}

func (InstallationTemplatePartitionSchemeState) ElementType

type InstallationTemplateState

type InstallationTemplateState struct {
	// List of all language available for this template.
	AvailableLanguages pulumi.StringArrayInput
	// The name of an existing installation template, choose one among the list given by `getInstallationTemplates` datasource.
	BaseTemplateName pulumi.StringPtrInput
	// This distribution is new and, although tested and functional, may still display odd behaviour.
	Beta pulumi.BoolPtrInput
	// This template bit format (32 or 64).
	BitFormat pulumi.IntPtrInput
	// Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
	Category      pulumi.StringPtrInput
	Customization InstallationTemplateCustomizationPtrInput
	// The default language of this template.
	DefaultLanguage pulumi.StringPtrInput
	// is this distribution deprecated.
	Deprecated pulumi.BoolPtrInput
	// information about this template.
	Description pulumi.StringPtrInput
	// the distribution this template is based on.
	Distribution pulumi.StringPtrInput
	// this template family type (bsd,linux,solaris,windows).
	Family pulumi.StringPtrInput
	// Filesystems available (btrfs,ext3,ext4,ntfs,reiserfs,swap,ufs,xfs,zfs).
	Filesystems pulumi.StringArrayInput
	// This distribution supports hardware raid configuration through the OVHcloud API.
	HardRaidConfiguration pulumi.BoolPtrInput
	// Date of last modification of the base image.
	LastModification pulumi.StringPtrInput
	// This distribution supports Logical Volumes (Linux LVM)
	LvmReady pulumi.BoolPtrInput
	// Remove default partition schemes at creation.
	RemoveDefaultPartitionSchemes pulumi.BoolPtrInput
	// This distribution supports installation using the distribution's native kernel instead of the recommended OVHcloud kernel.
	SupportsDistributionKernel pulumi.BoolPtrInput
	// This distribution supports RTM software.
	SupportsRtm pulumi.BoolPtrInput
	// This distribution supports the microsoft SQL server.
	SupportsSqlServer pulumi.BoolPtrInput
	// This template name.
	TemplateName pulumi.StringPtrInput
}

func (InstallationTemplateState) ElementType

func (InstallationTemplateState) ElementType() reflect.Type

type IpxeScript

type IpxeScript struct {
	pulumi.CustomResourceState

	// For documentation purpose only. This attribute is not passed to the OVHcloud API as it cannot be retrieved back. Instead a fake description ('$name auto description') is passed at creation time.
	Description pulumi.StringOutput `pulumi:"description"`
	// The name of the IPXE Script.
	Name pulumi.StringOutput `pulumi:"name"`
	// The content of the script.
	Script pulumi.StringOutput `pulumi:"script"`
}

Creates an IPXE Script.

## Example Usage

```go package main

import (

"fmt"
"os"

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/Me"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func readFileOrPanic(path string) pulumi.StringPtrInput {
	data, err := os.ReadFile(path)
	if err != nil {
		panic(err.Error())
	}
	return pulumi.String(string(data))
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.NewIpxeScript(ctx, "script", &Me.IpxeScriptArgs{
			Script: readFileOrPanic(fmt.Sprintf("%v/boot.ipxe", path.Module)),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetIpxeScript

func GetIpxeScript(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IpxeScriptState, opts ...pulumi.ResourceOption) (*IpxeScript, error)

GetIpxeScript gets an existing IpxeScript resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIpxeScript

func NewIpxeScript(ctx *pulumi.Context,
	name string, args *IpxeScriptArgs, opts ...pulumi.ResourceOption) (*IpxeScript, error)

NewIpxeScript registers a new resource with the given unique name, arguments, and options.

func (*IpxeScript) ElementType

func (*IpxeScript) ElementType() reflect.Type

func (*IpxeScript) ToIpxeScriptOutput

func (i *IpxeScript) ToIpxeScriptOutput() IpxeScriptOutput

func (*IpxeScript) ToIpxeScriptOutputWithContext

func (i *IpxeScript) ToIpxeScriptOutputWithContext(ctx context.Context) IpxeScriptOutput

type IpxeScriptArgs

type IpxeScriptArgs struct {
	// For documentation purpose only. This attribute is not passed to the OVHcloud API as it cannot be retrieved back. Instead a fake description ('$name auto description') is passed at creation time.
	Description pulumi.StringPtrInput
	// The name of the IPXE Script.
	Name pulumi.StringPtrInput
	// The content of the script.
	Script pulumi.StringInput
}

The set of arguments for constructing a IpxeScript resource.

func (IpxeScriptArgs) ElementType

func (IpxeScriptArgs) ElementType() reflect.Type

type IpxeScriptArray

type IpxeScriptArray []IpxeScriptInput

func (IpxeScriptArray) ElementType

func (IpxeScriptArray) ElementType() reflect.Type

func (IpxeScriptArray) ToIpxeScriptArrayOutput

func (i IpxeScriptArray) ToIpxeScriptArrayOutput() IpxeScriptArrayOutput

func (IpxeScriptArray) ToIpxeScriptArrayOutputWithContext

func (i IpxeScriptArray) ToIpxeScriptArrayOutputWithContext(ctx context.Context) IpxeScriptArrayOutput

type IpxeScriptArrayInput

type IpxeScriptArrayInput interface {
	pulumi.Input

	ToIpxeScriptArrayOutput() IpxeScriptArrayOutput
	ToIpxeScriptArrayOutputWithContext(context.Context) IpxeScriptArrayOutput
}

IpxeScriptArrayInput is an input type that accepts IpxeScriptArray and IpxeScriptArrayOutput values. You can construct a concrete instance of `IpxeScriptArrayInput` via:

IpxeScriptArray{ IpxeScriptArgs{...} }

type IpxeScriptArrayOutput

type IpxeScriptArrayOutput struct{ *pulumi.OutputState }

func (IpxeScriptArrayOutput) ElementType

func (IpxeScriptArrayOutput) ElementType() reflect.Type

func (IpxeScriptArrayOutput) Index

func (IpxeScriptArrayOutput) ToIpxeScriptArrayOutput

func (o IpxeScriptArrayOutput) ToIpxeScriptArrayOutput() IpxeScriptArrayOutput

func (IpxeScriptArrayOutput) ToIpxeScriptArrayOutputWithContext

func (o IpxeScriptArrayOutput) ToIpxeScriptArrayOutputWithContext(ctx context.Context) IpxeScriptArrayOutput

type IpxeScriptInput

type IpxeScriptInput interface {
	pulumi.Input

	ToIpxeScriptOutput() IpxeScriptOutput
	ToIpxeScriptOutputWithContext(ctx context.Context) IpxeScriptOutput
}

type IpxeScriptMap

type IpxeScriptMap map[string]IpxeScriptInput

func (IpxeScriptMap) ElementType

func (IpxeScriptMap) ElementType() reflect.Type

func (IpxeScriptMap) ToIpxeScriptMapOutput

func (i IpxeScriptMap) ToIpxeScriptMapOutput() IpxeScriptMapOutput

func (IpxeScriptMap) ToIpxeScriptMapOutputWithContext

func (i IpxeScriptMap) ToIpxeScriptMapOutputWithContext(ctx context.Context) IpxeScriptMapOutput

type IpxeScriptMapInput

type IpxeScriptMapInput interface {
	pulumi.Input

	ToIpxeScriptMapOutput() IpxeScriptMapOutput
	ToIpxeScriptMapOutputWithContext(context.Context) IpxeScriptMapOutput
}

IpxeScriptMapInput is an input type that accepts IpxeScriptMap and IpxeScriptMapOutput values. You can construct a concrete instance of `IpxeScriptMapInput` via:

IpxeScriptMap{ "key": IpxeScriptArgs{...} }

type IpxeScriptMapOutput

type IpxeScriptMapOutput struct{ *pulumi.OutputState }

func (IpxeScriptMapOutput) ElementType

func (IpxeScriptMapOutput) ElementType() reflect.Type

func (IpxeScriptMapOutput) MapIndex

func (IpxeScriptMapOutput) ToIpxeScriptMapOutput

func (o IpxeScriptMapOutput) ToIpxeScriptMapOutput() IpxeScriptMapOutput

func (IpxeScriptMapOutput) ToIpxeScriptMapOutputWithContext

func (o IpxeScriptMapOutput) ToIpxeScriptMapOutputWithContext(ctx context.Context) IpxeScriptMapOutput

type IpxeScriptOutput

type IpxeScriptOutput struct{ *pulumi.OutputState }

func (IpxeScriptOutput) Description

func (o IpxeScriptOutput) Description() pulumi.StringOutput

For documentation purpose only. This attribute is not passed to the OVHcloud API as it cannot be retrieved back. Instead a fake description ('$name auto description') is passed at creation time.

func (IpxeScriptOutput) ElementType

func (IpxeScriptOutput) ElementType() reflect.Type

func (IpxeScriptOutput) Name

The name of the IPXE Script.

func (IpxeScriptOutput) Script

The content of the script.

func (IpxeScriptOutput) ToIpxeScriptOutput

func (o IpxeScriptOutput) ToIpxeScriptOutput() IpxeScriptOutput

func (IpxeScriptOutput) ToIpxeScriptOutputWithContext

func (o IpxeScriptOutput) ToIpxeScriptOutputWithContext(ctx context.Context) IpxeScriptOutput

type IpxeScriptState

type IpxeScriptState struct {
	// For documentation purpose only. This attribute is not passed to the OVHcloud API as it cannot be retrieved back. Instead a fake description ('$name auto description') is passed at creation time.
	Description pulumi.StringPtrInput
	// The name of the IPXE Script.
	Name pulumi.StringPtrInput
	// The content of the script.
	Script pulumi.StringPtrInput
}

func (IpxeScriptState) ElementType

func (IpxeScriptState) ElementType() reflect.Type

type LookupIdentityGroupArgs added in v0.32.0

type LookupIdentityGroupArgs struct {
	// Group name.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getIdentityGroup.

type LookupIdentityGroupOutputArgs added in v0.32.0

type LookupIdentityGroupOutputArgs struct {
	// Group name.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getIdentityGroup.

func (LookupIdentityGroupOutputArgs) ElementType added in v0.32.0

type LookupIdentityGroupResult added in v0.32.0

type LookupIdentityGroupResult struct {
	// Creation date of this group.
	Creation string `pulumi:"creation"`
	// Is the group a default and immutable one.
	DefaultGroup bool `pulumi:"defaultGroup"`
	// Group description.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Date of the last update of this group.
	LastUpdate string `pulumi:"lastUpdate"`
	Name       string `pulumi:"name"`
	// Role associated with the group. Valid roles are ADMIN, REGULAR, UNPRIVILEGED, and NONE.
	Role string `pulumi:"role"`
}

A collection of values returned by getIdentityGroup.

func LookupIdentityGroup added in v0.32.0

func LookupIdentityGroup(ctx *pulumi.Context, args *LookupIdentityGroupArgs, opts ...pulumi.InvokeOption) (*LookupIdentityGroupResult, error)

Use this data source to retrieve information about an identity group.

## Example Usage

```go package main

import (

"github.com/lbrlabs/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.GetIdentityGroup(ctx, &me.GetIdentityGroupArgs{
			Name: "my_group_name",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupIdentityGroupResultOutput added in v0.32.0

type LookupIdentityGroupResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIdentityGroup.

func LookupIdentityGroupOutput added in v0.32.0

func (LookupIdentityGroupResultOutput) Creation added in v0.32.0

Creation date of this group.

func (LookupIdentityGroupResultOutput) DefaultGroup added in v0.32.0

Is the group a default and immutable one.

func (LookupIdentityGroupResultOutput) Description added in v0.32.0

Group description.

func (LookupIdentityGroupResultOutput) ElementType added in v0.32.0

func (LookupIdentityGroupResultOutput) Id added in v0.32.0

The provider-assigned unique ID for this managed resource.

func (LookupIdentityGroupResultOutput) LastUpdate added in v0.32.0

Date of the last update of this group.

func (LookupIdentityGroupResultOutput) Name added in v0.32.0

func (LookupIdentityGroupResultOutput) Role added in v0.32.0

Role associated with the group. Valid roles are ADMIN, REGULAR, UNPRIVILEGED, and NONE.

func (LookupIdentityGroupResultOutput) ToLookupIdentityGroupResultOutput added in v0.32.0

func (o LookupIdentityGroupResultOutput) ToLookupIdentityGroupResultOutput() LookupIdentityGroupResultOutput

func (LookupIdentityGroupResultOutput) ToLookupIdentityGroupResultOutputWithContext added in v0.32.0

func (o LookupIdentityGroupResultOutput) ToLookupIdentityGroupResultOutputWithContext(ctx context.Context) LookupIdentityGroupResultOutput

type LookupIdentityUserArgs

type LookupIdentityUserArgs struct {
	// User's login.
	User string `pulumi:"user"`
}

A collection of arguments for invoking getIdentityUser.

type LookupIdentityUserOutputArgs

type LookupIdentityUserOutputArgs struct {
	// User's login.
	User pulumi.StringInput `pulumi:"user"`
}

A collection of arguments for invoking getIdentityUser.

func (LookupIdentityUserOutputArgs) ElementType

type LookupIdentityUserResult

type LookupIdentityUserResult struct {
	// Creation date of this user.
	Creation string `pulumi:"creation"`
	// User description.
	Description string `pulumi:"description"`
	// User's email.
	Email string `pulumi:"email"`
	// User's group.
	Group string `pulumi:"group"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Last update of this user.
	LastUpdate string `pulumi:"lastUpdate"`
	// User's login suffix.
	Login string `pulumi:"login"`
	// When the user changed his password for the last time.
	PasswordLastUpdate string `pulumi:"passwordLastUpdate"`
	// Current user's status.
	Status string `pulumi:"status"`
	// User's identity URN.
	Urn  string `pulumi:"urn"`
	User string `pulumi:"user"`
}

A collection of values returned by getIdentityUser.

func LookupIdentityUser

func LookupIdentityUser(ctx *pulumi.Context, args *LookupIdentityUserArgs, opts ...pulumi.InvokeOption) (*LookupIdentityUserResult, error)

Use this data source to retrieve information about an identity user.

## Example Usage

```go package main

import (

"github.com/lbrlabs/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.GetIdentityUser(ctx, &me.GetIdentityUserArgs{
			User: "my_user_login",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupIdentityUserResultOutput

type LookupIdentityUserResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIdentityUser.

func (LookupIdentityUserResultOutput) Creation

Creation date of this user.

func (LookupIdentityUserResultOutput) Description

User description.

func (LookupIdentityUserResultOutput) ElementType

func (LookupIdentityUserResultOutput) Email

User's email.

func (LookupIdentityUserResultOutput) Group

User's group.

func (LookupIdentityUserResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupIdentityUserResultOutput) LastUpdate

Last update of this user.

func (LookupIdentityUserResultOutput) Login

User's login suffix.

func (LookupIdentityUserResultOutput) PasswordLastUpdate

func (o LookupIdentityUserResultOutput) PasswordLastUpdate() pulumi.StringOutput

When the user changed his password for the last time.

func (LookupIdentityUserResultOutput) Status

Current user's status.

func (LookupIdentityUserResultOutput) ToLookupIdentityUserResultOutput

func (o LookupIdentityUserResultOutput) ToLookupIdentityUserResultOutput() LookupIdentityUserResultOutput

func (LookupIdentityUserResultOutput) ToLookupIdentityUserResultOutputWithContext

func (o LookupIdentityUserResultOutput) ToLookupIdentityUserResultOutputWithContext(ctx context.Context) LookupIdentityUserResultOutput

func (LookupIdentityUserResultOutput) Urn added in v0.32.0

User's identity URN.

func (LookupIdentityUserResultOutput) User

type LookupInstallationTemplateArgs

type LookupInstallationTemplateArgs struct {
	// This template name
	TemplateName string `pulumi:"templateName"`
}

A collection of arguments for invoking getInstallationTemplate.

type LookupInstallationTemplateOutputArgs

type LookupInstallationTemplateOutputArgs struct {
	// This template name
	TemplateName pulumi.StringInput `pulumi:"templateName"`
}

A collection of arguments for invoking getInstallationTemplate.

func (LookupInstallationTemplateOutputArgs) ElementType

type LookupInstallationTemplateResult

type LookupInstallationTemplateResult struct {
	// List of all language available for this template.
	AvailableLanguages []string `pulumi:"availableLanguages"`
	// This distribution is new and, although tested and functional, may still display odd behaviour.
	Beta bool `pulumi:"beta"`
	// This template bit format (32 or 64).
	BitFormat int `pulumi:"bitFormat"`
	// Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
	Category       string                                 `pulumi:"category"`
	Customizations []GetInstallationTemplateCustomization `pulumi:"customizations"`
	// The default language of this template.
	DefaultLanguage string `pulumi:"defaultLanguage"`
	// is this distribution deprecated.
	Deprecated bool `pulumi:"deprecated"`
	// information about this template.
	Description string `pulumi:"description"`
	// the distribution this template is based on.
	Distribution string `pulumi:"distribution"`
	// this template family type (bsd,linux,solaris,windows).
	Family string `pulumi:"family"`
	// Filesystems available (btrfs,ext3,ext4,ntfs,reiserfs,swap,ufs,xfs,zfs).
	Filesystems []string `pulumi:"filesystems"`
	// This distribution supports hardware raid configuration through the OVHcloud API.
	HardRaidConfiguration bool `pulumi:"hardRaidConfiguration"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Date of last modification of the base image.
	LastModification string                                       `pulumi:"lastModification"`
	LvmReady         bool                                         `pulumi:"lvmReady"`
	PartitionSchemes []GetInstallationTemplatePartitionSchemeType `pulumi:"partitionSchemes"`
	// This distribution supports installation using the distribution's native kernel instead of the recommended OVHcloud kernel.
	SupportsDistributionKernel bool `pulumi:"supportsDistributionKernel"`
	// This distribution supports RTM software.
	SupportsRtm bool `pulumi:"supportsRtm"`
	// This distribution supports the microsoft SQL server.
	SupportsSqlServer bool   `pulumi:"supportsSqlServer"`
	TemplateName      string `pulumi:"templateName"`
}

A collection of values returned by getInstallationTemplate.

func LookupInstallationTemplate

func LookupInstallationTemplate(ctx *pulumi.Context, args *LookupInstallationTemplateArgs, opts ...pulumi.InvokeOption) (*LookupInstallationTemplateResult, error)

Use this data source to get a custom installation template available for dedicated servers.

## Example Usage

```go package main

import (

"github.com/lbrlabs/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
	})
}

```

type LookupInstallationTemplateResultOutput

type LookupInstallationTemplateResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstallationTemplate.

func (LookupInstallationTemplateResultOutput) AvailableLanguages

List of all language available for this template.

func (LookupInstallationTemplateResultOutput) Beta

This distribution is new and, although tested and functional, may still display odd behaviour.

func (LookupInstallationTemplateResultOutput) BitFormat

This template bit format (32 or 64).

func (LookupInstallationTemplateResultOutput) Category

Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).

func (LookupInstallationTemplateResultOutput) Customizations

func (LookupInstallationTemplateResultOutput) DefaultLanguage

The default language of this template.

func (LookupInstallationTemplateResultOutput) Deprecated

is this distribution deprecated.

func (LookupInstallationTemplateResultOutput) Description

information about this template.

func (LookupInstallationTemplateResultOutput) Distribution

the distribution this template is based on.

func (LookupInstallationTemplateResultOutput) ElementType

func (LookupInstallationTemplateResultOutput) Family

this template family type (bsd,linux,solaris,windows).

func (LookupInstallationTemplateResultOutput) Filesystems

Filesystems available (btrfs,ext3,ext4,ntfs,reiserfs,swap,ufs,xfs,zfs).

func (LookupInstallationTemplateResultOutput) HardRaidConfiguration

func (o LookupInstallationTemplateResultOutput) HardRaidConfiguration() pulumi.BoolOutput

This distribution supports hardware raid configuration through the OVHcloud API.

func (LookupInstallationTemplateResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupInstallationTemplateResultOutput) LastModification

Date of last modification of the base image.

func (LookupInstallationTemplateResultOutput) LvmReady

func (LookupInstallationTemplateResultOutput) PartitionSchemes

func (LookupInstallationTemplateResultOutput) SupportsDistributionKernel

func (o LookupInstallationTemplateResultOutput) SupportsDistributionKernel() pulumi.BoolOutput

This distribution supports installation using the distribution's native kernel instead of the recommended OVHcloud kernel.

func (LookupInstallationTemplateResultOutput) SupportsRtm

This distribution supports RTM software.

func (LookupInstallationTemplateResultOutput) SupportsSqlServer

This distribution supports the microsoft SQL server.

func (LookupInstallationTemplateResultOutput) TemplateName

func (LookupInstallationTemplateResultOutput) ToLookupInstallationTemplateResultOutput

func (o LookupInstallationTemplateResultOutput) ToLookupInstallationTemplateResultOutput() LookupInstallationTemplateResultOutput

func (LookupInstallationTemplateResultOutput) ToLookupInstallationTemplateResultOutputWithContext

func (o LookupInstallationTemplateResultOutput) ToLookupInstallationTemplateResultOutputWithContext(ctx context.Context) LookupInstallationTemplateResultOutput

type LookupIpxeScriptArgs

type LookupIpxeScriptArgs struct {
	// The name of the IPXE Script.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getIpxeScript.

type LookupIpxeScriptOutputArgs

type LookupIpxeScriptOutputArgs struct {
	// The name of the IPXE Script.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getIpxeScript.

func (LookupIpxeScriptOutputArgs) ElementType

func (LookupIpxeScriptOutputArgs) ElementType() reflect.Type

type LookupIpxeScriptResult

type LookupIpxeScriptResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// See Argument Reference above.
	Name string `pulumi:"name"`
	// The content of the script.
	Script string `pulumi:"script"`
}

A collection of values returned by getIpxeScript.

func LookupIpxeScript

func LookupIpxeScript(ctx *pulumi.Context, args *LookupIpxeScriptArgs, opts ...pulumi.InvokeOption) (*LookupIpxeScriptResult, error)

Use this data source to retrieve information about an IPXE Script.

## Example Usage

```go package main

import (

"github.com/lbrlabs/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.GetIpxeScript(ctx, &me.GetIpxeScriptArgs{
			Name: "myscript",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupIpxeScriptResultOutput

type LookupIpxeScriptResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIpxeScript.

func (LookupIpxeScriptResultOutput) ElementType

func (LookupIpxeScriptResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupIpxeScriptResultOutput) Name

See Argument Reference above.

func (LookupIpxeScriptResultOutput) Script

The content of the script.

func (LookupIpxeScriptResultOutput) ToLookupIpxeScriptResultOutput

func (o LookupIpxeScriptResultOutput) ToLookupIpxeScriptResultOutput() LookupIpxeScriptResultOutput

func (LookupIpxeScriptResultOutput) ToLookupIpxeScriptResultOutputWithContext

func (o LookupIpxeScriptResultOutput) ToLookupIpxeScriptResultOutputWithContext(ctx context.Context) LookupIpxeScriptResultOutput

type LookupSshKeyArgs

type LookupSshKeyArgs struct {
	// The name of the SSH key.
	KeyName string `pulumi:"keyName"`
}

A collection of arguments for invoking getSshKey.

type LookupSshKeyOutputArgs

type LookupSshKeyOutputArgs struct {
	// The name of the SSH key.
	KeyName pulumi.StringInput `pulumi:"keyName"`
}

A collection of arguments for invoking getSshKey.

func (LookupSshKeyOutputArgs) ElementType

func (LookupSshKeyOutputArgs) ElementType() reflect.Type

type LookupSshKeyResult

type LookupSshKeyResult struct {
	// True when this public SSH key is used for rescue mode and reinstallations.
	Default bool `pulumi:"default"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The content of the public key.
	// E.g.: "ssh-ed25519 AAAAC3..."
	Key string `pulumi:"key"`
	// See Argument Reference above.
	KeyName string `pulumi:"keyName"`
}

A collection of values returned by getSshKey.

func LookupSshKey

func LookupSshKey(ctx *pulumi.Context, args *LookupSshKeyArgs, opts ...pulumi.InvokeOption) (*LookupSshKeyResult, error)

Use this data source to retrieve information about an SSH key.

## Example Usage

```go package main

import (

"github.com/lbrlabs/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.GetSshKey(ctx, &me.GetSshKeyArgs{
			KeyName: "mykey",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupSshKeyResultOutput

type LookupSshKeyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSshKey.

func (LookupSshKeyResultOutput) Default

True when this public SSH key is used for rescue mode and reinstallations.

func (LookupSshKeyResultOutput) ElementType

func (LookupSshKeyResultOutput) ElementType() reflect.Type

func (LookupSshKeyResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupSshKeyResultOutput) Key

The content of the public key. E.g.: "ssh-ed25519 AAAAC3..."

func (LookupSshKeyResultOutput) KeyName

See Argument Reference above.

func (LookupSshKeyResultOutput) ToLookupSshKeyResultOutput

func (o LookupSshKeyResultOutput) ToLookupSshKeyResultOutput() LookupSshKeyResultOutput

func (LookupSshKeyResultOutput) ToLookupSshKeyResultOutputWithContext

func (o LookupSshKeyResultOutput) ToLookupSshKeyResultOutputWithContext(ctx context.Context) LookupSshKeyResultOutput

type SshKey

type SshKey struct {
	pulumi.CustomResourceState

	// True when this public SSH key is used for rescue mode and reinstallations.
	Default pulumi.BoolOutput `pulumi:"default"`
	// The content of the public key in the form "ssh-algo content", e.g. "ssh-ed25519 AAAAC3...".
	Key pulumi.StringOutput `pulumi:"key"`
	// The friendly name of this SSH key.
	KeyName pulumi.StringOutput `pulumi:"keyName"`
}

Creates an SSH Key.

## Example Usage

```go package main

import (

"github.com/lbrlabs/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.NewSshKey(ctx, "mykey", &Me.SshKeyArgs{
			Key:     pulumi.String("ssh-ed25519 AAAAC3..."),
			KeyName: pulumi.String("mykey"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetSshKey

func GetSshKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SshKeyState, opts ...pulumi.ResourceOption) (*SshKey, error)

GetSshKey gets an existing SshKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSshKey

func NewSshKey(ctx *pulumi.Context,
	name string, args *SshKeyArgs, opts ...pulumi.ResourceOption) (*SshKey, error)

NewSshKey registers a new resource with the given unique name, arguments, and options.

func (*SshKey) ElementType

func (*SshKey) ElementType() reflect.Type

func (*SshKey) ToSshKeyOutput

func (i *SshKey) ToSshKeyOutput() SshKeyOutput

func (*SshKey) ToSshKeyOutputWithContext

func (i *SshKey) ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput

type SshKeyArgs

type SshKeyArgs struct {
	// True when this public SSH key is used for rescue mode and reinstallations.
	Default pulumi.BoolPtrInput
	// The content of the public key in the form "ssh-algo content", e.g. "ssh-ed25519 AAAAC3...".
	Key pulumi.StringInput
	// The friendly name of this SSH key.
	KeyName pulumi.StringInput
}

The set of arguments for constructing a SshKey resource.

func (SshKeyArgs) ElementType

func (SshKeyArgs) ElementType() reflect.Type

type SshKeyArray

type SshKeyArray []SshKeyInput

func (SshKeyArray) ElementType

func (SshKeyArray) ElementType() reflect.Type

func (SshKeyArray) ToSshKeyArrayOutput

func (i SshKeyArray) ToSshKeyArrayOutput() SshKeyArrayOutput

func (SshKeyArray) ToSshKeyArrayOutputWithContext

func (i SshKeyArray) ToSshKeyArrayOutputWithContext(ctx context.Context) SshKeyArrayOutput

type SshKeyArrayInput

type SshKeyArrayInput interface {
	pulumi.Input

	ToSshKeyArrayOutput() SshKeyArrayOutput
	ToSshKeyArrayOutputWithContext(context.Context) SshKeyArrayOutput
}

SshKeyArrayInput is an input type that accepts SshKeyArray and SshKeyArrayOutput values. You can construct a concrete instance of `SshKeyArrayInput` via:

SshKeyArray{ SshKeyArgs{...} }

type SshKeyArrayOutput

type SshKeyArrayOutput struct{ *pulumi.OutputState }

func (SshKeyArrayOutput) ElementType

func (SshKeyArrayOutput) ElementType() reflect.Type

func (SshKeyArrayOutput) Index

func (SshKeyArrayOutput) ToSshKeyArrayOutput

func (o SshKeyArrayOutput) ToSshKeyArrayOutput() SshKeyArrayOutput

func (SshKeyArrayOutput) ToSshKeyArrayOutputWithContext

func (o SshKeyArrayOutput) ToSshKeyArrayOutputWithContext(ctx context.Context) SshKeyArrayOutput

type SshKeyInput

type SshKeyInput interface {
	pulumi.Input

	ToSshKeyOutput() SshKeyOutput
	ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput
}

type SshKeyMap

type SshKeyMap map[string]SshKeyInput

func (SshKeyMap) ElementType

func (SshKeyMap) ElementType() reflect.Type

func (SshKeyMap) ToSshKeyMapOutput

func (i SshKeyMap) ToSshKeyMapOutput() SshKeyMapOutput

func (SshKeyMap) ToSshKeyMapOutputWithContext

func (i SshKeyMap) ToSshKeyMapOutputWithContext(ctx context.Context) SshKeyMapOutput

type SshKeyMapInput

type SshKeyMapInput interface {
	pulumi.Input

	ToSshKeyMapOutput() SshKeyMapOutput
	ToSshKeyMapOutputWithContext(context.Context) SshKeyMapOutput
}

SshKeyMapInput is an input type that accepts SshKeyMap and SshKeyMapOutput values. You can construct a concrete instance of `SshKeyMapInput` via:

SshKeyMap{ "key": SshKeyArgs{...} }

type SshKeyMapOutput

type SshKeyMapOutput struct{ *pulumi.OutputState }

func (SshKeyMapOutput) ElementType

func (SshKeyMapOutput) ElementType() reflect.Type

func (SshKeyMapOutput) MapIndex

func (SshKeyMapOutput) ToSshKeyMapOutput

func (o SshKeyMapOutput) ToSshKeyMapOutput() SshKeyMapOutput

func (SshKeyMapOutput) ToSshKeyMapOutputWithContext

func (o SshKeyMapOutput) ToSshKeyMapOutputWithContext(ctx context.Context) SshKeyMapOutput

type SshKeyOutput

type SshKeyOutput struct{ *pulumi.OutputState }

func (SshKeyOutput) Default

func (o SshKeyOutput) Default() pulumi.BoolOutput

True when this public SSH key is used for rescue mode and reinstallations.

func (SshKeyOutput) ElementType

func (SshKeyOutput) ElementType() reflect.Type

func (SshKeyOutput) Key

The content of the public key in the form "ssh-algo content", e.g. "ssh-ed25519 AAAAC3...".

func (SshKeyOutput) KeyName

func (o SshKeyOutput) KeyName() pulumi.StringOutput

The friendly name of this SSH key.

func (SshKeyOutput) ToSshKeyOutput

func (o SshKeyOutput) ToSshKeyOutput() SshKeyOutput

func (SshKeyOutput) ToSshKeyOutputWithContext

func (o SshKeyOutput) ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput

type SshKeyState

type SshKeyState struct {
	// True when this public SSH key is used for rescue mode and reinstallations.
	Default pulumi.BoolPtrInput
	// The content of the public key in the form "ssh-algo content", e.g. "ssh-ed25519 AAAAC3...".
	Key pulumi.StringPtrInput
	// The friendly name of this SSH key.
	KeyName pulumi.StringPtrInput
}

func (SshKeyState) ElementType

func (SshKeyState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL