dedicated

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 CephAcl

type CephAcl struct {
	pulumi.CustomResourceState

	// IP family. `IPv4` or `IPv6`
	Family pulumi.StringOutput `pulumi:"family"`
	// The network mask to apply
	Netmask pulumi.StringOutput `pulumi:"netmask"`
	// The network IP to authorize
	Network pulumi.StringOutput `pulumi:"network"`
	// The internal name of your dedicated CEPH
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
}

Add a new access ACL for the given network/mask.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		my_ceph, err := Dedicated.GetCeph(ctx, &dedicated.GetCephArgs{
			ServiceName: "94d423da-0e55-45f2-9812-836460a19939",
		}, nil)
		if err != nil {
			return err
		}
		_, err = Dedicated.NewCephAcl(ctx, "my-acl", &Dedicated.CephAclArgs{
			ServiceName: pulumi.String(my_ceph.Id),
			Network:     pulumi.String("1.2.3.4"),
			Netmask:     pulumi.String("255.255.255.255"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

func GetCephAcl

func GetCephAcl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CephAclState, opts ...pulumi.ResourceOption) (*CephAcl, error)

GetCephAcl gets an existing CephAcl 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 NewCephAcl

func NewCephAcl(ctx *pulumi.Context,
	name string, args *CephAclArgs, opts ...pulumi.ResourceOption) (*CephAcl, error)

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

func (*CephAcl) ElementType

func (*CephAcl) ElementType() reflect.Type

func (*CephAcl) ToCephAclOutput

func (i *CephAcl) ToCephAclOutput() CephAclOutput

func (*CephAcl) ToCephAclOutputWithContext

func (i *CephAcl) ToCephAclOutputWithContext(ctx context.Context) CephAclOutput

type CephAclArgs

type CephAclArgs struct {
	// The network mask to apply
	Netmask pulumi.StringInput
	// The network IP to authorize
	Network pulumi.StringInput
	// The internal name of your dedicated CEPH
	ServiceName pulumi.StringInput
}

The set of arguments for constructing a CephAcl resource.

func (CephAclArgs) ElementType

func (CephAclArgs) ElementType() reflect.Type

type CephAclArray

type CephAclArray []CephAclInput

func (CephAclArray) ElementType

func (CephAclArray) ElementType() reflect.Type

func (CephAclArray) ToCephAclArrayOutput

func (i CephAclArray) ToCephAclArrayOutput() CephAclArrayOutput

func (CephAclArray) ToCephAclArrayOutputWithContext

func (i CephAclArray) ToCephAclArrayOutputWithContext(ctx context.Context) CephAclArrayOutput

type CephAclArrayInput

type CephAclArrayInput interface {
	pulumi.Input

	ToCephAclArrayOutput() CephAclArrayOutput
	ToCephAclArrayOutputWithContext(context.Context) CephAclArrayOutput
}

CephAclArrayInput is an input type that accepts CephAclArray and CephAclArrayOutput values. You can construct a concrete instance of `CephAclArrayInput` via:

CephAclArray{ CephAclArgs{...} }

type CephAclArrayOutput

type CephAclArrayOutput struct{ *pulumi.OutputState }

func (CephAclArrayOutput) ElementType

func (CephAclArrayOutput) ElementType() reflect.Type

func (CephAclArrayOutput) Index

func (CephAclArrayOutput) ToCephAclArrayOutput

func (o CephAclArrayOutput) ToCephAclArrayOutput() CephAclArrayOutput

func (CephAclArrayOutput) ToCephAclArrayOutputWithContext

func (o CephAclArrayOutput) ToCephAclArrayOutputWithContext(ctx context.Context) CephAclArrayOutput

type CephAclInput

type CephAclInput interface {
	pulumi.Input

	ToCephAclOutput() CephAclOutput
	ToCephAclOutputWithContext(ctx context.Context) CephAclOutput
}

type CephAclMap

type CephAclMap map[string]CephAclInput

func (CephAclMap) ElementType

func (CephAclMap) ElementType() reflect.Type

func (CephAclMap) ToCephAclMapOutput

func (i CephAclMap) ToCephAclMapOutput() CephAclMapOutput

func (CephAclMap) ToCephAclMapOutputWithContext

func (i CephAclMap) ToCephAclMapOutputWithContext(ctx context.Context) CephAclMapOutput

type CephAclMapInput

type CephAclMapInput interface {
	pulumi.Input

	ToCephAclMapOutput() CephAclMapOutput
	ToCephAclMapOutputWithContext(context.Context) CephAclMapOutput
}

CephAclMapInput is an input type that accepts CephAclMap and CephAclMapOutput values. You can construct a concrete instance of `CephAclMapInput` via:

CephAclMap{ "key": CephAclArgs{...} }

type CephAclMapOutput

type CephAclMapOutput struct{ *pulumi.OutputState }

func (CephAclMapOutput) ElementType

func (CephAclMapOutput) ElementType() reflect.Type

func (CephAclMapOutput) MapIndex

func (CephAclMapOutput) ToCephAclMapOutput

func (o CephAclMapOutput) ToCephAclMapOutput() CephAclMapOutput

func (CephAclMapOutput) ToCephAclMapOutputWithContext

func (o CephAclMapOutput) ToCephAclMapOutputWithContext(ctx context.Context) CephAclMapOutput

type CephAclOutput

type CephAclOutput struct{ *pulumi.OutputState }

func (CephAclOutput) ElementType

func (CephAclOutput) ElementType() reflect.Type

func (CephAclOutput) Family

func (o CephAclOutput) Family() pulumi.StringOutput

IP family. `IPv4` or `IPv6`

func (CephAclOutput) Netmask

func (o CephAclOutput) Netmask() pulumi.StringOutput

The network mask to apply

func (CephAclOutput) Network

func (o CephAclOutput) Network() pulumi.StringOutput

The network IP to authorize

func (CephAclOutput) ServiceName

func (o CephAclOutput) ServiceName() pulumi.StringOutput

The internal name of your dedicated CEPH

func (CephAclOutput) ToCephAclOutput

func (o CephAclOutput) ToCephAclOutput() CephAclOutput

func (CephAclOutput) ToCephAclOutputWithContext

func (o CephAclOutput) ToCephAclOutputWithContext(ctx context.Context) CephAclOutput

type CephAclState

type CephAclState struct {
	// IP family. `IPv4` or `IPv6`
	Family pulumi.StringPtrInput
	// The network mask to apply
	Netmask pulumi.StringPtrInput
	// The network IP to authorize
	Network pulumi.StringPtrInput
	// The internal name of your dedicated CEPH
	ServiceName pulumi.StringPtrInput
}

func (CephAclState) ElementType

func (CephAclState) ElementType() reflect.Type

type GetCephArgs

type GetCephArgs struct {
	// CEPH cluster version
	CephVersion *string `pulumi:"cephVersion"`
	// The service name of the dedicated CEPH cluster.
	ServiceName string `pulumi:"serviceName"`
	// the status of the service
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getCeph.

type GetCephOutputArgs

type GetCephOutputArgs struct {
	// CEPH cluster version
	CephVersion pulumi.StringPtrInput `pulumi:"cephVersion"`
	// The service name of the dedicated CEPH cluster.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
	// the status of the service
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getCeph.

func (GetCephOutputArgs) ElementType

func (GetCephOutputArgs) ElementType() reflect.Type

type GetCephResult

type GetCephResult struct {
	// URN of the CEPH instance
	CephURN string `pulumi:"CephURN"`
	// list of CEPH monitors IPs
	CephMons []string `pulumi:"cephMons"`
	// CEPH cluster version
	CephVersion string `pulumi:"cephVersion"`
	// CRUSH algorithm settings. Possible values
	// * OPTIMAL
	// * DEFAULT
	// * LEGACY
	// * BOBTAIL
	// * ARGONAUT
	// * FIREFLY
	// * HAMMER
	// * JEWEL
	CrushTunables string `pulumi:"crushTunables"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// CEPH cluster label
	Label string `pulumi:"label"`
	// cluster region
	Region      string `pulumi:"region"`
	ServiceName string `pulumi:"serviceName"`
	// Cluster size in TB
	Size float64 `pulumi:"size"`
	// the state of the cluster
	State string `pulumi:"state"`
	// the status of the service
	Status string `pulumi:"status"`
}

A collection of values returned by getCeph.

func GetCeph

func GetCeph(ctx *pulumi.Context, args *GetCephArgs, opts ...pulumi.InvokeOption) (*GetCephResult, error)

Use this data source to retrieve information about a dedicated CEPH.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dedicated.GetCeph(ctx, &dedicated.GetCephArgs{
			ServiceName: "XXXXXX",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

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

type GetCephResultOutput

type GetCephResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCeph.

func (GetCephResultOutput) CephMons

list of CEPH monitors IPs

func (GetCephResultOutput) CephURN added in v0.34.3

URN of the CEPH instance

func (GetCephResultOutput) CephVersion

func (o GetCephResultOutput) CephVersion() pulumi.StringOutput

CEPH cluster version

func (GetCephResultOutput) CrushTunables

func (o GetCephResultOutput) CrushTunables() pulumi.StringOutput

CRUSH algorithm settings. Possible values * OPTIMAL * DEFAULT * LEGACY * BOBTAIL * ARGONAUT * FIREFLY * HAMMER * JEWEL

func (GetCephResultOutput) ElementType

func (GetCephResultOutput) ElementType() reflect.Type

func (GetCephResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCephResultOutput) Label

CEPH cluster label

func (GetCephResultOutput) Region

cluster region

func (GetCephResultOutput) ServiceName

func (o GetCephResultOutput) ServiceName() pulumi.StringOutput

func (GetCephResultOutput) Size

Cluster size in TB

func (GetCephResultOutput) State

the state of the cluster

func (GetCephResultOutput) Status

the status of the service

func (GetCephResultOutput) ToGetCephResultOutput

func (o GetCephResultOutput) ToGetCephResultOutput() GetCephResultOutput

func (GetCephResultOutput) ToGetCephResultOutputWithContext

func (o GetCephResultOutput) ToGetCephResultOutputWithContext(ctx context.Context) GetCephResultOutput

type GetNasHAArgs

type GetNasHAArgs struct {
	// The serviceName of your dedicated HA-NAS.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getNasHA.

type GetNasHAOutputArgs

type GetNasHAOutputArgs struct {
	// The serviceName of your dedicated HA-NAS.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getNasHA.

func (GetNasHAOutputArgs) ElementType

func (GetNasHAOutputArgs) ElementType() reflect.Type

type GetNasHAResult

type GetNasHAResult struct {
	// the URN of the HA-NAS instance
	NasHAURN string `pulumi:"NasHAURN"`
	// True, if partition creation is allowed on this HA-NAS
	CanCreatePartition bool `pulumi:"canCreatePartition"`
	// The name you give to the HA-NAS
	CustomName string `pulumi:"customName"`
	// area of HA-NAS
	Datacenter string `pulumi:"datacenter"`
	// the disk type of the HA-NAS. Possible values are: `hdd`, `ssd`, `nvme`
	DiskType string `pulumi:"diskType"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Access IP of HA-NAS
	Ip string `pulumi:"ip"`
	// Send an email to customer if any issue is detected
	Monitored bool `pulumi:"monitored"`
	// The storage service name
	ServiceName string `pulumi:"serviceName"`
	// percentage of HA-NAS space used in %
	ZpoolCapacity float64 `pulumi:"zpoolCapacity"`
	// the size of the HA-NAS in GB
	ZpoolSize float64 `pulumi:"zpoolSize"`
}

A collection of values returned by getNasHA.

func GetNasHA

func GetNasHA(ctx *pulumi.Context, args *GetNasHAArgs, opts ...pulumi.InvokeOption) (*GetNasHAResult, error)

Use this data source to retrieve information about a dedicated HA-NAS.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dedicated.GetNasHA(ctx, &dedicated.GetNasHAArgs{
			ServiceName: "zpool-12345",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

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

type GetNasHAResultOutput

type GetNasHAResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNasHA.

func (GetNasHAResultOutput) CanCreatePartition

func (o GetNasHAResultOutput) CanCreatePartition() pulumi.BoolOutput

True, if partition creation is allowed on this HA-NAS

func (GetNasHAResultOutput) CustomName

func (o GetNasHAResultOutput) CustomName() pulumi.StringOutput

The name you give to the HA-NAS

func (GetNasHAResultOutput) Datacenter

func (o GetNasHAResultOutput) Datacenter() pulumi.StringOutput

area of HA-NAS

func (GetNasHAResultOutput) DiskType

the disk type of the HA-NAS. Possible values are: `hdd`, `ssd`, `nvme`

func (GetNasHAResultOutput) ElementType

func (GetNasHAResultOutput) ElementType() reflect.Type

func (GetNasHAResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetNasHAResultOutput) Ip

Access IP of HA-NAS

func (GetNasHAResultOutput) Monitored

func (o GetNasHAResultOutput) Monitored() pulumi.BoolOutput

Send an email to customer if any issue is detected

func (GetNasHAResultOutput) NasHAURN added in v0.34.3

the URN of the HA-NAS instance

func (GetNasHAResultOutput) ServiceName

func (o GetNasHAResultOutput) ServiceName() pulumi.StringOutput

The storage service name

func (GetNasHAResultOutput) ToGetNasHAResultOutput

func (o GetNasHAResultOutput) ToGetNasHAResultOutput() GetNasHAResultOutput

func (GetNasHAResultOutput) ToGetNasHAResultOutputWithContext

func (o GetNasHAResultOutput) ToGetNasHAResultOutputWithContext(ctx context.Context) GetNasHAResultOutput

func (GetNasHAResultOutput) ZpoolCapacity

func (o GetNasHAResultOutput) ZpoolCapacity() pulumi.Float64Output

percentage of HA-NAS space used in %

func (GetNasHAResultOutput) ZpoolSize

the size of the HA-NAS in GB

type GetServerBootsArgs

type GetServerBootsArgs struct {
	// Filter the value of bootType property (harddisk, rescue, ipxeCustomerScript, internal, network)
	BootType *string `pulumi:"bootType"`
	// Filter the value of kernel property (iPXE script name)
	Kernel *string `pulumi:"kernel"`
	// The internal name of your dedicated server.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getServerBoots.

type GetServerBootsOutputArgs

type GetServerBootsOutputArgs struct {
	// Filter the value of bootType property (harddisk, rescue, ipxeCustomerScript, internal, network)
	BootType pulumi.StringPtrInput `pulumi:"bootType"`
	// Filter the value of kernel property (iPXE script name)
	Kernel pulumi.StringPtrInput `pulumi:"kernel"`
	// The internal name of your dedicated server.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getServerBoots.

func (GetServerBootsOutputArgs) ElementType

func (GetServerBootsOutputArgs) ElementType() reflect.Type

type GetServerBootsResult

type GetServerBootsResult struct {
	BootType *string `pulumi:"bootType"`
	// The provider-assigned unique ID for this managed resource.
	Id     string  `pulumi:"id"`
	Kernel *string `pulumi:"kernel"`
	// The list of dedicated server netboots.
	Results     []int  `pulumi:"results"`
	ServiceName string `pulumi:"serviceName"`
}

A collection of values returned by getServerBoots.

func GetServerBoots

func GetServerBoots(ctx *pulumi.Context, args *GetServerBootsArgs, opts ...pulumi.InvokeOption) (*GetServerBootsResult, error)

Use this data source to get the list of compatible netboots for a dedicated server associated with your OVHcloud Account.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dedicated.GetServerBoots(ctx, &dedicated.GetServerBootsArgs{
			BootType:    pulumi.StringRef("harddisk"),
			ServiceName: "myserver",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

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

type GetServerBootsResultOutput

type GetServerBootsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServerBoots.

func (GetServerBootsResultOutput) BootType

func (GetServerBootsResultOutput) ElementType

func (GetServerBootsResultOutput) ElementType() reflect.Type

func (GetServerBootsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetServerBootsResultOutput) Kernel

func (GetServerBootsResultOutput) Results

The list of dedicated server netboots.

func (GetServerBootsResultOutput) ServiceName

func (GetServerBootsResultOutput) ToGetServerBootsResultOutput

func (o GetServerBootsResultOutput) ToGetServerBootsResultOutput() GetServerBootsResultOutput

func (GetServerBootsResultOutput) ToGetServerBootsResultOutputWithContext

func (o GetServerBootsResultOutput) ToGetServerBootsResultOutputWithContext(ctx context.Context) GetServerBootsResultOutput

type GetServerSpecificationsHardwareArgs added in v0.40.1

type GetServerSpecificationsHardwareArgs struct {
	// The internal name of your dedicated server.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getServerSpecificationsHardware.

type GetServerSpecificationsHardwareDefaultHardwareRaidSize added in v0.40.1

type GetServerSpecificationsHardwareDefaultHardwareRaidSize struct {
	Unit  string  `pulumi:"unit"`
	Value float64 `pulumi:"value"`
}

type GetServerSpecificationsHardwareDefaultHardwareRaidSizeArgs added in v0.40.1

type GetServerSpecificationsHardwareDefaultHardwareRaidSizeArgs struct {
	Unit  pulumi.StringInput  `pulumi:"unit"`
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetServerSpecificationsHardwareDefaultHardwareRaidSizeArgs) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareDefaultHardwareRaidSizeArgs) ToGetServerSpecificationsHardwareDefaultHardwareRaidSizeOutput added in v0.40.1

func (GetServerSpecificationsHardwareDefaultHardwareRaidSizeArgs) ToGetServerSpecificationsHardwareDefaultHardwareRaidSizeOutputWithContext added in v0.40.1

func (i GetServerSpecificationsHardwareDefaultHardwareRaidSizeArgs) ToGetServerSpecificationsHardwareDefaultHardwareRaidSizeOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareDefaultHardwareRaidSizeOutput

type GetServerSpecificationsHardwareDefaultHardwareRaidSizeInput added in v0.40.1

type GetServerSpecificationsHardwareDefaultHardwareRaidSizeInput interface {
	pulumi.Input

	ToGetServerSpecificationsHardwareDefaultHardwareRaidSizeOutput() GetServerSpecificationsHardwareDefaultHardwareRaidSizeOutput
	ToGetServerSpecificationsHardwareDefaultHardwareRaidSizeOutputWithContext(context.Context) GetServerSpecificationsHardwareDefaultHardwareRaidSizeOutput
}

GetServerSpecificationsHardwareDefaultHardwareRaidSizeInput is an input type that accepts GetServerSpecificationsHardwareDefaultHardwareRaidSizeArgs and GetServerSpecificationsHardwareDefaultHardwareRaidSizeOutput values. You can construct a concrete instance of `GetServerSpecificationsHardwareDefaultHardwareRaidSizeInput` via:

GetServerSpecificationsHardwareDefaultHardwareRaidSizeArgs{...}

type GetServerSpecificationsHardwareDefaultHardwareRaidSizeOutput added in v0.40.1

type GetServerSpecificationsHardwareDefaultHardwareRaidSizeOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsHardwareDefaultHardwareRaidSizeOutput) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareDefaultHardwareRaidSizeOutput) ToGetServerSpecificationsHardwareDefaultHardwareRaidSizeOutput added in v0.40.1

func (GetServerSpecificationsHardwareDefaultHardwareRaidSizeOutput) ToGetServerSpecificationsHardwareDefaultHardwareRaidSizeOutputWithContext added in v0.40.1

func (o GetServerSpecificationsHardwareDefaultHardwareRaidSizeOutput) ToGetServerSpecificationsHardwareDefaultHardwareRaidSizeOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareDefaultHardwareRaidSizeOutput

func (GetServerSpecificationsHardwareDefaultHardwareRaidSizeOutput) Unit added in v0.40.1

func (GetServerSpecificationsHardwareDefaultHardwareRaidSizeOutput) Value added in v0.40.1

type GetServerSpecificationsHardwareDiskGroup added in v0.40.1

type GetServerSpecificationsHardwareDiskGroup struct {
	// Default hardware raid size for this disk group
	DefaultHardwareRaidSize GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize `pulumi:"defaultHardwareRaidSize"`
	// Default hardware raid type for this disk group
	DefaultHardwareRaidType string `pulumi:"defaultHardwareRaidType"`
	// Expansion card description
	Description string `pulumi:"description"`
	// Identifier of this disk group
	DiskGroupId float64 `pulumi:"diskGroupId"`
	// Disk capacity
	DiskSize GetServerSpecificationsHardwareDiskGroupDiskSize `pulumi:"diskSize"`
	// Type of the disk (SSD, SATA, SAS, ...)
	DiskType string `pulumi:"diskType"`
	// Number of disks in this group
	NumberOfDisks float64 `pulumi:"numberOfDisks"`
	// Raid controller, if any, managing this group of disks
	RaidController string `pulumi:"raidController"`
}

type GetServerSpecificationsHardwareDiskGroupArgs added in v0.40.1

type GetServerSpecificationsHardwareDiskGroupArgs struct {
	// Default hardware raid size for this disk group
	DefaultHardwareRaidSize GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeInput `pulumi:"defaultHardwareRaidSize"`
	// Default hardware raid type for this disk group
	DefaultHardwareRaidType pulumi.StringInput `pulumi:"defaultHardwareRaidType"`
	// Expansion card description
	Description pulumi.StringInput `pulumi:"description"`
	// Identifier of this disk group
	DiskGroupId pulumi.Float64Input `pulumi:"diskGroupId"`
	// Disk capacity
	DiskSize GetServerSpecificationsHardwareDiskGroupDiskSizeInput `pulumi:"diskSize"`
	// Type of the disk (SSD, SATA, SAS, ...)
	DiskType pulumi.StringInput `pulumi:"diskType"`
	// Number of disks in this group
	NumberOfDisks pulumi.Float64Input `pulumi:"numberOfDisks"`
	// Raid controller, if any, managing this group of disks
	RaidController pulumi.StringInput `pulumi:"raidController"`
}

func (GetServerSpecificationsHardwareDiskGroupArgs) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareDiskGroupArgs) ToGetServerSpecificationsHardwareDiskGroupOutput added in v0.40.1

func (i GetServerSpecificationsHardwareDiskGroupArgs) ToGetServerSpecificationsHardwareDiskGroupOutput() GetServerSpecificationsHardwareDiskGroupOutput

func (GetServerSpecificationsHardwareDiskGroupArgs) ToGetServerSpecificationsHardwareDiskGroupOutputWithContext added in v0.40.1

func (i GetServerSpecificationsHardwareDiskGroupArgs) ToGetServerSpecificationsHardwareDiskGroupOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareDiskGroupOutput

type GetServerSpecificationsHardwareDiskGroupArray added in v0.40.1

type GetServerSpecificationsHardwareDiskGroupArray []GetServerSpecificationsHardwareDiskGroupInput

func (GetServerSpecificationsHardwareDiskGroupArray) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareDiskGroupArray) ToGetServerSpecificationsHardwareDiskGroupArrayOutput added in v0.40.1

func (i GetServerSpecificationsHardwareDiskGroupArray) ToGetServerSpecificationsHardwareDiskGroupArrayOutput() GetServerSpecificationsHardwareDiskGroupArrayOutput

func (GetServerSpecificationsHardwareDiskGroupArray) ToGetServerSpecificationsHardwareDiskGroupArrayOutputWithContext added in v0.40.1

func (i GetServerSpecificationsHardwareDiskGroupArray) ToGetServerSpecificationsHardwareDiskGroupArrayOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareDiskGroupArrayOutput

type GetServerSpecificationsHardwareDiskGroupArrayInput added in v0.40.1

type GetServerSpecificationsHardwareDiskGroupArrayInput interface {
	pulumi.Input

	ToGetServerSpecificationsHardwareDiskGroupArrayOutput() GetServerSpecificationsHardwareDiskGroupArrayOutput
	ToGetServerSpecificationsHardwareDiskGroupArrayOutputWithContext(context.Context) GetServerSpecificationsHardwareDiskGroupArrayOutput
}

GetServerSpecificationsHardwareDiskGroupArrayInput is an input type that accepts GetServerSpecificationsHardwareDiskGroupArray and GetServerSpecificationsHardwareDiskGroupArrayOutput values. You can construct a concrete instance of `GetServerSpecificationsHardwareDiskGroupArrayInput` via:

GetServerSpecificationsHardwareDiskGroupArray{ GetServerSpecificationsHardwareDiskGroupArgs{...} }

type GetServerSpecificationsHardwareDiskGroupArrayOutput added in v0.40.1

type GetServerSpecificationsHardwareDiskGroupArrayOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsHardwareDiskGroupArrayOutput) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareDiskGroupArrayOutput) Index added in v0.40.1

func (GetServerSpecificationsHardwareDiskGroupArrayOutput) ToGetServerSpecificationsHardwareDiskGroupArrayOutput added in v0.40.1

func (o GetServerSpecificationsHardwareDiskGroupArrayOutput) ToGetServerSpecificationsHardwareDiskGroupArrayOutput() GetServerSpecificationsHardwareDiskGroupArrayOutput

func (GetServerSpecificationsHardwareDiskGroupArrayOutput) ToGetServerSpecificationsHardwareDiskGroupArrayOutputWithContext added in v0.40.1

func (o GetServerSpecificationsHardwareDiskGroupArrayOutput) ToGetServerSpecificationsHardwareDiskGroupArrayOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareDiskGroupArrayOutput

type GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize added in v0.40.1

type GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize struct {
	Unit  string  `pulumi:"unit"`
	Value float64 `pulumi:"value"`
}

type GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeArgs added in v0.40.1

type GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeArgs struct {
	Unit  pulumi.StringInput  `pulumi:"unit"`
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeArgs) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeArgs) ToGetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput added in v0.40.1

func (GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeArgs) ToGetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutputWithContext added in v0.40.1

func (i GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeArgs) ToGetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput

type GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeInput added in v0.40.1

type GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeInput interface {
	pulumi.Input

	ToGetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput() GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput
	ToGetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutputWithContext(context.Context) GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput
}

GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeInput is an input type that accepts GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeArgs and GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput values. You can construct a concrete instance of `GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeInput` via:

GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeArgs{...}

type GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput added in v0.40.1

type GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput) ToGetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput added in v0.40.1

func (GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput) ToGetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutputWithContext added in v0.40.1

func (o GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput) ToGetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput

func (GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput) Unit added in v0.40.1

func (GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput) Value added in v0.40.1

type GetServerSpecificationsHardwareDiskGroupDiskSize added in v0.40.1

type GetServerSpecificationsHardwareDiskGroupDiskSize struct {
	Unit  string  `pulumi:"unit"`
	Value float64 `pulumi:"value"`
}

type GetServerSpecificationsHardwareDiskGroupDiskSizeArgs added in v0.40.1

type GetServerSpecificationsHardwareDiskGroupDiskSizeArgs struct {
	Unit  pulumi.StringInput  `pulumi:"unit"`
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetServerSpecificationsHardwareDiskGroupDiskSizeArgs) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareDiskGroupDiskSizeArgs) ToGetServerSpecificationsHardwareDiskGroupDiskSizeOutput added in v0.40.1

func (i GetServerSpecificationsHardwareDiskGroupDiskSizeArgs) ToGetServerSpecificationsHardwareDiskGroupDiskSizeOutput() GetServerSpecificationsHardwareDiskGroupDiskSizeOutput

func (GetServerSpecificationsHardwareDiskGroupDiskSizeArgs) ToGetServerSpecificationsHardwareDiskGroupDiskSizeOutputWithContext added in v0.40.1

func (i GetServerSpecificationsHardwareDiskGroupDiskSizeArgs) ToGetServerSpecificationsHardwareDiskGroupDiskSizeOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareDiskGroupDiskSizeOutput

type GetServerSpecificationsHardwareDiskGroupDiskSizeInput added in v0.40.1

type GetServerSpecificationsHardwareDiskGroupDiskSizeInput interface {
	pulumi.Input

	ToGetServerSpecificationsHardwareDiskGroupDiskSizeOutput() GetServerSpecificationsHardwareDiskGroupDiskSizeOutput
	ToGetServerSpecificationsHardwareDiskGroupDiskSizeOutputWithContext(context.Context) GetServerSpecificationsHardwareDiskGroupDiskSizeOutput
}

GetServerSpecificationsHardwareDiskGroupDiskSizeInput is an input type that accepts GetServerSpecificationsHardwareDiskGroupDiskSizeArgs and GetServerSpecificationsHardwareDiskGroupDiskSizeOutput values. You can construct a concrete instance of `GetServerSpecificationsHardwareDiskGroupDiskSizeInput` via:

GetServerSpecificationsHardwareDiskGroupDiskSizeArgs{...}

type GetServerSpecificationsHardwareDiskGroupDiskSizeOutput added in v0.40.1

type GetServerSpecificationsHardwareDiskGroupDiskSizeOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsHardwareDiskGroupDiskSizeOutput) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareDiskGroupDiskSizeOutput) ToGetServerSpecificationsHardwareDiskGroupDiskSizeOutput added in v0.40.1

func (GetServerSpecificationsHardwareDiskGroupDiskSizeOutput) ToGetServerSpecificationsHardwareDiskGroupDiskSizeOutputWithContext added in v0.40.1

func (o GetServerSpecificationsHardwareDiskGroupDiskSizeOutput) ToGetServerSpecificationsHardwareDiskGroupDiskSizeOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareDiskGroupDiskSizeOutput

func (GetServerSpecificationsHardwareDiskGroupDiskSizeOutput) Unit added in v0.40.1

func (GetServerSpecificationsHardwareDiskGroupDiskSizeOutput) Value added in v0.40.1

type GetServerSpecificationsHardwareDiskGroupInput added in v0.40.1

type GetServerSpecificationsHardwareDiskGroupInput interface {
	pulumi.Input

	ToGetServerSpecificationsHardwareDiskGroupOutput() GetServerSpecificationsHardwareDiskGroupOutput
	ToGetServerSpecificationsHardwareDiskGroupOutputWithContext(context.Context) GetServerSpecificationsHardwareDiskGroupOutput
}

GetServerSpecificationsHardwareDiskGroupInput is an input type that accepts GetServerSpecificationsHardwareDiskGroupArgs and GetServerSpecificationsHardwareDiskGroupOutput values. You can construct a concrete instance of `GetServerSpecificationsHardwareDiskGroupInput` via:

GetServerSpecificationsHardwareDiskGroupArgs{...}

type GetServerSpecificationsHardwareDiskGroupOutput added in v0.40.1

type GetServerSpecificationsHardwareDiskGroupOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsHardwareDiskGroupOutput) DefaultHardwareRaidSize added in v0.40.1

Default hardware raid size for this disk group

func (GetServerSpecificationsHardwareDiskGroupOutput) DefaultHardwareRaidType added in v0.40.1

Default hardware raid type for this disk group

func (GetServerSpecificationsHardwareDiskGroupOutput) Description added in v0.40.1

Expansion card description

func (GetServerSpecificationsHardwareDiskGroupOutput) DiskGroupId added in v0.40.1

Identifier of this disk group

func (GetServerSpecificationsHardwareDiskGroupOutput) DiskSize added in v0.40.1

Disk capacity

func (GetServerSpecificationsHardwareDiskGroupOutput) DiskType added in v0.40.1

Type of the disk (SSD, SATA, SAS, ...)

func (GetServerSpecificationsHardwareDiskGroupOutput) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareDiskGroupOutput) NumberOfDisks added in v0.40.1

Number of disks in this group

func (GetServerSpecificationsHardwareDiskGroupOutput) RaidController added in v0.40.1

Raid controller, if any, managing this group of disks

func (GetServerSpecificationsHardwareDiskGroupOutput) ToGetServerSpecificationsHardwareDiskGroupOutput added in v0.40.1

func (o GetServerSpecificationsHardwareDiskGroupOutput) ToGetServerSpecificationsHardwareDiskGroupOutput() GetServerSpecificationsHardwareDiskGroupOutput

func (GetServerSpecificationsHardwareDiskGroupOutput) ToGetServerSpecificationsHardwareDiskGroupOutputWithContext added in v0.40.1

func (o GetServerSpecificationsHardwareDiskGroupOutput) ToGetServerSpecificationsHardwareDiskGroupOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareDiskGroupOutput

type GetServerSpecificationsHardwareExpansionCard added in v0.40.1

type GetServerSpecificationsHardwareExpansionCard struct {
	// Expansion card description
	Description string `pulumi:"description"`
	// Expansion card type enum
	Type string `pulumi:"type"`
}

type GetServerSpecificationsHardwareExpansionCardArgs added in v0.40.1

type GetServerSpecificationsHardwareExpansionCardArgs struct {
	// Expansion card description
	Description pulumi.StringInput `pulumi:"description"`
	// Expansion card type enum
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetServerSpecificationsHardwareExpansionCardArgs) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareExpansionCardArgs) ToGetServerSpecificationsHardwareExpansionCardOutput added in v0.40.1

func (i GetServerSpecificationsHardwareExpansionCardArgs) ToGetServerSpecificationsHardwareExpansionCardOutput() GetServerSpecificationsHardwareExpansionCardOutput

func (GetServerSpecificationsHardwareExpansionCardArgs) ToGetServerSpecificationsHardwareExpansionCardOutputWithContext added in v0.40.1

func (i GetServerSpecificationsHardwareExpansionCardArgs) ToGetServerSpecificationsHardwareExpansionCardOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareExpansionCardOutput

type GetServerSpecificationsHardwareExpansionCardArray added in v0.40.1

type GetServerSpecificationsHardwareExpansionCardArray []GetServerSpecificationsHardwareExpansionCardInput

func (GetServerSpecificationsHardwareExpansionCardArray) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareExpansionCardArray) ToGetServerSpecificationsHardwareExpansionCardArrayOutput added in v0.40.1

func (i GetServerSpecificationsHardwareExpansionCardArray) ToGetServerSpecificationsHardwareExpansionCardArrayOutput() GetServerSpecificationsHardwareExpansionCardArrayOutput

func (GetServerSpecificationsHardwareExpansionCardArray) ToGetServerSpecificationsHardwareExpansionCardArrayOutputWithContext added in v0.40.1

func (i GetServerSpecificationsHardwareExpansionCardArray) ToGetServerSpecificationsHardwareExpansionCardArrayOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareExpansionCardArrayOutput

type GetServerSpecificationsHardwareExpansionCardArrayInput added in v0.40.1

type GetServerSpecificationsHardwareExpansionCardArrayInput interface {
	pulumi.Input

	ToGetServerSpecificationsHardwareExpansionCardArrayOutput() GetServerSpecificationsHardwareExpansionCardArrayOutput
	ToGetServerSpecificationsHardwareExpansionCardArrayOutputWithContext(context.Context) GetServerSpecificationsHardwareExpansionCardArrayOutput
}

GetServerSpecificationsHardwareExpansionCardArrayInput is an input type that accepts GetServerSpecificationsHardwareExpansionCardArray and GetServerSpecificationsHardwareExpansionCardArrayOutput values. You can construct a concrete instance of `GetServerSpecificationsHardwareExpansionCardArrayInput` via:

GetServerSpecificationsHardwareExpansionCardArray{ GetServerSpecificationsHardwareExpansionCardArgs{...} }

type GetServerSpecificationsHardwareExpansionCardArrayOutput added in v0.40.1

type GetServerSpecificationsHardwareExpansionCardArrayOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsHardwareExpansionCardArrayOutput) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareExpansionCardArrayOutput) Index added in v0.40.1

func (GetServerSpecificationsHardwareExpansionCardArrayOutput) ToGetServerSpecificationsHardwareExpansionCardArrayOutput added in v0.40.1

func (GetServerSpecificationsHardwareExpansionCardArrayOutput) ToGetServerSpecificationsHardwareExpansionCardArrayOutputWithContext added in v0.40.1

func (o GetServerSpecificationsHardwareExpansionCardArrayOutput) ToGetServerSpecificationsHardwareExpansionCardArrayOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareExpansionCardArrayOutput

type GetServerSpecificationsHardwareExpansionCardInput added in v0.40.1

type GetServerSpecificationsHardwareExpansionCardInput interface {
	pulumi.Input

	ToGetServerSpecificationsHardwareExpansionCardOutput() GetServerSpecificationsHardwareExpansionCardOutput
	ToGetServerSpecificationsHardwareExpansionCardOutputWithContext(context.Context) GetServerSpecificationsHardwareExpansionCardOutput
}

GetServerSpecificationsHardwareExpansionCardInput is an input type that accepts GetServerSpecificationsHardwareExpansionCardArgs and GetServerSpecificationsHardwareExpansionCardOutput values. You can construct a concrete instance of `GetServerSpecificationsHardwareExpansionCardInput` via:

GetServerSpecificationsHardwareExpansionCardArgs{...}

type GetServerSpecificationsHardwareExpansionCardOutput added in v0.40.1

type GetServerSpecificationsHardwareExpansionCardOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsHardwareExpansionCardOutput) Description added in v0.40.1

Expansion card description

func (GetServerSpecificationsHardwareExpansionCardOutput) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareExpansionCardOutput) ToGetServerSpecificationsHardwareExpansionCardOutput added in v0.40.1

func (o GetServerSpecificationsHardwareExpansionCardOutput) ToGetServerSpecificationsHardwareExpansionCardOutput() GetServerSpecificationsHardwareExpansionCardOutput

func (GetServerSpecificationsHardwareExpansionCardOutput) ToGetServerSpecificationsHardwareExpansionCardOutputWithContext added in v0.40.1

func (o GetServerSpecificationsHardwareExpansionCardOutput) ToGetServerSpecificationsHardwareExpansionCardOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareExpansionCardOutput

func (GetServerSpecificationsHardwareExpansionCardOutput) Type added in v0.40.1

Expansion card type enum

type GetServerSpecificationsHardwareMemorySize added in v0.40.1

type GetServerSpecificationsHardwareMemorySize struct {
	Unit  string  `pulumi:"unit"`
	Value float64 `pulumi:"value"`
}

type GetServerSpecificationsHardwareMemorySizeArgs added in v0.40.1

type GetServerSpecificationsHardwareMemorySizeArgs struct {
	Unit  pulumi.StringInput  `pulumi:"unit"`
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetServerSpecificationsHardwareMemorySizeArgs) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareMemorySizeArgs) ToGetServerSpecificationsHardwareMemorySizeOutput added in v0.40.1

func (i GetServerSpecificationsHardwareMemorySizeArgs) ToGetServerSpecificationsHardwareMemorySizeOutput() GetServerSpecificationsHardwareMemorySizeOutput

func (GetServerSpecificationsHardwareMemorySizeArgs) ToGetServerSpecificationsHardwareMemorySizeOutputWithContext added in v0.40.1

func (i GetServerSpecificationsHardwareMemorySizeArgs) ToGetServerSpecificationsHardwareMemorySizeOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareMemorySizeOutput

type GetServerSpecificationsHardwareMemorySizeInput added in v0.40.1

type GetServerSpecificationsHardwareMemorySizeInput interface {
	pulumi.Input

	ToGetServerSpecificationsHardwareMemorySizeOutput() GetServerSpecificationsHardwareMemorySizeOutput
	ToGetServerSpecificationsHardwareMemorySizeOutputWithContext(context.Context) GetServerSpecificationsHardwareMemorySizeOutput
}

GetServerSpecificationsHardwareMemorySizeInput is an input type that accepts GetServerSpecificationsHardwareMemorySizeArgs and GetServerSpecificationsHardwareMemorySizeOutput values. You can construct a concrete instance of `GetServerSpecificationsHardwareMemorySizeInput` via:

GetServerSpecificationsHardwareMemorySizeArgs{...}

type GetServerSpecificationsHardwareMemorySizeOutput added in v0.40.1

type GetServerSpecificationsHardwareMemorySizeOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsHardwareMemorySizeOutput) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareMemorySizeOutput) ToGetServerSpecificationsHardwareMemorySizeOutput added in v0.40.1

func (o GetServerSpecificationsHardwareMemorySizeOutput) ToGetServerSpecificationsHardwareMemorySizeOutput() GetServerSpecificationsHardwareMemorySizeOutput

func (GetServerSpecificationsHardwareMemorySizeOutput) ToGetServerSpecificationsHardwareMemorySizeOutputWithContext added in v0.40.1

func (o GetServerSpecificationsHardwareMemorySizeOutput) ToGetServerSpecificationsHardwareMemorySizeOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareMemorySizeOutput

func (GetServerSpecificationsHardwareMemorySizeOutput) Unit added in v0.40.1

func (GetServerSpecificationsHardwareMemorySizeOutput) Value added in v0.40.1

type GetServerSpecificationsHardwareOutputArgs added in v0.40.1

type GetServerSpecificationsHardwareOutputArgs struct {
	// The internal name of your dedicated server.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getServerSpecificationsHardware.

func (GetServerSpecificationsHardwareOutputArgs) ElementType added in v0.40.1

type GetServerSpecificationsHardwareResult added in v0.40.1

type GetServerSpecificationsHardwareResult struct {
	// Server boot mode
	BootMode string `pulumi:"bootMode"`
	// Number of cores per processor
	CoresPerProcessor float64 `pulumi:"coresPerProcessor"`
	// Default hardware raid size for this disk group
	DefaultHardwareRaidSize GetServerSpecificationsHardwareDefaultHardwareRaidSize `pulumi:"defaultHardwareRaidSize"`
	// Default hardware raid type for this disk group
	DefaultHardwareRaidType string `pulumi:"defaultHardwareRaidType"`
	// Expansion card description
	Description string `pulumi:"description"`
	// Details about the groups of disks in the server
	DiskGroups []GetServerSpecificationsHardwareDiskGroup `pulumi:"diskGroups"`
	// Details about the server's expansion cards
	ExpansionCards []GetServerSpecificationsHardwareExpansionCard `pulumi:"expansionCards"`
	// Server form factor
	FormFactor string `pulumi:"formFactor"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// RAM capacity
	MemorySize GetServerSpecificationsHardwareMemorySize `pulumi:"memorySize"`
	// Server motherboard
	Motherboard string `pulumi:"motherboard"`
	// Number of processors in this dedicated server
	NumberOfProcessors float64 `pulumi:"numberOfProcessors"`
	// Processor architecture bit
	ProcessorArchitecture string `pulumi:"processorArchitecture"`
	// Processor name
	ProcessorName string `pulumi:"processorName"`
	ServiceName   string `pulumi:"serviceName"`
	// Number of threads per processor
	ThreadsPerProcessor float64 `pulumi:"threadsPerProcessor"`
	// Capacity of the USB keys installed on your server, if any
	UsbKeys []GetServerSpecificationsHardwareUsbKey `pulumi:"usbKeys"`
}

A collection of values returned by getServerSpecificationsHardware.

func GetServerSpecificationsHardware added in v0.40.1

Use this data source to get the hardward information about a dedicated server associated with your OVHcloud Account.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dedicated.GetServerSpecificationsHardware(ctx, &dedicated.GetServerSpecificationsHardwareArgs{
			ServiceName: "myserver",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

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

type GetServerSpecificationsHardwareResultOutput added in v0.40.1

type GetServerSpecificationsHardwareResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServerSpecificationsHardware.

func (GetServerSpecificationsHardwareResultOutput) BootMode added in v0.40.1

Server boot mode

func (GetServerSpecificationsHardwareResultOutput) CoresPerProcessor added in v0.40.1

Number of cores per processor

func (GetServerSpecificationsHardwareResultOutput) DefaultHardwareRaidSize added in v0.40.1

Default hardware raid size for this disk group

func (GetServerSpecificationsHardwareResultOutput) DefaultHardwareRaidType added in v0.40.1

Default hardware raid type for this disk group

func (GetServerSpecificationsHardwareResultOutput) Description added in v0.40.1

Expansion card description

func (GetServerSpecificationsHardwareResultOutput) DiskGroups added in v0.40.1

Details about the groups of disks in the server

func (GetServerSpecificationsHardwareResultOutput) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareResultOutput) ExpansionCards added in v0.40.1

Details about the server's expansion cards

func (GetServerSpecificationsHardwareResultOutput) FormFactor added in v0.40.1

Server form factor

func (GetServerSpecificationsHardwareResultOutput) Id added in v0.40.1

The provider-assigned unique ID for this managed resource.

func (GetServerSpecificationsHardwareResultOutput) MemorySize added in v0.40.1

RAM capacity

func (GetServerSpecificationsHardwareResultOutput) Motherboard added in v0.40.1

Server motherboard

func (GetServerSpecificationsHardwareResultOutput) NumberOfProcessors added in v0.40.1

Number of processors in this dedicated server

func (GetServerSpecificationsHardwareResultOutput) ProcessorArchitecture added in v0.40.1

Processor architecture bit

func (GetServerSpecificationsHardwareResultOutput) ProcessorName added in v0.40.1

Processor name

func (GetServerSpecificationsHardwareResultOutput) ServiceName added in v0.40.1

func (GetServerSpecificationsHardwareResultOutput) ThreadsPerProcessor added in v0.40.1

Number of threads per processor

func (GetServerSpecificationsHardwareResultOutput) ToGetServerSpecificationsHardwareResultOutput added in v0.40.1

func (o GetServerSpecificationsHardwareResultOutput) ToGetServerSpecificationsHardwareResultOutput() GetServerSpecificationsHardwareResultOutput

func (GetServerSpecificationsHardwareResultOutput) ToGetServerSpecificationsHardwareResultOutputWithContext added in v0.40.1

func (o GetServerSpecificationsHardwareResultOutput) ToGetServerSpecificationsHardwareResultOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareResultOutput

func (GetServerSpecificationsHardwareResultOutput) UsbKeys added in v0.40.1

Capacity of the USB keys installed on your server, if any

type GetServerSpecificationsHardwareUsbKey added in v0.40.1

type GetServerSpecificationsHardwareUsbKey struct {
	Unit  string  `pulumi:"unit"`
	Value float64 `pulumi:"value"`
}

type GetServerSpecificationsHardwareUsbKeyArgs added in v0.40.1

type GetServerSpecificationsHardwareUsbKeyArgs struct {
	Unit  pulumi.StringInput  `pulumi:"unit"`
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetServerSpecificationsHardwareUsbKeyArgs) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareUsbKeyArgs) ToGetServerSpecificationsHardwareUsbKeyOutput added in v0.40.1

func (i GetServerSpecificationsHardwareUsbKeyArgs) ToGetServerSpecificationsHardwareUsbKeyOutput() GetServerSpecificationsHardwareUsbKeyOutput

func (GetServerSpecificationsHardwareUsbKeyArgs) ToGetServerSpecificationsHardwareUsbKeyOutputWithContext added in v0.40.1

func (i GetServerSpecificationsHardwareUsbKeyArgs) ToGetServerSpecificationsHardwareUsbKeyOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareUsbKeyOutput

type GetServerSpecificationsHardwareUsbKeyArray added in v0.40.1

type GetServerSpecificationsHardwareUsbKeyArray []GetServerSpecificationsHardwareUsbKeyInput

func (GetServerSpecificationsHardwareUsbKeyArray) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareUsbKeyArray) ToGetServerSpecificationsHardwareUsbKeyArrayOutput added in v0.40.1

func (i GetServerSpecificationsHardwareUsbKeyArray) ToGetServerSpecificationsHardwareUsbKeyArrayOutput() GetServerSpecificationsHardwareUsbKeyArrayOutput

func (GetServerSpecificationsHardwareUsbKeyArray) ToGetServerSpecificationsHardwareUsbKeyArrayOutputWithContext added in v0.40.1

func (i GetServerSpecificationsHardwareUsbKeyArray) ToGetServerSpecificationsHardwareUsbKeyArrayOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareUsbKeyArrayOutput

type GetServerSpecificationsHardwareUsbKeyArrayInput added in v0.40.1

type GetServerSpecificationsHardwareUsbKeyArrayInput interface {
	pulumi.Input

	ToGetServerSpecificationsHardwareUsbKeyArrayOutput() GetServerSpecificationsHardwareUsbKeyArrayOutput
	ToGetServerSpecificationsHardwareUsbKeyArrayOutputWithContext(context.Context) GetServerSpecificationsHardwareUsbKeyArrayOutput
}

GetServerSpecificationsHardwareUsbKeyArrayInput is an input type that accepts GetServerSpecificationsHardwareUsbKeyArray and GetServerSpecificationsHardwareUsbKeyArrayOutput values. You can construct a concrete instance of `GetServerSpecificationsHardwareUsbKeyArrayInput` via:

GetServerSpecificationsHardwareUsbKeyArray{ GetServerSpecificationsHardwareUsbKeyArgs{...} }

type GetServerSpecificationsHardwareUsbKeyArrayOutput added in v0.40.1

type GetServerSpecificationsHardwareUsbKeyArrayOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsHardwareUsbKeyArrayOutput) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareUsbKeyArrayOutput) Index added in v0.40.1

func (GetServerSpecificationsHardwareUsbKeyArrayOutput) ToGetServerSpecificationsHardwareUsbKeyArrayOutput added in v0.40.1

func (o GetServerSpecificationsHardwareUsbKeyArrayOutput) ToGetServerSpecificationsHardwareUsbKeyArrayOutput() GetServerSpecificationsHardwareUsbKeyArrayOutput

func (GetServerSpecificationsHardwareUsbKeyArrayOutput) ToGetServerSpecificationsHardwareUsbKeyArrayOutputWithContext added in v0.40.1

func (o GetServerSpecificationsHardwareUsbKeyArrayOutput) ToGetServerSpecificationsHardwareUsbKeyArrayOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareUsbKeyArrayOutput

type GetServerSpecificationsHardwareUsbKeyInput added in v0.40.1

type GetServerSpecificationsHardwareUsbKeyInput interface {
	pulumi.Input

	ToGetServerSpecificationsHardwareUsbKeyOutput() GetServerSpecificationsHardwareUsbKeyOutput
	ToGetServerSpecificationsHardwareUsbKeyOutputWithContext(context.Context) GetServerSpecificationsHardwareUsbKeyOutput
}

GetServerSpecificationsHardwareUsbKeyInput is an input type that accepts GetServerSpecificationsHardwareUsbKeyArgs and GetServerSpecificationsHardwareUsbKeyOutput values. You can construct a concrete instance of `GetServerSpecificationsHardwareUsbKeyInput` via:

GetServerSpecificationsHardwareUsbKeyArgs{...}

type GetServerSpecificationsHardwareUsbKeyOutput added in v0.40.1

type GetServerSpecificationsHardwareUsbKeyOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsHardwareUsbKeyOutput) ElementType added in v0.40.1

func (GetServerSpecificationsHardwareUsbKeyOutput) ToGetServerSpecificationsHardwareUsbKeyOutput added in v0.40.1

func (o GetServerSpecificationsHardwareUsbKeyOutput) ToGetServerSpecificationsHardwareUsbKeyOutput() GetServerSpecificationsHardwareUsbKeyOutput

func (GetServerSpecificationsHardwareUsbKeyOutput) ToGetServerSpecificationsHardwareUsbKeyOutputWithContext added in v0.40.1

func (o GetServerSpecificationsHardwareUsbKeyOutput) ToGetServerSpecificationsHardwareUsbKeyOutputWithContext(ctx context.Context) GetServerSpecificationsHardwareUsbKeyOutput

func (GetServerSpecificationsHardwareUsbKeyOutput) Unit added in v0.40.1

func (GetServerSpecificationsHardwareUsbKeyOutput) Value added in v0.40.1

type GetServerSpecificationsNetworkArgs added in v0.43.0

type GetServerSpecificationsNetworkArgs struct {
	// The internal name of your dedicated server.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getServerSpecificationsNetwork.

type GetServerSpecificationsNetworkBandwidth added in v0.43.0

type GetServerSpecificationsNetworkBandwidth struct {
	// Bandwidth limitation Internet to OVH
	InternetToOvh GetServerSpecificationsNetworkBandwidthInternetToOvh `pulumi:"internetToOvh"`
	// Bandwidth limitation OVH to Internet
	OvhToInternet GetServerSpecificationsNetworkBandwidthOvhToInternet `pulumi:"ovhToInternet"`
	// Bandwidth limitation OVH to OVH
	OvhToOvh GetServerSpecificationsNetworkBandwidthOvhToOvh `pulumi:"ovhToOvh"`
	// Bandwidth offer type (included┃standard)
	Type string `pulumi:"type"`
}

type GetServerSpecificationsNetworkBandwidthArgs added in v0.43.0

type GetServerSpecificationsNetworkBandwidthArgs struct {
	// Bandwidth limitation Internet to OVH
	InternetToOvh GetServerSpecificationsNetworkBandwidthInternetToOvhInput `pulumi:"internetToOvh"`
	// Bandwidth limitation OVH to Internet
	OvhToInternet GetServerSpecificationsNetworkBandwidthOvhToInternetInput `pulumi:"ovhToInternet"`
	// Bandwidth limitation OVH to OVH
	OvhToOvh GetServerSpecificationsNetworkBandwidthOvhToOvhInput `pulumi:"ovhToOvh"`
	// Bandwidth offer type (included┃standard)
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetServerSpecificationsNetworkBandwidthArgs) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkBandwidthArgs) ToGetServerSpecificationsNetworkBandwidthOutput added in v0.43.0

func (i GetServerSpecificationsNetworkBandwidthArgs) ToGetServerSpecificationsNetworkBandwidthOutput() GetServerSpecificationsNetworkBandwidthOutput

func (GetServerSpecificationsNetworkBandwidthArgs) ToGetServerSpecificationsNetworkBandwidthOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkBandwidthArgs) ToGetServerSpecificationsNetworkBandwidthOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkBandwidthOutput

type GetServerSpecificationsNetworkBandwidthInput added in v0.43.0

type GetServerSpecificationsNetworkBandwidthInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkBandwidthOutput() GetServerSpecificationsNetworkBandwidthOutput
	ToGetServerSpecificationsNetworkBandwidthOutputWithContext(context.Context) GetServerSpecificationsNetworkBandwidthOutput
}

GetServerSpecificationsNetworkBandwidthInput is an input type that accepts GetServerSpecificationsNetworkBandwidthArgs and GetServerSpecificationsNetworkBandwidthOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkBandwidthInput` via:

GetServerSpecificationsNetworkBandwidthArgs{...}

type GetServerSpecificationsNetworkBandwidthInternetToOvh added in v0.43.0

type GetServerSpecificationsNetworkBandwidthInternetToOvh struct {
	Unit  string  `pulumi:"unit"`
	Value float64 `pulumi:"value"`
}

type GetServerSpecificationsNetworkBandwidthInternetToOvhArgs added in v0.43.0

type GetServerSpecificationsNetworkBandwidthInternetToOvhArgs struct {
	Unit  pulumi.StringInput  `pulumi:"unit"`
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetServerSpecificationsNetworkBandwidthInternetToOvhArgs) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkBandwidthInternetToOvhArgs) ToGetServerSpecificationsNetworkBandwidthInternetToOvhOutput added in v0.43.0

func (GetServerSpecificationsNetworkBandwidthInternetToOvhArgs) ToGetServerSpecificationsNetworkBandwidthInternetToOvhOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkBandwidthInternetToOvhArgs) ToGetServerSpecificationsNetworkBandwidthInternetToOvhOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkBandwidthInternetToOvhOutput

type GetServerSpecificationsNetworkBandwidthInternetToOvhInput added in v0.43.0

type GetServerSpecificationsNetworkBandwidthInternetToOvhInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkBandwidthInternetToOvhOutput() GetServerSpecificationsNetworkBandwidthInternetToOvhOutput
	ToGetServerSpecificationsNetworkBandwidthInternetToOvhOutputWithContext(context.Context) GetServerSpecificationsNetworkBandwidthInternetToOvhOutput
}

GetServerSpecificationsNetworkBandwidthInternetToOvhInput is an input type that accepts GetServerSpecificationsNetworkBandwidthInternetToOvhArgs and GetServerSpecificationsNetworkBandwidthInternetToOvhOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkBandwidthInternetToOvhInput` via:

GetServerSpecificationsNetworkBandwidthInternetToOvhArgs{...}

type GetServerSpecificationsNetworkBandwidthInternetToOvhOutput added in v0.43.0

type GetServerSpecificationsNetworkBandwidthInternetToOvhOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkBandwidthInternetToOvhOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkBandwidthInternetToOvhOutput) ToGetServerSpecificationsNetworkBandwidthInternetToOvhOutput added in v0.43.0

func (GetServerSpecificationsNetworkBandwidthInternetToOvhOutput) ToGetServerSpecificationsNetworkBandwidthInternetToOvhOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkBandwidthInternetToOvhOutput) ToGetServerSpecificationsNetworkBandwidthInternetToOvhOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkBandwidthInternetToOvhOutput

func (GetServerSpecificationsNetworkBandwidthInternetToOvhOutput) Unit added in v0.43.0

func (GetServerSpecificationsNetworkBandwidthInternetToOvhOutput) Value added in v0.43.0

type GetServerSpecificationsNetworkBandwidthOutput added in v0.43.0

type GetServerSpecificationsNetworkBandwidthOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkBandwidthOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkBandwidthOutput) InternetToOvh added in v0.43.0

Bandwidth limitation Internet to OVH

func (GetServerSpecificationsNetworkBandwidthOutput) OvhToInternet added in v0.43.0

Bandwidth limitation OVH to Internet

func (GetServerSpecificationsNetworkBandwidthOutput) OvhToOvh added in v0.43.0

Bandwidth limitation OVH to OVH

func (GetServerSpecificationsNetworkBandwidthOutput) ToGetServerSpecificationsNetworkBandwidthOutput added in v0.43.0

func (o GetServerSpecificationsNetworkBandwidthOutput) ToGetServerSpecificationsNetworkBandwidthOutput() GetServerSpecificationsNetworkBandwidthOutput

func (GetServerSpecificationsNetworkBandwidthOutput) ToGetServerSpecificationsNetworkBandwidthOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkBandwidthOutput) ToGetServerSpecificationsNetworkBandwidthOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkBandwidthOutput

func (GetServerSpecificationsNetworkBandwidthOutput) Type added in v0.43.0

Bandwidth offer type (included┃standard)

type GetServerSpecificationsNetworkBandwidthOvhToInternet added in v0.43.0

type GetServerSpecificationsNetworkBandwidthOvhToInternet struct {
	Unit  string  `pulumi:"unit"`
	Value float64 `pulumi:"value"`
}

type GetServerSpecificationsNetworkBandwidthOvhToInternetArgs added in v0.43.0

type GetServerSpecificationsNetworkBandwidthOvhToInternetArgs struct {
	Unit  pulumi.StringInput  `pulumi:"unit"`
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetServerSpecificationsNetworkBandwidthOvhToInternetArgs) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkBandwidthOvhToInternetArgs) ToGetServerSpecificationsNetworkBandwidthOvhToInternetOutput added in v0.43.0

func (GetServerSpecificationsNetworkBandwidthOvhToInternetArgs) ToGetServerSpecificationsNetworkBandwidthOvhToInternetOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkBandwidthOvhToInternetArgs) ToGetServerSpecificationsNetworkBandwidthOvhToInternetOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkBandwidthOvhToInternetOutput

type GetServerSpecificationsNetworkBandwidthOvhToInternetInput added in v0.43.0

type GetServerSpecificationsNetworkBandwidthOvhToInternetInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkBandwidthOvhToInternetOutput() GetServerSpecificationsNetworkBandwidthOvhToInternetOutput
	ToGetServerSpecificationsNetworkBandwidthOvhToInternetOutputWithContext(context.Context) GetServerSpecificationsNetworkBandwidthOvhToInternetOutput
}

GetServerSpecificationsNetworkBandwidthOvhToInternetInput is an input type that accepts GetServerSpecificationsNetworkBandwidthOvhToInternetArgs and GetServerSpecificationsNetworkBandwidthOvhToInternetOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkBandwidthOvhToInternetInput` via:

GetServerSpecificationsNetworkBandwidthOvhToInternetArgs{...}

type GetServerSpecificationsNetworkBandwidthOvhToInternetOutput added in v0.43.0

type GetServerSpecificationsNetworkBandwidthOvhToInternetOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkBandwidthOvhToInternetOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkBandwidthOvhToInternetOutput) ToGetServerSpecificationsNetworkBandwidthOvhToInternetOutput added in v0.43.0

func (GetServerSpecificationsNetworkBandwidthOvhToInternetOutput) ToGetServerSpecificationsNetworkBandwidthOvhToInternetOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkBandwidthOvhToInternetOutput) ToGetServerSpecificationsNetworkBandwidthOvhToInternetOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkBandwidthOvhToInternetOutput

func (GetServerSpecificationsNetworkBandwidthOvhToInternetOutput) Unit added in v0.43.0

func (GetServerSpecificationsNetworkBandwidthOvhToInternetOutput) Value added in v0.43.0

type GetServerSpecificationsNetworkBandwidthOvhToOvh added in v0.43.0

type GetServerSpecificationsNetworkBandwidthOvhToOvh struct {
	Unit  string  `pulumi:"unit"`
	Value float64 `pulumi:"value"`
}

type GetServerSpecificationsNetworkBandwidthOvhToOvhArgs added in v0.43.0

type GetServerSpecificationsNetworkBandwidthOvhToOvhArgs struct {
	Unit  pulumi.StringInput  `pulumi:"unit"`
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetServerSpecificationsNetworkBandwidthOvhToOvhArgs) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkBandwidthOvhToOvhArgs) ToGetServerSpecificationsNetworkBandwidthOvhToOvhOutput added in v0.43.0

func (i GetServerSpecificationsNetworkBandwidthOvhToOvhArgs) ToGetServerSpecificationsNetworkBandwidthOvhToOvhOutput() GetServerSpecificationsNetworkBandwidthOvhToOvhOutput

func (GetServerSpecificationsNetworkBandwidthOvhToOvhArgs) ToGetServerSpecificationsNetworkBandwidthOvhToOvhOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkBandwidthOvhToOvhArgs) ToGetServerSpecificationsNetworkBandwidthOvhToOvhOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkBandwidthOvhToOvhOutput

type GetServerSpecificationsNetworkBandwidthOvhToOvhInput added in v0.43.0

type GetServerSpecificationsNetworkBandwidthOvhToOvhInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkBandwidthOvhToOvhOutput() GetServerSpecificationsNetworkBandwidthOvhToOvhOutput
	ToGetServerSpecificationsNetworkBandwidthOvhToOvhOutputWithContext(context.Context) GetServerSpecificationsNetworkBandwidthOvhToOvhOutput
}

GetServerSpecificationsNetworkBandwidthOvhToOvhInput is an input type that accepts GetServerSpecificationsNetworkBandwidthOvhToOvhArgs and GetServerSpecificationsNetworkBandwidthOvhToOvhOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkBandwidthOvhToOvhInput` via:

GetServerSpecificationsNetworkBandwidthOvhToOvhArgs{...}

type GetServerSpecificationsNetworkBandwidthOvhToOvhOutput added in v0.43.0

type GetServerSpecificationsNetworkBandwidthOvhToOvhOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkBandwidthOvhToOvhOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkBandwidthOvhToOvhOutput) ToGetServerSpecificationsNetworkBandwidthOvhToOvhOutput added in v0.43.0

func (GetServerSpecificationsNetworkBandwidthOvhToOvhOutput) ToGetServerSpecificationsNetworkBandwidthOvhToOvhOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkBandwidthOvhToOvhOutput) ToGetServerSpecificationsNetworkBandwidthOvhToOvhOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkBandwidthOvhToOvhOutput

func (GetServerSpecificationsNetworkBandwidthOvhToOvhOutput) Unit added in v0.43.0

func (GetServerSpecificationsNetworkBandwidthOvhToOvhOutput) Value added in v0.43.0

type GetServerSpecificationsNetworkConnectionVal added in v0.43.0

type GetServerSpecificationsNetworkConnectionVal struct {
	Unit  string  `pulumi:"unit"`
	Value float64 `pulumi:"value"`
}

type GetServerSpecificationsNetworkConnectionValArgs added in v0.43.0

type GetServerSpecificationsNetworkConnectionValArgs struct {
	Unit  pulumi.StringInput  `pulumi:"unit"`
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetServerSpecificationsNetworkConnectionValArgs) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkConnectionValArgs) ToGetServerSpecificationsNetworkConnectionValOutput added in v0.43.0

func (i GetServerSpecificationsNetworkConnectionValArgs) ToGetServerSpecificationsNetworkConnectionValOutput() GetServerSpecificationsNetworkConnectionValOutput

func (GetServerSpecificationsNetworkConnectionValArgs) ToGetServerSpecificationsNetworkConnectionValOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkConnectionValArgs) ToGetServerSpecificationsNetworkConnectionValOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkConnectionValOutput

type GetServerSpecificationsNetworkConnectionValInput added in v0.43.0

type GetServerSpecificationsNetworkConnectionValInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkConnectionValOutput() GetServerSpecificationsNetworkConnectionValOutput
	ToGetServerSpecificationsNetworkConnectionValOutputWithContext(context.Context) GetServerSpecificationsNetworkConnectionValOutput
}

GetServerSpecificationsNetworkConnectionValInput is an input type that accepts GetServerSpecificationsNetworkConnectionValArgs and GetServerSpecificationsNetworkConnectionValOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkConnectionValInput` via:

GetServerSpecificationsNetworkConnectionValArgs{...}

type GetServerSpecificationsNetworkConnectionValOutput added in v0.43.0

type GetServerSpecificationsNetworkConnectionValOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkConnectionValOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkConnectionValOutput) ToGetServerSpecificationsNetworkConnectionValOutput added in v0.43.0

func (o GetServerSpecificationsNetworkConnectionValOutput) ToGetServerSpecificationsNetworkConnectionValOutput() GetServerSpecificationsNetworkConnectionValOutput

func (GetServerSpecificationsNetworkConnectionValOutput) ToGetServerSpecificationsNetworkConnectionValOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkConnectionValOutput) ToGetServerSpecificationsNetworkConnectionValOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkConnectionValOutput

func (GetServerSpecificationsNetworkConnectionValOutput) Unit added in v0.43.0

func (GetServerSpecificationsNetworkConnectionValOutput) Value added in v0.43.0

type GetServerSpecificationsNetworkOla added in v0.43.0

type GetServerSpecificationsNetworkOla struct {
	// Is the OLA feature available
	Available bool `pulumi:"available"`
	// Supported modes
	AvailableModes []GetServerSpecificationsNetworkOlaAvailableMode `pulumi:"availableModes"`
	// Supported modes (DEPRECATED)
	SupportedModes []string `pulumi:"supportedModes"`
}

type GetServerSpecificationsNetworkOlaArgs added in v0.43.0

type GetServerSpecificationsNetworkOlaArgs struct {
	// Is the OLA feature available
	Available pulumi.BoolInput `pulumi:"available"`
	// Supported modes
	AvailableModes GetServerSpecificationsNetworkOlaAvailableModeArrayInput `pulumi:"availableModes"`
	// Supported modes (DEPRECATED)
	SupportedModes pulumi.StringArrayInput `pulumi:"supportedModes"`
}

func (GetServerSpecificationsNetworkOlaArgs) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkOlaArgs) ToGetServerSpecificationsNetworkOlaOutput added in v0.43.0

func (i GetServerSpecificationsNetworkOlaArgs) ToGetServerSpecificationsNetworkOlaOutput() GetServerSpecificationsNetworkOlaOutput

func (GetServerSpecificationsNetworkOlaArgs) ToGetServerSpecificationsNetworkOlaOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkOlaArgs) ToGetServerSpecificationsNetworkOlaOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkOlaOutput

type GetServerSpecificationsNetworkOlaAvailableMode added in v0.43.0

type GetServerSpecificationsNetworkOlaAvailableMode struct {
	// Whether it is the default configuration of the server
	Default bool `pulumi:"default"`
	// Interface layout
	Interfaces []GetServerSpecificationsNetworkOlaAvailableModeInterface `pulumi:"interfaces"`
	// Switch name
	Name string `pulumi:"name"`
}

type GetServerSpecificationsNetworkOlaAvailableModeArgs added in v0.43.0

type GetServerSpecificationsNetworkOlaAvailableModeArgs struct {
	// Whether it is the default configuration of the server
	Default pulumi.BoolInput `pulumi:"default"`
	// Interface layout
	Interfaces GetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayInput `pulumi:"interfaces"`
	// Switch name
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetServerSpecificationsNetworkOlaAvailableModeArgs) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkOlaAvailableModeArgs) ToGetServerSpecificationsNetworkOlaAvailableModeOutput added in v0.43.0

func (i GetServerSpecificationsNetworkOlaAvailableModeArgs) ToGetServerSpecificationsNetworkOlaAvailableModeOutput() GetServerSpecificationsNetworkOlaAvailableModeOutput

func (GetServerSpecificationsNetworkOlaAvailableModeArgs) ToGetServerSpecificationsNetworkOlaAvailableModeOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkOlaAvailableModeArgs) ToGetServerSpecificationsNetworkOlaAvailableModeOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkOlaAvailableModeOutput

type GetServerSpecificationsNetworkOlaAvailableModeArray added in v0.43.0

type GetServerSpecificationsNetworkOlaAvailableModeArray []GetServerSpecificationsNetworkOlaAvailableModeInput

func (GetServerSpecificationsNetworkOlaAvailableModeArray) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkOlaAvailableModeArray) ToGetServerSpecificationsNetworkOlaAvailableModeArrayOutput added in v0.43.0

func (i GetServerSpecificationsNetworkOlaAvailableModeArray) ToGetServerSpecificationsNetworkOlaAvailableModeArrayOutput() GetServerSpecificationsNetworkOlaAvailableModeArrayOutput

func (GetServerSpecificationsNetworkOlaAvailableModeArray) ToGetServerSpecificationsNetworkOlaAvailableModeArrayOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkOlaAvailableModeArray) ToGetServerSpecificationsNetworkOlaAvailableModeArrayOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkOlaAvailableModeArrayOutput

type GetServerSpecificationsNetworkOlaAvailableModeArrayInput added in v0.43.0

type GetServerSpecificationsNetworkOlaAvailableModeArrayInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkOlaAvailableModeArrayOutput() GetServerSpecificationsNetworkOlaAvailableModeArrayOutput
	ToGetServerSpecificationsNetworkOlaAvailableModeArrayOutputWithContext(context.Context) GetServerSpecificationsNetworkOlaAvailableModeArrayOutput
}

GetServerSpecificationsNetworkOlaAvailableModeArrayInput is an input type that accepts GetServerSpecificationsNetworkOlaAvailableModeArray and GetServerSpecificationsNetworkOlaAvailableModeArrayOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkOlaAvailableModeArrayInput` via:

GetServerSpecificationsNetworkOlaAvailableModeArray{ GetServerSpecificationsNetworkOlaAvailableModeArgs{...} }

type GetServerSpecificationsNetworkOlaAvailableModeArrayOutput added in v0.43.0

type GetServerSpecificationsNetworkOlaAvailableModeArrayOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkOlaAvailableModeArrayOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkOlaAvailableModeArrayOutput) Index added in v0.43.0

func (GetServerSpecificationsNetworkOlaAvailableModeArrayOutput) ToGetServerSpecificationsNetworkOlaAvailableModeArrayOutput added in v0.43.0

func (GetServerSpecificationsNetworkOlaAvailableModeArrayOutput) ToGetServerSpecificationsNetworkOlaAvailableModeArrayOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkOlaAvailableModeArrayOutput) ToGetServerSpecificationsNetworkOlaAvailableModeArrayOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkOlaAvailableModeArrayOutput

type GetServerSpecificationsNetworkOlaAvailableModeInput added in v0.43.0

type GetServerSpecificationsNetworkOlaAvailableModeInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkOlaAvailableModeOutput() GetServerSpecificationsNetworkOlaAvailableModeOutput
	ToGetServerSpecificationsNetworkOlaAvailableModeOutputWithContext(context.Context) GetServerSpecificationsNetworkOlaAvailableModeOutput
}

GetServerSpecificationsNetworkOlaAvailableModeInput is an input type that accepts GetServerSpecificationsNetworkOlaAvailableModeArgs and GetServerSpecificationsNetworkOlaAvailableModeOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkOlaAvailableModeInput` via:

GetServerSpecificationsNetworkOlaAvailableModeArgs{...}

type GetServerSpecificationsNetworkOlaAvailableModeInterface added in v0.43.0

type GetServerSpecificationsNetworkOlaAvailableModeInterface struct {
	// Interface aggregation status
	Aggregation bool `pulumi:"aggregation"`
	// Interface count
	Count float64 `pulumi:"count"`
	// Bandwidth offer type (included┃standard)
	Type string `pulumi:"type"`
}

type GetServerSpecificationsNetworkOlaAvailableModeInterfaceArgs added in v0.43.0

type GetServerSpecificationsNetworkOlaAvailableModeInterfaceArgs struct {
	// Interface aggregation status
	Aggregation pulumi.BoolInput `pulumi:"aggregation"`
	// Interface count
	Count pulumi.Float64Input `pulumi:"count"`
	// Bandwidth offer type (included┃standard)
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetServerSpecificationsNetworkOlaAvailableModeInterfaceArgs) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkOlaAvailableModeInterfaceArgs) ToGetServerSpecificationsNetworkOlaAvailableModeInterfaceOutput added in v0.43.0

func (GetServerSpecificationsNetworkOlaAvailableModeInterfaceArgs) ToGetServerSpecificationsNetworkOlaAvailableModeInterfaceOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkOlaAvailableModeInterfaceArgs) ToGetServerSpecificationsNetworkOlaAvailableModeInterfaceOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkOlaAvailableModeInterfaceOutput

type GetServerSpecificationsNetworkOlaAvailableModeInterfaceArray added in v0.43.0

type GetServerSpecificationsNetworkOlaAvailableModeInterfaceArray []GetServerSpecificationsNetworkOlaAvailableModeInterfaceInput

func (GetServerSpecificationsNetworkOlaAvailableModeInterfaceArray) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkOlaAvailableModeInterfaceArray) ToGetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput added in v0.43.0

func (GetServerSpecificationsNetworkOlaAvailableModeInterfaceArray) ToGetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkOlaAvailableModeInterfaceArray) ToGetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput

type GetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayInput added in v0.43.0

type GetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput() GetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput
	ToGetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutputWithContext(context.Context) GetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput
}

GetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayInput is an input type that accepts GetServerSpecificationsNetworkOlaAvailableModeInterfaceArray and GetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayInput` via:

GetServerSpecificationsNetworkOlaAvailableModeInterfaceArray{ GetServerSpecificationsNetworkOlaAvailableModeInterfaceArgs{...} }

type GetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput added in v0.43.0

type GetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput) Index added in v0.43.0

func (GetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput) ToGetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput added in v0.43.0

func (GetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput) ToGetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput) ToGetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput

type GetServerSpecificationsNetworkOlaAvailableModeInterfaceInput added in v0.43.0

type GetServerSpecificationsNetworkOlaAvailableModeInterfaceInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkOlaAvailableModeInterfaceOutput() GetServerSpecificationsNetworkOlaAvailableModeInterfaceOutput
	ToGetServerSpecificationsNetworkOlaAvailableModeInterfaceOutputWithContext(context.Context) GetServerSpecificationsNetworkOlaAvailableModeInterfaceOutput
}

GetServerSpecificationsNetworkOlaAvailableModeInterfaceInput is an input type that accepts GetServerSpecificationsNetworkOlaAvailableModeInterfaceArgs and GetServerSpecificationsNetworkOlaAvailableModeInterfaceOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkOlaAvailableModeInterfaceInput` via:

GetServerSpecificationsNetworkOlaAvailableModeInterfaceArgs{...}

type GetServerSpecificationsNetworkOlaAvailableModeInterfaceOutput added in v0.43.0

type GetServerSpecificationsNetworkOlaAvailableModeInterfaceOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkOlaAvailableModeInterfaceOutput) Aggregation added in v0.43.0

Interface aggregation status

func (GetServerSpecificationsNetworkOlaAvailableModeInterfaceOutput) Count added in v0.43.0

Interface count

func (GetServerSpecificationsNetworkOlaAvailableModeInterfaceOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkOlaAvailableModeInterfaceOutput) ToGetServerSpecificationsNetworkOlaAvailableModeInterfaceOutput added in v0.43.0

func (GetServerSpecificationsNetworkOlaAvailableModeInterfaceOutput) ToGetServerSpecificationsNetworkOlaAvailableModeInterfaceOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkOlaAvailableModeInterfaceOutput) ToGetServerSpecificationsNetworkOlaAvailableModeInterfaceOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkOlaAvailableModeInterfaceOutput

func (GetServerSpecificationsNetworkOlaAvailableModeInterfaceOutput) Type added in v0.43.0

Bandwidth offer type (included┃standard)

type GetServerSpecificationsNetworkOlaAvailableModeOutput added in v0.43.0

type GetServerSpecificationsNetworkOlaAvailableModeOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkOlaAvailableModeOutput) Default added in v0.43.0

Whether it is the default configuration of the server

func (GetServerSpecificationsNetworkOlaAvailableModeOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkOlaAvailableModeOutput) Interfaces added in v0.43.0

Interface layout

func (GetServerSpecificationsNetworkOlaAvailableModeOutput) Name added in v0.43.0

Switch name

func (GetServerSpecificationsNetworkOlaAvailableModeOutput) ToGetServerSpecificationsNetworkOlaAvailableModeOutput added in v0.43.0

func (GetServerSpecificationsNetworkOlaAvailableModeOutput) ToGetServerSpecificationsNetworkOlaAvailableModeOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkOlaAvailableModeOutput) ToGetServerSpecificationsNetworkOlaAvailableModeOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkOlaAvailableModeOutput

type GetServerSpecificationsNetworkOlaInput added in v0.43.0

type GetServerSpecificationsNetworkOlaInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkOlaOutput() GetServerSpecificationsNetworkOlaOutput
	ToGetServerSpecificationsNetworkOlaOutputWithContext(context.Context) GetServerSpecificationsNetworkOlaOutput
}

GetServerSpecificationsNetworkOlaInput is an input type that accepts GetServerSpecificationsNetworkOlaArgs and GetServerSpecificationsNetworkOlaOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkOlaInput` via:

GetServerSpecificationsNetworkOlaArgs{...}

type GetServerSpecificationsNetworkOlaOutput added in v0.43.0

type GetServerSpecificationsNetworkOlaOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkOlaOutput) Available added in v0.43.0

Is the OLA feature available

func (GetServerSpecificationsNetworkOlaOutput) AvailableModes added in v0.43.0

Supported modes

func (GetServerSpecificationsNetworkOlaOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkOlaOutput) SupportedModes added in v0.43.0

Supported modes (DEPRECATED)

func (GetServerSpecificationsNetworkOlaOutput) ToGetServerSpecificationsNetworkOlaOutput added in v0.43.0

func (o GetServerSpecificationsNetworkOlaOutput) ToGetServerSpecificationsNetworkOlaOutput() GetServerSpecificationsNetworkOlaOutput

func (GetServerSpecificationsNetworkOlaOutput) ToGetServerSpecificationsNetworkOlaOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkOlaOutput) ToGetServerSpecificationsNetworkOlaOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkOlaOutput

type GetServerSpecificationsNetworkOutputArgs added in v0.43.0

type GetServerSpecificationsNetworkOutputArgs struct {
	// The internal name of your dedicated server.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getServerSpecificationsNetwork.

func (GetServerSpecificationsNetworkOutputArgs) ElementType added in v0.43.0

type GetServerSpecificationsNetworkResult added in v0.43.0

type GetServerSpecificationsNetworkResult struct {
	// vrack bandwidth limitation
	Bandwidth GetServerSpecificationsNetworkBandwidth `pulumi:"bandwidth"`
	// Network connection flow rate
	ConnectionVal GetServerSpecificationsNetworkConnectionVal `pulumi:"connectionVal"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// OLA details
	Ola GetServerSpecificationsNetworkOla `pulumi:"ola"`
	// Routing details
	Routing     GetServerSpecificationsNetworkRouting `pulumi:"routing"`
	ServiceName string                                `pulumi:"serviceName"`
	// Switching details
	Switching GetServerSpecificationsNetworkSwitching `pulumi:"switching"`
	// Traffic details
	Traffic GetServerSpecificationsNetworkTraffic `pulumi:"traffic"`
	// VMAC information for this dedicated server
	Vmac GetServerSpecificationsNetworkVmac `pulumi:"vmac"`
	// vRack details
	Vrack GetServerSpecificationsNetworkVrack `pulumi:"vrack"`
}

A collection of values returned by getServerSpecificationsNetwork.

func GetServerSpecificationsNetwork added in v0.43.0

Use this data source to get the network information about a dedicated server associated with your OVHcloud Account.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dedicated.GetServerSpecificationsNetwork(ctx, &dedicated.GetServerSpecificationsNetworkArgs{
			ServiceName: "myserver",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

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

type GetServerSpecificationsNetworkResultOutput added in v0.43.0

type GetServerSpecificationsNetworkResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServerSpecificationsNetwork.

func (GetServerSpecificationsNetworkResultOutput) Bandwidth added in v0.43.0

vrack bandwidth limitation

func (GetServerSpecificationsNetworkResultOutput) ConnectionVal added in v0.43.0

Network connection flow rate

func (GetServerSpecificationsNetworkResultOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkResultOutput) Id added in v0.43.0

The provider-assigned unique ID for this managed resource.

func (GetServerSpecificationsNetworkResultOutput) Ola added in v0.43.0

OLA details

func (GetServerSpecificationsNetworkResultOutput) Routing added in v0.43.0

Routing details

func (GetServerSpecificationsNetworkResultOutput) ServiceName added in v0.43.0

func (GetServerSpecificationsNetworkResultOutput) Switching added in v0.43.0

Switching details

func (GetServerSpecificationsNetworkResultOutput) ToGetServerSpecificationsNetworkResultOutput added in v0.43.0

func (o GetServerSpecificationsNetworkResultOutput) ToGetServerSpecificationsNetworkResultOutput() GetServerSpecificationsNetworkResultOutput

func (GetServerSpecificationsNetworkResultOutput) ToGetServerSpecificationsNetworkResultOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkResultOutput) ToGetServerSpecificationsNetworkResultOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkResultOutput

func (GetServerSpecificationsNetworkResultOutput) Traffic added in v0.43.0

Traffic details

func (GetServerSpecificationsNetworkResultOutput) Vmac added in v0.43.0

VMAC information for this dedicated server

func (GetServerSpecificationsNetworkResultOutput) Vrack added in v0.43.0

vRack details

type GetServerSpecificationsNetworkRouting added in v0.43.0

type GetServerSpecificationsNetworkRouting struct {
	// Ipv4 routing details
	Ipv4 GetServerSpecificationsNetworkRoutingIpv4 `pulumi:"ipv4"`
	// Ipv6 routing details
	Ipv6 GetServerSpecificationsNetworkRoutingIpv6 `pulumi:"ipv6"`
}

type GetServerSpecificationsNetworkRoutingArgs added in v0.43.0

type GetServerSpecificationsNetworkRoutingArgs struct {
	// Ipv4 routing details
	Ipv4 GetServerSpecificationsNetworkRoutingIpv4Input `pulumi:"ipv4"`
	// Ipv6 routing details
	Ipv6 GetServerSpecificationsNetworkRoutingIpv6Input `pulumi:"ipv6"`
}

func (GetServerSpecificationsNetworkRoutingArgs) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkRoutingArgs) ToGetServerSpecificationsNetworkRoutingOutput added in v0.43.0

func (i GetServerSpecificationsNetworkRoutingArgs) ToGetServerSpecificationsNetworkRoutingOutput() GetServerSpecificationsNetworkRoutingOutput

func (GetServerSpecificationsNetworkRoutingArgs) ToGetServerSpecificationsNetworkRoutingOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkRoutingArgs) ToGetServerSpecificationsNetworkRoutingOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkRoutingOutput

type GetServerSpecificationsNetworkRoutingInput added in v0.43.0

type GetServerSpecificationsNetworkRoutingInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkRoutingOutput() GetServerSpecificationsNetworkRoutingOutput
	ToGetServerSpecificationsNetworkRoutingOutputWithContext(context.Context) GetServerSpecificationsNetworkRoutingOutput
}

GetServerSpecificationsNetworkRoutingInput is an input type that accepts GetServerSpecificationsNetworkRoutingArgs and GetServerSpecificationsNetworkRoutingOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkRoutingInput` via:

GetServerSpecificationsNetworkRoutingArgs{...}

type GetServerSpecificationsNetworkRoutingIpv4 added in v0.43.0

type GetServerSpecificationsNetworkRoutingIpv4 struct {
	// Server gateway
	Gateway string `pulumi:"gateway"`
	// Server main IP
	Ip string `pulumi:"ip"`
	// Server network
	Network string `pulumi:"network"`
}

type GetServerSpecificationsNetworkRoutingIpv4Args added in v0.43.0

type GetServerSpecificationsNetworkRoutingIpv4Args struct {
	// Server gateway
	Gateway pulumi.StringInput `pulumi:"gateway"`
	// Server main IP
	Ip pulumi.StringInput `pulumi:"ip"`
	// Server network
	Network pulumi.StringInput `pulumi:"network"`
}

func (GetServerSpecificationsNetworkRoutingIpv4Args) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkRoutingIpv4Args) ToGetServerSpecificationsNetworkRoutingIpv4Output added in v0.43.0

func (i GetServerSpecificationsNetworkRoutingIpv4Args) ToGetServerSpecificationsNetworkRoutingIpv4Output() GetServerSpecificationsNetworkRoutingIpv4Output

func (GetServerSpecificationsNetworkRoutingIpv4Args) ToGetServerSpecificationsNetworkRoutingIpv4OutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkRoutingIpv4Args) ToGetServerSpecificationsNetworkRoutingIpv4OutputWithContext(ctx context.Context) GetServerSpecificationsNetworkRoutingIpv4Output

type GetServerSpecificationsNetworkRoutingIpv4Input added in v0.43.0

type GetServerSpecificationsNetworkRoutingIpv4Input interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkRoutingIpv4Output() GetServerSpecificationsNetworkRoutingIpv4Output
	ToGetServerSpecificationsNetworkRoutingIpv4OutputWithContext(context.Context) GetServerSpecificationsNetworkRoutingIpv4Output
}

GetServerSpecificationsNetworkRoutingIpv4Input is an input type that accepts GetServerSpecificationsNetworkRoutingIpv4Args and GetServerSpecificationsNetworkRoutingIpv4Output values. You can construct a concrete instance of `GetServerSpecificationsNetworkRoutingIpv4Input` via:

GetServerSpecificationsNetworkRoutingIpv4Args{...}

type GetServerSpecificationsNetworkRoutingIpv4Output added in v0.43.0

type GetServerSpecificationsNetworkRoutingIpv4Output struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkRoutingIpv4Output) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkRoutingIpv4Output) Gateway added in v0.43.0

Server gateway

func (GetServerSpecificationsNetworkRoutingIpv4Output) Ip added in v0.43.0

Server main IP

func (GetServerSpecificationsNetworkRoutingIpv4Output) Network added in v0.43.0

Server network

func (GetServerSpecificationsNetworkRoutingIpv4Output) ToGetServerSpecificationsNetworkRoutingIpv4Output added in v0.43.0

func (o GetServerSpecificationsNetworkRoutingIpv4Output) ToGetServerSpecificationsNetworkRoutingIpv4Output() GetServerSpecificationsNetworkRoutingIpv4Output

func (GetServerSpecificationsNetworkRoutingIpv4Output) ToGetServerSpecificationsNetworkRoutingIpv4OutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkRoutingIpv4Output) ToGetServerSpecificationsNetworkRoutingIpv4OutputWithContext(ctx context.Context) GetServerSpecificationsNetworkRoutingIpv4Output

type GetServerSpecificationsNetworkRoutingIpv6 added in v0.43.0

type GetServerSpecificationsNetworkRoutingIpv6 struct {
	// Server gateway
	Gateway string `pulumi:"gateway"`
	// Server main IP
	Ip string `pulumi:"ip"`
	// Server network
	Network string `pulumi:"network"`
}

type GetServerSpecificationsNetworkRoutingIpv6Args added in v0.43.0

type GetServerSpecificationsNetworkRoutingIpv6Args struct {
	// Server gateway
	Gateway pulumi.StringInput `pulumi:"gateway"`
	// Server main IP
	Ip pulumi.StringInput `pulumi:"ip"`
	// Server network
	Network pulumi.StringInput `pulumi:"network"`
}

func (GetServerSpecificationsNetworkRoutingIpv6Args) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkRoutingIpv6Args) ToGetServerSpecificationsNetworkRoutingIpv6Output added in v0.43.0

func (i GetServerSpecificationsNetworkRoutingIpv6Args) ToGetServerSpecificationsNetworkRoutingIpv6Output() GetServerSpecificationsNetworkRoutingIpv6Output

func (GetServerSpecificationsNetworkRoutingIpv6Args) ToGetServerSpecificationsNetworkRoutingIpv6OutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkRoutingIpv6Args) ToGetServerSpecificationsNetworkRoutingIpv6OutputWithContext(ctx context.Context) GetServerSpecificationsNetworkRoutingIpv6Output

type GetServerSpecificationsNetworkRoutingIpv6Input added in v0.43.0

type GetServerSpecificationsNetworkRoutingIpv6Input interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkRoutingIpv6Output() GetServerSpecificationsNetworkRoutingIpv6Output
	ToGetServerSpecificationsNetworkRoutingIpv6OutputWithContext(context.Context) GetServerSpecificationsNetworkRoutingIpv6Output
}

GetServerSpecificationsNetworkRoutingIpv6Input is an input type that accepts GetServerSpecificationsNetworkRoutingIpv6Args and GetServerSpecificationsNetworkRoutingIpv6Output values. You can construct a concrete instance of `GetServerSpecificationsNetworkRoutingIpv6Input` via:

GetServerSpecificationsNetworkRoutingIpv6Args{...}

type GetServerSpecificationsNetworkRoutingIpv6Output added in v0.43.0

type GetServerSpecificationsNetworkRoutingIpv6Output struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkRoutingIpv6Output) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkRoutingIpv6Output) Gateway added in v0.43.0

Server gateway

func (GetServerSpecificationsNetworkRoutingIpv6Output) Ip added in v0.43.0

Server main IP

func (GetServerSpecificationsNetworkRoutingIpv6Output) Network added in v0.43.0

Server network

func (GetServerSpecificationsNetworkRoutingIpv6Output) ToGetServerSpecificationsNetworkRoutingIpv6Output added in v0.43.0

func (o GetServerSpecificationsNetworkRoutingIpv6Output) ToGetServerSpecificationsNetworkRoutingIpv6Output() GetServerSpecificationsNetworkRoutingIpv6Output

func (GetServerSpecificationsNetworkRoutingIpv6Output) ToGetServerSpecificationsNetworkRoutingIpv6OutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkRoutingIpv6Output) ToGetServerSpecificationsNetworkRoutingIpv6OutputWithContext(ctx context.Context) GetServerSpecificationsNetworkRoutingIpv6Output

type GetServerSpecificationsNetworkRoutingOutput added in v0.43.0

type GetServerSpecificationsNetworkRoutingOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkRoutingOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkRoutingOutput) Ipv4 added in v0.43.0

Ipv4 routing details

func (GetServerSpecificationsNetworkRoutingOutput) Ipv6 added in v0.43.0

Ipv6 routing details

func (GetServerSpecificationsNetworkRoutingOutput) ToGetServerSpecificationsNetworkRoutingOutput added in v0.43.0

func (o GetServerSpecificationsNetworkRoutingOutput) ToGetServerSpecificationsNetworkRoutingOutput() GetServerSpecificationsNetworkRoutingOutput

func (GetServerSpecificationsNetworkRoutingOutput) ToGetServerSpecificationsNetworkRoutingOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkRoutingOutput) ToGetServerSpecificationsNetworkRoutingOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkRoutingOutput

type GetServerSpecificationsNetworkSwitching added in v0.43.0

type GetServerSpecificationsNetworkSwitching struct {
	// Switch name
	Name string `pulumi:"name"`
}

type GetServerSpecificationsNetworkSwitchingArgs added in v0.43.0

type GetServerSpecificationsNetworkSwitchingArgs struct {
	// Switch name
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetServerSpecificationsNetworkSwitchingArgs) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkSwitchingArgs) ToGetServerSpecificationsNetworkSwitchingOutput added in v0.43.0

func (i GetServerSpecificationsNetworkSwitchingArgs) ToGetServerSpecificationsNetworkSwitchingOutput() GetServerSpecificationsNetworkSwitchingOutput

func (GetServerSpecificationsNetworkSwitchingArgs) ToGetServerSpecificationsNetworkSwitchingOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkSwitchingArgs) ToGetServerSpecificationsNetworkSwitchingOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkSwitchingOutput

type GetServerSpecificationsNetworkSwitchingInput added in v0.43.0

type GetServerSpecificationsNetworkSwitchingInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkSwitchingOutput() GetServerSpecificationsNetworkSwitchingOutput
	ToGetServerSpecificationsNetworkSwitchingOutputWithContext(context.Context) GetServerSpecificationsNetworkSwitchingOutput
}

GetServerSpecificationsNetworkSwitchingInput is an input type that accepts GetServerSpecificationsNetworkSwitchingArgs and GetServerSpecificationsNetworkSwitchingOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkSwitchingInput` via:

GetServerSpecificationsNetworkSwitchingArgs{...}

type GetServerSpecificationsNetworkSwitchingOutput added in v0.43.0

type GetServerSpecificationsNetworkSwitchingOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkSwitchingOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkSwitchingOutput) Name added in v0.43.0

Switch name

func (GetServerSpecificationsNetworkSwitchingOutput) ToGetServerSpecificationsNetworkSwitchingOutput added in v0.43.0

func (o GetServerSpecificationsNetworkSwitchingOutput) ToGetServerSpecificationsNetworkSwitchingOutput() GetServerSpecificationsNetworkSwitchingOutput

func (GetServerSpecificationsNetworkSwitchingOutput) ToGetServerSpecificationsNetworkSwitchingOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkSwitchingOutput) ToGetServerSpecificationsNetworkSwitchingOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkSwitchingOutput

type GetServerSpecificationsNetworkTraffic added in v0.43.0

type GetServerSpecificationsNetworkTraffic struct {
	// Monthly input traffic quota allowed
	InputQuotaSize GetServerSpecificationsNetworkTrafficInputQuotaSize `pulumi:"inputQuotaSize"`
	// Monthly input traffic consumed this month
	InputQuotaUsed GetServerSpecificationsNetworkTrafficInputQuotaUsed `pulumi:"inputQuotaUsed"`
	// Whether bandwidth is throttleted for being over quota
	IsThrottled bool `pulumi:"isThrottled"`
	// Monthly output traffic quota allowed
	OutputQuotaSize GetServerSpecificationsNetworkTrafficOutputQuotaSize `pulumi:"outputQuotaSize"`
	// Monthly output traffic consumed this month
	OutputQuotaUsed GetServerSpecificationsNetworkTrafficOutputQuotaUsed `pulumi:"outputQuotaUsed"`
	// Next reset quota date for traffic counter
	ResetQuotaDate string `pulumi:"resetQuotaDate"`
}

type GetServerSpecificationsNetworkTrafficArgs added in v0.43.0

type GetServerSpecificationsNetworkTrafficArgs struct {
	// Monthly input traffic quota allowed
	InputQuotaSize GetServerSpecificationsNetworkTrafficInputQuotaSizeInput `pulumi:"inputQuotaSize"`
	// Monthly input traffic consumed this month
	InputQuotaUsed GetServerSpecificationsNetworkTrafficInputQuotaUsedInput `pulumi:"inputQuotaUsed"`
	// Whether bandwidth is throttleted for being over quota
	IsThrottled pulumi.BoolInput `pulumi:"isThrottled"`
	// Monthly output traffic quota allowed
	OutputQuotaSize GetServerSpecificationsNetworkTrafficOutputQuotaSizeInput `pulumi:"outputQuotaSize"`
	// Monthly output traffic consumed this month
	OutputQuotaUsed GetServerSpecificationsNetworkTrafficOutputQuotaUsedInput `pulumi:"outputQuotaUsed"`
	// Next reset quota date for traffic counter
	ResetQuotaDate pulumi.StringInput `pulumi:"resetQuotaDate"`
}

func (GetServerSpecificationsNetworkTrafficArgs) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkTrafficArgs) ToGetServerSpecificationsNetworkTrafficOutput added in v0.43.0

func (i GetServerSpecificationsNetworkTrafficArgs) ToGetServerSpecificationsNetworkTrafficOutput() GetServerSpecificationsNetworkTrafficOutput

func (GetServerSpecificationsNetworkTrafficArgs) ToGetServerSpecificationsNetworkTrafficOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkTrafficArgs) ToGetServerSpecificationsNetworkTrafficOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkTrafficOutput

type GetServerSpecificationsNetworkTrafficInput added in v0.43.0

type GetServerSpecificationsNetworkTrafficInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkTrafficOutput() GetServerSpecificationsNetworkTrafficOutput
	ToGetServerSpecificationsNetworkTrafficOutputWithContext(context.Context) GetServerSpecificationsNetworkTrafficOutput
}

GetServerSpecificationsNetworkTrafficInput is an input type that accepts GetServerSpecificationsNetworkTrafficArgs and GetServerSpecificationsNetworkTrafficOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkTrafficInput` via:

GetServerSpecificationsNetworkTrafficArgs{...}

type GetServerSpecificationsNetworkTrafficInputQuotaSize added in v0.43.0

type GetServerSpecificationsNetworkTrafficInputQuotaSize struct {
	Unit  string  `pulumi:"unit"`
	Value float64 `pulumi:"value"`
}

type GetServerSpecificationsNetworkTrafficInputQuotaSizeArgs added in v0.43.0

type GetServerSpecificationsNetworkTrafficInputQuotaSizeArgs struct {
	Unit  pulumi.StringInput  `pulumi:"unit"`
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetServerSpecificationsNetworkTrafficInputQuotaSizeArgs) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkTrafficInputQuotaSizeArgs) ToGetServerSpecificationsNetworkTrafficInputQuotaSizeOutput added in v0.43.0

func (GetServerSpecificationsNetworkTrafficInputQuotaSizeArgs) ToGetServerSpecificationsNetworkTrafficInputQuotaSizeOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkTrafficInputQuotaSizeArgs) ToGetServerSpecificationsNetworkTrafficInputQuotaSizeOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkTrafficInputQuotaSizeOutput

type GetServerSpecificationsNetworkTrafficInputQuotaSizeInput added in v0.43.0

type GetServerSpecificationsNetworkTrafficInputQuotaSizeInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkTrafficInputQuotaSizeOutput() GetServerSpecificationsNetworkTrafficInputQuotaSizeOutput
	ToGetServerSpecificationsNetworkTrafficInputQuotaSizeOutputWithContext(context.Context) GetServerSpecificationsNetworkTrafficInputQuotaSizeOutput
}

GetServerSpecificationsNetworkTrafficInputQuotaSizeInput is an input type that accepts GetServerSpecificationsNetworkTrafficInputQuotaSizeArgs and GetServerSpecificationsNetworkTrafficInputQuotaSizeOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkTrafficInputQuotaSizeInput` via:

GetServerSpecificationsNetworkTrafficInputQuotaSizeArgs{...}

type GetServerSpecificationsNetworkTrafficInputQuotaSizeOutput added in v0.43.0

type GetServerSpecificationsNetworkTrafficInputQuotaSizeOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkTrafficInputQuotaSizeOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkTrafficInputQuotaSizeOutput) ToGetServerSpecificationsNetworkTrafficInputQuotaSizeOutput added in v0.43.0

func (GetServerSpecificationsNetworkTrafficInputQuotaSizeOutput) ToGetServerSpecificationsNetworkTrafficInputQuotaSizeOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkTrafficInputQuotaSizeOutput) ToGetServerSpecificationsNetworkTrafficInputQuotaSizeOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkTrafficInputQuotaSizeOutput

func (GetServerSpecificationsNetworkTrafficInputQuotaSizeOutput) Unit added in v0.43.0

func (GetServerSpecificationsNetworkTrafficInputQuotaSizeOutput) Value added in v0.43.0

type GetServerSpecificationsNetworkTrafficInputQuotaUsed added in v0.43.0

type GetServerSpecificationsNetworkTrafficInputQuotaUsed struct {
	Unit  string  `pulumi:"unit"`
	Value float64 `pulumi:"value"`
}

type GetServerSpecificationsNetworkTrafficInputQuotaUsedArgs added in v0.43.0

type GetServerSpecificationsNetworkTrafficInputQuotaUsedArgs struct {
	Unit  pulumi.StringInput  `pulumi:"unit"`
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetServerSpecificationsNetworkTrafficInputQuotaUsedArgs) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkTrafficInputQuotaUsedArgs) ToGetServerSpecificationsNetworkTrafficInputQuotaUsedOutput added in v0.43.0

func (GetServerSpecificationsNetworkTrafficInputQuotaUsedArgs) ToGetServerSpecificationsNetworkTrafficInputQuotaUsedOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkTrafficInputQuotaUsedArgs) ToGetServerSpecificationsNetworkTrafficInputQuotaUsedOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkTrafficInputQuotaUsedOutput

type GetServerSpecificationsNetworkTrafficInputQuotaUsedInput added in v0.43.0

type GetServerSpecificationsNetworkTrafficInputQuotaUsedInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkTrafficInputQuotaUsedOutput() GetServerSpecificationsNetworkTrafficInputQuotaUsedOutput
	ToGetServerSpecificationsNetworkTrafficInputQuotaUsedOutputWithContext(context.Context) GetServerSpecificationsNetworkTrafficInputQuotaUsedOutput
}

GetServerSpecificationsNetworkTrafficInputQuotaUsedInput is an input type that accepts GetServerSpecificationsNetworkTrafficInputQuotaUsedArgs and GetServerSpecificationsNetworkTrafficInputQuotaUsedOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkTrafficInputQuotaUsedInput` via:

GetServerSpecificationsNetworkTrafficInputQuotaUsedArgs{...}

type GetServerSpecificationsNetworkTrafficInputQuotaUsedOutput added in v0.43.0

type GetServerSpecificationsNetworkTrafficInputQuotaUsedOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkTrafficInputQuotaUsedOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkTrafficInputQuotaUsedOutput) ToGetServerSpecificationsNetworkTrafficInputQuotaUsedOutput added in v0.43.0

func (GetServerSpecificationsNetworkTrafficInputQuotaUsedOutput) ToGetServerSpecificationsNetworkTrafficInputQuotaUsedOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkTrafficInputQuotaUsedOutput) ToGetServerSpecificationsNetworkTrafficInputQuotaUsedOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkTrafficInputQuotaUsedOutput

func (GetServerSpecificationsNetworkTrafficInputQuotaUsedOutput) Unit added in v0.43.0

func (GetServerSpecificationsNetworkTrafficInputQuotaUsedOutput) Value added in v0.43.0

type GetServerSpecificationsNetworkTrafficOutput added in v0.43.0

type GetServerSpecificationsNetworkTrafficOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkTrafficOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkTrafficOutput) InputQuotaSize added in v0.43.0

Monthly input traffic quota allowed

func (GetServerSpecificationsNetworkTrafficOutput) InputQuotaUsed added in v0.43.0

Monthly input traffic consumed this month

func (GetServerSpecificationsNetworkTrafficOutput) IsThrottled added in v0.43.0

Whether bandwidth is throttleted for being over quota

func (GetServerSpecificationsNetworkTrafficOutput) OutputQuotaSize added in v0.43.0

Monthly output traffic quota allowed

func (GetServerSpecificationsNetworkTrafficOutput) OutputQuotaUsed added in v0.43.0

Monthly output traffic consumed this month

func (GetServerSpecificationsNetworkTrafficOutput) ResetQuotaDate added in v0.43.0

Next reset quota date for traffic counter

func (GetServerSpecificationsNetworkTrafficOutput) ToGetServerSpecificationsNetworkTrafficOutput added in v0.43.0

func (o GetServerSpecificationsNetworkTrafficOutput) ToGetServerSpecificationsNetworkTrafficOutput() GetServerSpecificationsNetworkTrafficOutput

func (GetServerSpecificationsNetworkTrafficOutput) ToGetServerSpecificationsNetworkTrafficOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkTrafficOutput) ToGetServerSpecificationsNetworkTrafficOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkTrafficOutput

type GetServerSpecificationsNetworkTrafficOutputQuotaSize added in v0.43.0

type GetServerSpecificationsNetworkTrafficOutputQuotaSize struct {
	Unit  string  `pulumi:"unit"`
	Value float64 `pulumi:"value"`
}

type GetServerSpecificationsNetworkTrafficOutputQuotaSizeArgs added in v0.43.0

type GetServerSpecificationsNetworkTrafficOutputQuotaSizeArgs struct {
	Unit  pulumi.StringInput  `pulumi:"unit"`
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetServerSpecificationsNetworkTrafficOutputQuotaSizeArgs) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkTrafficOutputQuotaSizeArgs) ToGetServerSpecificationsNetworkTrafficOutputQuotaSizeOutput added in v0.43.0

func (GetServerSpecificationsNetworkTrafficOutputQuotaSizeArgs) ToGetServerSpecificationsNetworkTrafficOutputQuotaSizeOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkTrafficOutputQuotaSizeArgs) ToGetServerSpecificationsNetworkTrafficOutputQuotaSizeOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkTrafficOutputQuotaSizeOutput

type GetServerSpecificationsNetworkTrafficOutputQuotaSizeInput added in v0.43.0

type GetServerSpecificationsNetworkTrafficOutputQuotaSizeInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkTrafficOutputQuotaSizeOutput() GetServerSpecificationsNetworkTrafficOutputQuotaSizeOutput
	ToGetServerSpecificationsNetworkTrafficOutputQuotaSizeOutputWithContext(context.Context) GetServerSpecificationsNetworkTrafficOutputQuotaSizeOutput
}

GetServerSpecificationsNetworkTrafficOutputQuotaSizeInput is an input type that accepts GetServerSpecificationsNetworkTrafficOutputQuotaSizeArgs and GetServerSpecificationsNetworkTrafficOutputQuotaSizeOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkTrafficOutputQuotaSizeInput` via:

GetServerSpecificationsNetworkTrafficOutputQuotaSizeArgs{...}

type GetServerSpecificationsNetworkTrafficOutputQuotaSizeOutput added in v0.43.0

type GetServerSpecificationsNetworkTrafficOutputQuotaSizeOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkTrafficOutputQuotaSizeOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkTrafficOutputQuotaSizeOutput) ToGetServerSpecificationsNetworkTrafficOutputQuotaSizeOutput added in v0.43.0

func (GetServerSpecificationsNetworkTrafficOutputQuotaSizeOutput) ToGetServerSpecificationsNetworkTrafficOutputQuotaSizeOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkTrafficOutputQuotaSizeOutput) ToGetServerSpecificationsNetworkTrafficOutputQuotaSizeOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkTrafficOutputQuotaSizeOutput

func (GetServerSpecificationsNetworkTrafficOutputQuotaSizeOutput) Unit added in v0.43.0

func (GetServerSpecificationsNetworkTrafficOutputQuotaSizeOutput) Value added in v0.43.0

type GetServerSpecificationsNetworkTrafficOutputQuotaUsed added in v0.43.0

type GetServerSpecificationsNetworkTrafficOutputQuotaUsed struct {
	Unit  string  `pulumi:"unit"`
	Value float64 `pulumi:"value"`
}

type GetServerSpecificationsNetworkTrafficOutputQuotaUsedArgs added in v0.43.0

type GetServerSpecificationsNetworkTrafficOutputQuotaUsedArgs struct {
	Unit  pulumi.StringInput  `pulumi:"unit"`
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetServerSpecificationsNetworkTrafficOutputQuotaUsedArgs) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkTrafficOutputQuotaUsedArgs) ToGetServerSpecificationsNetworkTrafficOutputQuotaUsedOutput added in v0.43.0

func (GetServerSpecificationsNetworkTrafficOutputQuotaUsedArgs) ToGetServerSpecificationsNetworkTrafficOutputQuotaUsedOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkTrafficOutputQuotaUsedArgs) ToGetServerSpecificationsNetworkTrafficOutputQuotaUsedOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkTrafficOutputQuotaUsedOutput

type GetServerSpecificationsNetworkTrafficOutputQuotaUsedInput added in v0.43.0

type GetServerSpecificationsNetworkTrafficOutputQuotaUsedInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkTrafficOutputQuotaUsedOutput() GetServerSpecificationsNetworkTrafficOutputQuotaUsedOutput
	ToGetServerSpecificationsNetworkTrafficOutputQuotaUsedOutputWithContext(context.Context) GetServerSpecificationsNetworkTrafficOutputQuotaUsedOutput
}

GetServerSpecificationsNetworkTrafficOutputQuotaUsedInput is an input type that accepts GetServerSpecificationsNetworkTrafficOutputQuotaUsedArgs and GetServerSpecificationsNetworkTrafficOutputQuotaUsedOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkTrafficOutputQuotaUsedInput` via:

GetServerSpecificationsNetworkTrafficOutputQuotaUsedArgs{...}

type GetServerSpecificationsNetworkTrafficOutputQuotaUsedOutput added in v0.43.0

type GetServerSpecificationsNetworkTrafficOutputQuotaUsedOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkTrafficOutputQuotaUsedOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkTrafficOutputQuotaUsedOutput) ToGetServerSpecificationsNetworkTrafficOutputQuotaUsedOutput added in v0.43.0

func (GetServerSpecificationsNetworkTrafficOutputQuotaUsedOutput) ToGetServerSpecificationsNetworkTrafficOutputQuotaUsedOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkTrafficOutputQuotaUsedOutput) ToGetServerSpecificationsNetworkTrafficOutputQuotaUsedOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkTrafficOutputQuotaUsedOutput

func (GetServerSpecificationsNetworkTrafficOutputQuotaUsedOutput) Unit added in v0.43.0

func (GetServerSpecificationsNetworkTrafficOutputQuotaUsedOutput) Value added in v0.43.0

type GetServerSpecificationsNetworkVmac added in v0.43.0

type GetServerSpecificationsNetworkVmac struct {
	// Whether server is compatible vmac
	Supported bool `pulumi:"supported"`
}

type GetServerSpecificationsNetworkVmacArgs added in v0.43.0

type GetServerSpecificationsNetworkVmacArgs struct {
	// Whether server is compatible vmac
	Supported pulumi.BoolInput `pulumi:"supported"`
}

func (GetServerSpecificationsNetworkVmacArgs) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkVmacArgs) ToGetServerSpecificationsNetworkVmacOutput added in v0.43.0

func (i GetServerSpecificationsNetworkVmacArgs) ToGetServerSpecificationsNetworkVmacOutput() GetServerSpecificationsNetworkVmacOutput

func (GetServerSpecificationsNetworkVmacArgs) ToGetServerSpecificationsNetworkVmacOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkVmacArgs) ToGetServerSpecificationsNetworkVmacOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkVmacOutput

type GetServerSpecificationsNetworkVmacInput added in v0.43.0

type GetServerSpecificationsNetworkVmacInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkVmacOutput() GetServerSpecificationsNetworkVmacOutput
	ToGetServerSpecificationsNetworkVmacOutputWithContext(context.Context) GetServerSpecificationsNetworkVmacOutput
}

GetServerSpecificationsNetworkVmacInput is an input type that accepts GetServerSpecificationsNetworkVmacArgs and GetServerSpecificationsNetworkVmacOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkVmacInput` via:

GetServerSpecificationsNetworkVmacArgs{...}

type GetServerSpecificationsNetworkVmacOutput added in v0.43.0

type GetServerSpecificationsNetworkVmacOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkVmacOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkVmacOutput) Supported added in v0.43.0

Whether server is compatible vmac

func (GetServerSpecificationsNetworkVmacOutput) ToGetServerSpecificationsNetworkVmacOutput added in v0.43.0

func (o GetServerSpecificationsNetworkVmacOutput) ToGetServerSpecificationsNetworkVmacOutput() GetServerSpecificationsNetworkVmacOutput

func (GetServerSpecificationsNetworkVmacOutput) ToGetServerSpecificationsNetworkVmacOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkVmacOutput) ToGetServerSpecificationsNetworkVmacOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkVmacOutput

type GetServerSpecificationsNetworkVrack added in v0.43.0

type GetServerSpecificationsNetworkVrack struct {
	// vrack bandwidth limitation
	Bandwidth GetServerSpecificationsNetworkVrackBandwidth `pulumi:"bandwidth"`
	// Bandwidth offer type (included┃standard)
	Type string `pulumi:"type"`
}

type GetServerSpecificationsNetworkVrackArgs added in v0.43.0

type GetServerSpecificationsNetworkVrackArgs struct {
	// vrack bandwidth limitation
	Bandwidth GetServerSpecificationsNetworkVrackBandwidthInput `pulumi:"bandwidth"`
	// Bandwidth offer type (included┃standard)
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetServerSpecificationsNetworkVrackArgs) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkVrackArgs) ToGetServerSpecificationsNetworkVrackOutput added in v0.43.0

func (i GetServerSpecificationsNetworkVrackArgs) ToGetServerSpecificationsNetworkVrackOutput() GetServerSpecificationsNetworkVrackOutput

func (GetServerSpecificationsNetworkVrackArgs) ToGetServerSpecificationsNetworkVrackOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkVrackArgs) ToGetServerSpecificationsNetworkVrackOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkVrackOutput

type GetServerSpecificationsNetworkVrackBandwidth added in v0.43.0

type GetServerSpecificationsNetworkVrackBandwidth struct {
	Unit  string  `pulumi:"unit"`
	Value float64 `pulumi:"value"`
}

type GetServerSpecificationsNetworkVrackBandwidthArgs added in v0.43.0

type GetServerSpecificationsNetworkVrackBandwidthArgs struct {
	Unit  pulumi.StringInput  `pulumi:"unit"`
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetServerSpecificationsNetworkVrackBandwidthArgs) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkVrackBandwidthArgs) ToGetServerSpecificationsNetworkVrackBandwidthOutput added in v0.43.0

func (i GetServerSpecificationsNetworkVrackBandwidthArgs) ToGetServerSpecificationsNetworkVrackBandwidthOutput() GetServerSpecificationsNetworkVrackBandwidthOutput

func (GetServerSpecificationsNetworkVrackBandwidthArgs) ToGetServerSpecificationsNetworkVrackBandwidthOutputWithContext added in v0.43.0

func (i GetServerSpecificationsNetworkVrackBandwidthArgs) ToGetServerSpecificationsNetworkVrackBandwidthOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkVrackBandwidthOutput

type GetServerSpecificationsNetworkVrackBandwidthInput added in v0.43.0

type GetServerSpecificationsNetworkVrackBandwidthInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkVrackBandwidthOutput() GetServerSpecificationsNetworkVrackBandwidthOutput
	ToGetServerSpecificationsNetworkVrackBandwidthOutputWithContext(context.Context) GetServerSpecificationsNetworkVrackBandwidthOutput
}

GetServerSpecificationsNetworkVrackBandwidthInput is an input type that accepts GetServerSpecificationsNetworkVrackBandwidthArgs and GetServerSpecificationsNetworkVrackBandwidthOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkVrackBandwidthInput` via:

GetServerSpecificationsNetworkVrackBandwidthArgs{...}

type GetServerSpecificationsNetworkVrackBandwidthOutput added in v0.43.0

type GetServerSpecificationsNetworkVrackBandwidthOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkVrackBandwidthOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkVrackBandwidthOutput) ToGetServerSpecificationsNetworkVrackBandwidthOutput added in v0.43.0

func (o GetServerSpecificationsNetworkVrackBandwidthOutput) ToGetServerSpecificationsNetworkVrackBandwidthOutput() GetServerSpecificationsNetworkVrackBandwidthOutput

func (GetServerSpecificationsNetworkVrackBandwidthOutput) ToGetServerSpecificationsNetworkVrackBandwidthOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkVrackBandwidthOutput) ToGetServerSpecificationsNetworkVrackBandwidthOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkVrackBandwidthOutput

func (GetServerSpecificationsNetworkVrackBandwidthOutput) Unit added in v0.43.0

func (GetServerSpecificationsNetworkVrackBandwidthOutput) Value added in v0.43.0

type GetServerSpecificationsNetworkVrackInput added in v0.43.0

type GetServerSpecificationsNetworkVrackInput interface {
	pulumi.Input

	ToGetServerSpecificationsNetworkVrackOutput() GetServerSpecificationsNetworkVrackOutput
	ToGetServerSpecificationsNetworkVrackOutputWithContext(context.Context) GetServerSpecificationsNetworkVrackOutput
}

GetServerSpecificationsNetworkVrackInput is an input type that accepts GetServerSpecificationsNetworkVrackArgs and GetServerSpecificationsNetworkVrackOutput values. You can construct a concrete instance of `GetServerSpecificationsNetworkVrackInput` via:

GetServerSpecificationsNetworkVrackArgs{...}

type GetServerSpecificationsNetworkVrackOutput added in v0.43.0

type GetServerSpecificationsNetworkVrackOutput struct{ *pulumi.OutputState }

func (GetServerSpecificationsNetworkVrackOutput) Bandwidth added in v0.43.0

vrack bandwidth limitation

func (GetServerSpecificationsNetworkVrackOutput) ElementType added in v0.43.0

func (GetServerSpecificationsNetworkVrackOutput) ToGetServerSpecificationsNetworkVrackOutput added in v0.43.0

func (o GetServerSpecificationsNetworkVrackOutput) ToGetServerSpecificationsNetworkVrackOutput() GetServerSpecificationsNetworkVrackOutput

func (GetServerSpecificationsNetworkVrackOutput) ToGetServerSpecificationsNetworkVrackOutputWithContext added in v0.43.0

func (o GetServerSpecificationsNetworkVrackOutput) ToGetServerSpecificationsNetworkVrackOutputWithContext(ctx context.Context) GetServerSpecificationsNetworkVrackOutput

func (GetServerSpecificationsNetworkVrackOutput) Type added in v0.43.0

Bandwidth offer type (included┃standard)

type NasHAPartition

type NasHAPartition struct {
	pulumi.CustomResourceState

	// Percentage of partition space used in %
	Capacity pulumi.IntOutput `pulumi:"capacity"`
	// A brief description of the partition
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// name of the partition
	Name pulumi.StringOutput `pulumi:"name"`
	// one of "NFS", "CIFS" or "NFS_CIFS"
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// The internal name of your HA-NAS (it has to be ordered via OVHcloud interface)
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// size of the partition in GB
	Size pulumi.IntOutput `pulumi:"size"`
	// Percentage of partition space used by snapshots in %
	UsedBySnapshots pulumi.IntOutput `pulumi:"usedBySnapshots"`
}

Provides a resource for managing partitions on HA-NAS services

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dedicated.NewNasHAPartition(ctx, "my-partition", &Dedicated.NasHAPartitionArgs{
			Protocol:    pulumi.String("NFS"),
			ServiceName: pulumi.String("zpool-12345"),
			Size:        pulumi.Int(20),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

HA-NAS can be imported using the `{service_name}/{name}`, e.g.

```sh $ pulumi import ovh:Dedicated/nasHAPartition:NasHAPartition my-partition zpool-12345/my-partition` ```

func GetNasHAPartition

func GetNasHAPartition(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NasHAPartitionState, opts ...pulumi.ResourceOption) (*NasHAPartition, error)

GetNasHAPartition gets an existing NasHAPartition 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 NewNasHAPartition

func NewNasHAPartition(ctx *pulumi.Context,
	name string, args *NasHAPartitionArgs, opts ...pulumi.ResourceOption) (*NasHAPartition, error)

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

func (*NasHAPartition) ElementType

func (*NasHAPartition) ElementType() reflect.Type

func (*NasHAPartition) ToNasHAPartitionOutput

func (i *NasHAPartition) ToNasHAPartitionOutput() NasHAPartitionOutput

func (*NasHAPartition) ToNasHAPartitionOutputWithContext

func (i *NasHAPartition) ToNasHAPartitionOutputWithContext(ctx context.Context) NasHAPartitionOutput

type NasHAPartitionAccess

type NasHAPartitionAccess struct {
	pulumi.CustomResourceState

	// ip block in x.x.x.x/x format
	Ip pulumi.StringOutput `pulumi:"ip"`
	// name of the partition
	PartitionName pulumi.StringOutput `pulumi:"partitionName"`
	// The internal name of your HA-NAS (it has to be ordered via OVHcloud interface)
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// one of "readwrite", "readonly"
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

Provides a resource for managing access rights to partitions on HA-NAS services

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dedicated.NewNasHAPartitionAccess(ctx, "my-partition", &Dedicated.NasHAPartitionAccessArgs{
			Ip:            pulumi.String("123.123.123.123/32"),
			PartitionName: pulumi.String("my-partition"),
			ServiceName:   pulumi.String("zpool-12345"),
			Type:          pulumi.String("readwrite"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

HA-NAS partition access can be imported using the `{service_name}/{partition_name}/{ip}`, e.g.

```sh $ pulumi import ovh:Dedicated/nasHAPartitionAccess:NasHAPartitionAccess my-partition zpool-12345/my-partition/123.123.123.123%2F32` ```

func GetNasHAPartitionAccess

func GetNasHAPartitionAccess(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NasHAPartitionAccessState, opts ...pulumi.ResourceOption) (*NasHAPartitionAccess, error)

GetNasHAPartitionAccess gets an existing NasHAPartitionAccess 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 NewNasHAPartitionAccess

func NewNasHAPartitionAccess(ctx *pulumi.Context,
	name string, args *NasHAPartitionAccessArgs, opts ...pulumi.ResourceOption) (*NasHAPartitionAccess, error)

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

func (*NasHAPartitionAccess) ElementType

func (*NasHAPartitionAccess) ElementType() reflect.Type

func (*NasHAPartitionAccess) ToNasHAPartitionAccessOutput

func (i *NasHAPartitionAccess) ToNasHAPartitionAccessOutput() NasHAPartitionAccessOutput

func (*NasHAPartitionAccess) ToNasHAPartitionAccessOutputWithContext

func (i *NasHAPartitionAccess) ToNasHAPartitionAccessOutputWithContext(ctx context.Context) NasHAPartitionAccessOutput

type NasHAPartitionAccessArgs

type NasHAPartitionAccessArgs struct {
	// ip block in x.x.x.x/x format
	Ip pulumi.StringInput
	// name of the partition
	PartitionName pulumi.StringInput
	// The internal name of your HA-NAS (it has to be ordered via OVHcloud interface)
	ServiceName pulumi.StringInput
	// one of "readwrite", "readonly"
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a NasHAPartitionAccess resource.

func (NasHAPartitionAccessArgs) ElementType

func (NasHAPartitionAccessArgs) ElementType() reflect.Type

type NasHAPartitionAccessArray

type NasHAPartitionAccessArray []NasHAPartitionAccessInput

func (NasHAPartitionAccessArray) ElementType

func (NasHAPartitionAccessArray) ElementType() reflect.Type

func (NasHAPartitionAccessArray) ToNasHAPartitionAccessArrayOutput

func (i NasHAPartitionAccessArray) ToNasHAPartitionAccessArrayOutput() NasHAPartitionAccessArrayOutput

func (NasHAPartitionAccessArray) ToNasHAPartitionAccessArrayOutputWithContext

func (i NasHAPartitionAccessArray) ToNasHAPartitionAccessArrayOutputWithContext(ctx context.Context) NasHAPartitionAccessArrayOutput

type NasHAPartitionAccessArrayInput

type NasHAPartitionAccessArrayInput interface {
	pulumi.Input

	ToNasHAPartitionAccessArrayOutput() NasHAPartitionAccessArrayOutput
	ToNasHAPartitionAccessArrayOutputWithContext(context.Context) NasHAPartitionAccessArrayOutput
}

NasHAPartitionAccessArrayInput is an input type that accepts NasHAPartitionAccessArray and NasHAPartitionAccessArrayOutput values. You can construct a concrete instance of `NasHAPartitionAccessArrayInput` via:

NasHAPartitionAccessArray{ NasHAPartitionAccessArgs{...} }

type NasHAPartitionAccessArrayOutput

type NasHAPartitionAccessArrayOutput struct{ *pulumi.OutputState }

func (NasHAPartitionAccessArrayOutput) ElementType

func (NasHAPartitionAccessArrayOutput) Index

func (NasHAPartitionAccessArrayOutput) ToNasHAPartitionAccessArrayOutput

func (o NasHAPartitionAccessArrayOutput) ToNasHAPartitionAccessArrayOutput() NasHAPartitionAccessArrayOutput

func (NasHAPartitionAccessArrayOutput) ToNasHAPartitionAccessArrayOutputWithContext

func (o NasHAPartitionAccessArrayOutput) ToNasHAPartitionAccessArrayOutputWithContext(ctx context.Context) NasHAPartitionAccessArrayOutput

type NasHAPartitionAccessInput

type NasHAPartitionAccessInput interface {
	pulumi.Input

	ToNasHAPartitionAccessOutput() NasHAPartitionAccessOutput
	ToNasHAPartitionAccessOutputWithContext(ctx context.Context) NasHAPartitionAccessOutput
}

type NasHAPartitionAccessMap

type NasHAPartitionAccessMap map[string]NasHAPartitionAccessInput

func (NasHAPartitionAccessMap) ElementType

func (NasHAPartitionAccessMap) ElementType() reflect.Type

func (NasHAPartitionAccessMap) ToNasHAPartitionAccessMapOutput

func (i NasHAPartitionAccessMap) ToNasHAPartitionAccessMapOutput() NasHAPartitionAccessMapOutput

func (NasHAPartitionAccessMap) ToNasHAPartitionAccessMapOutputWithContext

func (i NasHAPartitionAccessMap) ToNasHAPartitionAccessMapOutputWithContext(ctx context.Context) NasHAPartitionAccessMapOutput

type NasHAPartitionAccessMapInput

type NasHAPartitionAccessMapInput interface {
	pulumi.Input

	ToNasHAPartitionAccessMapOutput() NasHAPartitionAccessMapOutput
	ToNasHAPartitionAccessMapOutputWithContext(context.Context) NasHAPartitionAccessMapOutput
}

NasHAPartitionAccessMapInput is an input type that accepts NasHAPartitionAccessMap and NasHAPartitionAccessMapOutput values. You can construct a concrete instance of `NasHAPartitionAccessMapInput` via:

NasHAPartitionAccessMap{ "key": NasHAPartitionAccessArgs{...} }

type NasHAPartitionAccessMapOutput

type NasHAPartitionAccessMapOutput struct{ *pulumi.OutputState }

func (NasHAPartitionAccessMapOutput) ElementType

func (NasHAPartitionAccessMapOutput) MapIndex

func (NasHAPartitionAccessMapOutput) ToNasHAPartitionAccessMapOutput

func (o NasHAPartitionAccessMapOutput) ToNasHAPartitionAccessMapOutput() NasHAPartitionAccessMapOutput

func (NasHAPartitionAccessMapOutput) ToNasHAPartitionAccessMapOutputWithContext

func (o NasHAPartitionAccessMapOutput) ToNasHAPartitionAccessMapOutputWithContext(ctx context.Context) NasHAPartitionAccessMapOutput

type NasHAPartitionAccessOutput

type NasHAPartitionAccessOutput struct{ *pulumi.OutputState }

func (NasHAPartitionAccessOutput) ElementType

func (NasHAPartitionAccessOutput) ElementType() reflect.Type

func (NasHAPartitionAccessOutput) Ip

ip block in x.x.x.x/x format

func (NasHAPartitionAccessOutput) PartitionName

name of the partition

func (NasHAPartitionAccessOutput) ServiceName

The internal name of your HA-NAS (it has to be ordered via OVHcloud interface)

func (NasHAPartitionAccessOutput) ToNasHAPartitionAccessOutput

func (o NasHAPartitionAccessOutput) ToNasHAPartitionAccessOutput() NasHAPartitionAccessOutput

func (NasHAPartitionAccessOutput) ToNasHAPartitionAccessOutputWithContext

func (o NasHAPartitionAccessOutput) ToNasHAPartitionAccessOutputWithContext(ctx context.Context) NasHAPartitionAccessOutput

func (NasHAPartitionAccessOutput) Type

one of "readwrite", "readonly"

type NasHAPartitionAccessState

type NasHAPartitionAccessState struct {
	// ip block in x.x.x.x/x format
	Ip pulumi.StringPtrInput
	// name of the partition
	PartitionName pulumi.StringPtrInput
	// The internal name of your HA-NAS (it has to be ordered via OVHcloud interface)
	ServiceName pulumi.StringPtrInput
	// one of "readwrite", "readonly"
	Type pulumi.StringPtrInput
}

func (NasHAPartitionAccessState) ElementType

func (NasHAPartitionAccessState) ElementType() reflect.Type

type NasHAPartitionArgs

type NasHAPartitionArgs struct {
	// A brief description of the partition
	Description pulumi.StringPtrInput
	// name of the partition
	Name pulumi.StringPtrInput
	// one of "NFS", "CIFS" or "NFS_CIFS"
	Protocol pulumi.StringInput
	// The internal name of your HA-NAS (it has to be ordered via OVHcloud interface)
	ServiceName pulumi.StringInput
	// size of the partition in GB
	Size pulumi.IntInput
}

The set of arguments for constructing a NasHAPartition resource.

func (NasHAPartitionArgs) ElementType

func (NasHAPartitionArgs) ElementType() reflect.Type

type NasHAPartitionArray

type NasHAPartitionArray []NasHAPartitionInput

func (NasHAPartitionArray) ElementType

func (NasHAPartitionArray) ElementType() reflect.Type

func (NasHAPartitionArray) ToNasHAPartitionArrayOutput

func (i NasHAPartitionArray) ToNasHAPartitionArrayOutput() NasHAPartitionArrayOutput

func (NasHAPartitionArray) ToNasHAPartitionArrayOutputWithContext

func (i NasHAPartitionArray) ToNasHAPartitionArrayOutputWithContext(ctx context.Context) NasHAPartitionArrayOutput

type NasHAPartitionArrayInput

type NasHAPartitionArrayInput interface {
	pulumi.Input

	ToNasHAPartitionArrayOutput() NasHAPartitionArrayOutput
	ToNasHAPartitionArrayOutputWithContext(context.Context) NasHAPartitionArrayOutput
}

NasHAPartitionArrayInput is an input type that accepts NasHAPartitionArray and NasHAPartitionArrayOutput values. You can construct a concrete instance of `NasHAPartitionArrayInput` via:

NasHAPartitionArray{ NasHAPartitionArgs{...} }

type NasHAPartitionArrayOutput

type NasHAPartitionArrayOutput struct{ *pulumi.OutputState }

func (NasHAPartitionArrayOutput) ElementType

func (NasHAPartitionArrayOutput) ElementType() reflect.Type

func (NasHAPartitionArrayOutput) Index

func (NasHAPartitionArrayOutput) ToNasHAPartitionArrayOutput

func (o NasHAPartitionArrayOutput) ToNasHAPartitionArrayOutput() NasHAPartitionArrayOutput

func (NasHAPartitionArrayOutput) ToNasHAPartitionArrayOutputWithContext

func (o NasHAPartitionArrayOutput) ToNasHAPartitionArrayOutputWithContext(ctx context.Context) NasHAPartitionArrayOutput

type NasHAPartitionInput

type NasHAPartitionInput interface {
	pulumi.Input

	ToNasHAPartitionOutput() NasHAPartitionOutput
	ToNasHAPartitionOutputWithContext(ctx context.Context) NasHAPartitionOutput
}

type NasHAPartitionMap

type NasHAPartitionMap map[string]NasHAPartitionInput

func (NasHAPartitionMap) ElementType

func (NasHAPartitionMap) ElementType() reflect.Type

func (NasHAPartitionMap) ToNasHAPartitionMapOutput

func (i NasHAPartitionMap) ToNasHAPartitionMapOutput() NasHAPartitionMapOutput

func (NasHAPartitionMap) ToNasHAPartitionMapOutputWithContext

func (i NasHAPartitionMap) ToNasHAPartitionMapOutputWithContext(ctx context.Context) NasHAPartitionMapOutput

type NasHAPartitionMapInput

type NasHAPartitionMapInput interface {
	pulumi.Input

	ToNasHAPartitionMapOutput() NasHAPartitionMapOutput
	ToNasHAPartitionMapOutputWithContext(context.Context) NasHAPartitionMapOutput
}

NasHAPartitionMapInput is an input type that accepts NasHAPartitionMap and NasHAPartitionMapOutput values. You can construct a concrete instance of `NasHAPartitionMapInput` via:

NasHAPartitionMap{ "key": NasHAPartitionArgs{...} }

type NasHAPartitionMapOutput

type NasHAPartitionMapOutput struct{ *pulumi.OutputState }

func (NasHAPartitionMapOutput) ElementType

func (NasHAPartitionMapOutput) ElementType() reflect.Type

func (NasHAPartitionMapOutput) MapIndex

func (NasHAPartitionMapOutput) ToNasHAPartitionMapOutput

func (o NasHAPartitionMapOutput) ToNasHAPartitionMapOutput() NasHAPartitionMapOutput

func (NasHAPartitionMapOutput) ToNasHAPartitionMapOutputWithContext

func (o NasHAPartitionMapOutput) ToNasHAPartitionMapOutputWithContext(ctx context.Context) NasHAPartitionMapOutput

type NasHAPartitionOutput

type NasHAPartitionOutput struct{ *pulumi.OutputState }

func (NasHAPartitionOutput) Capacity

func (o NasHAPartitionOutput) Capacity() pulumi.IntOutput

Percentage of partition space used in %

func (NasHAPartitionOutput) Description

A brief description of the partition

func (NasHAPartitionOutput) ElementType

func (NasHAPartitionOutput) ElementType() reflect.Type

func (NasHAPartitionOutput) Name

name of the partition

func (NasHAPartitionOutput) Protocol

one of "NFS", "CIFS" or "NFS_CIFS"

func (NasHAPartitionOutput) ServiceName

func (o NasHAPartitionOutput) ServiceName() pulumi.StringOutput

The internal name of your HA-NAS (it has to be ordered via OVHcloud interface)

func (NasHAPartitionOutput) Size

size of the partition in GB

func (NasHAPartitionOutput) ToNasHAPartitionOutput

func (o NasHAPartitionOutput) ToNasHAPartitionOutput() NasHAPartitionOutput

func (NasHAPartitionOutput) ToNasHAPartitionOutputWithContext

func (o NasHAPartitionOutput) ToNasHAPartitionOutputWithContext(ctx context.Context) NasHAPartitionOutput

func (NasHAPartitionOutput) UsedBySnapshots

func (o NasHAPartitionOutput) UsedBySnapshots() pulumi.IntOutput

Percentage of partition space used by snapshots in %

type NasHAPartitionSnapshot

type NasHAPartitionSnapshot struct {
	pulumi.CustomResourceState

	// name of the partition
	PartitionName pulumi.StringOutput `pulumi:"partitionName"`
	// The internal name of your HA-NAS (it has to be ordered via OVHcloud interface)
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// Snapshot interval, allowed : day-1, day-2, day-3, day-7, hour-1, hour-6
	Type pulumi.StringOutput `pulumi:"type"`
}

Provides a resource for managing **snapshot** to partitions on HA-NAS services

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dedicated.NewNasHAPartitionSnapshot(ctx, "my-partition", &Dedicated.NasHAPartitionSnapshotArgs{
			PartitionName: pulumi.String("my-partition"),
			ServiceName:   pulumi.String("zpool-12345"),
			Type:          pulumi.String("day-3"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

HA-NAS partition snapshot can be imported using the `{service_name}/{partition_name}/{type}`, e.g.

```sh $ pulumi import ovh:Dedicated/nasHAPartitionSnapshot:NasHAPartitionSnapshot my-partition zpool-12345/my-partition/day-3` ```

func GetNasHAPartitionSnapshot

func GetNasHAPartitionSnapshot(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NasHAPartitionSnapshotState, opts ...pulumi.ResourceOption) (*NasHAPartitionSnapshot, error)

GetNasHAPartitionSnapshot gets an existing NasHAPartitionSnapshot 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 NewNasHAPartitionSnapshot

func NewNasHAPartitionSnapshot(ctx *pulumi.Context,
	name string, args *NasHAPartitionSnapshotArgs, opts ...pulumi.ResourceOption) (*NasHAPartitionSnapshot, error)

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

func (*NasHAPartitionSnapshot) ElementType

func (*NasHAPartitionSnapshot) ElementType() reflect.Type

func (*NasHAPartitionSnapshot) ToNasHAPartitionSnapshotOutput

func (i *NasHAPartitionSnapshot) ToNasHAPartitionSnapshotOutput() NasHAPartitionSnapshotOutput

func (*NasHAPartitionSnapshot) ToNasHAPartitionSnapshotOutputWithContext

func (i *NasHAPartitionSnapshot) ToNasHAPartitionSnapshotOutputWithContext(ctx context.Context) NasHAPartitionSnapshotOutput

type NasHAPartitionSnapshotArgs

type NasHAPartitionSnapshotArgs struct {
	// name of the partition
	PartitionName pulumi.StringInput
	// The internal name of your HA-NAS (it has to be ordered via OVHcloud interface)
	ServiceName pulumi.StringInput
	// Snapshot interval, allowed : day-1, day-2, day-3, day-7, hour-1, hour-6
	Type pulumi.StringInput
}

The set of arguments for constructing a NasHAPartitionSnapshot resource.

func (NasHAPartitionSnapshotArgs) ElementType

func (NasHAPartitionSnapshotArgs) ElementType() reflect.Type

type NasHAPartitionSnapshotArray

type NasHAPartitionSnapshotArray []NasHAPartitionSnapshotInput

func (NasHAPartitionSnapshotArray) ElementType

func (NasHAPartitionSnapshotArray) ToNasHAPartitionSnapshotArrayOutput

func (i NasHAPartitionSnapshotArray) ToNasHAPartitionSnapshotArrayOutput() NasHAPartitionSnapshotArrayOutput

func (NasHAPartitionSnapshotArray) ToNasHAPartitionSnapshotArrayOutputWithContext

func (i NasHAPartitionSnapshotArray) ToNasHAPartitionSnapshotArrayOutputWithContext(ctx context.Context) NasHAPartitionSnapshotArrayOutput

type NasHAPartitionSnapshotArrayInput

type NasHAPartitionSnapshotArrayInput interface {
	pulumi.Input

	ToNasHAPartitionSnapshotArrayOutput() NasHAPartitionSnapshotArrayOutput
	ToNasHAPartitionSnapshotArrayOutputWithContext(context.Context) NasHAPartitionSnapshotArrayOutput
}

NasHAPartitionSnapshotArrayInput is an input type that accepts NasHAPartitionSnapshotArray and NasHAPartitionSnapshotArrayOutput values. You can construct a concrete instance of `NasHAPartitionSnapshotArrayInput` via:

NasHAPartitionSnapshotArray{ NasHAPartitionSnapshotArgs{...} }

type NasHAPartitionSnapshotArrayOutput

type NasHAPartitionSnapshotArrayOutput struct{ *pulumi.OutputState }

func (NasHAPartitionSnapshotArrayOutput) ElementType

func (NasHAPartitionSnapshotArrayOutput) Index

func (NasHAPartitionSnapshotArrayOutput) ToNasHAPartitionSnapshotArrayOutput

func (o NasHAPartitionSnapshotArrayOutput) ToNasHAPartitionSnapshotArrayOutput() NasHAPartitionSnapshotArrayOutput

func (NasHAPartitionSnapshotArrayOutput) ToNasHAPartitionSnapshotArrayOutputWithContext

func (o NasHAPartitionSnapshotArrayOutput) ToNasHAPartitionSnapshotArrayOutputWithContext(ctx context.Context) NasHAPartitionSnapshotArrayOutput

type NasHAPartitionSnapshotInput

type NasHAPartitionSnapshotInput interface {
	pulumi.Input

	ToNasHAPartitionSnapshotOutput() NasHAPartitionSnapshotOutput
	ToNasHAPartitionSnapshotOutputWithContext(ctx context.Context) NasHAPartitionSnapshotOutput
}

type NasHAPartitionSnapshotMap

type NasHAPartitionSnapshotMap map[string]NasHAPartitionSnapshotInput

func (NasHAPartitionSnapshotMap) ElementType

func (NasHAPartitionSnapshotMap) ElementType() reflect.Type

func (NasHAPartitionSnapshotMap) ToNasHAPartitionSnapshotMapOutput

func (i NasHAPartitionSnapshotMap) ToNasHAPartitionSnapshotMapOutput() NasHAPartitionSnapshotMapOutput

func (NasHAPartitionSnapshotMap) ToNasHAPartitionSnapshotMapOutputWithContext

func (i NasHAPartitionSnapshotMap) ToNasHAPartitionSnapshotMapOutputWithContext(ctx context.Context) NasHAPartitionSnapshotMapOutput

type NasHAPartitionSnapshotMapInput

type NasHAPartitionSnapshotMapInput interface {
	pulumi.Input

	ToNasHAPartitionSnapshotMapOutput() NasHAPartitionSnapshotMapOutput
	ToNasHAPartitionSnapshotMapOutputWithContext(context.Context) NasHAPartitionSnapshotMapOutput
}

NasHAPartitionSnapshotMapInput is an input type that accepts NasHAPartitionSnapshotMap and NasHAPartitionSnapshotMapOutput values. You can construct a concrete instance of `NasHAPartitionSnapshotMapInput` via:

NasHAPartitionSnapshotMap{ "key": NasHAPartitionSnapshotArgs{...} }

type NasHAPartitionSnapshotMapOutput

type NasHAPartitionSnapshotMapOutput struct{ *pulumi.OutputState }

func (NasHAPartitionSnapshotMapOutput) ElementType

func (NasHAPartitionSnapshotMapOutput) MapIndex

func (NasHAPartitionSnapshotMapOutput) ToNasHAPartitionSnapshotMapOutput

func (o NasHAPartitionSnapshotMapOutput) ToNasHAPartitionSnapshotMapOutput() NasHAPartitionSnapshotMapOutput

func (NasHAPartitionSnapshotMapOutput) ToNasHAPartitionSnapshotMapOutputWithContext

func (o NasHAPartitionSnapshotMapOutput) ToNasHAPartitionSnapshotMapOutputWithContext(ctx context.Context) NasHAPartitionSnapshotMapOutput

type NasHAPartitionSnapshotOutput

type NasHAPartitionSnapshotOutput struct{ *pulumi.OutputState }

func (NasHAPartitionSnapshotOutput) ElementType

func (NasHAPartitionSnapshotOutput) PartitionName

name of the partition

func (NasHAPartitionSnapshotOutput) ServiceName

The internal name of your HA-NAS (it has to be ordered via OVHcloud interface)

func (NasHAPartitionSnapshotOutput) ToNasHAPartitionSnapshotOutput

func (o NasHAPartitionSnapshotOutput) ToNasHAPartitionSnapshotOutput() NasHAPartitionSnapshotOutput

func (NasHAPartitionSnapshotOutput) ToNasHAPartitionSnapshotOutputWithContext

func (o NasHAPartitionSnapshotOutput) ToNasHAPartitionSnapshotOutputWithContext(ctx context.Context) NasHAPartitionSnapshotOutput

func (NasHAPartitionSnapshotOutput) Type

Snapshot interval, allowed : day-1, day-2, day-3, day-7, hour-1, hour-6

type NasHAPartitionSnapshotState

type NasHAPartitionSnapshotState struct {
	// name of the partition
	PartitionName pulumi.StringPtrInput
	// The internal name of your HA-NAS (it has to be ordered via OVHcloud interface)
	ServiceName pulumi.StringPtrInput
	// Snapshot interval, allowed : day-1, day-2, day-3, day-7, hour-1, hour-6
	Type pulumi.StringPtrInput
}

func (NasHAPartitionSnapshotState) ElementType

type NasHAPartitionState

type NasHAPartitionState struct {
	// Percentage of partition space used in %
	Capacity pulumi.IntPtrInput
	// A brief description of the partition
	Description pulumi.StringPtrInput
	// name of the partition
	Name pulumi.StringPtrInput
	// one of "NFS", "CIFS" or "NFS_CIFS"
	Protocol pulumi.StringPtrInput
	// The internal name of your HA-NAS (it has to be ordered via OVHcloud interface)
	ServiceName pulumi.StringPtrInput
	// size of the partition in GB
	Size pulumi.IntPtrInput
	// Percentage of partition space used by snapshots in %
	UsedBySnapshots pulumi.IntPtrInput
}

func (NasHAPartitionState) ElementType

func (NasHAPartitionState) ElementType() reflect.Type

type ServerInstallTask

type ServerInstallTask struct {
	pulumi.CustomResourceState

	// If set, reboot the server on the specified boot id during destroy phase.
	BootidOnDestroy pulumi.IntPtrOutput `pulumi:"bootidOnDestroy"`
	// Details of this task. (should be `Install asked`)
	Comment pulumi.StringOutput `pulumi:"comment"`
	// see `details` block below.
	Details ServerInstallTaskDetailsPtrOutput `pulumi:"details"`
	// Completion date in RFC3339 format.
	DoneDate pulumi.StringOutput `pulumi:"doneDate"`
	// Function name (should be `hardInstall`).
	Function pulumi.StringOutput `pulumi:"function"`
	// Last update in RFC3339 format.
	LastUpdate pulumi.StringOutput `pulumi:"lastUpdate"`
	// Partition scheme name.
	PartitionSchemeName pulumi.StringPtrOutput `pulumi:"partitionSchemeName"`
	// The serviceName of your dedicated server.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// Task creation date in RFC3339 format.
	StartDate pulumi.StringOutput `pulumi:"startDate"`
	// Task status (should be `done`)
	Status pulumi.StringOutput `pulumi:"status"`
	// Template name.
	TemplateName pulumi.StringOutput `pulumi:"templateName"`
	// see `userMetadata` block below.
	UserMetadatas ServerInstallTaskUserMetadataArrayOutput `pulumi:"userMetadatas"`
}

## Example Usage

Using a custom template based on an OVHCloud template <!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/ovh/pulumi-ovh/sdk/go/ovh/Dedicated"
"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 {
		rescue, err := Dedicated.GetServerBoots(ctx, &dedicated.GetServerBootsArgs{
			ServiceName: "nsxxxxxxx.ip-xx-xx-xx.eu",
			BootType:    pulumi.StringRef("rescue"),
		}, nil)
		if err != nil {
			return err
		}
		debian, err := Me.NewInstallationTemplate(ctx, "debian", &Me.InstallationTemplateArgs{
			BaseTemplateName: pulumi.String("debian12_64"),
			TemplateName:     pulumi.String("mydebian12"),
			Customization: &me.InstallationTemplateCustomizationArgs{
				PostInstallationScriptLink:   pulumi.String("http://test"),
				PostInstallationScriptReturn: pulumi.String("ok"),
			},
		})
		if err != nil {
			return err
		}
		_, err = Dedicated.NewServerInstallTask(ctx, "serverInstall", &Dedicated.ServerInstallTaskArgs{
			ServiceName:     pulumi.String("nsxxxxxxx.ip-xx-xx-xx.eu"),
			TemplateName:    debian.TemplateName,
			BootidOnDestroy: pulumi.Int(rescue.Results[0]),
			Details: &dedicated.ServerInstallTaskDetailsArgs{
				CustomHostname: pulumi.String("mytest"),
			},
			UserMetadatas: dedicated.ServerInstallTaskUserMetadataArray{
				&dedicated.ServerInstallTaskUserMetadataArgs{
					Key:   pulumi.String("sshKey"),
					Value: pulumi.String("ssh-ed25519 AAAAC3..."),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

Using a BringYourOwnLinux (BYOLinux) template (with userMetadata)

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

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		server, err := ovh.GetServer(ctx, &ovh.GetServerArgs{
			ServiceName: "nsxxxxxxx.ip-xx-xx-xx.eu",
		}, nil)
		if err != nil {
			return err
		}
		rescue, err := Dedicated.GetServerBoots(ctx, &dedicated.GetServerBootsArgs{
			ServiceName: "nsxxxxxxx.ip-xx-xx-xx.eu",
			BootType:    pulumi.StringRef("rescue"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = Dedicated.NewServerInstallTask(ctx, "serverInstall", &Dedicated.ServerInstallTaskArgs{
			ServiceName:     pulumi.String(server.ServiceName),
			TemplateName:    pulumi.String("byolinux_64"),
			BootidOnDestroy: pulumi.Int(rescue.Results[0]),
			Details: &dedicated.ServerInstallTaskDetailsArgs{
				CustomHostname: pulumi.String("mytest"),
			},
			UserMetadatas: dedicated.ServerInstallTaskUserMetadataArray{
				&dedicated.ServerInstallTaskUserMetadataArgs{
					Key:   pulumi.String("imageURL"),
					Value: pulumi.String("https://myimage.qcow2"),
				},
				&dedicated.ServerInstallTaskUserMetadataArgs{
					Key:   pulumi.String("imageType"),
					Value: pulumi.String("qcow2"),
				},
				&dedicated.ServerInstallTaskUserMetadataArgs{
					Key:   pulumi.String("httpHeaders0Key"),
					Value: pulumi.String("Authorization"),
				},
				&dedicated.ServerInstallTaskUserMetadataArgs{
					Key:   pulumi.String("httpHeaders0Value"),
					Value: pulumi.String("Basic bG9naW46xxxxxxx="),
				},
				&dedicated.ServerInstallTaskUserMetadataArgs{
					Key:   pulumi.String("imageChecksumType"),
					Value: pulumi.String("sha512"),
				},
				&dedicated.ServerInstallTaskUserMetadataArgs{
					Key:   pulumi.String("imageCheckSum"),
					Value: pulumi.String("047122c9ff4d2a69512212104b06c678f5a9cdb22b75467353613ff87ccd03b57b38967e56d810e61366f9d22d6bd39ac0addf4e00a4c6445112a2416af8f225"),
				},
				&dedicated.ServerInstallTaskUserMetadataArgs{
					Key: pulumi.String("configDriveUserData"),
					Value: pulumi.String(fmt.Sprintf(`#cloud-config

ssh_authorized_keys:

  • %v

users:

  • name: patient0 sudo: ALL=(ALL) NOPASSWD:ALL groups: users, sudo shell: /bin/bash lock_passwd: false ssh_authorized_keys:
  • %v

disable_root: false packages:

  • vim
  • tree

final_message: The system is finally up, after $UPTIME seconds `, data.Ovh_me_ssh_key.Mykey.Key, data.Ovh_me_ssh_key.Mykey.Key)),

				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

Using a Microsoft Windows server OVHcloud template with a specific language

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		server, err := ovh.GetServer(ctx, &ovh.GetServerArgs{
			ServiceName: "nsxxxxxxx.ip-xx-xx-xx.eu",
		}, nil)
		if err != nil {
			return err
		}
		rescue, err := Dedicated.GetServerBoots(ctx, &dedicated.GetServerBootsArgs{
			ServiceName: "nsxxxxxxx.ip-xx-xx-xx.eu",
			BootType:    pulumi.StringRef("rescue"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = Dedicated.NewServerInstallTask(ctx, "serverInstall", &Dedicated.ServerInstallTaskArgs{
			ServiceName:     pulumi.String(server.ServiceName),
			TemplateName:    pulumi.String("win2019-std_64"),
			BootidOnDestroy: pulumi.Int(rescue.Results[0]),
			Details: &dedicated.ServerInstallTaskDetailsArgs{
				CustomHostname: pulumi.String("mytest"),
			},
			UserMetadatas: dedicated.ServerInstallTaskUserMetadataArray{
				&dedicated.ServerInstallTaskUserMetadataArgs{
					Key:   pulumi.String("language"),
					Value: pulumi.String("fr-fr"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Installation task can be imported using the `service_name` (`nsXXXX.ip...`) of the baremetal server, the `template_name` used and ths `task_id`, separated by "/" E.g.,

bash

```sh $ pulumi import ovh:Dedicated/serverInstallTask:ServerInstallTask ovh_dedicated_server_install_task nsXXXX.ipXXXX/template_name/12345 ```

func GetServerInstallTask

func GetServerInstallTask(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerInstallTaskState, opts ...pulumi.ResourceOption) (*ServerInstallTask, error)

GetServerInstallTask gets an existing ServerInstallTask 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 NewServerInstallTask

func NewServerInstallTask(ctx *pulumi.Context,
	name string, args *ServerInstallTaskArgs, opts ...pulumi.ResourceOption) (*ServerInstallTask, error)

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

func (*ServerInstallTask) ElementType

func (*ServerInstallTask) ElementType() reflect.Type

func (*ServerInstallTask) ToServerInstallTaskOutput

func (i *ServerInstallTask) ToServerInstallTaskOutput() ServerInstallTaskOutput

func (*ServerInstallTask) ToServerInstallTaskOutputWithContext

func (i *ServerInstallTask) ToServerInstallTaskOutputWithContext(ctx context.Context) ServerInstallTaskOutput

type ServerInstallTaskArgs

type ServerInstallTaskArgs struct {
	// If set, reboot the server on the specified boot id during destroy phase.
	BootidOnDestroy pulumi.IntPtrInput
	// see `details` block below.
	Details ServerInstallTaskDetailsPtrInput
	// Partition scheme name.
	PartitionSchemeName pulumi.StringPtrInput
	// The serviceName of your dedicated server.
	ServiceName pulumi.StringInput
	// Template name.
	TemplateName pulumi.StringInput
	// see `userMetadata` block below.
	UserMetadatas ServerInstallTaskUserMetadataArrayInput
}

The set of arguments for constructing a ServerInstallTask resource.

func (ServerInstallTaskArgs) ElementType

func (ServerInstallTaskArgs) ElementType() reflect.Type

type ServerInstallTaskArray

type ServerInstallTaskArray []ServerInstallTaskInput

func (ServerInstallTaskArray) ElementType

func (ServerInstallTaskArray) ElementType() reflect.Type

func (ServerInstallTaskArray) ToServerInstallTaskArrayOutput

func (i ServerInstallTaskArray) ToServerInstallTaskArrayOutput() ServerInstallTaskArrayOutput

func (ServerInstallTaskArray) ToServerInstallTaskArrayOutputWithContext

func (i ServerInstallTaskArray) ToServerInstallTaskArrayOutputWithContext(ctx context.Context) ServerInstallTaskArrayOutput

type ServerInstallTaskArrayInput

type ServerInstallTaskArrayInput interface {
	pulumi.Input

	ToServerInstallTaskArrayOutput() ServerInstallTaskArrayOutput
	ToServerInstallTaskArrayOutputWithContext(context.Context) ServerInstallTaskArrayOutput
}

ServerInstallTaskArrayInput is an input type that accepts ServerInstallTaskArray and ServerInstallTaskArrayOutput values. You can construct a concrete instance of `ServerInstallTaskArrayInput` via:

ServerInstallTaskArray{ ServerInstallTaskArgs{...} }

type ServerInstallTaskArrayOutput

type ServerInstallTaskArrayOutput struct{ *pulumi.OutputState }

func (ServerInstallTaskArrayOutput) ElementType

func (ServerInstallTaskArrayOutput) Index

func (ServerInstallTaskArrayOutput) ToServerInstallTaskArrayOutput

func (o ServerInstallTaskArrayOutput) ToServerInstallTaskArrayOutput() ServerInstallTaskArrayOutput

func (ServerInstallTaskArrayOutput) ToServerInstallTaskArrayOutputWithContext

func (o ServerInstallTaskArrayOutput) ToServerInstallTaskArrayOutputWithContext(ctx context.Context) ServerInstallTaskArrayOutput

type ServerInstallTaskDetails

type ServerInstallTaskDetails struct {
	// Set up the server using the provided hostname instead of the default hostname.
	CustomHostname *string `pulumi:"customHostname"`
	// Disk group id.
	DiskGroupId *int `pulumi:"diskGroupId"`
	// Deprecated, will be removed in next release.
	//
	// Deprecated: This field is deprecated and will be removed in a future release
	Language *string `pulumi:"language"`
	// Set to true to disable RAID.
	NoRaid *bool `pulumi:"noRaid"`
	// 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"`
	// soft raid devices.
	SoftRaidDevices *int `pulumi:"softRaidDevices"`
	// Deprecated, will be removed in next release.
	//
	// The `userMetadata` block supports many arguments, here is a non-exhaustive list depending on the OS:
	//
	// -[see OS questions](https://help.ovhcloud.com/csm/en-dedicated-servers-api-os-installation?id=kb_article_view&sysparm_article=KB0061951#os-questions)
	//
	// -[see api](https://eu.api.ovh.com/console-preview/?section=%2Fdedicated%2FinstallationTemplate&branch=v1#get-/dedicated/installationTemplate/-templateName-)
	//
	// -[see documentation](https://help.ovhcloud.com/csm/en-ie-dedicated-servers-api-os-installation?id=kb_article_view&sysparm_article=KB0061950#create-an-os-installation-task) to get more information
	//
	// Deprecated: This field is deprecated and will be removed in a future release
	UseSpla *bool `pulumi:"useSpla"`
}

type ServerInstallTaskDetailsArgs

type ServerInstallTaskDetailsArgs struct {
	// Set up the server using the provided hostname instead of the default hostname.
	CustomHostname pulumi.StringPtrInput `pulumi:"customHostname"`
	// Disk group id.
	DiskGroupId pulumi.IntPtrInput `pulumi:"diskGroupId"`
	// Deprecated, will be removed in next release.
	//
	// Deprecated: This field is deprecated and will be removed in a future release
	Language pulumi.StringPtrInput `pulumi:"language"`
	// Set to true to disable RAID.
	NoRaid pulumi.BoolPtrInput `pulumi:"noRaid"`
	// 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"`
	// soft raid devices.
	SoftRaidDevices pulumi.IntPtrInput `pulumi:"softRaidDevices"`
	// Deprecated, will be removed in next release.
	//
	// The `userMetadata` block supports many arguments, here is a non-exhaustive list depending on the OS:
	//
	// -[see OS questions](https://help.ovhcloud.com/csm/en-dedicated-servers-api-os-installation?id=kb_article_view&sysparm_article=KB0061951#os-questions)
	//
	// -[see api](https://eu.api.ovh.com/console-preview/?section=%2Fdedicated%2FinstallationTemplate&branch=v1#get-/dedicated/installationTemplate/-templateName-)
	//
	// -[see documentation](https://help.ovhcloud.com/csm/en-ie-dedicated-servers-api-os-installation?id=kb_article_view&sysparm_article=KB0061950#create-an-os-installation-task) to get more information
	//
	// Deprecated: This field is deprecated and will be removed in a future release
	UseSpla pulumi.BoolPtrInput `pulumi:"useSpla"`
}

func (ServerInstallTaskDetailsArgs) ElementType

func (ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsOutput

func (i ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsOutput() ServerInstallTaskDetailsOutput

func (ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsOutputWithContext

func (i ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsOutputWithContext(ctx context.Context) ServerInstallTaskDetailsOutput

func (ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsPtrOutput

func (i ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsPtrOutput() ServerInstallTaskDetailsPtrOutput

func (ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsPtrOutputWithContext

func (i ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsPtrOutputWithContext(ctx context.Context) ServerInstallTaskDetailsPtrOutput

type ServerInstallTaskDetailsInput

type ServerInstallTaskDetailsInput interface {
	pulumi.Input

	ToServerInstallTaskDetailsOutput() ServerInstallTaskDetailsOutput
	ToServerInstallTaskDetailsOutputWithContext(context.Context) ServerInstallTaskDetailsOutput
}

ServerInstallTaskDetailsInput is an input type that accepts ServerInstallTaskDetailsArgs and ServerInstallTaskDetailsOutput values. You can construct a concrete instance of `ServerInstallTaskDetailsInput` via:

ServerInstallTaskDetailsArgs{...}

type ServerInstallTaskDetailsOutput

type ServerInstallTaskDetailsOutput struct{ *pulumi.OutputState }

func (ServerInstallTaskDetailsOutput) CustomHostname

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

func (ServerInstallTaskDetailsOutput) DiskGroupId

Disk group id.

func (ServerInstallTaskDetailsOutput) ElementType

func (ServerInstallTaskDetailsOutput) Language deprecated

Deprecated, will be removed in next release.

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

func (ServerInstallTaskDetailsOutput) NoRaid

Set to true to disable RAID.

func (o ServerInstallTaskDetailsOutput) PostInstallationScriptLink() pulumi.StringPtrOutput

Indicate the URL where your postinstall customisation script is located.

func (ServerInstallTaskDetailsOutput) PostInstallationScriptReturn

func (o ServerInstallTaskDetailsOutput) 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 (ServerInstallTaskDetailsOutput) SoftRaidDevices

soft raid devices.

func (ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsOutput

func (o ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsOutput() ServerInstallTaskDetailsOutput

func (ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsOutputWithContext

func (o ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsOutputWithContext(ctx context.Context) ServerInstallTaskDetailsOutput

func (ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsPtrOutput

func (o ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsPtrOutput() ServerInstallTaskDetailsPtrOutput

func (ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsPtrOutputWithContext

func (o ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsPtrOutputWithContext(ctx context.Context) ServerInstallTaskDetailsPtrOutput

func (ServerInstallTaskDetailsOutput) UseSpla deprecated

Deprecated, will be removed in next release.

The `userMetadata` block supports many arguments, here is a non-exhaustive list depending on the OS:

-[see OS questions](https://help.ovhcloud.com/csm/en-dedicated-servers-api-os-installation?id=kb_article_view&sysparm_article=KB0061951#os-questions)

-[see api](https://eu.api.ovh.com/console-preview/?section=%2Fdedicated%2FinstallationTemplate&branch=v1#get-/dedicated/installationTemplate/-templateName-)

-[see documentation](https://help.ovhcloud.com/csm/en-ie-dedicated-servers-api-os-installation?id=kb_article_view&sysparm_article=KB0061950#create-an-os-installation-task) to get more information

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

type ServerInstallTaskDetailsPtrInput

type ServerInstallTaskDetailsPtrInput interface {
	pulumi.Input

	ToServerInstallTaskDetailsPtrOutput() ServerInstallTaskDetailsPtrOutput
	ToServerInstallTaskDetailsPtrOutputWithContext(context.Context) ServerInstallTaskDetailsPtrOutput
}

ServerInstallTaskDetailsPtrInput is an input type that accepts ServerInstallTaskDetailsArgs, ServerInstallTaskDetailsPtr and ServerInstallTaskDetailsPtrOutput values. You can construct a concrete instance of `ServerInstallTaskDetailsPtrInput` via:

        ServerInstallTaskDetailsArgs{...}

or:

        nil

type ServerInstallTaskDetailsPtrOutput

type ServerInstallTaskDetailsPtrOutput struct{ *pulumi.OutputState }

func (ServerInstallTaskDetailsPtrOutput) CustomHostname

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

func (ServerInstallTaskDetailsPtrOutput) DiskGroupId

Disk group id.

func (ServerInstallTaskDetailsPtrOutput) Elem

func (ServerInstallTaskDetailsPtrOutput) ElementType

func (ServerInstallTaskDetailsPtrOutput) Language deprecated

Deprecated, will be removed in next release.

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

func (ServerInstallTaskDetailsPtrOutput) NoRaid

Set to true to disable RAID.

func (o ServerInstallTaskDetailsPtrOutput) PostInstallationScriptLink() pulumi.StringPtrOutput

Indicate the URL where your postinstall customisation script is located.

func (ServerInstallTaskDetailsPtrOutput) PostInstallationScriptReturn

func (o ServerInstallTaskDetailsPtrOutput) 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 (ServerInstallTaskDetailsPtrOutput) SoftRaidDevices

soft raid devices.

func (ServerInstallTaskDetailsPtrOutput) ToServerInstallTaskDetailsPtrOutput

func (o ServerInstallTaskDetailsPtrOutput) ToServerInstallTaskDetailsPtrOutput() ServerInstallTaskDetailsPtrOutput

func (ServerInstallTaskDetailsPtrOutput) ToServerInstallTaskDetailsPtrOutputWithContext

func (o ServerInstallTaskDetailsPtrOutput) ToServerInstallTaskDetailsPtrOutputWithContext(ctx context.Context) ServerInstallTaskDetailsPtrOutput

func (ServerInstallTaskDetailsPtrOutput) UseSpla deprecated

Deprecated, will be removed in next release.

The `userMetadata` block supports many arguments, here is a non-exhaustive list depending on the OS:

-[see OS questions](https://help.ovhcloud.com/csm/en-dedicated-servers-api-os-installation?id=kb_article_view&sysparm_article=KB0061951#os-questions)

-[see api](https://eu.api.ovh.com/console-preview/?section=%2Fdedicated%2FinstallationTemplate&branch=v1#get-/dedicated/installationTemplate/-templateName-)

-[see documentation](https://help.ovhcloud.com/csm/en-ie-dedicated-servers-api-os-installation?id=kb_article_view&sysparm_article=KB0061950#create-an-os-installation-task) to get more information

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

type ServerInstallTaskInput

type ServerInstallTaskInput interface {
	pulumi.Input

	ToServerInstallTaskOutput() ServerInstallTaskOutput
	ToServerInstallTaskOutputWithContext(ctx context.Context) ServerInstallTaskOutput
}

type ServerInstallTaskMap

type ServerInstallTaskMap map[string]ServerInstallTaskInput

func (ServerInstallTaskMap) ElementType

func (ServerInstallTaskMap) ElementType() reflect.Type

func (ServerInstallTaskMap) ToServerInstallTaskMapOutput

func (i ServerInstallTaskMap) ToServerInstallTaskMapOutput() ServerInstallTaskMapOutput

func (ServerInstallTaskMap) ToServerInstallTaskMapOutputWithContext

func (i ServerInstallTaskMap) ToServerInstallTaskMapOutputWithContext(ctx context.Context) ServerInstallTaskMapOutput

type ServerInstallTaskMapInput

type ServerInstallTaskMapInput interface {
	pulumi.Input

	ToServerInstallTaskMapOutput() ServerInstallTaskMapOutput
	ToServerInstallTaskMapOutputWithContext(context.Context) ServerInstallTaskMapOutput
}

ServerInstallTaskMapInput is an input type that accepts ServerInstallTaskMap and ServerInstallTaskMapOutput values. You can construct a concrete instance of `ServerInstallTaskMapInput` via:

ServerInstallTaskMap{ "key": ServerInstallTaskArgs{...} }

type ServerInstallTaskMapOutput

type ServerInstallTaskMapOutput struct{ *pulumi.OutputState }

func (ServerInstallTaskMapOutput) ElementType

func (ServerInstallTaskMapOutput) ElementType() reflect.Type

func (ServerInstallTaskMapOutput) MapIndex

func (ServerInstallTaskMapOutput) ToServerInstallTaskMapOutput

func (o ServerInstallTaskMapOutput) ToServerInstallTaskMapOutput() ServerInstallTaskMapOutput

func (ServerInstallTaskMapOutput) ToServerInstallTaskMapOutputWithContext

func (o ServerInstallTaskMapOutput) ToServerInstallTaskMapOutputWithContext(ctx context.Context) ServerInstallTaskMapOutput

type ServerInstallTaskOutput

type ServerInstallTaskOutput struct{ *pulumi.OutputState }

func (ServerInstallTaskOutput) BootidOnDestroy

func (o ServerInstallTaskOutput) BootidOnDestroy() pulumi.IntPtrOutput

If set, reboot the server on the specified boot id during destroy phase.

func (ServerInstallTaskOutput) Comment

Details of this task. (should be `Install asked`)

func (ServerInstallTaskOutput) Details

see `details` block below.

func (ServerInstallTaskOutput) DoneDate

Completion date in RFC3339 format.

func (ServerInstallTaskOutput) ElementType

func (ServerInstallTaskOutput) ElementType() reflect.Type

func (ServerInstallTaskOutput) Function

Function name (should be `hardInstall`).

func (ServerInstallTaskOutput) LastUpdate

Last update in RFC3339 format.

func (ServerInstallTaskOutput) PartitionSchemeName

func (o ServerInstallTaskOutput) PartitionSchemeName() pulumi.StringPtrOutput

Partition scheme name.

func (ServerInstallTaskOutput) ServiceName

The serviceName of your dedicated server.

func (ServerInstallTaskOutput) StartDate

Task creation date in RFC3339 format.

func (ServerInstallTaskOutput) Status

Task status (should be `done`)

func (ServerInstallTaskOutput) TemplateName

func (o ServerInstallTaskOutput) TemplateName() pulumi.StringOutput

Template name.

func (ServerInstallTaskOutput) ToServerInstallTaskOutput

func (o ServerInstallTaskOutput) ToServerInstallTaskOutput() ServerInstallTaskOutput

func (ServerInstallTaskOutput) ToServerInstallTaskOutputWithContext

func (o ServerInstallTaskOutput) ToServerInstallTaskOutputWithContext(ctx context.Context) ServerInstallTaskOutput

func (ServerInstallTaskOutput) UserMetadatas added in v0.43.0

see `userMetadata` block below.

type ServerInstallTaskState

type ServerInstallTaskState struct {
	// If set, reboot the server on the specified boot id during destroy phase.
	BootidOnDestroy pulumi.IntPtrInput
	// Details of this task. (should be `Install asked`)
	Comment pulumi.StringPtrInput
	// see `details` block below.
	Details ServerInstallTaskDetailsPtrInput
	// Completion date in RFC3339 format.
	DoneDate pulumi.StringPtrInput
	// Function name (should be `hardInstall`).
	Function pulumi.StringPtrInput
	// Last update in RFC3339 format.
	LastUpdate pulumi.StringPtrInput
	// Partition scheme name.
	PartitionSchemeName pulumi.StringPtrInput
	// The serviceName of your dedicated server.
	ServiceName pulumi.StringPtrInput
	// Task creation date in RFC3339 format.
	StartDate pulumi.StringPtrInput
	// Task status (should be `done`)
	Status pulumi.StringPtrInput
	// Template name.
	TemplateName pulumi.StringPtrInput
	// see `userMetadata` block below.
	UserMetadatas ServerInstallTaskUserMetadataArrayInput
}

func (ServerInstallTaskState) ElementType

func (ServerInstallTaskState) ElementType() reflect.Type

type ServerInstallTaskUserMetadata added in v0.43.0

type ServerInstallTaskUserMetadata struct {
	// The key for the user_metadata
	Key string `pulumi:"key"`
	// The value for the user_metadata
	Value string `pulumi:"value"`
}

type ServerInstallTaskUserMetadataArgs added in v0.43.0

type ServerInstallTaskUserMetadataArgs struct {
	// The key for the user_metadata
	Key pulumi.StringInput `pulumi:"key"`
	// The value for the user_metadata
	Value pulumi.StringInput `pulumi:"value"`
}

func (ServerInstallTaskUserMetadataArgs) ElementType added in v0.43.0

func (ServerInstallTaskUserMetadataArgs) ToServerInstallTaskUserMetadataOutput added in v0.43.0

func (i ServerInstallTaskUserMetadataArgs) ToServerInstallTaskUserMetadataOutput() ServerInstallTaskUserMetadataOutput

func (ServerInstallTaskUserMetadataArgs) ToServerInstallTaskUserMetadataOutputWithContext added in v0.43.0

func (i ServerInstallTaskUserMetadataArgs) ToServerInstallTaskUserMetadataOutputWithContext(ctx context.Context) ServerInstallTaskUserMetadataOutput

type ServerInstallTaskUserMetadataArray added in v0.43.0

type ServerInstallTaskUserMetadataArray []ServerInstallTaskUserMetadataInput

func (ServerInstallTaskUserMetadataArray) ElementType added in v0.43.0

func (ServerInstallTaskUserMetadataArray) ToServerInstallTaskUserMetadataArrayOutput added in v0.43.0

func (i ServerInstallTaskUserMetadataArray) ToServerInstallTaskUserMetadataArrayOutput() ServerInstallTaskUserMetadataArrayOutput

func (ServerInstallTaskUserMetadataArray) ToServerInstallTaskUserMetadataArrayOutputWithContext added in v0.43.0

func (i ServerInstallTaskUserMetadataArray) ToServerInstallTaskUserMetadataArrayOutputWithContext(ctx context.Context) ServerInstallTaskUserMetadataArrayOutput

type ServerInstallTaskUserMetadataArrayInput added in v0.43.0

type ServerInstallTaskUserMetadataArrayInput interface {
	pulumi.Input

	ToServerInstallTaskUserMetadataArrayOutput() ServerInstallTaskUserMetadataArrayOutput
	ToServerInstallTaskUserMetadataArrayOutputWithContext(context.Context) ServerInstallTaskUserMetadataArrayOutput
}

ServerInstallTaskUserMetadataArrayInput is an input type that accepts ServerInstallTaskUserMetadataArray and ServerInstallTaskUserMetadataArrayOutput values. You can construct a concrete instance of `ServerInstallTaskUserMetadataArrayInput` via:

ServerInstallTaskUserMetadataArray{ ServerInstallTaskUserMetadataArgs{...} }

type ServerInstallTaskUserMetadataArrayOutput added in v0.43.0

type ServerInstallTaskUserMetadataArrayOutput struct{ *pulumi.OutputState }

func (ServerInstallTaskUserMetadataArrayOutput) ElementType added in v0.43.0

func (ServerInstallTaskUserMetadataArrayOutput) Index added in v0.43.0

func (ServerInstallTaskUserMetadataArrayOutput) ToServerInstallTaskUserMetadataArrayOutput added in v0.43.0

func (o ServerInstallTaskUserMetadataArrayOutput) ToServerInstallTaskUserMetadataArrayOutput() ServerInstallTaskUserMetadataArrayOutput

func (ServerInstallTaskUserMetadataArrayOutput) ToServerInstallTaskUserMetadataArrayOutputWithContext added in v0.43.0

func (o ServerInstallTaskUserMetadataArrayOutput) ToServerInstallTaskUserMetadataArrayOutputWithContext(ctx context.Context) ServerInstallTaskUserMetadataArrayOutput

type ServerInstallTaskUserMetadataInput added in v0.43.0

type ServerInstallTaskUserMetadataInput interface {
	pulumi.Input

	ToServerInstallTaskUserMetadataOutput() ServerInstallTaskUserMetadataOutput
	ToServerInstallTaskUserMetadataOutputWithContext(context.Context) ServerInstallTaskUserMetadataOutput
}

ServerInstallTaskUserMetadataInput is an input type that accepts ServerInstallTaskUserMetadataArgs and ServerInstallTaskUserMetadataOutput values. You can construct a concrete instance of `ServerInstallTaskUserMetadataInput` via:

ServerInstallTaskUserMetadataArgs{...}

type ServerInstallTaskUserMetadataOutput added in v0.43.0

type ServerInstallTaskUserMetadataOutput struct{ *pulumi.OutputState }

func (ServerInstallTaskUserMetadataOutput) ElementType added in v0.43.0

func (ServerInstallTaskUserMetadataOutput) Key added in v0.43.0

The key for the user_metadata

func (ServerInstallTaskUserMetadataOutput) ToServerInstallTaskUserMetadataOutput added in v0.43.0

func (o ServerInstallTaskUserMetadataOutput) ToServerInstallTaskUserMetadataOutput() ServerInstallTaskUserMetadataOutput

func (ServerInstallTaskUserMetadataOutput) ToServerInstallTaskUserMetadataOutputWithContext added in v0.43.0

func (o ServerInstallTaskUserMetadataOutput) ToServerInstallTaskUserMetadataOutputWithContext(ctx context.Context) ServerInstallTaskUserMetadataOutput

func (ServerInstallTaskUserMetadataOutput) Value added in v0.43.0

The value for the user_metadata

type ServerNetworking

type ServerNetworking struct {
	pulumi.CustomResourceState

	// Operation description
	Description pulumi.StringOutput `pulumi:"description"`
	// Interface or interfaces aggregation.
	Interfaces ServerNetworkingInterfaceArrayOutput `pulumi:"interfaces"`
	// The internal name of your dedicated server.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// Operation status
	Status pulumi.StringOutput `pulumi:"status"`
}

func GetServerNetworking

func GetServerNetworking(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerNetworkingState, opts ...pulumi.ResourceOption) (*ServerNetworking, error)

GetServerNetworking gets an existing ServerNetworking 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 NewServerNetworking

func NewServerNetworking(ctx *pulumi.Context,
	name string, args *ServerNetworkingArgs, opts ...pulumi.ResourceOption) (*ServerNetworking, error)

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

func (*ServerNetworking) ElementType

func (*ServerNetworking) ElementType() reflect.Type

func (*ServerNetworking) ToServerNetworkingOutput

func (i *ServerNetworking) ToServerNetworkingOutput() ServerNetworkingOutput

func (*ServerNetworking) ToServerNetworkingOutputWithContext

func (i *ServerNetworking) ToServerNetworkingOutputWithContext(ctx context.Context) ServerNetworkingOutput

type ServerNetworkingArgs

type ServerNetworkingArgs struct {
	// Interface or interfaces aggregation.
	Interfaces ServerNetworkingInterfaceArrayInput
	// The internal name of your dedicated server.
	ServiceName pulumi.StringInput
}

The set of arguments for constructing a ServerNetworking resource.

func (ServerNetworkingArgs) ElementType

func (ServerNetworkingArgs) ElementType() reflect.Type

type ServerNetworkingArray

type ServerNetworkingArray []ServerNetworkingInput

func (ServerNetworkingArray) ElementType

func (ServerNetworkingArray) ElementType() reflect.Type

func (ServerNetworkingArray) ToServerNetworkingArrayOutput

func (i ServerNetworkingArray) ToServerNetworkingArrayOutput() ServerNetworkingArrayOutput

func (ServerNetworkingArray) ToServerNetworkingArrayOutputWithContext

func (i ServerNetworkingArray) ToServerNetworkingArrayOutputWithContext(ctx context.Context) ServerNetworkingArrayOutput

type ServerNetworkingArrayInput

type ServerNetworkingArrayInput interface {
	pulumi.Input

	ToServerNetworkingArrayOutput() ServerNetworkingArrayOutput
	ToServerNetworkingArrayOutputWithContext(context.Context) ServerNetworkingArrayOutput
}

ServerNetworkingArrayInput is an input type that accepts ServerNetworkingArray and ServerNetworkingArrayOutput values. You can construct a concrete instance of `ServerNetworkingArrayInput` via:

ServerNetworkingArray{ ServerNetworkingArgs{...} }

type ServerNetworkingArrayOutput

type ServerNetworkingArrayOutput struct{ *pulumi.OutputState }

func (ServerNetworkingArrayOutput) ElementType

func (ServerNetworkingArrayOutput) Index

func (ServerNetworkingArrayOutput) ToServerNetworkingArrayOutput

func (o ServerNetworkingArrayOutput) ToServerNetworkingArrayOutput() ServerNetworkingArrayOutput

func (ServerNetworkingArrayOutput) ToServerNetworkingArrayOutputWithContext

func (o ServerNetworkingArrayOutput) ToServerNetworkingArrayOutputWithContext(ctx context.Context) ServerNetworkingArrayOutput

type ServerNetworkingInput

type ServerNetworkingInput interface {
	pulumi.Input

	ToServerNetworkingOutput() ServerNetworkingOutput
	ToServerNetworkingOutputWithContext(ctx context.Context) ServerNetworkingOutput
}

type ServerNetworkingInterface

type ServerNetworkingInterface struct {
	// Interface Mac address
	Macs []string `pulumi:"macs"`
	// Interface type
	Type string `pulumi:"type"`
}

type ServerNetworkingInterfaceArgs

type ServerNetworkingInterfaceArgs struct {
	// Interface Mac address
	Macs pulumi.StringArrayInput `pulumi:"macs"`
	// Interface type
	Type pulumi.StringInput `pulumi:"type"`
}

func (ServerNetworkingInterfaceArgs) ElementType

func (ServerNetworkingInterfaceArgs) ToServerNetworkingInterfaceOutput

func (i ServerNetworkingInterfaceArgs) ToServerNetworkingInterfaceOutput() ServerNetworkingInterfaceOutput

func (ServerNetworkingInterfaceArgs) ToServerNetworkingInterfaceOutputWithContext

func (i ServerNetworkingInterfaceArgs) ToServerNetworkingInterfaceOutputWithContext(ctx context.Context) ServerNetworkingInterfaceOutput

type ServerNetworkingInterfaceArray

type ServerNetworkingInterfaceArray []ServerNetworkingInterfaceInput

func (ServerNetworkingInterfaceArray) ElementType

func (ServerNetworkingInterfaceArray) ToServerNetworkingInterfaceArrayOutput

func (i ServerNetworkingInterfaceArray) ToServerNetworkingInterfaceArrayOutput() ServerNetworkingInterfaceArrayOutput

func (ServerNetworkingInterfaceArray) ToServerNetworkingInterfaceArrayOutputWithContext

func (i ServerNetworkingInterfaceArray) ToServerNetworkingInterfaceArrayOutputWithContext(ctx context.Context) ServerNetworkingInterfaceArrayOutput

type ServerNetworkingInterfaceArrayInput

type ServerNetworkingInterfaceArrayInput interface {
	pulumi.Input

	ToServerNetworkingInterfaceArrayOutput() ServerNetworkingInterfaceArrayOutput
	ToServerNetworkingInterfaceArrayOutputWithContext(context.Context) ServerNetworkingInterfaceArrayOutput
}

ServerNetworkingInterfaceArrayInput is an input type that accepts ServerNetworkingInterfaceArray and ServerNetworkingInterfaceArrayOutput values. You can construct a concrete instance of `ServerNetworkingInterfaceArrayInput` via:

ServerNetworkingInterfaceArray{ ServerNetworkingInterfaceArgs{...} }

type ServerNetworkingInterfaceArrayOutput

type ServerNetworkingInterfaceArrayOutput struct{ *pulumi.OutputState }

func (ServerNetworkingInterfaceArrayOutput) ElementType

func (ServerNetworkingInterfaceArrayOutput) Index

func (ServerNetworkingInterfaceArrayOutput) ToServerNetworkingInterfaceArrayOutput

func (o ServerNetworkingInterfaceArrayOutput) ToServerNetworkingInterfaceArrayOutput() ServerNetworkingInterfaceArrayOutput

func (ServerNetworkingInterfaceArrayOutput) ToServerNetworkingInterfaceArrayOutputWithContext

func (o ServerNetworkingInterfaceArrayOutput) ToServerNetworkingInterfaceArrayOutputWithContext(ctx context.Context) ServerNetworkingInterfaceArrayOutput

type ServerNetworkingInterfaceInput

type ServerNetworkingInterfaceInput interface {
	pulumi.Input

	ToServerNetworkingInterfaceOutput() ServerNetworkingInterfaceOutput
	ToServerNetworkingInterfaceOutputWithContext(context.Context) ServerNetworkingInterfaceOutput
}

ServerNetworkingInterfaceInput is an input type that accepts ServerNetworkingInterfaceArgs and ServerNetworkingInterfaceOutput values. You can construct a concrete instance of `ServerNetworkingInterfaceInput` via:

ServerNetworkingInterfaceArgs{...}

type ServerNetworkingInterfaceOutput

type ServerNetworkingInterfaceOutput struct{ *pulumi.OutputState }

func (ServerNetworkingInterfaceOutput) ElementType

func (ServerNetworkingInterfaceOutput) Macs

Interface Mac address

func (ServerNetworkingInterfaceOutput) ToServerNetworkingInterfaceOutput

func (o ServerNetworkingInterfaceOutput) ToServerNetworkingInterfaceOutput() ServerNetworkingInterfaceOutput

func (ServerNetworkingInterfaceOutput) ToServerNetworkingInterfaceOutputWithContext

func (o ServerNetworkingInterfaceOutput) ToServerNetworkingInterfaceOutputWithContext(ctx context.Context) ServerNetworkingInterfaceOutput

func (ServerNetworkingInterfaceOutput) Type

Interface type

type ServerNetworkingMap

type ServerNetworkingMap map[string]ServerNetworkingInput

func (ServerNetworkingMap) ElementType

func (ServerNetworkingMap) ElementType() reflect.Type

func (ServerNetworkingMap) ToServerNetworkingMapOutput

func (i ServerNetworkingMap) ToServerNetworkingMapOutput() ServerNetworkingMapOutput

func (ServerNetworkingMap) ToServerNetworkingMapOutputWithContext

func (i ServerNetworkingMap) ToServerNetworkingMapOutputWithContext(ctx context.Context) ServerNetworkingMapOutput

type ServerNetworkingMapInput

type ServerNetworkingMapInput interface {
	pulumi.Input

	ToServerNetworkingMapOutput() ServerNetworkingMapOutput
	ToServerNetworkingMapOutputWithContext(context.Context) ServerNetworkingMapOutput
}

ServerNetworkingMapInput is an input type that accepts ServerNetworkingMap and ServerNetworkingMapOutput values. You can construct a concrete instance of `ServerNetworkingMapInput` via:

ServerNetworkingMap{ "key": ServerNetworkingArgs{...} }

type ServerNetworkingMapOutput

type ServerNetworkingMapOutput struct{ *pulumi.OutputState }

func (ServerNetworkingMapOutput) ElementType

func (ServerNetworkingMapOutput) ElementType() reflect.Type

func (ServerNetworkingMapOutput) MapIndex

func (ServerNetworkingMapOutput) ToServerNetworkingMapOutput

func (o ServerNetworkingMapOutput) ToServerNetworkingMapOutput() ServerNetworkingMapOutput

func (ServerNetworkingMapOutput) ToServerNetworkingMapOutputWithContext

func (o ServerNetworkingMapOutput) ToServerNetworkingMapOutputWithContext(ctx context.Context) ServerNetworkingMapOutput

type ServerNetworkingOutput

type ServerNetworkingOutput struct{ *pulumi.OutputState }

func (ServerNetworkingOutput) Description

func (o ServerNetworkingOutput) Description() pulumi.StringOutput

Operation description

func (ServerNetworkingOutput) ElementType

func (ServerNetworkingOutput) ElementType() reflect.Type

func (ServerNetworkingOutput) Interfaces

Interface or interfaces aggregation.

func (ServerNetworkingOutput) ServiceName

func (o ServerNetworkingOutput) ServiceName() pulumi.StringOutput

The internal name of your dedicated server.

func (ServerNetworkingOutput) Status

Operation status

func (ServerNetworkingOutput) ToServerNetworkingOutput

func (o ServerNetworkingOutput) ToServerNetworkingOutput() ServerNetworkingOutput

func (ServerNetworkingOutput) ToServerNetworkingOutputWithContext

func (o ServerNetworkingOutput) ToServerNetworkingOutputWithContext(ctx context.Context) ServerNetworkingOutput

type ServerNetworkingState

type ServerNetworkingState struct {
	// Operation description
	Description pulumi.StringPtrInput
	// Interface or interfaces aggregation.
	Interfaces ServerNetworkingInterfaceArrayInput
	// The internal name of your dedicated server.
	ServiceName pulumi.StringPtrInput
	// Operation status
	Status pulumi.StringPtrInput
}

func (ServerNetworkingState) ElementType

func (ServerNetworkingState) ElementType() reflect.Type

type ServerRebootTask

type ServerRebootTask struct {
	pulumi.CustomResourceState

	// Details of this task. (should be `Reboot asked`)
	Comment pulumi.StringOutput `pulumi:"comment"`
	// Completion date in RFC3339 format.
	DoneDate pulumi.StringOutput `pulumi:"doneDate"`
	// Function name (should be `hardReboot`).
	Function pulumi.StringOutput `pulumi:"function"`
	// List of values tracked to trigger reboot, used also to form implicit dependencies.
	Keepers pulumi.StringArrayOutput `pulumi:"keepers"`
	// Last update in RFC3339 format.
	LastUpdate pulumi.StringOutput `pulumi:"lastUpdate"`
	// The serviceName of your dedicated server.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// Task creation date in RFC3339 format.
	StartDate pulumi.StringOutput `pulumi:"startDate"`
	// Task status (should be `done`)
	Status pulumi.StringOutput `pulumi:"status"`
}

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		rescue, err := Dedicated.GetServerBoots(ctx, &dedicated.GetServerBootsArgs{
			ServiceName: "nsxxxxxxx.ip-xx-xx-xx.eu",
			BootType:    pulumi.StringRef("rescue"),
			Kernel:      pulumi.StringRef("rescue64-pro"),
		}, nil)
		if err != nil {
			return err
		}
		serverOnRescue, err := Dedicated.NewServerUpdate(ctx, "serverOnRescue", &Dedicated.ServerUpdateArgs{
			ServiceName: pulumi.String("nsxxxxxxx.ip-xx-xx-xx.eu"),
			BootId:      pulumi.Int(rescue.Results[0]),
			Monitoring:  pulumi.Bool(true),
			State:       pulumi.String("ok"),
		})
		if err != nil {
			return err
		}
		_, err = Dedicated.NewServerRebootTask(ctx, "serverReboot", &Dedicated.ServerRebootTaskArgs{
			ServiceName: pulumi.String(rescue.ServiceName),
			Keepers: pulumi.StringArray{
				serverOnRescue.BootId,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

func GetServerRebootTask

func GetServerRebootTask(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerRebootTaskState, opts ...pulumi.ResourceOption) (*ServerRebootTask, error)

GetServerRebootTask gets an existing ServerRebootTask 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 NewServerRebootTask

func NewServerRebootTask(ctx *pulumi.Context,
	name string, args *ServerRebootTaskArgs, opts ...pulumi.ResourceOption) (*ServerRebootTask, error)

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

func (*ServerRebootTask) ElementType

func (*ServerRebootTask) ElementType() reflect.Type

func (*ServerRebootTask) ToServerRebootTaskOutput

func (i *ServerRebootTask) ToServerRebootTaskOutput() ServerRebootTaskOutput

func (*ServerRebootTask) ToServerRebootTaskOutputWithContext

func (i *ServerRebootTask) ToServerRebootTaskOutputWithContext(ctx context.Context) ServerRebootTaskOutput

type ServerRebootTaskArgs

type ServerRebootTaskArgs struct {
	// List of values tracked to trigger reboot, used also to form implicit dependencies.
	Keepers pulumi.StringArrayInput
	// The serviceName of your dedicated server.
	ServiceName pulumi.StringInput
}

The set of arguments for constructing a ServerRebootTask resource.

func (ServerRebootTaskArgs) ElementType

func (ServerRebootTaskArgs) ElementType() reflect.Type

type ServerRebootTaskArray

type ServerRebootTaskArray []ServerRebootTaskInput

func (ServerRebootTaskArray) ElementType

func (ServerRebootTaskArray) ElementType() reflect.Type

func (ServerRebootTaskArray) ToServerRebootTaskArrayOutput

func (i ServerRebootTaskArray) ToServerRebootTaskArrayOutput() ServerRebootTaskArrayOutput

func (ServerRebootTaskArray) ToServerRebootTaskArrayOutputWithContext

func (i ServerRebootTaskArray) ToServerRebootTaskArrayOutputWithContext(ctx context.Context) ServerRebootTaskArrayOutput

type ServerRebootTaskArrayInput

type ServerRebootTaskArrayInput interface {
	pulumi.Input

	ToServerRebootTaskArrayOutput() ServerRebootTaskArrayOutput
	ToServerRebootTaskArrayOutputWithContext(context.Context) ServerRebootTaskArrayOutput
}

ServerRebootTaskArrayInput is an input type that accepts ServerRebootTaskArray and ServerRebootTaskArrayOutput values. You can construct a concrete instance of `ServerRebootTaskArrayInput` via:

ServerRebootTaskArray{ ServerRebootTaskArgs{...} }

type ServerRebootTaskArrayOutput

type ServerRebootTaskArrayOutput struct{ *pulumi.OutputState }

func (ServerRebootTaskArrayOutput) ElementType

func (ServerRebootTaskArrayOutput) Index

func (ServerRebootTaskArrayOutput) ToServerRebootTaskArrayOutput

func (o ServerRebootTaskArrayOutput) ToServerRebootTaskArrayOutput() ServerRebootTaskArrayOutput

func (ServerRebootTaskArrayOutput) ToServerRebootTaskArrayOutputWithContext

func (o ServerRebootTaskArrayOutput) ToServerRebootTaskArrayOutputWithContext(ctx context.Context) ServerRebootTaskArrayOutput

type ServerRebootTaskInput

type ServerRebootTaskInput interface {
	pulumi.Input

	ToServerRebootTaskOutput() ServerRebootTaskOutput
	ToServerRebootTaskOutputWithContext(ctx context.Context) ServerRebootTaskOutput
}

type ServerRebootTaskMap

type ServerRebootTaskMap map[string]ServerRebootTaskInput

func (ServerRebootTaskMap) ElementType

func (ServerRebootTaskMap) ElementType() reflect.Type

func (ServerRebootTaskMap) ToServerRebootTaskMapOutput

func (i ServerRebootTaskMap) ToServerRebootTaskMapOutput() ServerRebootTaskMapOutput

func (ServerRebootTaskMap) ToServerRebootTaskMapOutputWithContext

func (i ServerRebootTaskMap) ToServerRebootTaskMapOutputWithContext(ctx context.Context) ServerRebootTaskMapOutput

type ServerRebootTaskMapInput

type ServerRebootTaskMapInput interface {
	pulumi.Input

	ToServerRebootTaskMapOutput() ServerRebootTaskMapOutput
	ToServerRebootTaskMapOutputWithContext(context.Context) ServerRebootTaskMapOutput
}

ServerRebootTaskMapInput is an input type that accepts ServerRebootTaskMap and ServerRebootTaskMapOutput values. You can construct a concrete instance of `ServerRebootTaskMapInput` via:

ServerRebootTaskMap{ "key": ServerRebootTaskArgs{...} }

type ServerRebootTaskMapOutput

type ServerRebootTaskMapOutput struct{ *pulumi.OutputState }

func (ServerRebootTaskMapOutput) ElementType

func (ServerRebootTaskMapOutput) ElementType() reflect.Type

func (ServerRebootTaskMapOutput) MapIndex

func (ServerRebootTaskMapOutput) ToServerRebootTaskMapOutput

func (o ServerRebootTaskMapOutput) ToServerRebootTaskMapOutput() ServerRebootTaskMapOutput

func (ServerRebootTaskMapOutput) ToServerRebootTaskMapOutputWithContext

func (o ServerRebootTaskMapOutput) ToServerRebootTaskMapOutputWithContext(ctx context.Context) ServerRebootTaskMapOutput

type ServerRebootTaskOutput

type ServerRebootTaskOutput struct{ *pulumi.OutputState }

func (ServerRebootTaskOutput) Comment

Details of this task. (should be `Reboot asked`)

func (ServerRebootTaskOutput) DoneDate

Completion date in RFC3339 format.

func (ServerRebootTaskOutput) ElementType

func (ServerRebootTaskOutput) ElementType() reflect.Type

func (ServerRebootTaskOutput) Function

Function name (should be `hardReboot`).

func (ServerRebootTaskOutput) Keepers

List of values tracked to trigger reboot, used also to form implicit dependencies.

func (ServerRebootTaskOutput) LastUpdate

Last update in RFC3339 format.

func (ServerRebootTaskOutput) ServiceName

func (o ServerRebootTaskOutput) ServiceName() pulumi.StringOutput

The serviceName of your dedicated server.

func (ServerRebootTaskOutput) StartDate

Task creation date in RFC3339 format.

func (ServerRebootTaskOutput) Status

Task status (should be `done`)

func (ServerRebootTaskOutput) ToServerRebootTaskOutput

func (o ServerRebootTaskOutput) ToServerRebootTaskOutput() ServerRebootTaskOutput

func (ServerRebootTaskOutput) ToServerRebootTaskOutputWithContext

func (o ServerRebootTaskOutput) ToServerRebootTaskOutputWithContext(ctx context.Context) ServerRebootTaskOutput

type ServerRebootTaskState

type ServerRebootTaskState struct {
	// Details of this task. (should be `Reboot asked`)
	Comment pulumi.StringPtrInput
	// Completion date in RFC3339 format.
	DoneDate pulumi.StringPtrInput
	// Function name (should be `hardReboot`).
	Function pulumi.StringPtrInput
	// List of values tracked to trigger reboot, used also to form implicit dependencies.
	Keepers pulumi.StringArrayInput
	// Last update in RFC3339 format.
	LastUpdate pulumi.StringPtrInput
	// The serviceName of your dedicated server.
	ServiceName pulumi.StringPtrInput
	// Task creation date in RFC3339 format.
	StartDate pulumi.StringPtrInput
	// Task status (should be `done`)
	Status pulumi.StringPtrInput
}

func (ServerRebootTaskState) ElementType

func (ServerRebootTaskState) ElementType() reflect.Type

type ServerUpdate

type ServerUpdate struct {
	pulumi.CustomResourceState

	// boot id of the server
	BootId pulumi.IntOutput `pulumi:"bootId"`
	// boot script of the server
	BootScript pulumi.StringPtrOutput `pulumi:"bootScript"`
	// Icmp monitoring state
	Monitoring pulumi.BoolOutput `pulumi:"monitoring"`
	// The serviceName of your dedicated server.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// error, hacked, hackedBlocked, ok
	State pulumi.StringOutput `pulumi:"state"`
}

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		rescue, err := Dedicated.GetServerBoots(ctx, &dedicated.GetServerBootsArgs{
			ServiceName: "nsxxxxxxx.ip-xx-xx-xx.eu",
			BootType:    pulumi.StringRef("rescue"),
			Kernel:      pulumi.StringRef("rescue64-pro"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = Dedicated.NewServerUpdate(ctx, "server", &Dedicated.ServerUpdateArgs{
			ServiceName: pulumi.String("nsxxxxxxx.ip-xx-xx-xx.eu"),
			BootId:      pulumi.Int(rescue.Results[0]),
			Monitoring:  pulumi.Bool(true),
			State:       pulumi.String("ok"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

func GetServerUpdate

func GetServerUpdate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerUpdateState, opts ...pulumi.ResourceOption) (*ServerUpdate, error)

GetServerUpdate gets an existing ServerUpdate 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 NewServerUpdate

func NewServerUpdate(ctx *pulumi.Context,
	name string, args *ServerUpdateArgs, opts ...pulumi.ResourceOption) (*ServerUpdate, error)

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

func (*ServerUpdate) ElementType

func (*ServerUpdate) ElementType() reflect.Type

func (*ServerUpdate) ToServerUpdateOutput

func (i *ServerUpdate) ToServerUpdateOutput() ServerUpdateOutput

func (*ServerUpdate) ToServerUpdateOutputWithContext

func (i *ServerUpdate) ToServerUpdateOutputWithContext(ctx context.Context) ServerUpdateOutput

type ServerUpdateArgs

type ServerUpdateArgs struct {
	// boot id of the server
	BootId pulumi.IntPtrInput
	// boot script of the server
	BootScript pulumi.StringPtrInput
	// Icmp monitoring state
	Monitoring pulumi.BoolPtrInput
	// The serviceName of your dedicated server.
	ServiceName pulumi.StringInput
	// error, hacked, hackedBlocked, ok
	State pulumi.StringPtrInput
}

The set of arguments for constructing a ServerUpdate resource.

func (ServerUpdateArgs) ElementType

func (ServerUpdateArgs) ElementType() reflect.Type

type ServerUpdateArray

type ServerUpdateArray []ServerUpdateInput

func (ServerUpdateArray) ElementType

func (ServerUpdateArray) ElementType() reflect.Type

func (ServerUpdateArray) ToServerUpdateArrayOutput

func (i ServerUpdateArray) ToServerUpdateArrayOutput() ServerUpdateArrayOutput

func (ServerUpdateArray) ToServerUpdateArrayOutputWithContext

func (i ServerUpdateArray) ToServerUpdateArrayOutputWithContext(ctx context.Context) ServerUpdateArrayOutput

type ServerUpdateArrayInput

type ServerUpdateArrayInput interface {
	pulumi.Input

	ToServerUpdateArrayOutput() ServerUpdateArrayOutput
	ToServerUpdateArrayOutputWithContext(context.Context) ServerUpdateArrayOutput
}

ServerUpdateArrayInput is an input type that accepts ServerUpdateArray and ServerUpdateArrayOutput values. You can construct a concrete instance of `ServerUpdateArrayInput` via:

ServerUpdateArray{ ServerUpdateArgs{...} }

type ServerUpdateArrayOutput

type ServerUpdateArrayOutput struct{ *pulumi.OutputState }

func (ServerUpdateArrayOutput) ElementType

func (ServerUpdateArrayOutput) ElementType() reflect.Type

func (ServerUpdateArrayOutput) Index

func (ServerUpdateArrayOutput) ToServerUpdateArrayOutput

func (o ServerUpdateArrayOutput) ToServerUpdateArrayOutput() ServerUpdateArrayOutput

func (ServerUpdateArrayOutput) ToServerUpdateArrayOutputWithContext

func (o ServerUpdateArrayOutput) ToServerUpdateArrayOutputWithContext(ctx context.Context) ServerUpdateArrayOutput

type ServerUpdateInput

type ServerUpdateInput interface {
	pulumi.Input

	ToServerUpdateOutput() ServerUpdateOutput
	ToServerUpdateOutputWithContext(ctx context.Context) ServerUpdateOutput
}

type ServerUpdateMap

type ServerUpdateMap map[string]ServerUpdateInput

func (ServerUpdateMap) ElementType

func (ServerUpdateMap) ElementType() reflect.Type

func (ServerUpdateMap) ToServerUpdateMapOutput

func (i ServerUpdateMap) ToServerUpdateMapOutput() ServerUpdateMapOutput

func (ServerUpdateMap) ToServerUpdateMapOutputWithContext

func (i ServerUpdateMap) ToServerUpdateMapOutputWithContext(ctx context.Context) ServerUpdateMapOutput

type ServerUpdateMapInput

type ServerUpdateMapInput interface {
	pulumi.Input

	ToServerUpdateMapOutput() ServerUpdateMapOutput
	ToServerUpdateMapOutputWithContext(context.Context) ServerUpdateMapOutput
}

ServerUpdateMapInput is an input type that accepts ServerUpdateMap and ServerUpdateMapOutput values. You can construct a concrete instance of `ServerUpdateMapInput` via:

ServerUpdateMap{ "key": ServerUpdateArgs{...} }

type ServerUpdateMapOutput

type ServerUpdateMapOutput struct{ *pulumi.OutputState }

func (ServerUpdateMapOutput) ElementType

func (ServerUpdateMapOutput) ElementType() reflect.Type

func (ServerUpdateMapOutput) MapIndex

func (ServerUpdateMapOutput) ToServerUpdateMapOutput

func (o ServerUpdateMapOutput) ToServerUpdateMapOutput() ServerUpdateMapOutput

func (ServerUpdateMapOutput) ToServerUpdateMapOutputWithContext

func (o ServerUpdateMapOutput) ToServerUpdateMapOutputWithContext(ctx context.Context) ServerUpdateMapOutput

type ServerUpdateOutput

type ServerUpdateOutput struct{ *pulumi.OutputState }

func (ServerUpdateOutput) BootId

func (o ServerUpdateOutput) BootId() pulumi.IntOutput

boot id of the server

func (ServerUpdateOutput) BootScript added in v0.37.0

func (o ServerUpdateOutput) BootScript() pulumi.StringPtrOutput

boot script of the server

func (ServerUpdateOutput) ElementType

func (ServerUpdateOutput) ElementType() reflect.Type

func (ServerUpdateOutput) Monitoring

func (o ServerUpdateOutput) Monitoring() pulumi.BoolOutput

Icmp monitoring state

func (ServerUpdateOutput) ServiceName

func (o ServerUpdateOutput) ServiceName() pulumi.StringOutput

The serviceName of your dedicated server.

func (ServerUpdateOutput) State

error, hacked, hackedBlocked, ok

func (ServerUpdateOutput) ToServerUpdateOutput

func (o ServerUpdateOutput) ToServerUpdateOutput() ServerUpdateOutput

func (ServerUpdateOutput) ToServerUpdateOutputWithContext

func (o ServerUpdateOutput) ToServerUpdateOutputWithContext(ctx context.Context) ServerUpdateOutput

type ServerUpdateState

type ServerUpdateState struct {
	// boot id of the server
	BootId pulumi.IntPtrInput
	// boot script of the server
	BootScript pulumi.StringPtrInput
	// Icmp monitoring state
	Monitoring pulumi.BoolPtrInput
	// The serviceName of your dedicated server.
	ServiceName pulumi.StringPtrInput
	// error, hacked, hackedBlocked, ok
	State pulumi.StringPtrInput
}

func (ServerUpdateState) ElementType

func (ServerUpdateState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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