me

package
v0.43.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 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 APIOAuth2Client added in v0.36.1

type APIOAuth2Client struct {
	pulumi.CustomResourceState

	// List of callback urls when configuring the `AUTHORIZATION_CODE` flow.
	CallbackUrls pulumi.StringArrayOutput `pulumi:"callbackUrls"`
	// Client ID of the created service account.
	ClientId pulumi.StringOutput `pulumi:"clientId"`
	// Client secret of the created service account.
	ClientSecret pulumi.StringOutput `pulumi:"clientSecret"`
	// OAuth2 client description.
	Description pulumi.StringOutput `pulumi:"description"`
	// The OAuth2 flow to use. `AUTHORIZATION_CODE` or `CLIENT_CREDENTIALS` are supported at the moment.
	Flow pulumi.StringOutput `pulumi:"flow"`
	// URN that will allow you to associate this oauth2 client with an access policy
	Identity pulumi.StringOutput `pulumi:"identity"`
	// OAuth2 client name.
	Name pulumi.StringOutput `pulumi:"name"`
}

Creates an OAuth2 service account.

## Example Usage

An OAuth2 client for an app hosted at `my-app.com`, that uses the authorization code flow to authenticate.

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.NewAPIOAuth2Client(ctx, "myOauth2ClientAuthCode", &Me.APIOAuth2ClientArgs{
			CallbackUrls: pulumi.StringArray{
				pulumi.String("https://my-app.com/callback"),
			},
			Description: pulumi.String("An OAuth2 client using the authorization code flow for my-app.com"),
			Flow:        pulumi.String("AUTHORIZATION_CODE"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

An OAuth2 client for an app hosted at `my-app.com`, that uses the client credentials flow to authenticate.

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.NewAPIOAuth2Client(ctx, "myOauth2ClientClientCreds", &Me.APIOAuth2ClientArgs{
			Description: pulumi.String("An OAuth2 client using the client credentials flow for my app"),
			Flow:        pulumi.String("CLIENT_CREDENTIALS"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

OAuth2 clients can be imported using their `client_id`:

bash

```sh $ pulumi import ovh:Me/aPIOAuth2Client:APIOAuth2Client my_oauth2_client client_id ```

Because the client_secret is only available for resources created using terraform, OAuth2 clients can also be imported using a `client_id` and a `client_secret` with a pipe separator:

bash

```sh $ pulumi import ovh:Me/aPIOAuth2Client:APIOAuth2Client my_oauth2_client 'client_id|client_secret' ```

func GetAPIOAuth2Client added in v0.36.1

func GetAPIOAuth2Client(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *APIOAuth2ClientState, opts ...pulumi.ResourceOption) (*APIOAuth2Client, error)

GetAPIOAuth2Client gets an existing APIOAuth2Client 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 NewAPIOAuth2Client added in v0.36.1

func NewAPIOAuth2Client(ctx *pulumi.Context,
	name string, args *APIOAuth2ClientArgs, opts ...pulumi.ResourceOption) (*APIOAuth2Client, error)

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

func (*APIOAuth2Client) ElementType added in v0.36.1

func (*APIOAuth2Client) ElementType() reflect.Type

func (*APIOAuth2Client) ToAPIOAuth2ClientOutput added in v0.36.1

func (i *APIOAuth2Client) ToAPIOAuth2ClientOutput() APIOAuth2ClientOutput

func (*APIOAuth2Client) ToAPIOAuth2ClientOutputWithContext added in v0.36.1

func (i *APIOAuth2Client) ToAPIOAuth2ClientOutputWithContext(ctx context.Context) APIOAuth2ClientOutput

type APIOAuth2ClientArgs added in v0.36.1

type APIOAuth2ClientArgs struct {
	// List of callback urls when configuring the `AUTHORIZATION_CODE` flow.
	CallbackUrls pulumi.StringArrayInput
	// OAuth2 client description.
	Description pulumi.StringInput
	// The OAuth2 flow to use. `AUTHORIZATION_CODE` or `CLIENT_CREDENTIALS` are supported at the moment.
	Flow pulumi.StringInput
	// OAuth2 client name.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a APIOAuth2Client resource.

func (APIOAuth2ClientArgs) ElementType added in v0.36.1

func (APIOAuth2ClientArgs) ElementType() reflect.Type

type APIOAuth2ClientArray added in v0.36.1

type APIOAuth2ClientArray []APIOAuth2ClientInput

func (APIOAuth2ClientArray) ElementType added in v0.36.1

func (APIOAuth2ClientArray) ElementType() reflect.Type

func (APIOAuth2ClientArray) ToAPIOAuth2ClientArrayOutput added in v0.36.1

func (i APIOAuth2ClientArray) ToAPIOAuth2ClientArrayOutput() APIOAuth2ClientArrayOutput

func (APIOAuth2ClientArray) ToAPIOAuth2ClientArrayOutputWithContext added in v0.36.1

func (i APIOAuth2ClientArray) ToAPIOAuth2ClientArrayOutputWithContext(ctx context.Context) APIOAuth2ClientArrayOutput

type APIOAuth2ClientArrayInput added in v0.36.1

type APIOAuth2ClientArrayInput interface {
	pulumi.Input

	ToAPIOAuth2ClientArrayOutput() APIOAuth2ClientArrayOutput
	ToAPIOAuth2ClientArrayOutputWithContext(context.Context) APIOAuth2ClientArrayOutput
}

APIOAuth2ClientArrayInput is an input type that accepts APIOAuth2ClientArray and APIOAuth2ClientArrayOutput values. You can construct a concrete instance of `APIOAuth2ClientArrayInput` via:

APIOAuth2ClientArray{ APIOAuth2ClientArgs{...} }

type APIOAuth2ClientArrayOutput added in v0.36.1

type APIOAuth2ClientArrayOutput struct{ *pulumi.OutputState }

func (APIOAuth2ClientArrayOutput) ElementType added in v0.36.1

func (APIOAuth2ClientArrayOutput) ElementType() reflect.Type

func (APIOAuth2ClientArrayOutput) Index added in v0.36.1

func (APIOAuth2ClientArrayOutput) ToAPIOAuth2ClientArrayOutput added in v0.36.1

func (o APIOAuth2ClientArrayOutput) ToAPIOAuth2ClientArrayOutput() APIOAuth2ClientArrayOutput

func (APIOAuth2ClientArrayOutput) ToAPIOAuth2ClientArrayOutputWithContext added in v0.36.1

func (o APIOAuth2ClientArrayOutput) ToAPIOAuth2ClientArrayOutputWithContext(ctx context.Context) APIOAuth2ClientArrayOutput

type APIOAuth2ClientInput added in v0.36.1

type APIOAuth2ClientInput interface {
	pulumi.Input

	ToAPIOAuth2ClientOutput() APIOAuth2ClientOutput
	ToAPIOAuth2ClientOutputWithContext(ctx context.Context) APIOAuth2ClientOutput
}

type APIOAuth2ClientMap added in v0.36.1

type APIOAuth2ClientMap map[string]APIOAuth2ClientInput

func (APIOAuth2ClientMap) ElementType added in v0.36.1

func (APIOAuth2ClientMap) ElementType() reflect.Type

func (APIOAuth2ClientMap) ToAPIOAuth2ClientMapOutput added in v0.36.1

func (i APIOAuth2ClientMap) ToAPIOAuth2ClientMapOutput() APIOAuth2ClientMapOutput

func (APIOAuth2ClientMap) ToAPIOAuth2ClientMapOutputWithContext added in v0.36.1

func (i APIOAuth2ClientMap) ToAPIOAuth2ClientMapOutputWithContext(ctx context.Context) APIOAuth2ClientMapOutput

type APIOAuth2ClientMapInput added in v0.36.1

type APIOAuth2ClientMapInput interface {
	pulumi.Input

	ToAPIOAuth2ClientMapOutput() APIOAuth2ClientMapOutput
	ToAPIOAuth2ClientMapOutputWithContext(context.Context) APIOAuth2ClientMapOutput
}

APIOAuth2ClientMapInput is an input type that accepts APIOAuth2ClientMap and APIOAuth2ClientMapOutput values. You can construct a concrete instance of `APIOAuth2ClientMapInput` via:

APIOAuth2ClientMap{ "key": APIOAuth2ClientArgs{...} }

type APIOAuth2ClientMapOutput added in v0.36.1

type APIOAuth2ClientMapOutput struct{ *pulumi.OutputState }

func (APIOAuth2ClientMapOutput) ElementType added in v0.36.1

func (APIOAuth2ClientMapOutput) ElementType() reflect.Type

func (APIOAuth2ClientMapOutput) MapIndex added in v0.36.1

func (APIOAuth2ClientMapOutput) ToAPIOAuth2ClientMapOutput added in v0.36.1

func (o APIOAuth2ClientMapOutput) ToAPIOAuth2ClientMapOutput() APIOAuth2ClientMapOutput

func (APIOAuth2ClientMapOutput) ToAPIOAuth2ClientMapOutputWithContext added in v0.36.1

func (o APIOAuth2ClientMapOutput) ToAPIOAuth2ClientMapOutputWithContext(ctx context.Context) APIOAuth2ClientMapOutput

type APIOAuth2ClientOutput added in v0.36.1

type APIOAuth2ClientOutput struct{ *pulumi.OutputState }

func (APIOAuth2ClientOutput) CallbackUrls added in v0.36.1

List of callback urls when configuring the `AUTHORIZATION_CODE` flow.

func (APIOAuth2ClientOutput) ClientId added in v0.36.1

Client ID of the created service account.

func (APIOAuth2ClientOutput) ClientSecret added in v0.36.1

func (o APIOAuth2ClientOutput) ClientSecret() pulumi.StringOutput

Client secret of the created service account.

func (APIOAuth2ClientOutput) Description added in v0.36.1

func (o APIOAuth2ClientOutput) Description() pulumi.StringOutput

OAuth2 client description.

func (APIOAuth2ClientOutput) ElementType added in v0.36.1

func (APIOAuth2ClientOutput) ElementType() reflect.Type

func (APIOAuth2ClientOutput) Flow added in v0.36.1

The OAuth2 flow to use. `AUTHORIZATION_CODE` or `CLIENT_CREDENTIALS` are supported at the moment.

func (APIOAuth2ClientOutput) Identity added in v0.36.1

URN that will allow you to associate this oauth2 client with an access policy

func (APIOAuth2ClientOutput) Name added in v0.36.1

OAuth2 client name.

func (APIOAuth2ClientOutput) ToAPIOAuth2ClientOutput added in v0.36.1

func (o APIOAuth2ClientOutput) ToAPIOAuth2ClientOutput() APIOAuth2ClientOutput

func (APIOAuth2ClientOutput) ToAPIOAuth2ClientOutputWithContext added in v0.36.1

func (o APIOAuth2ClientOutput) ToAPIOAuth2ClientOutputWithContext(ctx context.Context) APIOAuth2ClientOutput

type APIOAuth2ClientState added in v0.36.1

type APIOAuth2ClientState struct {
	// List of callback urls when configuring the `AUTHORIZATION_CODE` flow.
	CallbackUrls pulumi.StringArrayInput
	// Client ID of the created service account.
	ClientId pulumi.StringPtrInput
	// Client secret of the created service account.
	ClientSecret pulumi.StringPtrInput
	// OAuth2 client description.
	Description pulumi.StringPtrInput
	// The OAuth2 flow to use. `AUTHORIZATION_CODE` or `CLIENT_CREDENTIALS` are supported at the moment.
	Flow pulumi.StringPtrInput
	// URN that will allow you to associate this oauth2 client with an access policy
	Identity pulumi.StringPtrInput
	// OAuth2 client name.
	Name pulumi.StringPtrInput
}

func (APIOAuth2ClientState) ElementType added in v0.36.1

func (APIOAuth2ClientState) ElementType() reflect.Type

type GetAPIOAuth2ClientsResult added in v0.36.1

type GetAPIOAuth2ClientsResult struct {
	// The list of all the existing client IDs.
	ClientIds []string `pulumi:"clientIds"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
}

A collection of values returned by getAPIOAuth2Clients.

func GetAPIOAuth2Clients added in v0.36.1

func GetAPIOAuth2Clients(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetAPIOAuth2ClientsResult, error)

Use this data source to retrieve information the list of existing OAuth2 service account IDs.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.GetAPIOAuth2Client(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetAPIOAuth2ClientsResultOutput added in v0.36.1

type GetAPIOAuth2ClientsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAPIOAuth2Clients.

func GetAPIOAuth2ClientsOutput added in v0.36.1

func GetAPIOAuth2ClientsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetAPIOAuth2ClientsResultOutput

func (GetAPIOAuth2ClientsResultOutput) ClientIds added in v0.36.1

The list of all the existing client IDs.

func (GetAPIOAuth2ClientsResultOutput) ElementType added in v0.36.1

func (GetAPIOAuth2ClientsResultOutput) Id added in v0.36.1

The provider-assigned unique ID for this managed resource.

func (GetAPIOAuth2ClientsResultOutput) ToGetAPIOAuth2ClientsResultOutput added in v0.36.1

func (o GetAPIOAuth2ClientsResultOutput) ToGetAPIOAuth2ClientsResultOutput() GetAPIOAuth2ClientsResultOutput

func (GetAPIOAuth2ClientsResultOutput) ToGetAPIOAuth2ClientsResultOutputWithContext added in v0.36.1

func (o GetAPIOAuth2ClientsResultOutput) ToGetAPIOAuth2ClientsResultOutputWithContext(ctx context.Context) GetAPIOAuth2ClientsResultOutput

type GetIdentityGroupsResult

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

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.GetIdentityGroups(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetIdentityGroupsResultOutput added in v0.35.0

type GetIdentityGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIdentityGroups.

func GetIdentityGroupsOutput added in v0.35.0

func GetIdentityGroupsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetIdentityGroupsResultOutput

func (GetIdentityGroupsResultOutput) ElementType added in v0.35.0

func (GetIdentityGroupsResultOutput) Groups added in v0.35.0

The list of the group names of all the identity groups.

func (GetIdentityGroupsResultOutput) Id added in v0.35.0

The provider-assigned unique ID for this managed resource.

func (GetIdentityGroupsResultOutput) ToGetIdentityGroupsResultOutput added in v0.35.0

func (o GetIdentityGroupsResultOutput) ToGetIdentityGroupsResultOutput() GetIdentityGroupsResultOutput

func (GetIdentityGroupsResultOutput) ToGetIdentityGroupsResultOutputWithContext added in v0.35.0

func (o GetIdentityGroupsResultOutput) ToGetIdentityGroupsResultOutputWithContext(ctx context.Context) GetIdentityGroupsResultOutput

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.GetIdentityUsers(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetIdentityUsersResultOutput added in v0.35.0

type GetIdentityUsersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIdentityUsers.

func GetIdentityUsersOutput added in v0.35.0

func GetIdentityUsersOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetIdentityUsersResultOutput

func (GetIdentityUsersResultOutput) ElementType added in v0.35.0

func (GetIdentityUsersResultOutput) Id added in v0.35.0

The provider-assigned unique ID for this managed resource.

func (GetIdentityUsersResultOutput) ToGetIdentityUsersResultOutput added in v0.35.0

func (o GetIdentityUsersResultOutput) ToGetIdentityUsersResultOutput() GetIdentityUsersResultOutput

func (GetIdentityUsersResultOutput) ToGetIdentityUsersResultOutputWithContext added in v0.35.0

func (o GetIdentityUsersResultOutput) ToGetIdentityUsersResultOutputWithContext(ctx context.Context) GetIdentityUsersResultOutput

func (GetIdentityUsersResultOutput) Users added in v0.35.0

The list of the user's logins of all the identity users.

type GetInstallationTemplateCustomization

type GetInstallationTemplateCustomization struct {
	// 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"`
	// Name of the ssh key that should be installed. Password login will be disabled. Deprecated, will be removed in next release, use userMetada instead.
	//
	// Deprecated: This field will be removed from the API, please use `userMetadata` instead.
	SshKeyName string `pulumi:"sshKeyName"`
}

type GetInstallationTemplateCustomizationArgs

type GetInstallationTemplateCustomizationArgs struct {
	// 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"`
	// Name of the ssh key that should be installed. Password login will be disabled. Deprecated, will be removed in next release, use userMetada instead.
	//
	// Deprecated: This field will be removed from the API, please use `userMetadata` instead.
	SshKeyName pulumi.StringInput `pulumi:"sshKeyName"`
}

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) 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) SshKeyName deprecated

Name of the ssh key that should be installed. Password login will be disabled. Deprecated, will be removed in next release, use userMetada instead.

Deprecated: This field will be removed from the API, please use `userMetadata` instead.

func (GetInstallationTemplateCustomizationOutput) ToGetInstallationTemplateCustomizationOutput

func (o GetInstallationTemplateCustomizationOutput) ToGetInstallationTemplateCustomizationOutput() GetInstallationTemplateCustomizationOutput

func (GetInstallationTemplateCustomizationOutput) ToGetInstallationTemplateCustomizationOutputWithContext

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

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.GetInstallationTemplates(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetInstallationTemplatesResultOutput added in v0.35.0

type GetInstallationTemplatesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstallationTemplates.

func GetInstallationTemplatesOutput added in v0.35.0

func GetInstallationTemplatesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetInstallationTemplatesResultOutput

func (GetInstallationTemplatesResultOutput) ElementType added in v0.35.0

func (GetInstallationTemplatesResultOutput) Id added in v0.35.0

The provider-assigned unique ID for this managed resource.

func (GetInstallationTemplatesResultOutput) Results added in v0.35.0

The list of custom installation templates IDs available for dedicated servers.

func (GetInstallationTemplatesResultOutput) ToGetInstallationTemplatesResultOutput added in v0.35.0

func (o GetInstallationTemplatesResultOutput) ToGetInstallationTemplatesResultOutput() GetInstallationTemplatesResultOutput

func (GetInstallationTemplatesResultOutput) ToGetInstallationTemplatesResultOutputWithContext added in v0.35.0

func (o GetInstallationTemplatesResultOutput) ToGetInstallationTemplatesResultOutputWithContext(ctx context.Context) GetInstallationTemplatesResultOutput

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 {
	// The resource URN of the account, to be used when writing IAM policies
	AccountURN string `pulumi:"AccountURN"`
	// 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"`
	// 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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.GetMe(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetMeResultOutput added in v0.35.0

type GetMeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMe.

func GetMeOutput added in v0.35.0

func GetMeOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetMeResultOutput

func (GetMeResultOutput) AccountURN added in v0.35.0

func (o GetMeResultOutput) AccountURN() pulumi.StringOutput

The resource URN of the account, to be used when writing IAM policies

func (GetMeResultOutput) Address added in v0.35.0

Postal address of the account

func (GetMeResultOutput) Area added in v0.35.0

Area of the account

func (GetMeResultOutput) BirthCity added in v0.35.0

func (o GetMeResultOutput) BirthCity() pulumi.StringOutput

City of birth

func (GetMeResultOutput) BirthDay added in v0.35.0

func (o GetMeResultOutput) BirthDay() pulumi.StringOutput

Birth date

func (GetMeResultOutput) City added in v0.35.0

City of the account

func (GetMeResultOutput) CompanyNationalIdentificationNumber added in v0.35.0

func (o GetMeResultOutput) CompanyNationalIdentificationNumber() pulumi.StringOutput

This is the national identification number of the company that possess this account

func (GetMeResultOutput) CorporationType added in v0.35.0

func (o GetMeResultOutput) CorporationType() pulumi.StringOutput

Type of corporation

func (GetMeResultOutput) Country added in v0.35.0

Country of the account

func (GetMeResultOutput) Currencies added in v0.35.0

func (GetMeResultOutput) CustomerCode added in v0.35.0

func (o GetMeResultOutput) CustomerCode() pulumi.StringOutput

The customer code of this account (a numerical value used for identification when contacting support via phone call)

func (GetMeResultOutput) ElementType added in v0.35.0

func (GetMeResultOutput) ElementType() reflect.Type

func (GetMeResultOutput) Email added in v0.35.0

Email address

func (GetMeResultOutput) Fax added in v0.35.0

Fax number

func (GetMeResultOutput) Firstname added in v0.35.0

func (o GetMeResultOutput) Firstname() pulumi.StringOutput

First name

func (GetMeResultOutput) Id added in v0.35.0

The provider-assigned unique ID for this managed resource.

func (GetMeResultOutput) ItalianSdi added in v0.35.0

func (o GetMeResultOutput) ItalianSdi() pulumi.StringOutput

Italian SDI

func (GetMeResultOutput) Language added in v0.35.0

func (o GetMeResultOutput) Language() pulumi.StringOutput

Preferred language for this account

func (GetMeResultOutput) Legalform added in v0.35.0

func (o GetMeResultOutput) Legalform() pulumi.StringOutput

Legal form of the account

func (GetMeResultOutput) Name added in v0.35.0

Name of the account holder

func (GetMeResultOutput) NationalIdentificationNumber added in v0.35.0

func (o GetMeResultOutput) NationalIdentificationNumber() pulumi.StringOutput

National Identification Number of this account

func (GetMeResultOutput) Nichandle added in v0.35.0

func (o GetMeResultOutput) Nichandle() pulumi.StringOutput

Nic handle / customer identifier

func (GetMeResultOutput) Organisation added in v0.35.0

func (o GetMeResultOutput) Organisation() pulumi.StringOutput

Name of the organisation for this account

func (GetMeResultOutput) OvhCompany added in v0.35.0

func (o GetMeResultOutput) OvhCompany() pulumi.StringOutput

OVHcloud subsidiary

func (GetMeResultOutput) OvhSubsidiary added in v0.35.0

func (o GetMeResultOutput) OvhSubsidiary() pulumi.StringOutput

OVHcloud subsidiary

func (GetMeResultOutput) Phone added in v0.35.0

Phone number

func (GetMeResultOutput) PhoneCountry added in v0.35.0

func (o GetMeResultOutput) PhoneCountry() pulumi.StringOutput

Country code of the phone number

func (GetMeResultOutput) Sex added in v0.35.0

Gender of the account holder

func (GetMeResultOutput) SpareEmail added in v0.35.0

func (o GetMeResultOutput) SpareEmail() pulumi.StringOutput

Backup email address

func (GetMeResultOutput) State added in v0.35.0

State of the postal address

func (GetMeResultOutput) ToGetMeResultOutput added in v0.35.0

func (o GetMeResultOutput) ToGetMeResultOutput() GetMeResultOutput

func (GetMeResultOutput) ToGetMeResultOutputWithContext added in v0.35.0

func (o GetMeResultOutput) ToGetMeResultOutputWithContext(ctx context.Context) GetMeResultOutput

func (GetMeResultOutput) Vat added in v0.35.0

VAT number

func (GetMeResultOutput) Zip added in v0.35.0

Zipcode of the address

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.GetPaymentmeanBankAccount(ctx, &me.GetPaymentmeanBankAccountArgs{
			UseDefault: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.GetPaymentmeanCreditCard(ctx, &me.GetPaymentmeanCreditCardArgs{
			UseDefault: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.GetSshKeys(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetSshKeysResultOutput added in v0.35.0

type GetSshKeysResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSshKeys.

func GetSshKeysOutput added in v0.35.0

func GetSshKeysOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetSshKeysResultOutput

func (GetSshKeysResultOutput) ElementType added in v0.35.0

func (GetSshKeysResultOutput) ElementType() reflect.Type

func (GetSshKeysResultOutput) Id added in v0.35.0

The provider-assigned unique ID for this managed resource.

func (GetSshKeysResultOutput) Names added in v0.35.0

The list of the names of all the SSH keys.

func (GetSshKeysResultOutput) ToGetSshKeysResultOutput added in v0.35.0

func (o GetSshKeysResultOutput) ToGetSshKeysResultOutput() GetSshKeysResultOutput

func (GetSshKeysResultOutput) ToGetSshKeysResultOutputWithContext added in v0.35.0

func (o GetSshKeysResultOutput) ToGetSshKeysResultOutputWithContext(ctx context.Context) GetSshKeysResultOutput

type IdentityGroup

type IdentityGroup struct {
	pulumi.CustomResourceState

	// URN of the user group, used when writing IAM policies
	GroupURN pulumi.StringOutput `pulumi:"GroupURN"`
	// 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"`
}

Creates an identity group.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.NewIdentityGroup(ctx, "myGroup", &Me.IdentityGroupArgs{
			Description: pulumi.String("Some custom description"),
			Role:        pulumi.String("NONE"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

func GetIdentityGroup

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

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

func (*IdentityGroup) ElementType() reflect.Type

func (*IdentityGroup) ToIdentityGroupOutput

func (i *IdentityGroup) ToIdentityGroupOutput() IdentityGroupOutput

func (*IdentityGroup) ToIdentityGroupOutputWithContext

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

type IdentityGroupArgs

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

func (IdentityGroupArgs) ElementType() reflect.Type

type IdentityGroupArray

type IdentityGroupArray []IdentityGroupInput

func (IdentityGroupArray) ElementType

func (IdentityGroupArray) ElementType() reflect.Type

func (IdentityGroupArray) ToIdentityGroupArrayOutput

func (i IdentityGroupArray) ToIdentityGroupArrayOutput() IdentityGroupArrayOutput

func (IdentityGroupArray) ToIdentityGroupArrayOutputWithContext

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

type IdentityGroupArrayInput

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

type IdentityGroupArrayOutput struct{ *pulumi.OutputState }

func (IdentityGroupArrayOutput) ElementType

func (IdentityGroupArrayOutput) ElementType() reflect.Type

func (IdentityGroupArrayOutput) Index

func (IdentityGroupArrayOutput) ToIdentityGroupArrayOutput

func (o IdentityGroupArrayOutput) ToIdentityGroupArrayOutput() IdentityGroupArrayOutput

func (IdentityGroupArrayOutput) ToIdentityGroupArrayOutputWithContext

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

type IdentityGroupInput

type IdentityGroupInput interface {
	pulumi.Input

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

type IdentityGroupMap

type IdentityGroupMap map[string]IdentityGroupInput

func (IdentityGroupMap) ElementType

func (IdentityGroupMap) ElementType() reflect.Type

func (IdentityGroupMap) ToIdentityGroupMapOutput

func (i IdentityGroupMap) ToIdentityGroupMapOutput() IdentityGroupMapOutput

func (IdentityGroupMap) ToIdentityGroupMapOutputWithContext

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

type IdentityGroupMapInput

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

type IdentityGroupMapOutput struct{ *pulumi.OutputState }

func (IdentityGroupMapOutput) ElementType

func (IdentityGroupMapOutput) ElementType() reflect.Type

func (IdentityGroupMapOutput) MapIndex

func (IdentityGroupMapOutput) ToIdentityGroupMapOutput

func (o IdentityGroupMapOutput) ToIdentityGroupMapOutput() IdentityGroupMapOutput

func (IdentityGroupMapOutput) ToIdentityGroupMapOutputWithContext

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

type IdentityGroupOutput

type IdentityGroupOutput struct{ *pulumi.OutputState }

func (IdentityGroupOutput) Creation

Creation date of this group.

func (IdentityGroupOutput) DefaultGroup

func (o IdentityGroupOutput) DefaultGroup() pulumi.BoolOutput

Is the group a default and immutable one.

func (IdentityGroupOutput) Description

func (o IdentityGroupOutput) Description() pulumi.StringPtrOutput

Group description.

func (IdentityGroupOutput) ElementType

func (IdentityGroupOutput) ElementType() reflect.Type

func (IdentityGroupOutput) GroupURN added in v0.34.3

URN of the user group, used when writing IAM policies

func (IdentityGroupOutput) LastUpdate

func (o IdentityGroupOutput) LastUpdate() pulumi.StringOutput

Date of the last update of this group.

func (IdentityGroupOutput) Name

Group name.

func (IdentityGroupOutput) Role

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

func (IdentityGroupOutput) ToIdentityGroupOutput

func (o IdentityGroupOutput) ToIdentityGroupOutput() IdentityGroupOutput

func (IdentityGroupOutput) ToIdentityGroupOutputWithContext

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

type IdentityGroupState

type IdentityGroupState struct {
	// URN of the user group, used when writing IAM policies
	GroupURN pulumi.StringPtrInput
	// 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
}

func (IdentityGroupState) ElementType

func (IdentityGroupState) ElementType() reflect.Type

type IdentityUser

type IdentityUser struct {
	pulumi.CustomResourceState

	// URN of the user, used when writing IAM policies
	UserURN pulumi.StringOutput `pulumi:"UserURN"`
	// 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"`
}

Creates an identity user.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.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
	})
}

``` <!--End PulumiCodeChooser -->

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) UserURN added in v0.34.3

URN of the user, used when writing IAM policies

type IdentityUserState

type IdentityUserState struct {
	// URN of the user, used when writing IAM policies
	UserURN pulumi.StringPtrInput
	// 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
}

func (IdentityUserState) ElementType

func (IdentityUserState) ElementType() reflect.Type

type InstallationTemplate

type InstallationTemplate struct {
	pulumi.CustomResourceState

	// Deprecated.
	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 template bit format (32 or 64).
	BitFormat pulumi.IntOutput `pulumi:"bitFormat"`
	// Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
	//
	// Deprecated: This field is deprecated and will be removed in a future release.
	Category      pulumi.StringOutput                        `pulumi:"category"`
	Customization InstallationTemplateCustomizationPtrOutput `pulumi:"customization"`
	// Deprecated, use language in userMetadata instead.
	//
	// Deprecated: This field is deprecated and will be removed in a future release.
	DefaultLanguage pulumi.StringPtrOutput `pulumi:"defaultLanguage"`
	// 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"`
	// This distribution supports Logical Volumes (Linux LVM)
	LvmReady pulumi.BoolOutput `pulumi:"lvmReady"`
	// Remove default partition schemes at creation.
	RemoveDefaultPartitionSchemes pulumi.BoolOutput `pulumi:"removeDefaultPartitionSchemes"`
	// This template name.
	TemplateName pulumi.StringOutput `pulumi:"templateName"`
}

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

## 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
	// Deprecated, use language in userMetadata instead.
	//
	// Deprecated: This field is deprecated and will be removed in a future release.
	DefaultLanguage pulumi.StringPtrInput
	// 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 {
	// 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.
	//
	// Deprecated: This field is deprecated and will be removed in a future release.
	SshKeyName *string `pulumi:"sshKeyName"`
}

type InstallationTemplateCustomizationArgs

type InstallationTemplateCustomizationArgs struct {
	// 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"`
	// Deprecated.
	//
	// Deprecated: This field is deprecated and will be removed in a future release.
	SshKeyName pulumi.StringPtrInput `pulumi:"sshKeyName"`
}

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) 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) SshKeyName deprecated

Deprecated.

Deprecated: This field is deprecated and will be removed in a future release.

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

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) 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) SshKeyName deprecated

Deprecated.

Deprecated: This field is deprecated and will be removed in a future release.

func (InstallationTemplateCustomizationPtrOutput) ToInstallationTemplateCustomizationPtrOutput

func (o InstallationTemplateCustomizationPtrOutput) ToInstallationTemplateCustomizationPtrOutput() InstallationTemplateCustomizationPtrOutput

func (InstallationTemplateCustomizationPtrOutput) ToInstallationTemplateCustomizationPtrOutputWithContext

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

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

Deprecated.

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

This template bit format (32 or 64).

func (InstallationTemplateOutput) Category deprecated

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

Deprecated: This field is deprecated and will be removed in a future release.

func (InstallationTemplateOutput) Customization

func (InstallationTemplateOutput) DefaultLanguage deprecated

Deprecated, use language in userMetadata instead.

Deprecated: This field is deprecated and will be removed in a future release.

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		mytemplate, err := Me.NewInstallationTemplate(ctx, "mytemplate", &Me.InstallationTemplateArgs{
			BaseTemplateName: pulumi.String("debian12_64"),
			TemplateName:     pulumi.String("mytemplate"),
		})
		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
	})
}

``` <!--End PulumiCodeChooser -->

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		mytemplate, err := Me.NewInstallationTemplate(ctx, "mytemplate", &Me.InstallationTemplateArgs{
			BaseTemplateName: pulumi.String("debian12_64"),
			TemplateName:     pulumi.String("mytemplate"),
		})
		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
	})
}

``` <!--End PulumiCodeChooser -->

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		mytemplate, err := Me.NewInstallationTemplate(ctx, "mytemplate", &Me.InstallationTemplateArgs{
			BaseTemplateName: pulumi.String("debian12_64"),
			TemplateName:     pulumi.String("mytemplate"),
		})
		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
	})
}

``` <!--End PulumiCodeChooser -->

## 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 {
	// Deprecated.
	AvailableLanguages pulumi.StringArrayInput
	// The name of an existing installation template, choose one among the list given by `getInstallationTemplates` datasource.
	BaseTemplateName pulumi.StringPtrInput
	// This template bit format (32 or 64).
	BitFormat pulumi.IntPtrInput
	// Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation).
	//
	// Deprecated: This field is deprecated and will be removed in a future release.
	Category      pulumi.StringPtrInput
	Customization InstallationTemplateCustomizationPtrInput
	// Deprecated, use language in userMetadata instead.
	//
	// Deprecated: This field is deprecated and will be removed in a future release.
	DefaultLanguage pulumi.StringPtrInput
	// 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
	// This distribution supports Logical Volumes (Linux LVM)
	LvmReady pulumi.BoolPtrInput
	// Remove default partition schemes at creation.
	RemoveDefaultPartitionSchemes pulumi.BoolPtrInput
	// This template name.
	TemplateName pulumi.StringPtrInput
}

func (InstallationTemplateState) ElementType

func (InstallationTemplateState) ElementType() reflect.Type

type LookupAPIOAuth2ClientArgs added in v0.36.1

type LookupAPIOAuth2ClientArgs struct {
	// Client ID of an existing OAuth2 service account.
	ClientId string `pulumi:"clientId"`
}

A collection of arguments for invoking getAPIOAuth2Client.

type LookupAPIOAuth2ClientOutputArgs added in v0.36.1

type LookupAPIOAuth2ClientOutputArgs struct {
	// Client ID of an existing OAuth2 service account.
	ClientId pulumi.StringInput `pulumi:"clientId"`
}

A collection of arguments for invoking getAPIOAuth2Client.

func (LookupAPIOAuth2ClientOutputArgs) ElementType added in v0.36.1

type LookupAPIOAuth2ClientResult added in v0.36.1

type LookupAPIOAuth2ClientResult struct {
	// List of callback urls when configuring the `AUTHORIZATION_CODE` flow.
	CallbackUrls []string `pulumi:"callbackUrls"`
	// Client ID of the created service account.
	ClientId string `pulumi:"clientId"`
	// OAuth2 client description.
	Description string `pulumi:"description"`
	// The OAuth2 flow to use. `AUTHORIZATION_CODE` or `CLIENT_CREDENTIALS` are supported at the moment.
	Flow string `pulumi:"flow"`
	// The provider-assigned unique ID for this managed resource.
	Id       string `pulumi:"id"`
	Identity string `pulumi:"identity"`
	// OAuth2 client name.
	Name string `pulumi:"name"`
}

A collection of values returned by getAPIOAuth2Client.

func LookupAPIOAuth2Client added in v0.36.1

func LookupAPIOAuth2Client(ctx *pulumi.Context, args *LookupAPIOAuth2ClientArgs, opts ...pulumi.InvokeOption) (*LookupAPIOAuth2ClientResult, error)

Use this data source to retrieve information about an existing OAuth2 service account.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.GetAPIOAuth2Client(ctx, &me.GetAPIOAuth2ClientArgs{
			ClientId: "5f8969a993ec8b4b",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupAPIOAuth2ClientResultOutput added in v0.36.1

type LookupAPIOAuth2ClientResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAPIOAuth2Client.

func LookupAPIOAuth2ClientOutput added in v0.36.1

func (LookupAPIOAuth2ClientResultOutput) CallbackUrls added in v0.36.1

List of callback urls when configuring the `AUTHORIZATION_CODE` flow.

func (LookupAPIOAuth2ClientResultOutput) ClientId added in v0.36.1

Client ID of the created service account.

func (LookupAPIOAuth2ClientResultOutput) Description added in v0.36.1

OAuth2 client description.

func (LookupAPIOAuth2ClientResultOutput) ElementType added in v0.36.1

func (LookupAPIOAuth2ClientResultOutput) Flow added in v0.36.1

The OAuth2 flow to use. `AUTHORIZATION_CODE` or `CLIENT_CREDENTIALS` are supported at the moment.

func (LookupAPIOAuth2ClientResultOutput) Id added in v0.36.1

The provider-assigned unique ID for this managed resource.

func (LookupAPIOAuth2ClientResultOutput) Identity added in v0.36.1

func (LookupAPIOAuth2ClientResultOutput) Name added in v0.36.1

OAuth2 client name.

func (LookupAPIOAuth2ClientResultOutput) ToLookupAPIOAuth2ClientResultOutput added in v0.36.1

func (o LookupAPIOAuth2ClientResultOutput) ToLookupAPIOAuth2ClientResultOutput() LookupAPIOAuth2ClientResultOutput

func (LookupAPIOAuth2ClientResultOutput) ToLookupAPIOAuth2ClientResultOutputWithContext added in v0.36.1

func (o LookupAPIOAuth2ClientResultOutput) ToLookupAPIOAuth2ClientResultOutputWithContext(ctx context.Context) LookupAPIOAuth2ClientResultOutput

type LookupIdentityGroupArgs

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

A collection of arguments for invoking getIdentityGroup.

type LookupIdentityGroupOutputArgs

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

A collection of arguments for invoking getIdentityGroup.

func (LookupIdentityGroupOutputArgs) ElementType

type LookupIdentityGroupResult

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

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.GetIdentityGroup(ctx, &me.GetIdentityGroupArgs{
			Name: "my_group_name",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupIdentityGroupResultOutput

type LookupIdentityGroupResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIdentityGroup.

func (LookupIdentityGroupResultOutput) Creation

Creation date of this group.

func (LookupIdentityGroupResultOutput) DefaultGroup

Is the group a default and immutable one.

func (LookupIdentityGroupResultOutput) Description

Group description.

func (LookupIdentityGroupResultOutput) ElementType

func (LookupIdentityGroupResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupIdentityGroupResultOutput) LastUpdate

Date of the last update of this group.

func (LookupIdentityGroupResultOutput) Name

func (LookupIdentityGroupResultOutput) Role

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

func (LookupIdentityGroupResultOutput) ToLookupIdentityGroupResultOutput

func (o LookupIdentityGroupResultOutput) ToLookupIdentityGroupResultOutput() LookupIdentityGroupResultOutput

func (LookupIdentityGroupResultOutput) ToLookupIdentityGroupResultOutputWithContext

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 {
	// User's identity URN.
	UserURN string `pulumi:"UserURN"`
	// 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   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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.GetIdentityUser(ctx, &me.GetIdentityUserArgs{
			User: "my_user_login",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

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

func (LookupIdentityUserResultOutput) UserURN added in v0.34.3

User's identity URN.

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. Deprecated, will be removed in next release.
	AvailableLanguages []string `pulumi:"availableLanguages"`
	// 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. Deprecated, will be removed in next release.
	//
	// Deprecated: This field will be removed from the API, please use `userMetadata` instead.
	DefaultLanguage string `pulumi:"defaultLanguage"`
	// 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"`
	LvmReady         bool                                         `pulumi:"lvmReady"`
	PartitionSchemes []GetInstallationTemplatePartitionSchemeType `pulumi:"partitionSchemes"`
	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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.GetInstallationTemplate(ctx, &me.GetInstallationTemplateArgs{
			TemplateName: "mytemplate",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

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. Deprecated, will be removed in next release.

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 deprecated

The default language of this template. Deprecated, will be removed in next release.

Deprecated: This field will be removed from the API, please use `userMetadata` instead.

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

func (LookupInstallationTemplateResultOutput) PartitionSchemes

func (LookupInstallationTemplateResultOutput) TemplateName

func (LookupInstallationTemplateResultOutput) ToLookupInstallationTemplateResultOutput

func (o LookupInstallationTemplateResultOutput) ToLookupInstallationTemplateResultOutput() LookupInstallationTemplateResultOutput

func (LookupInstallationTemplateResultOutput) ToLookupInstallationTemplateResultOutputWithContext

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

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)

> __NOTE__ This data source will be removed in next release.

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

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.GetSshKey(ctx, &me.GetSshKeyArgs{
			KeyName: "mykey",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

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.
	//
	// Deprecated: use userMetada instead
	Default pulumi.BoolOutput `pulumi:"default"`
	// The content of the public key in the form "ssh-algo content", e.g. "ssh-ed25519 AAAAC3...".
	//
	// Deprecated: use userMetada instead
	Key pulumi.StringOutput `pulumi:"key"`
	// The friendly name of this SSH key.
	//
	// Deprecated: use userMetada instead
	KeyName pulumi.StringOutput `pulumi:"keyName"`
}

## Example Usage

> __NOTE__ This resource will be removed in next release, please use userMetada instead.

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.NewSshKey(ctx, "mykey", &Me.SshKeyArgs{
			Key:     pulumi.String("ssh-ed25519 AAAAC3..."),
			KeyName: pulumi.String("mykey"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

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.
	//
	// Deprecated: use userMetada instead
	Default pulumi.BoolPtrInput
	// The content of the public key in the form "ssh-algo content", e.g. "ssh-ed25519 AAAAC3...".
	//
	// Deprecated: use userMetada instead
	Key pulumi.StringInput
	// The friendly name of this SSH key.
	//
	// Deprecated: use userMetada instead
	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 deprecated

func (o SshKeyOutput) Default() pulumi.BoolOutput

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

Deprecated: use userMetada instead

func (SshKeyOutput) ElementType

func (SshKeyOutput) ElementType() reflect.Type

func (SshKeyOutput) Key deprecated

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

Deprecated: use userMetada instead

func (SshKeyOutput) KeyName deprecated

func (o SshKeyOutput) KeyName() pulumi.StringOutput

The friendly name of this SSH key.

Deprecated: use userMetada instead

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.
	//
	// Deprecated: use userMetada instead
	Default pulumi.BoolPtrInput
	// The content of the public key in the form "ssh-algo content", e.g. "ssh-ed25519 AAAAC3...".
	//
	// Deprecated: use userMetada instead
	Key pulumi.StringPtrInput
	// The friendly name of this SSH key.
	//
	// Deprecated: use userMetada instead
	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