elasticmetal

package
v0.0.0-...-c33e12d Latest Latest
Warning

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

Go to latest
Published: Mar 13, 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 BareMetalServer

type BareMetalServer struct {
	pulumi.CustomResourceState

	// A description for the server.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The domain of the server.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// The hostname of the server.
	Hostname pulumi.StringPtrOutput `pulumi:"hostname"`
	// If True, this boolean allows to create a server without the install config if you want to provide it later.
	InstallConfigAfterward pulumi.BoolPtrOutput `pulumi:"installConfigAfterward"`
	// (List of) The IPs of the server.
	Ips BareMetalServerIpArrayOutput `pulumi:"ips"`
	// (List of) The IPv4 addresses of the server.
	Ipv4s BareMetalServerIpv4ArrayOutput `pulumi:"ipv4s"`
	// (List of) The IPv6 addresses of the server.
	Ipv6s BareMetalServerIpv6ArrayOutput `pulumi:"ipv6s"`
	// The name of the server.
	Name pulumi.StringOutput `pulumi:"name"`
	// The offer name or UUID of the baremetal server.
	// Use [this endpoint](https://developers.scaleway.com/en/products/baremetal/api/#get-334154) to find the right offer.
	//
	// > **Important:** Updates to `offer` will recreate the server.
	Offer pulumi.StringOutput `pulumi:"offer"`
	// The ID of the offer.
	OfferId pulumi.StringOutput `pulumi:"offerId"`
	// The name of the offer.
	OfferName pulumi.StringOutput `pulumi:"offerName"`
	// The options to enable on the server.
	// > The `options` block supports:
	Options BareMetalServerOptionArrayOutput `pulumi:"options"`
	// The organization ID the server is associated with.
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
	// The UUID of the os to install on the server.
	// Use [this endpoint](https://developers.scaleway.com/en/products/baremetal/api/#get-87598a) to find the right OS ID.
	// > **Important:** Updates to `os` will reinstall the server.
	Os pulumi.StringPtrOutput `pulumi:"os"`
	// The name of the os.
	OsName pulumi.StringOutput `pulumi:"osName"`
	// Password used for the installation. May be required depending on used os.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The private networks to attach to the server. For more information, see [the documentation](https://www.scaleway.com/en/docs/compute/elastic-metal/how-to/use-private-networks/)
	PrivateNetworks BareMetalServerPrivateNetworkArrayOutput `pulumi:"privateNetworks"`
	// `projectId`) The ID of the project the server is associated with.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// If True, this boolean allows to reinstall the server on install config changes.
	// > **Important:** Updates to `sshKeyIds`, `user`, `password`, `serviceUser` or `servicePassword` will not take effect on the server, it requires to reinstall it. To do so please set 'reinstall_on_config_changes' argument to true.
	ReinstallOnConfigChanges pulumi.BoolPtrOutput `pulumi:"reinstallOnConfigChanges"`
	// Password used for the service to install. May be required depending on used os.
	ServicePassword pulumi.StringPtrOutput `pulumi:"servicePassword"`
	// User used for the service to install.
	ServiceUser pulumi.StringOutput `pulumi:"serviceUser"`
	// List of SSH keys allowed to connect to the server.
	SshKeyIds pulumi.StringArrayOutput `pulumi:"sshKeyIds"`
	// The tags associated with the server.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// User used for the installation.
	User pulumi.StringOutput `pulumi:"user"`
	// `zone`) The zone in which the server should be created.
	Zone pulumi.StringOutput `pulumi:"zone"`
}

Creates and manages Scaleway Compute Baremetal servers. For more information, see [the documentation](https://developers.scaleway.com/en/products/baremetal/api).

## Example Usage

### Basic

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

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/account"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/elasticmetal"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		main, err := account.LookupSSHKey(ctx, &account.LookupSSHKeyArgs{
			Name: pulumi.StringRef("main"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = elasticmetal.NewBareMetalServer(ctx, "base", &elasticmetal.BareMetalServerArgs{
			Zone:  pulumi.String("fr-par-2"),
			Offer: pulumi.String("GP-BM1-S"),
			Os:    pulumi.String("d17d6872-0412-45d9-a198-af82c34d3c5c"),
			SshKeyIds: pulumi.StringArray{
				*pulumi.String(main.Id),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

### Without install config

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

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/elasticmetal"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myOffer, err := elasticmetal.GetBareMetalOffer(ctx, &elasticmetal.GetBareMetalOfferArgs{
			Zone: pulumi.StringRef("fr-par-2"),
			Name: pulumi.StringRef("EM-B112X-SSD"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = elasticmetal.NewBareMetalServer(ctx, "base", &elasticmetal.BareMetalServerArgs{
			Zone:                   pulumi.String("fr-par-2"),
			Offer:                  *pulumi.String(myOffer.OfferId),
			InstallConfigAfterward: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Baremetal servers can be imported using the `{zone}/{id}`, e.g.

bash

```sh $ pulumi import scaleway:elasticmetal/bareMetalServer:BareMetalServer web fr-par-2/11111111-1111-1111-1111-111111111111 ```

func GetBareMetalServer

func GetBareMetalServer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BareMetalServerState, opts ...pulumi.ResourceOption) (*BareMetalServer, error)

GetBareMetalServer gets an existing BareMetalServer 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 NewBareMetalServer

func NewBareMetalServer(ctx *pulumi.Context,
	name string, args *BareMetalServerArgs, opts ...pulumi.ResourceOption) (*BareMetalServer, error)

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

func (*BareMetalServer) ElementType

func (*BareMetalServer) ElementType() reflect.Type

func (*BareMetalServer) ToBareMetalServerOutput

func (i *BareMetalServer) ToBareMetalServerOutput() BareMetalServerOutput

func (*BareMetalServer) ToBareMetalServerOutputWithContext

func (i *BareMetalServer) ToBareMetalServerOutputWithContext(ctx context.Context) BareMetalServerOutput

type BareMetalServerArgs

type BareMetalServerArgs struct {
	// A description for the server.
	Description pulumi.StringPtrInput
	// The hostname of the server.
	Hostname pulumi.StringPtrInput
	// If True, this boolean allows to create a server without the install config if you want to provide it later.
	InstallConfigAfterward pulumi.BoolPtrInput
	// The name of the server.
	Name pulumi.StringPtrInput
	// The offer name or UUID of the baremetal server.
	// Use [this endpoint](https://developers.scaleway.com/en/products/baremetal/api/#get-334154) to find the right offer.
	//
	// > **Important:** Updates to `offer` will recreate the server.
	Offer pulumi.StringInput
	// The options to enable on the server.
	// > The `options` block supports:
	Options BareMetalServerOptionArrayInput
	// The UUID of the os to install on the server.
	// Use [this endpoint](https://developers.scaleway.com/en/products/baremetal/api/#get-87598a) to find the right OS ID.
	// > **Important:** Updates to `os` will reinstall the server.
	Os pulumi.StringPtrInput
	// Password used for the installation. May be required depending on used os.
	Password pulumi.StringPtrInput
	// The private networks to attach to the server. For more information, see [the documentation](https://www.scaleway.com/en/docs/compute/elastic-metal/how-to/use-private-networks/)
	PrivateNetworks BareMetalServerPrivateNetworkArrayInput
	// `projectId`) The ID of the project the server is associated with.
	ProjectId pulumi.StringPtrInput
	// If True, this boolean allows to reinstall the server on install config changes.
	// > **Important:** Updates to `sshKeyIds`, `user`, `password`, `serviceUser` or `servicePassword` will not take effect on the server, it requires to reinstall it. To do so please set 'reinstall_on_config_changes' argument to true.
	ReinstallOnConfigChanges pulumi.BoolPtrInput
	// Password used for the service to install. May be required depending on used os.
	ServicePassword pulumi.StringPtrInput
	// User used for the service to install.
	ServiceUser pulumi.StringPtrInput
	// List of SSH keys allowed to connect to the server.
	SshKeyIds pulumi.StringArrayInput
	// The tags associated with the server.
	Tags pulumi.StringArrayInput
	// User used for the installation.
	User pulumi.StringPtrInput
	// `zone`) The zone in which the server should be created.
	Zone pulumi.StringPtrInput
}

The set of arguments for constructing a BareMetalServer resource.

func (BareMetalServerArgs) ElementType

func (BareMetalServerArgs) ElementType() reflect.Type

type BareMetalServerArray

type BareMetalServerArray []BareMetalServerInput

func (BareMetalServerArray) ElementType

func (BareMetalServerArray) ElementType() reflect.Type

func (BareMetalServerArray) ToBareMetalServerArrayOutput

func (i BareMetalServerArray) ToBareMetalServerArrayOutput() BareMetalServerArrayOutput

func (BareMetalServerArray) ToBareMetalServerArrayOutputWithContext

func (i BareMetalServerArray) ToBareMetalServerArrayOutputWithContext(ctx context.Context) BareMetalServerArrayOutput

type BareMetalServerArrayInput

type BareMetalServerArrayInput interface {
	pulumi.Input

	ToBareMetalServerArrayOutput() BareMetalServerArrayOutput
	ToBareMetalServerArrayOutputWithContext(context.Context) BareMetalServerArrayOutput
}

BareMetalServerArrayInput is an input type that accepts BareMetalServerArray and BareMetalServerArrayOutput values. You can construct a concrete instance of `BareMetalServerArrayInput` via:

BareMetalServerArray{ BareMetalServerArgs{...} }

type BareMetalServerArrayOutput

type BareMetalServerArrayOutput struct{ *pulumi.OutputState }

func (BareMetalServerArrayOutput) ElementType

func (BareMetalServerArrayOutput) ElementType() reflect.Type

func (BareMetalServerArrayOutput) Index

func (BareMetalServerArrayOutput) ToBareMetalServerArrayOutput

func (o BareMetalServerArrayOutput) ToBareMetalServerArrayOutput() BareMetalServerArrayOutput

func (BareMetalServerArrayOutput) ToBareMetalServerArrayOutputWithContext

func (o BareMetalServerArrayOutput) ToBareMetalServerArrayOutputWithContext(ctx context.Context) BareMetalServerArrayOutput

type BareMetalServerInput

type BareMetalServerInput interface {
	pulumi.Input

	ToBareMetalServerOutput() BareMetalServerOutput
	ToBareMetalServerOutputWithContext(ctx context.Context) BareMetalServerOutput
}

type BareMetalServerIp

type BareMetalServerIp struct {
	// The address of the IPv6.
	Address *string `pulumi:"address"`
	// The id of the private network to attach.
	Id *string `pulumi:"id"`
	// The reverse of the IPv6.
	Reverse *string `pulumi:"reverse"`
	// The type of the IPv6.
	Version *string `pulumi:"version"`
}

type BareMetalServerIpArgs

type BareMetalServerIpArgs struct {
	// The address of the IPv6.
	Address pulumi.StringPtrInput `pulumi:"address"`
	// The id of the private network to attach.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The reverse of the IPv6.
	Reverse pulumi.StringPtrInput `pulumi:"reverse"`
	// The type of the IPv6.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (BareMetalServerIpArgs) ElementType

func (BareMetalServerIpArgs) ElementType() reflect.Type

func (BareMetalServerIpArgs) ToBareMetalServerIpOutput

func (i BareMetalServerIpArgs) ToBareMetalServerIpOutput() BareMetalServerIpOutput

func (BareMetalServerIpArgs) ToBareMetalServerIpOutputWithContext

func (i BareMetalServerIpArgs) ToBareMetalServerIpOutputWithContext(ctx context.Context) BareMetalServerIpOutput

type BareMetalServerIpArray

type BareMetalServerIpArray []BareMetalServerIpInput

func (BareMetalServerIpArray) ElementType

func (BareMetalServerIpArray) ElementType() reflect.Type

func (BareMetalServerIpArray) ToBareMetalServerIpArrayOutput

func (i BareMetalServerIpArray) ToBareMetalServerIpArrayOutput() BareMetalServerIpArrayOutput

func (BareMetalServerIpArray) ToBareMetalServerIpArrayOutputWithContext

func (i BareMetalServerIpArray) ToBareMetalServerIpArrayOutputWithContext(ctx context.Context) BareMetalServerIpArrayOutput

type BareMetalServerIpArrayInput

type BareMetalServerIpArrayInput interface {
	pulumi.Input

	ToBareMetalServerIpArrayOutput() BareMetalServerIpArrayOutput
	ToBareMetalServerIpArrayOutputWithContext(context.Context) BareMetalServerIpArrayOutput
}

BareMetalServerIpArrayInput is an input type that accepts BareMetalServerIpArray and BareMetalServerIpArrayOutput values. You can construct a concrete instance of `BareMetalServerIpArrayInput` via:

BareMetalServerIpArray{ BareMetalServerIpArgs{...} }

type BareMetalServerIpArrayOutput

type BareMetalServerIpArrayOutput struct{ *pulumi.OutputState }

func (BareMetalServerIpArrayOutput) ElementType

func (BareMetalServerIpArrayOutput) Index

func (BareMetalServerIpArrayOutput) ToBareMetalServerIpArrayOutput

func (o BareMetalServerIpArrayOutput) ToBareMetalServerIpArrayOutput() BareMetalServerIpArrayOutput

func (BareMetalServerIpArrayOutput) ToBareMetalServerIpArrayOutputWithContext

func (o BareMetalServerIpArrayOutput) ToBareMetalServerIpArrayOutputWithContext(ctx context.Context) BareMetalServerIpArrayOutput

type BareMetalServerIpInput

type BareMetalServerIpInput interface {
	pulumi.Input

	ToBareMetalServerIpOutput() BareMetalServerIpOutput
	ToBareMetalServerIpOutputWithContext(context.Context) BareMetalServerIpOutput
}

BareMetalServerIpInput is an input type that accepts BareMetalServerIpArgs and BareMetalServerIpOutput values. You can construct a concrete instance of `BareMetalServerIpInput` via:

BareMetalServerIpArgs{...}

type BareMetalServerIpOutput

type BareMetalServerIpOutput struct{ *pulumi.OutputState }

func (BareMetalServerIpOutput) Address

The address of the IPv6.

func (BareMetalServerIpOutput) ElementType

func (BareMetalServerIpOutput) ElementType() reflect.Type

func (BareMetalServerIpOutput) Id

The id of the private network to attach.

func (BareMetalServerIpOutput) Reverse

The reverse of the IPv6.

func (BareMetalServerIpOutput) ToBareMetalServerIpOutput

func (o BareMetalServerIpOutput) ToBareMetalServerIpOutput() BareMetalServerIpOutput

func (BareMetalServerIpOutput) ToBareMetalServerIpOutputWithContext

func (o BareMetalServerIpOutput) ToBareMetalServerIpOutputWithContext(ctx context.Context) BareMetalServerIpOutput

func (BareMetalServerIpOutput) Version

The type of the IPv6.

type BareMetalServerIpv4

type BareMetalServerIpv4 struct {
	// The address of the IPv6.
	Address *string `pulumi:"address"`
	// The id of the private network to attach.
	Id *string `pulumi:"id"`
	// The reverse of the IPv6.
	Reverse *string `pulumi:"reverse"`
	// The type of the IPv6.
	Version *string `pulumi:"version"`
}

type BareMetalServerIpv4Args

type BareMetalServerIpv4Args struct {
	// The address of the IPv6.
	Address pulumi.StringPtrInput `pulumi:"address"`
	// The id of the private network to attach.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The reverse of the IPv6.
	Reverse pulumi.StringPtrInput `pulumi:"reverse"`
	// The type of the IPv6.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (BareMetalServerIpv4Args) ElementType

func (BareMetalServerIpv4Args) ElementType() reflect.Type

func (BareMetalServerIpv4Args) ToBareMetalServerIpv4Output

func (i BareMetalServerIpv4Args) ToBareMetalServerIpv4Output() BareMetalServerIpv4Output

func (BareMetalServerIpv4Args) ToBareMetalServerIpv4OutputWithContext

func (i BareMetalServerIpv4Args) ToBareMetalServerIpv4OutputWithContext(ctx context.Context) BareMetalServerIpv4Output

type BareMetalServerIpv4Array

type BareMetalServerIpv4Array []BareMetalServerIpv4Input

func (BareMetalServerIpv4Array) ElementType

func (BareMetalServerIpv4Array) ElementType() reflect.Type

func (BareMetalServerIpv4Array) ToBareMetalServerIpv4ArrayOutput

func (i BareMetalServerIpv4Array) ToBareMetalServerIpv4ArrayOutput() BareMetalServerIpv4ArrayOutput

func (BareMetalServerIpv4Array) ToBareMetalServerIpv4ArrayOutputWithContext

func (i BareMetalServerIpv4Array) ToBareMetalServerIpv4ArrayOutputWithContext(ctx context.Context) BareMetalServerIpv4ArrayOutput

type BareMetalServerIpv4ArrayInput

type BareMetalServerIpv4ArrayInput interface {
	pulumi.Input

	ToBareMetalServerIpv4ArrayOutput() BareMetalServerIpv4ArrayOutput
	ToBareMetalServerIpv4ArrayOutputWithContext(context.Context) BareMetalServerIpv4ArrayOutput
}

BareMetalServerIpv4ArrayInput is an input type that accepts BareMetalServerIpv4Array and BareMetalServerIpv4ArrayOutput values. You can construct a concrete instance of `BareMetalServerIpv4ArrayInput` via:

BareMetalServerIpv4Array{ BareMetalServerIpv4Args{...} }

type BareMetalServerIpv4ArrayOutput

type BareMetalServerIpv4ArrayOutput struct{ *pulumi.OutputState }

func (BareMetalServerIpv4ArrayOutput) ElementType

func (BareMetalServerIpv4ArrayOutput) Index

func (BareMetalServerIpv4ArrayOutput) ToBareMetalServerIpv4ArrayOutput

func (o BareMetalServerIpv4ArrayOutput) ToBareMetalServerIpv4ArrayOutput() BareMetalServerIpv4ArrayOutput

func (BareMetalServerIpv4ArrayOutput) ToBareMetalServerIpv4ArrayOutputWithContext

func (o BareMetalServerIpv4ArrayOutput) ToBareMetalServerIpv4ArrayOutputWithContext(ctx context.Context) BareMetalServerIpv4ArrayOutput

type BareMetalServerIpv4Input

type BareMetalServerIpv4Input interface {
	pulumi.Input

	ToBareMetalServerIpv4Output() BareMetalServerIpv4Output
	ToBareMetalServerIpv4OutputWithContext(context.Context) BareMetalServerIpv4Output
}

BareMetalServerIpv4Input is an input type that accepts BareMetalServerIpv4Args and BareMetalServerIpv4Output values. You can construct a concrete instance of `BareMetalServerIpv4Input` via:

BareMetalServerIpv4Args{...}

type BareMetalServerIpv4Output

type BareMetalServerIpv4Output struct{ *pulumi.OutputState }

func (BareMetalServerIpv4Output) Address

The address of the IPv6.

func (BareMetalServerIpv4Output) ElementType

func (BareMetalServerIpv4Output) ElementType() reflect.Type

func (BareMetalServerIpv4Output) Id

The id of the private network to attach.

func (BareMetalServerIpv4Output) Reverse

The reverse of the IPv6.

func (BareMetalServerIpv4Output) ToBareMetalServerIpv4Output

func (o BareMetalServerIpv4Output) ToBareMetalServerIpv4Output() BareMetalServerIpv4Output

func (BareMetalServerIpv4Output) ToBareMetalServerIpv4OutputWithContext

func (o BareMetalServerIpv4Output) ToBareMetalServerIpv4OutputWithContext(ctx context.Context) BareMetalServerIpv4Output

func (BareMetalServerIpv4Output) Version

The type of the IPv6.

type BareMetalServerIpv6

type BareMetalServerIpv6 struct {
	// The address of the IPv6.
	Address *string `pulumi:"address"`
	// The id of the private network to attach.
	Id *string `pulumi:"id"`
	// The reverse of the IPv6.
	Reverse *string `pulumi:"reverse"`
	// The type of the IPv6.
	Version *string `pulumi:"version"`
}

type BareMetalServerIpv6Args

type BareMetalServerIpv6Args struct {
	// The address of the IPv6.
	Address pulumi.StringPtrInput `pulumi:"address"`
	// The id of the private network to attach.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The reverse of the IPv6.
	Reverse pulumi.StringPtrInput `pulumi:"reverse"`
	// The type of the IPv6.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (BareMetalServerIpv6Args) ElementType

func (BareMetalServerIpv6Args) ElementType() reflect.Type

func (BareMetalServerIpv6Args) ToBareMetalServerIpv6Output

func (i BareMetalServerIpv6Args) ToBareMetalServerIpv6Output() BareMetalServerIpv6Output

func (BareMetalServerIpv6Args) ToBareMetalServerIpv6OutputWithContext

func (i BareMetalServerIpv6Args) ToBareMetalServerIpv6OutputWithContext(ctx context.Context) BareMetalServerIpv6Output

type BareMetalServerIpv6Array

type BareMetalServerIpv6Array []BareMetalServerIpv6Input

func (BareMetalServerIpv6Array) ElementType

func (BareMetalServerIpv6Array) ElementType() reflect.Type

func (BareMetalServerIpv6Array) ToBareMetalServerIpv6ArrayOutput

func (i BareMetalServerIpv6Array) ToBareMetalServerIpv6ArrayOutput() BareMetalServerIpv6ArrayOutput

func (BareMetalServerIpv6Array) ToBareMetalServerIpv6ArrayOutputWithContext

func (i BareMetalServerIpv6Array) ToBareMetalServerIpv6ArrayOutputWithContext(ctx context.Context) BareMetalServerIpv6ArrayOutput

type BareMetalServerIpv6ArrayInput

type BareMetalServerIpv6ArrayInput interface {
	pulumi.Input

	ToBareMetalServerIpv6ArrayOutput() BareMetalServerIpv6ArrayOutput
	ToBareMetalServerIpv6ArrayOutputWithContext(context.Context) BareMetalServerIpv6ArrayOutput
}

BareMetalServerIpv6ArrayInput is an input type that accepts BareMetalServerIpv6Array and BareMetalServerIpv6ArrayOutput values. You can construct a concrete instance of `BareMetalServerIpv6ArrayInput` via:

BareMetalServerIpv6Array{ BareMetalServerIpv6Args{...} }

type BareMetalServerIpv6ArrayOutput

type BareMetalServerIpv6ArrayOutput struct{ *pulumi.OutputState }

func (BareMetalServerIpv6ArrayOutput) ElementType

func (BareMetalServerIpv6ArrayOutput) Index

func (BareMetalServerIpv6ArrayOutput) ToBareMetalServerIpv6ArrayOutput

func (o BareMetalServerIpv6ArrayOutput) ToBareMetalServerIpv6ArrayOutput() BareMetalServerIpv6ArrayOutput

func (BareMetalServerIpv6ArrayOutput) ToBareMetalServerIpv6ArrayOutputWithContext

func (o BareMetalServerIpv6ArrayOutput) ToBareMetalServerIpv6ArrayOutputWithContext(ctx context.Context) BareMetalServerIpv6ArrayOutput

type BareMetalServerIpv6Input

type BareMetalServerIpv6Input interface {
	pulumi.Input

	ToBareMetalServerIpv6Output() BareMetalServerIpv6Output
	ToBareMetalServerIpv6OutputWithContext(context.Context) BareMetalServerIpv6Output
}

BareMetalServerIpv6Input is an input type that accepts BareMetalServerIpv6Args and BareMetalServerIpv6Output values. You can construct a concrete instance of `BareMetalServerIpv6Input` via:

BareMetalServerIpv6Args{...}

type BareMetalServerIpv6Output

type BareMetalServerIpv6Output struct{ *pulumi.OutputState }

func (BareMetalServerIpv6Output) Address

The address of the IPv6.

func (BareMetalServerIpv6Output) ElementType

func (BareMetalServerIpv6Output) ElementType() reflect.Type

func (BareMetalServerIpv6Output) Id

The id of the private network to attach.

func (BareMetalServerIpv6Output) Reverse

The reverse of the IPv6.

func (BareMetalServerIpv6Output) ToBareMetalServerIpv6Output

func (o BareMetalServerIpv6Output) ToBareMetalServerIpv6Output() BareMetalServerIpv6Output

func (BareMetalServerIpv6Output) ToBareMetalServerIpv6OutputWithContext

func (o BareMetalServerIpv6Output) ToBareMetalServerIpv6OutputWithContext(ctx context.Context) BareMetalServerIpv6Output

func (BareMetalServerIpv6Output) Version

The type of the IPv6.

type BareMetalServerMap

type BareMetalServerMap map[string]BareMetalServerInput

func (BareMetalServerMap) ElementType

func (BareMetalServerMap) ElementType() reflect.Type

func (BareMetalServerMap) ToBareMetalServerMapOutput

func (i BareMetalServerMap) ToBareMetalServerMapOutput() BareMetalServerMapOutput

func (BareMetalServerMap) ToBareMetalServerMapOutputWithContext

func (i BareMetalServerMap) ToBareMetalServerMapOutputWithContext(ctx context.Context) BareMetalServerMapOutput

type BareMetalServerMapInput

type BareMetalServerMapInput interface {
	pulumi.Input

	ToBareMetalServerMapOutput() BareMetalServerMapOutput
	ToBareMetalServerMapOutputWithContext(context.Context) BareMetalServerMapOutput
}

BareMetalServerMapInput is an input type that accepts BareMetalServerMap and BareMetalServerMapOutput values. You can construct a concrete instance of `BareMetalServerMapInput` via:

BareMetalServerMap{ "key": BareMetalServerArgs{...} }

type BareMetalServerMapOutput

type BareMetalServerMapOutput struct{ *pulumi.OutputState }

func (BareMetalServerMapOutput) ElementType

func (BareMetalServerMapOutput) ElementType() reflect.Type

func (BareMetalServerMapOutput) MapIndex

func (BareMetalServerMapOutput) ToBareMetalServerMapOutput

func (o BareMetalServerMapOutput) ToBareMetalServerMapOutput() BareMetalServerMapOutput

func (BareMetalServerMapOutput) ToBareMetalServerMapOutputWithContext

func (o BareMetalServerMapOutput) ToBareMetalServerMapOutputWithContext(ctx context.Context) BareMetalServerMapOutput

type BareMetalServerOption

type BareMetalServerOption struct {
	// The auto expiration date for compatible options
	ExpiresAt *string `pulumi:"expiresAt"`
	// The id of the private network to attach.
	Id string `pulumi:"id"`
	// The name of the server.
	Name *string `pulumi:"name"`
}

type BareMetalServerOptionArgs

type BareMetalServerOptionArgs struct {
	// The auto expiration date for compatible options
	ExpiresAt pulumi.StringPtrInput `pulumi:"expiresAt"`
	// The id of the private network to attach.
	Id pulumi.StringInput `pulumi:"id"`
	// The name of the server.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (BareMetalServerOptionArgs) ElementType

func (BareMetalServerOptionArgs) ElementType() reflect.Type

func (BareMetalServerOptionArgs) ToBareMetalServerOptionOutput

func (i BareMetalServerOptionArgs) ToBareMetalServerOptionOutput() BareMetalServerOptionOutput

func (BareMetalServerOptionArgs) ToBareMetalServerOptionOutputWithContext

func (i BareMetalServerOptionArgs) ToBareMetalServerOptionOutputWithContext(ctx context.Context) BareMetalServerOptionOutput

type BareMetalServerOptionArray

type BareMetalServerOptionArray []BareMetalServerOptionInput

func (BareMetalServerOptionArray) ElementType

func (BareMetalServerOptionArray) ElementType() reflect.Type

func (BareMetalServerOptionArray) ToBareMetalServerOptionArrayOutput

func (i BareMetalServerOptionArray) ToBareMetalServerOptionArrayOutput() BareMetalServerOptionArrayOutput

func (BareMetalServerOptionArray) ToBareMetalServerOptionArrayOutputWithContext

func (i BareMetalServerOptionArray) ToBareMetalServerOptionArrayOutputWithContext(ctx context.Context) BareMetalServerOptionArrayOutput

type BareMetalServerOptionArrayInput

type BareMetalServerOptionArrayInput interface {
	pulumi.Input

	ToBareMetalServerOptionArrayOutput() BareMetalServerOptionArrayOutput
	ToBareMetalServerOptionArrayOutputWithContext(context.Context) BareMetalServerOptionArrayOutput
}

BareMetalServerOptionArrayInput is an input type that accepts BareMetalServerOptionArray and BareMetalServerOptionArrayOutput values. You can construct a concrete instance of `BareMetalServerOptionArrayInput` via:

BareMetalServerOptionArray{ BareMetalServerOptionArgs{...} }

type BareMetalServerOptionArrayOutput

type BareMetalServerOptionArrayOutput struct{ *pulumi.OutputState }

func (BareMetalServerOptionArrayOutput) ElementType

func (BareMetalServerOptionArrayOutput) Index

func (BareMetalServerOptionArrayOutput) ToBareMetalServerOptionArrayOutput

func (o BareMetalServerOptionArrayOutput) ToBareMetalServerOptionArrayOutput() BareMetalServerOptionArrayOutput

func (BareMetalServerOptionArrayOutput) ToBareMetalServerOptionArrayOutputWithContext

func (o BareMetalServerOptionArrayOutput) ToBareMetalServerOptionArrayOutputWithContext(ctx context.Context) BareMetalServerOptionArrayOutput

type BareMetalServerOptionInput

type BareMetalServerOptionInput interface {
	pulumi.Input

	ToBareMetalServerOptionOutput() BareMetalServerOptionOutput
	ToBareMetalServerOptionOutputWithContext(context.Context) BareMetalServerOptionOutput
}

BareMetalServerOptionInput is an input type that accepts BareMetalServerOptionArgs and BareMetalServerOptionOutput values. You can construct a concrete instance of `BareMetalServerOptionInput` via:

BareMetalServerOptionArgs{...}

type BareMetalServerOptionOutput

type BareMetalServerOptionOutput struct{ *pulumi.OutputState }

func (BareMetalServerOptionOutput) ElementType

func (BareMetalServerOptionOutput) ExpiresAt

The auto expiration date for compatible options

func (BareMetalServerOptionOutput) Id

The id of the private network to attach.

func (BareMetalServerOptionOutput) Name

The name of the server.

func (BareMetalServerOptionOutput) ToBareMetalServerOptionOutput

func (o BareMetalServerOptionOutput) ToBareMetalServerOptionOutput() BareMetalServerOptionOutput

func (BareMetalServerOptionOutput) ToBareMetalServerOptionOutputWithContext

func (o BareMetalServerOptionOutput) ToBareMetalServerOptionOutputWithContext(ctx context.Context) BareMetalServerOptionOutput

type BareMetalServerOutput

type BareMetalServerOutput struct{ *pulumi.OutputState }

func (BareMetalServerOutput) Description

A description for the server.

func (BareMetalServerOutput) Domain

The domain of the server.

func (BareMetalServerOutput) ElementType

func (BareMetalServerOutput) ElementType() reflect.Type

func (BareMetalServerOutput) Hostname

The hostname of the server.

func (BareMetalServerOutput) InstallConfigAfterward

func (o BareMetalServerOutput) InstallConfigAfterward() pulumi.BoolPtrOutput

If True, this boolean allows to create a server without the install config if you want to provide it later.

func (BareMetalServerOutput) Ips

(List of) The IPs of the server.

func (BareMetalServerOutput) Ipv4s

(List of) The IPv4 addresses of the server.

func (BareMetalServerOutput) Ipv6s

(List of) The IPv6 addresses of the server.

func (BareMetalServerOutput) Name

The name of the server.

func (BareMetalServerOutput) Offer

The offer name or UUID of the baremetal server. Use [this endpoint](https://developers.scaleway.com/en/products/baremetal/api/#get-334154) to find the right offer.

> **Important:** Updates to `offer` will recreate the server.

func (BareMetalServerOutput) OfferId

The ID of the offer.

func (BareMetalServerOutput) OfferName

The name of the offer.

func (BareMetalServerOutput) Options

The options to enable on the server. > The `options` block supports:

func (BareMetalServerOutput) OrganizationId

func (o BareMetalServerOutput) OrganizationId() pulumi.StringOutput

The organization ID the server is associated with.

func (BareMetalServerOutput) Os

The UUID of the os to install on the server. Use [this endpoint](https://developers.scaleway.com/en/products/baremetal/api/#get-87598a) to find the right OS ID. > **Important:** Updates to `os` will reinstall the server.

func (BareMetalServerOutput) OsName

The name of the os.

func (BareMetalServerOutput) Password

Password used for the installation. May be required depending on used os.

func (BareMetalServerOutput) PrivateNetworks

The private networks to attach to the server. For more information, see [the documentation](https://www.scaleway.com/en/docs/compute/elastic-metal/how-to/use-private-networks/)

func (BareMetalServerOutput) ProjectId

`projectId`) The ID of the project the server is associated with.

func (BareMetalServerOutput) ReinstallOnConfigChanges

func (o BareMetalServerOutput) ReinstallOnConfigChanges() pulumi.BoolPtrOutput

If True, this boolean allows to reinstall the server on install config changes. > **Important:** Updates to `sshKeyIds`, `user`, `password`, `serviceUser` or `servicePassword` will not take effect on the server, it requires to reinstall it. To do so please set 'reinstall_on_config_changes' argument to true.

func (BareMetalServerOutput) ServicePassword

func (o BareMetalServerOutput) ServicePassword() pulumi.StringPtrOutput

Password used for the service to install. May be required depending on used os.

func (BareMetalServerOutput) ServiceUser

func (o BareMetalServerOutput) ServiceUser() pulumi.StringOutput

User used for the service to install.

func (BareMetalServerOutput) SshKeyIds

List of SSH keys allowed to connect to the server.

func (BareMetalServerOutput) Tags

The tags associated with the server.

func (BareMetalServerOutput) ToBareMetalServerOutput

func (o BareMetalServerOutput) ToBareMetalServerOutput() BareMetalServerOutput

func (BareMetalServerOutput) ToBareMetalServerOutputWithContext

func (o BareMetalServerOutput) ToBareMetalServerOutputWithContext(ctx context.Context) BareMetalServerOutput

func (BareMetalServerOutput) User

User used for the installation.

func (BareMetalServerOutput) Zone

`zone`) The zone in which the server should be created.

type BareMetalServerPrivateNetwork

type BareMetalServerPrivateNetwork struct {
	// The date and time of the creation of the private network.
	CreatedAt *string `pulumi:"createdAt"`
	// The id of the private network to attach.
	Id string `pulumi:"id"`
	// The private network status.
	Status *string `pulumi:"status"`
	// The date and time of the last update of the private network.
	UpdatedAt *string `pulumi:"updatedAt"`
	// The VLAN ID associated to the private network.
	Vlan *int `pulumi:"vlan"`
}

type BareMetalServerPrivateNetworkArgs

type BareMetalServerPrivateNetworkArgs struct {
	// The date and time of the creation of the private network.
	CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"`
	// The id of the private network to attach.
	Id pulumi.StringInput `pulumi:"id"`
	// The private network status.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// The date and time of the last update of the private network.
	UpdatedAt pulumi.StringPtrInput `pulumi:"updatedAt"`
	// The VLAN ID associated to the private network.
	Vlan pulumi.IntPtrInput `pulumi:"vlan"`
}

func (BareMetalServerPrivateNetworkArgs) ElementType

func (BareMetalServerPrivateNetworkArgs) ToBareMetalServerPrivateNetworkOutput

func (i BareMetalServerPrivateNetworkArgs) ToBareMetalServerPrivateNetworkOutput() BareMetalServerPrivateNetworkOutput

func (BareMetalServerPrivateNetworkArgs) ToBareMetalServerPrivateNetworkOutputWithContext

func (i BareMetalServerPrivateNetworkArgs) ToBareMetalServerPrivateNetworkOutputWithContext(ctx context.Context) BareMetalServerPrivateNetworkOutput

type BareMetalServerPrivateNetworkArray

type BareMetalServerPrivateNetworkArray []BareMetalServerPrivateNetworkInput

func (BareMetalServerPrivateNetworkArray) ElementType

func (BareMetalServerPrivateNetworkArray) ToBareMetalServerPrivateNetworkArrayOutput

func (i BareMetalServerPrivateNetworkArray) ToBareMetalServerPrivateNetworkArrayOutput() BareMetalServerPrivateNetworkArrayOutput

func (BareMetalServerPrivateNetworkArray) ToBareMetalServerPrivateNetworkArrayOutputWithContext

func (i BareMetalServerPrivateNetworkArray) ToBareMetalServerPrivateNetworkArrayOutputWithContext(ctx context.Context) BareMetalServerPrivateNetworkArrayOutput

type BareMetalServerPrivateNetworkArrayInput

type BareMetalServerPrivateNetworkArrayInput interface {
	pulumi.Input

	ToBareMetalServerPrivateNetworkArrayOutput() BareMetalServerPrivateNetworkArrayOutput
	ToBareMetalServerPrivateNetworkArrayOutputWithContext(context.Context) BareMetalServerPrivateNetworkArrayOutput
}

BareMetalServerPrivateNetworkArrayInput is an input type that accepts BareMetalServerPrivateNetworkArray and BareMetalServerPrivateNetworkArrayOutput values. You can construct a concrete instance of `BareMetalServerPrivateNetworkArrayInput` via:

BareMetalServerPrivateNetworkArray{ BareMetalServerPrivateNetworkArgs{...} }

type BareMetalServerPrivateNetworkArrayOutput

type BareMetalServerPrivateNetworkArrayOutput struct{ *pulumi.OutputState }

func (BareMetalServerPrivateNetworkArrayOutput) ElementType

func (BareMetalServerPrivateNetworkArrayOutput) Index

func (BareMetalServerPrivateNetworkArrayOutput) ToBareMetalServerPrivateNetworkArrayOutput

func (o BareMetalServerPrivateNetworkArrayOutput) ToBareMetalServerPrivateNetworkArrayOutput() BareMetalServerPrivateNetworkArrayOutput

func (BareMetalServerPrivateNetworkArrayOutput) ToBareMetalServerPrivateNetworkArrayOutputWithContext

func (o BareMetalServerPrivateNetworkArrayOutput) ToBareMetalServerPrivateNetworkArrayOutputWithContext(ctx context.Context) BareMetalServerPrivateNetworkArrayOutput

type BareMetalServerPrivateNetworkInput

type BareMetalServerPrivateNetworkInput interface {
	pulumi.Input

	ToBareMetalServerPrivateNetworkOutput() BareMetalServerPrivateNetworkOutput
	ToBareMetalServerPrivateNetworkOutputWithContext(context.Context) BareMetalServerPrivateNetworkOutput
}

BareMetalServerPrivateNetworkInput is an input type that accepts BareMetalServerPrivateNetworkArgs and BareMetalServerPrivateNetworkOutput values. You can construct a concrete instance of `BareMetalServerPrivateNetworkInput` via:

BareMetalServerPrivateNetworkArgs{...}

type BareMetalServerPrivateNetworkOutput

type BareMetalServerPrivateNetworkOutput struct{ *pulumi.OutputState }

func (BareMetalServerPrivateNetworkOutput) CreatedAt

The date and time of the creation of the private network.

func (BareMetalServerPrivateNetworkOutput) ElementType

func (BareMetalServerPrivateNetworkOutput) Id

The id of the private network to attach.

func (BareMetalServerPrivateNetworkOutput) Status

The private network status.

func (BareMetalServerPrivateNetworkOutput) ToBareMetalServerPrivateNetworkOutput

func (o BareMetalServerPrivateNetworkOutput) ToBareMetalServerPrivateNetworkOutput() BareMetalServerPrivateNetworkOutput

func (BareMetalServerPrivateNetworkOutput) ToBareMetalServerPrivateNetworkOutputWithContext

func (o BareMetalServerPrivateNetworkOutput) ToBareMetalServerPrivateNetworkOutputWithContext(ctx context.Context) BareMetalServerPrivateNetworkOutput

func (BareMetalServerPrivateNetworkOutput) UpdatedAt

The date and time of the last update of the private network.

func (BareMetalServerPrivateNetworkOutput) Vlan

The VLAN ID associated to the private network.

type BareMetalServerState

type BareMetalServerState struct {
	// A description for the server.
	Description pulumi.StringPtrInput
	// The domain of the server.
	Domain pulumi.StringPtrInput
	// The hostname of the server.
	Hostname pulumi.StringPtrInput
	// If True, this boolean allows to create a server without the install config if you want to provide it later.
	InstallConfigAfterward pulumi.BoolPtrInput
	// (List of) The IPs of the server.
	Ips BareMetalServerIpArrayInput
	// (List of) The IPv4 addresses of the server.
	Ipv4s BareMetalServerIpv4ArrayInput
	// (List of) The IPv6 addresses of the server.
	Ipv6s BareMetalServerIpv6ArrayInput
	// The name of the server.
	Name pulumi.StringPtrInput
	// The offer name or UUID of the baremetal server.
	// Use [this endpoint](https://developers.scaleway.com/en/products/baremetal/api/#get-334154) to find the right offer.
	//
	// > **Important:** Updates to `offer` will recreate the server.
	Offer pulumi.StringPtrInput
	// The ID of the offer.
	OfferId pulumi.StringPtrInput
	// The name of the offer.
	OfferName pulumi.StringPtrInput
	// The options to enable on the server.
	// > The `options` block supports:
	Options BareMetalServerOptionArrayInput
	// The organization ID the server is associated with.
	OrganizationId pulumi.StringPtrInput
	// The UUID of the os to install on the server.
	// Use [this endpoint](https://developers.scaleway.com/en/products/baremetal/api/#get-87598a) to find the right OS ID.
	// > **Important:** Updates to `os` will reinstall the server.
	Os pulumi.StringPtrInput
	// The name of the os.
	OsName pulumi.StringPtrInput
	// Password used for the installation. May be required depending on used os.
	Password pulumi.StringPtrInput
	// The private networks to attach to the server. For more information, see [the documentation](https://www.scaleway.com/en/docs/compute/elastic-metal/how-to/use-private-networks/)
	PrivateNetworks BareMetalServerPrivateNetworkArrayInput
	// `projectId`) The ID of the project the server is associated with.
	ProjectId pulumi.StringPtrInput
	// If True, this boolean allows to reinstall the server on install config changes.
	// > **Important:** Updates to `sshKeyIds`, `user`, `password`, `serviceUser` or `servicePassword` will not take effect on the server, it requires to reinstall it. To do so please set 'reinstall_on_config_changes' argument to true.
	ReinstallOnConfigChanges pulumi.BoolPtrInput
	// Password used for the service to install. May be required depending on used os.
	ServicePassword pulumi.StringPtrInput
	// User used for the service to install.
	ServiceUser pulumi.StringPtrInput
	// List of SSH keys allowed to connect to the server.
	SshKeyIds pulumi.StringArrayInput
	// The tags associated with the server.
	Tags pulumi.StringArrayInput
	// User used for the installation.
	User pulumi.StringPtrInput
	// `zone`) The zone in which the server should be created.
	Zone pulumi.StringPtrInput
}

func (BareMetalServerState) ElementType

func (BareMetalServerState) ElementType() reflect.Type

type FlexibleIP

type FlexibleIP struct {
	pulumi.CustomResourceState

	// The date and time of the creation of the Flexible IP (Format ISO 8601).
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// A description of the flexible IP.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The IP address of the Flexible IP.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// Defines whether the flexible IP has an IPv6 address.
	IsIpv6 pulumi.BoolPtrOutput `pulumi:"isIpv6"`
	// The organization of the Flexible IP.
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
	// The project of the Flexible IP.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The reverse domain associated with this flexible IP.
	Reverse pulumi.StringOutput `pulumi:"reverse"`
	// The ID of the associated server.
	ServerId pulumi.StringPtrOutput `pulumi:"serverId"`
	// The status of the flexible IP.
	Status pulumi.StringOutput `pulumi:"status"`
	// A list of tags to apply to the flexible IP.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// The date and time of the last update of the Flexible IP (Format ISO 8601).
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
	// The zone of the Flexible IP.
	Zone pulumi.StringOutput `pulumi:"zone"`
}

Creates and manages Scaleway flexible IPs. For more information, see [the documentation](https://developers.scaleway.com/en/products/flexible-ip/api).

## Example Usage

### Basic

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

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/elasticmetal"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elasticmetal.NewFlexibleIP(ctx, "main", &elasticmetal.FlexibleIPArgs{
			Reverse: pulumi.String("my-reverse.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

### With zone

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

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/elasticmetal"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elasticmetal.NewFlexibleIP(ctx, "main", &elasticmetal.FlexibleIPArgs{
			Zone: pulumi.String("fr-par-2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

### With IPv6

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

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/elasticmetal"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elasticmetal.NewFlexibleIP(ctx, "main", &elasticmetal.FlexibleIPArgs{
			IsIpv6: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

### With baremetal server

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

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/account"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/elasticmetal"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		mainSSHKey, err := account.NewSSHKey(ctx, "mainSSHKey", &account.SSHKeyArgs{
			PublicKey: pulumi.String("ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com"),
		})
		if err != nil {
			return err
		}
		byId, err := elasticmetal.GetBareMetalOS(ctx, &elasticmetal.GetBareMetalOSArgs{
			Zone:    pulumi.StringRef("fr-par-2"),
			Name:    pulumi.StringRef("Ubuntu"),
			Version: pulumi.StringRef("20.04 LTS (Focal Fossa)"),
		}, nil)
		if err != nil {
			return err
		}
		myOffer, err := elasticmetal.GetBareMetalOffer(ctx, &elasticmetal.GetBareMetalOfferArgs{
			Zone: pulumi.StringRef("fr-par-2"),
			Name: pulumi.StringRef("EM-A210R-HDD"),
		}, nil)
		if err != nil {
			return err
		}
		base, err := elasticmetal.NewBareMetalServer(ctx, "base", &elasticmetal.BareMetalServerArgs{
			Zone:      pulumi.String("fr-par-2"),
			Offer:     *pulumi.String(myOffer.OfferId),
			Os:        *pulumi.String(byId.OsId),
			SshKeyIds: mainSSHKey.ID(),
		})
		if err != nil {
			return err
		}
		_, err = elasticmetal.NewFlexibleIP(ctx, "mainFlexibleIP", &elasticmetal.FlexibleIPArgs{
			ServerId: base.ID(),
			Zone:     pulumi.String("fr-par-2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Flexible IPs can be imported using the `{zone}/{id}`, e.g.

bash

```sh $ pulumi import scaleway:elasticmetal/flexibleIP:FlexibleIP main fr-par-1/11111111-1111-1111-1111-111111111111 ```

func GetFlexibleIP

func GetFlexibleIP(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FlexibleIPState, opts ...pulumi.ResourceOption) (*FlexibleIP, error)

GetFlexibleIP gets an existing FlexibleIP 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 NewFlexibleIP

func NewFlexibleIP(ctx *pulumi.Context,
	name string, args *FlexibleIPArgs, opts ...pulumi.ResourceOption) (*FlexibleIP, error)

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

func (*FlexibleIP) ElementType

func (*FlexibleIP) ElementType() reflect.Type

func (*FlexibleIP) ToFlexibleIPOutput

func (i *FlexibleIP) ToFlexibleIPOutput() FlexibleIPOutput

func (*FlexibleIP) ToFlexibleIPOutputWithContext

func (i *FlexibleIP) ToFlexibleIPOutputWithContext(ctx context.Context) FlexibleIPOutput

type FlexibleIPArgs

type FlexibleIPArgs struct {
	// A description of the flexible IP.
	Description pulumi.StringPtrInput
	// Defines whether the flexible IP has an IPv6 address.
	IsIpv6 pulumi.BoolPtrInput
	// The project of the Flexible IP.
	ProjectId pulumi.StringPtrInput
	// The reverse domain associated with this flexible IP.
	Reverse pulumi.StringPtrInput
	// The ID of the associated server.
	ServerId pulumi.StringPtrInput
	// A list of tags to apply to the flexible IP.
	Tags pulumi.StringArrayInput
	// The zone of the Flexible IP.
	Zone pulumi.StringPtrInput
}

The set of arguments for constructing a FlexibleIP resource.

func (FlexibleIPArgs) ElementType

func (FlexibleIPArgs) ElementType() reflect.Type

type FlexibleIPArray

type FlexibleIPArray []FlexibleIPInput

func (FlexibleIPArray) ElementType

func (FlexibleIPArray) ElementType() reflect.Type

func (FlexibleIPArray) ToFlexibleIPArrayOutput

func (i FlexibleIPArray) ToFlexibleIPArrayOutput() FlexibleIPArrayOutput

func (FlexibleIPArray) ToFlexibleIPArrayOutputWithContext

func (i FlexibleIPArray) ToFlexibleIPArrayOutputWithContext(ctx context.Context) FlexibleIPArrayOutput

type FlexibleIPArrayInput

type FlexibleIPArrayInput interface {
	pulumi.Input

	ToFlexibleIPArrayOutput() FlexibleIPArrayOutput
	ToFlexibleIPArrayOutputWithContext(context.Context) FlexibleIPArrayOutput
}

FlexibleIPArrayInput is an input type that accepts FlexibleIPArray and FlexibleIPArrayOutput values. You can construct a concrete instance of `FlexibleIPArrayInput` via:

FlexibleIPArray{ FlexibleIPArgs{...} }

type FlexibleIPArrayOutput

type FlexibleIPArrayOutput struct{ *pulumi.OutputState }

func (FlexibleIPArrayOutput) ElementType

func (FlexibleIPArrayOutput) ElementType() reflect.Type

func (FlexibleIPArrayOutput) Index

func (FlexibleIPArrayOutput) ToFlexibleIPArrayOutput

func (o FlexibleIPArrayOutput) ToFlexibleIPArrayOutput() FlexibleIPArrayOutput

func (FlexibleIPArrayOutput) ToFlexibleIPArrayOutputWithContext

func (o FlexibleIPArrayOutput) ToFlexibleIPArrayOutputWithContext(ctx context.Context) FlexibleIPArrayOutput

type FlexibleIPInput

type FlexibleIPInput interface {
	pulumi.Input

	ToFlexibleIPOutput() FlexibleIPOutput
	ToFlexibleIPOutputWithContext(ctx context.Context) FlexibleIPOutput
}

type FlexibleIPMACAddress

type FlexibleIPMACAddress struct {
	pulumi.CustomResourceState

	// The Virtual MAC address.
	Address pulumi.StringOutput `pulumi:"address"`
	// The date at which the Virtual Mac Address was created (RFC 3339 format).
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The ID of the flexible IP for which to generate a virtual MAC.
	FlexibleIpId pulumi.StringOutput `pulumi:"flexibleIpId"`
	// The IDs of the flexible IPs on which to duplicate the virtual MAC.
	// > **Important:** The flexible IPs need to be attached to the same server for the operation to work.
	FlexibleIpIdsToDuplicates pulumi.StringArrayOutput `pulumi:"flexibleIpIdsToDuplicates"`
	// The Virtual MAC status.
	Status pulumi.StringOutput `pulumi:"status"`
	// The type of the virtual MAC.
	Type pulumi.StringOutput `pulumi:"type"`
	// The date at which the Virtual Mac Address was last updated (RFC 3339 format).
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
	// The zone of the Virtual Mac Address.
	Zone pulumi.StringOutput `pulumi:"zone"`
}

Creates and manages Scaleway Flexible IP Mac Addresses. For more information, see [the documentation](https://developers.scaleway.com/en/products/flexible-ip/api).

## Example Usage

### Basic

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

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/elasticmetal"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		mainFlexibleIP, err := elasticmetal.NewFlexibleIP(ctx, "mainFlexibleIP", nil)
		if err != nil {
			return err
		}
		_, err = elasticmetal.NewFlexibleIPMACAddress(ctx, "mainFlexibleIPMACAddress", &elasticmetal.FlexibleIPMACAddressArgs{
			FlexibleIpId: mainFlexibleIP.ID(),
			Type:         pulumi.String("kvm"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

### Duplicate on many other flexible IPs

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

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/elasticmetal"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myOffer, err := elasticmetal.GetBareMetalOffer(ctx, &elasticmetal.GetBareMetalOfferArgs{
			Name: pulumi.StringRef("EM-B112X-SSD"),
		}, nil)
		if err != nil {
			return err
		}
		base, err := elasticmetal.NewBareMetalServer(ctx, "base", &elasticmetal.BareMetalServerArgs{
			Offer:                  *pulumi.String(myOffer.OfferId),
			InstallConfigAfterward: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		ip01, err := elasticmetal.NewFlexibleIP(ctx, "ip01", &elasticmetal.FlexibleIPArgs{
			ServerId: base.ID(),
		})
		if err != nil {
			return err
		}
		ip02, err := elasticmetal.NewFlexibleIP(ctx, "ip02", &elasticmetal.FlexibleIPArgs{
			ServerId: base.ID(),
		})
		if err != nil {
			return err
		}
		ip03, err := elasticmetal.NewFlexibleIP(ctx, "ip03", &elasticmetal.FlexibleIPArgs{
			ServerId: base.ID(),
		})
		if err != nil {
			return err
		}
		_, err = elasticmetal.NewFlexibleIPMACAddress(ctx, "main", &elasticmetal.FlexibleIPMACAddressArgs{
			FlexibleIpId: ip01.ID(),
			Type:         pulumi.String("kvm"),
			FlexibleIpIdsToDuplicates: pulumi.StringArray{
				ip02.ID(),
				ip03.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Flexible IP Mac Addresses can be imported using the `{zone}/{id}`, e.g.

bash

```sh $ pulumi import scaleway:elasticmetal/flexibleIPMACAddress:FlexibleIPMACAddress main fr-par-1/11111111-1111-1111-1111-111111111111 ```

func GetFlexibleIPMACAddress

func GetFlexibleIPMACAddress(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FlexibleIPMACAddressState, opts ...pulumi.ResourceOption) (*FlexibleIPMACAddress, error)

GetFlexibleIPMACAddress gets an existing FlexibleIPMACAddress 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 NewFlexibleIPMACAddress

func NewFlexibleIPMACAddress(ctx *pulumi.Context,
	name string, args *FlexibleIPMACAddressArgs, opts ...pulumi.ResourceOption) (*FlexibleIPMACAddress, error)

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

func (*FlexibleIPMACAddress) ElementType

func (*FlexibleIPMACAddress) ElementType() reflect.Type

func (*FlexibleIPMACAddress) ToFlexibleIPMACAddressOutput

func (i *FlexibleIPMACAddress) ToFlexibleIPMACAddressOutput() FlexibleIPMACAddressOutput

func (*FlexibleIPMACAddress) ToFlexibleIPMACAddressOutputWithContext

func (i *FlexibleIPMACAddress) ToFlexibleIPMACAddressOutputWithContext(ctx context.Context) FlexibleIPMACAddressOutput

type FlexibleIPMACAddressArgs

type FlexibleIPMACAddressArgs struct {
	// The ID of the flexible IP for which to generate a virtual MAC.
	FlexibleIpId pulumi.StringInput
	// The IDs of the flexible IPs on which to duplicate the virtual MAC.
	// > **Important:** The flexible IPs need to be attached to the same server for the operation to work.
	FlexibleIpIdsToDuplicates pulumi.StringArrayInput
	// The type of the virtual MAC.
	Type pulumi.StringInput
	// The zone of the Virtual Mac Address.
	Zone pulumi.StringPtrInput
}

The set of arguments for constructing a FlexibleIPMACAddress resource.

func (FlexibleIPMACAddressArgs) ElementType

func (FlexibleIPMACAddressArgs) ElementType() reflect.Type

type FlexibleIPMACAddressArray

type FlexibleIPMACAddressArray []FlexibleIPMACAddressInput

func (FlexibleIPMACAddressArray) ElementType

func (FlexibleIPMACAddressArray) ElementType() reflect.Type

func (FlexibleIPMACAddressArray) ToFlexibleIPMACAddressArrayOutput

func (i FlexibleIPMACAddressArray) ToFlexibleIPMACAddressArrayOutput() FlexibleIPMACAddressArrayOutput

func (FlexibleIPMACAddressArray) ToFlexibleIPMACAddressArrayOutputWithContext

func (i FlexibleIPMACAddressArray) ToFlexibleIPMACAddressArrayOutputWithContext(ctx context.Context) FlexibleIPMACAddressArrayOutput

type FlexibleIPMACAddressArrayInput

type FlexibleIPMACAddressArrayInput interface {
	pulumi.Input

	ToFlexibleIPMACAddressArrayOutput() FlexibleIPMACAddressArrayOutput
	ToFlexibleIPMACAddressArrayOutputWithContext(context.Context) FlexibleIPMACAddressArrayOutput
}

FlexibleIPMACAddressArrayInput is an input type that accepts FlexibleIPMACAddressArray and FlexibleIPMACAddressArrayOutput values. You can construct a concrete instance of `FlexibleIPMACAddressArrayInput` via:

FlexibleIPMACAddressArray{ FlexibleIPMACAddressArgs{...} }

type FlexibleIPMACAddressArrayOutput

type FlexibleIPMACAddressArrayOutput struct{ *pulumi.OutputState }

func (FlexibleIPMACAddressArrayOutput) ElementType

func (FlexibleIPMACAddressArrayOutput) Index

func (FlexibleIPMACAddressArrayOutput) ToFlexibleIPMACAddressArrayOutput

func (o FlexibleIPMACAddressArrayOutput) ToFlexibleIPMACAddressArrayOutput() FlexibleIPMACAddressArrayOutput

func (FlexibleIPMACAddressArrayOutput) ToFlexibleIPMACAddressArrayOutputWithContext

func (o FlexibleIPMACAddressArrayOutput) ToFlexibleIPMACAddressArrayOutputWithContext(ctx context.Context) FlexibleIPMACAddressArrayOutput

type FlexibleIPMACAddressInput

type FlexibleIPMACAddressInput interface {
	pulumi.Input

	ToFlexibleIPMACAddressOutput() FlexibleIPMACAddressOutput
	ToFlexibleIPMACAddressOutputWithContext(ctx context.Context) FlexibleIPMACAddressOutput
}

type FlexibleIPMACAddressMap

type FlexibleIPMACAddressMap map[string]FlexibleIPMACAddressInput

func (FlexibleIPMACAddressMap) ElementType

func (FlexibleIPMACAddressMap) ElementType() reflect.Type

func (FlexibleIPMACAddressMap) ToFlexibleIPMACAddressMapOutput

func (i FlexibleIPMACAddressMap) ToFlexibleIPMACAddressMapOutput() FlexibleIPMACAddressMapOutput

func (FlexibleIPMACAddressMap) ToFlexibleIPMACAddressMapOutputWithContext

func (i FlexibleIPMACAddressMap) ToFlexibleIPMACAddressMapOutputWithContext(ctx context.Context) FlexibleIPMACAddressMapOutput

type FlexibleIPMACAddressMapInput

type FlexibleIPMACAddressMapInput interface {
	pulumi.Input

	ToFlexibleIPMACAddressMapOutput() FlexibleIPMACAddressMapOutput
	ToFlexibleIPMACAddressMapOutputWithContext(context.Context) FlexibleIPMACAddressMapOutput
}

FlexibleIPMACAddressMapInput is an input type that accepts FlexibleIPMACAddressMap and FlexibleIPMACAddressMapOutput values. You can construct a concrete instance of `FlexibleIPMACAddressMapInput` via:

FlexibleIPMACAddressMap{ "key": FlexibleIPMACAddressArgs{...} }

type FlexibleIPMACAddressMapOutput

type FlexibleIPMACAddressMapOutput struct{ *pulumi.OutputState }

func (FlexibleIPMACAddressMapOutput) ElementType

func (FlexibleIPMACAddressMapOutput) MapIndex

func (FlexibleIPMACAddressMapOutput) ToFlexibleIPMACAddressMapOutput

func (o FlexibleIPMACAddressMapOutput) ToFlexibleIPMACAddressMapOutput() FlexibleIPMACAddressMapOutput

func (FlexibleIPMACAddressMapOutput) ToFlexibleIPMACAddressMapOutputWithContext

func (o FlexibleIPMACAddressMapOutput) ToFlexibleIPMACAddressMapOutputWithContext(ctx context.Context) FlexibleIPMACAddressMapOutput

type FlexibleIPMACAddressOutput

type FlexibleIPMACAddressOutput struct{ *pulumi.OutputState }

func (FlexibleIPMACAddressOutput) Address

The Virtual MAC address.

func (FlexibleIPMACAddressOutput) CreatedAt

The date at which the Virtual Mac Address was created (RFC 3339 format).

func (FlexibleIPMACAddressOutput) ElementType

func (FlexibleIPMACAddressOutput) ElementType() reflect.Type

func (FlexibleIPMACAddressOutput) FlexibleIpId

The ID of the flexible IP for which to generate a virtual MAC.

func (FlexibleIPMACAddressOutput) FlexibleIpIdsToDuplicates

func (o FlexibleIPMACAddressOutput) FlexibleIpIdsToDuplicates() pulumi.StringArrayOutput

The IDs of the flexible IPs on which to duplicate the virtual MAC. > **Important:** The flexible IPs need to be attached to the same server for the operation to work.

func (FlexibleIPMACAddressOutput) Status

The Virtual MAC status.

func (FlexibleIPMACAddressOutput) ToFlexibleIPMACAddressOutput

func (o FlexibleIPMACAddressOutput) ToFlexibleIPMACAddressOutput() FlexibleIPMACAddressOutput

func (FlexibleIPMACAddressOutput) ToFlexibleIPMACAddressOutputWithContext

func (o FlexibleIPMACAddressOutput) ToFlexibleIPMACAddressOutputWithContext(ctx context.Context) FlexibleIPMACAddressOutput

func (FlexibleIPMACAddressOutput) Type

The type of the virtual MAC.

func (FlexibleIPMACAddressOutput) UpdatedAt

The date at which the Virtual Mac Address was last updated (RFC 3339 format).

func (FlexibleIPMACAddressOutput) Zone

The zone of the Virtual Mac Address.

type FlexibleIPMACAddressState

type FlexibleIPMACAddressState struct {
	// The Virtual MAC address.
	Address pulumi.StringPtrInput
	// The date at which the Virtual Mac Address was created (RFC 3339 format).
	CreatedAt pulumi.StringPtrInput
	// The ID of the flexible IP for which to generate a virtual MAC.
	FlexibleIpId pulumi.StringPtrInput
	// The IDs of the flexible IPs on which to duplicate the virtual MAC.
	// > **Important:** The flexible IPs need to be attached to the same server for the operation to work.
	FlexibleIpIdsToDuplicates pulumi.StringArrayInput
	// The Virtual MAC status.
	Status pulumi.StringPtrInput
	// The type of the virtual MAC.
	Type pulumi.StringPtrInput
	// The date at which the Virtual Mac Address was last updated (RFC 3339 format).
	UpdatedAt pulumi.StringPtrInput
	// The zone of the Virtual Mac Address.
	Zone pulumi.StringPtrInput
}

func (FlexibleIPMACAddressState) ElementType

func (FlexibleIPMACAddressState) ElementType() reflect.Type

type FlexibleIPMap

type FlexibleIPMap map[string]FlexibleIPInput

func (FlexibleIPMap) ElementType

func (FlexibleIPMap) ElementType() reflect.Type

func (FlexibleIPMap) ToFlexibleIPMapOutput

func (i FlexibleIPMap) ToFlexibleIPMapOutput() FlexibleIPMapOutput

func (FlexibleIPMap) ToFlexibleIPMapOutputWithContext

func (i FlexibleIPMap) ToFlexibleIPMapOutputWithContext(ctx context.Context) FlexibleIPMapOutput

type FlexibleIPMapInput

type FlexibleIPMapInput interface {
	pulumi.Input

	ToFlexibleIPMapOutput() FlexibleIPMapOutput
	ToFlexibleIPMapOutputWithContext(context.Context) FlexibleIPMapOutput
}

FlexibleIPMapInput is an input type that accepts FlexibleIPMap and FlexibleIPMapOutput values. You can construct a concrete instance of `FlexibleIPMapInput` via:

FlexibleIPMap{ "key": FlexibleIPArgs{...} }

type FlexibleIPMapOutput

type FlexibleIPMapOutput struct{ *pulumi.OutputState }

func (FlexibleIPMapOutput) ElementType

func (FlexibleIPMapOutput) ElementType() reflect.Type

func (FlexibleIPMapOutput) MapIndex

func (FlexibleIPMapOutput) ToFlexibleIPMapOutput

func (o FlexibleIPMapOutput) ToFlexibleIPMapOutput() FlexibleIPMapOutput

func (FlexibleIPMapOutput) ToFlexibleIPMapOutputWithContext

func (o FlexibleIPMapOutput) ToFlexibleIPMapOutputWithContext(ctx context.Context) FlexibleIPMapOutput

type FlexibleIPOutput

type FlexibleIPOutput struct{ *pulumi.OutputState }

func (FlexibleIPOutput) CreatedAt

func (o FlexibleIPOutput) CreatedAt() pulumi.StringOutput

The date and time of the creation of the Flexible IP (Format ISO 8601).

func (FlexibleIPOutput) Description

func (o FlexibleIPOutput) Description() pulumi.StringPtrOutput

A description of the flexible IP.

func (FlexibleIPOutput) ElementType

func (FlexibleIPOutput) ElementType() reflect.Type

func (FlexibleIPOutput) IpAddress

func (o FlexibleIPOutput) IpAddress() pulumi.StringOutput

The IP address of the Flexible IP.

func (FlexibleIPOutput) IsIpv6

Defines whether the flexible IP has an IPv6 address.

func (FlexibleIPOutput) OrganizationId

func (o FlexibleIPOutput) OrganizationId() pulumi.StringOutput

The organization of the Flexible IP.

func (FlexibleIPOutput) ProjectId

func (o FlexibleIPOutput) ProjectId() pulumi.StringOutput

The project of the Flexible IP.

func (FlexibleIPOutput) Reverse

func (o FlexibleIPOutput) Reverse() pulumi.StringOutput

The reverse domain associated with this flexible IP.

func (FlexibleIPOutput) ServerId

The ID of the associated server.

func (FlexibleIPOutput) Status

The status of the flexible IP.

func (FlexibleIPOutput) Tags

A list of tags to apply to the flexible IP.

func (FlexibleIPOutput) ToFlexibleIPOutput

func (o FlexibleIPOutput) ToFlexibleIPOutput() FlexibleIPOutput

func (FlexibleIPOutput) ToFlexibleIPOutputWithContext

func (o FlexibleIPOutput) ToFlexibleIPOutputWithContext(ctx context.Context) FlexibleIPOutput

func (FlexibleIPOutput) UpdatedAt

func (o FlexibleIPOutput) UpdatedAt() pulumi.StringOutput

The date and time of the last update of the Flexible IP (Format ISO 8601).

func (FlexibleIPOutput) Zone

The zone of the Flexible IP.

type FlexibleIPState

type FlexibleIPState struct {
	// The date and time of the creation of the Flexible IP (Format ISO 8601).
	CreatedAt pulumi.StringPtrInput
	// A description of the flexible IP.
	Description pulumi.StringPtrInput
	// The IP address of the Flexible IP.
	IpAddress pulumi.StringPtrInput
	// Defines whether the flexible IP has an IPv6 address.
	IsIpv6 pulumi.BoolPtrInput
	// The organization of the Flexible IP.
	OrganizationId pulumi.StringPtrInput
	// The project of the Flexible IP.
	ProjectId pulumi.StringPtrInput
	// The reverse domain associated with this flexible IP.
	Reverse pulumi.StringPtrInput
	// The ID of the associated server.
	ServerId pulumi.StringPtrInput
	// The status of the flexible IP.
	Status pulumi.StringPtrInput
	// A list of tags to apply to the flexible IP.
	Tags pulumi.StringArrayInput
	// The date and time of the last update of the Flexible IP (Format ISO 8601).
	UpdatedAt pulumi.StringPtrInput
	// The zone of the Flexible IP.
	Zone pulumi.StringPtrInput
}

func (FlexibleIPState) ElementType

func (FlexibleIPState) ElementType() reflect.Type

type GetBareMetalOSArgs

type GetBareMetalOSArgs struct {
	// The os name. Only one of `name` and `osId` should be specified.
	Name *string `pulumi:"name"`
	// The operating system id. Only one of `name` and `osId` should be specified.
	OsId *string `pulumi:"osId"`
	// The os version.
	Version *string `pulumi:"version"`
	// `zone`) The zone in which the os exists.
	Zone *string `pulumi:"zone"`
}

A collection of arguments for invoking getBareMetalOS.

type GetBareMetalOSOutputArgs

type GetBareMetalOSOutputArgs struct {
	// The os name. Only one of `name` and `osId` should be specified.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The operating system id. Only one of `name` and `osId` should be specified.
	OsId pulumi.StringPtrInput `pulumi:"osId"`
	// The os version.
	Version pulumi.StringPtrInput `pulumi:"version"`
	// `zone`) The zone in which the os exists.
	Zone pulumi.StringPtrInput `pulumi:"zone"`
}

A collection of arguments for invoking getBareMetalOS.

func (GetBareMetalOSOutputArgs) ElementType

func (GetBareMetalOSOutputArgs) ElementType() reflect.Type

type GetBareMetalOSResult

type GetBareMetalOSResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id      string  `pulumi:"id"`
	Name    *string `pulumi:"name"`
	OsId    *string `pulumi:"osId"`
	Version *string `pulumi:"version"`
	Zone    string  `pulumi:"zone"`
}

A collection of values returned by getBareMetalOS.

func GetBareMetalOS

func GetBareMetalOS(ctx *pulumi.Context, args *GetBareMetalOSArgs, opts ...pulumi.InvokeOption) (*GetBareMetalOSResult, error)

Gets information about a baremetal operating system. For more information, see [the documentation](https://developers.scaleway.com/en/products/baremetal/api).

You can also use the [scaleway-cli](https://github.com/scaleway/scaleway-cli) with `scw baremetal os list` to list all available operating systems.

## Example Usage

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

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/elasticmetal"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elasticmetal.GetBareMetalOS(ctx, &elasticmetal.GetBareMetalOSArgs{
			Name:    pulumi.StringRef("Ubuntu"),
			Version: pulumi.StringRef("20.04 LTS (Focal Fossa)"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = elasticmetal.GetBareMetalOS(ctx, &elasticmetal.GetBareMetalOSArgs{
			OsId: pulumi.StringRef("03b7f4ba-a6a1-4305-984e-b54fafbf1681"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

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

type GetBareMetalOSResultOutput

type GetBareMetalOSResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBareMetalOS.

func (GetBareMetalOSResultOutput) ElementType

func (GetBareMetalOSResultOutput) ElementType() reflect.Type

func (GetBareMetalOSResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetBareMetalOSResultOutput) Name

func (GetBareMetalOSResultOutput) OsId

func (GetBareMetalOSResultOutput) ToGetBareMetalOSResultOutput

func (o GetBareMetalOSResultOutput) ToGetBareMetalOSResultOutput() GetBareMetalOSResultOutput

func (GetBareMetalOSResultOutput) ToGetBareMetalOSResultOutputWithContext

func (o GetBareMetalOSResultOutput) ToGetBareMetalOSResultOutputWithContext(ctx context.Context) GetBareMetalOSResultOutput

func (GetBareMetalOSResultOutput) Version

func (GetBareMetalOSResultOutput) Zone

type GetBareMetalOfferArgs

type GetBareMetalOfferArgs struct {
	IncludeDisabled *bool `pulumi:"includeDisabled"`
	// The offer name. Only one of `name` and `offerId` should be specified.
	Name *string `pulumi:"name"`
	// The offer id. Only one of `name` and `offerId` should be specified.
	OfferId *string `pulumi:"offerId"`
	// Period of subscription the desired offer. Should be `hourly` or `monthly`.
	SubscriptionPeriod *string `pulumi:"subscriptionPeriod"`
	// `zone`) The zone in which the offer should be created.
	Zone *string `pulumi:"zone"`
}

A collection of arguments for invoking getBareMetalOffer.

type GetBareMetalOfferCpus

type GetBareMetalOfferCpus struct {
	// Number of core on this CPU.
	CoreCount int `pulumi:"coreCount"`
	// Frequency of the memory in MHz.
	Frequency int `pulumi:"frequency"`
	// The offer name. Only one of `name` and `offerId` should be specified.
	Name string `pulumi:"name"`
	// Number of thread on this CPU.
	ThreadCount int `pulumi:"threadCount"`
}

type GetBareMetalOfferCpusArgs

type GetBareMetalOfferCpusArgs struct {
	// Number of core on this CPU.
	CoreCount pulumi.IntInput `pulumi:"coreCount"`
	// Frequency of the memory in MHz.
	Frequency pulumi.IntInput `pulumi:"frequency"`
	// The offer name. Only one of `name` and `offerId` should be specified.
	Name pulumi.StringInput `pulumi:"name"`
	// Number of thread on this CPU.
	ThreadCount pulumi.IntInput `pulumi:"threadCount"`
}

func (GetBareMetalOfferCpusArgs) ElementType

func (GetBareMetalOfferCpusArgs) ElementType() reflect.Type

func (GetBareMetalOfferCpusArgs) ToGetBareMetalOfferCpusOutput

func (i GetBareMetalOfferCpusArgs) ToGetBareMetalOfferCpusOutput() GetBareMetalOfferCpusOutput

func (GetBareMetalOfferCpusArgs) ToGetBareMetalOfferCpusOutputWithContext

func (i GetBareMetalOfferCpusArgs) ToGetBareMetalOfferCpusOutputWithContext(ctx context.Context) GetBareMetalOfferCpusOutput

type GetBareMetalOfferCpusArray

type GetBareMetalOfferCpusArray []GetBareMetalOfferCpusInput

func (GetBareMetalOfferCpusArray) ElementType

func (GetBareMetalOfferCpusArray) ElementType() reflect.Type

func (GetBareMetalOfferCpusArray) ToGetBareMetalOfferCpusArrayOutput

func (i GetBareMetalOfferCpusArray) ToGetBareMetalOfferCpusArrayOutput() GetBareMetalOfferCpusArrayOutput

func (GetBareMetalOfferCpusArray) ToGetBareMetalOfferCpusArrayOutputWithContext

func (i GetBareMetalOfferCpusArray) ToGetBareMetalOfferCpusArrayOutputWithContext(ctx context.Context) GetBareMetalOfferCpusArrayOutput

type GetBareMetalOfferCpusArrayInput

type GetBareMetalOfferCpusArrayInput interface {
	pulumi.Input

	ToGetBareMetalOfferCpusArrayOutput() GetBareMetalOfferCpusArrayOutput
	ToGetBareMetalOfferCpusArrayOutputWithContext(context.Context) GetBareMetalOfferCpusArrayOutput
}

GetBareMetalOfferCpusArrayInput is an input type that accepts GetBareMetalOfferCpusArray and GetBareMetalOfferCpusArrayOutput values. You can construct a concrete instance of `GetBareMetalOfferCpusArrayInput` via:

GetBareMetalOfferCpusArray{ GetBareMetalOfferCpusArgs{...} }

type GetBareMetalOfferCpusArrayOutput

type GetBareMetalOfferCpusArrayOutput struct{ *pulumi.OutputState }

func (GetBareMetalOfferCpusArrayOutput) ElementType

func (GetBareMetalOfferCpusArrayOutput) Index

func (GetBareMetalOfferCpusArrayOutput) ToGetBareMetalOfferCpusArrayOutput

func (o GetBareMetalOfferCpusArrayOutput) ToGetBareMetalOfferCpusArrayOutput() GetBareMetalOfferCpusArrayOutput

func (GetBareMetalOfferCpusArrayOutput) ToGetBareMetalOfferCpusArrayOutputWithContext

func (o GetBareMetalOfferCpusArrayOutput) ToGetBareMetalOfferCpusArrayOutputWithContext(ctx context.Context) GetBareMetalOfferCpusArrayOutput

type GetBareMetalOfferCpusInput

type GetBareMetalOfferCpusInput interface {
	pulumi.Input

	ToGetBareMetalOfferCpusOutput() GetBareMetalOfferCpusOutput
	ToGetBareMetalOfferCpusOutputWithContext(context.Context) GetBareMetalOfferCpusOutput
}

GetBareMetalOfferCpusInput is an input type that accepts GetBareMetalOfferCpusArgs and GetBareMetalOfferCpusOutput values. You can construct a concrete instance of `GetBareMetalOfferCpusInput` via:

GetBareMetalOfferCpusArgs{...}

type GetBareMetalOfferCpusOutput

type GetBareMetalOfferCpusOutput struct{ *pulumi.OutputState }

func (GetBareMetalOfferCpusOutput) CoreCount

Number of core on this CPU.

func (GetBareMetalOfferCpusOutput) ElementType

func (GetBareMetalOfferCpusOutput) Frequency

Frequency of the memory in MHz.

func (GetBareMetalOfferCpusOutput) Name

The offer name. Only one of `name` and `offerId` should be specified.

func (GetBareMetalOfferCpusOutput) ThreadCount

Number of thread on this CPU.

func (GetBareMetalOfferCpusOutput) ToGetBareMetalOfferCpusOutput

func (o GetBareMetalOfferCpusOutput) ToGetBareMetalOfferCpusOutput() GetBareMetalOfferCpusOutput

func (GetBareMetalOfferCpusOutput) ToGetBareMetalOfferCpusOutputWithContext

func (o GetBareMetalOfferCpusOutput) ToGetBareMetalOfferCpusOutputWithContext(ctx context.Context) GetBareMetalOfferCpusOutput

type GetBareMetalOfferDisk

type GetBareMetalOfferDisk struct {
	// Capacity of the memory in GB.
	Capacity int `pulumi:"capacity"`
	// Type of memory.
	Type string `pulumi:"type"`
}

type GetBareMetalOfferDiskArgs

type GetBareMetalOfferDiskArgs struct {
	// Capacity of the memory in GB.
	Capacity pulumi.IntInput `pulumi:"capacity"`
	// Type of memory.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetBareMetalOfferDiskArgs) ElementType

func (GetBareMetalOfferDiskArgs) ElementType() reflect.Type

func (GetBareMetalOfferDiskArgs) ToGetBareMetalOfferDiskOutput

func (i GetBareMetalOfferDiskArgs) ToGetBareMetalOfferDiskOutput() GetBareMetalOfferDiskOutput

func (GetBareMetalOfferDiskArgs) ToGetBareMetalOfferDiskOutputWithContext

func (i GetBareMetalOfferDiskArgs) ToGetBareMetalOfferDiskOutputWithContext(ctx context.Context) GetBareMetalOfferDiskOutput

type GetBareMetalOfferDiskArray

type GetBareMetalOfferDiskArray []GetBareMetalOfferDiskInput

func (GetBareMetalOfferDiskArray) ElementType

func (GetBareMetalOfferDiskArray) ElementType() reflect.Type

func (GetBareMetalOfferDiskArray) ToGetBareMetalOfferDiskArrayOutput

func (i GetBareMetalOfferDiskArray) ToGetBareMetalOfferDiskArrayOutput() GetBareMetalOfferDiskArrayOutput

func (GetBareMetalOfferDiskArray) ToGetBareMetalOfferDiskArrayOutputWithContext

func (i GetBareMetalOfferDiskArray) ToGetBareMetalOfferDiskArrayOutputWithContext(ctx context.Context) GetBareMetalOfferDiskArrayOutput

type GetBareMetalOfferDiskArrayInput

type GetBareMetalOfferDiskArrayInput interface {
	pulumi.Input

	ToGetBareMetalOfferDiskArrayOutput() GetBareMetalOfferDiskArrayOutput
	ToGetBareMetalOfferDiskArrayOutputWithContext(context.Context) GetBareMetalOfferDiskArrayOutput
}

GetBareMetalOfferDiskArrayInput is an input type that accepts GetBareMetalOfferDiskArray and GetBareMetalOfferDiskArrayOutput values. You can construct a concrete instance of `GetBareMetalOfferDiskArrayInput` via:

GetBareMetalOfferDiskArray{ GetBareMetalOfferDiskArgs{...} }

type GetBareMetalOfferDiskArrayOutput

type GetBareMetalOfferDiskArrayOutput struct{ *pulumi.OutputState }

func (GetBareMetalOfferDiskArrayOutput) ElementType

func (GetBareMetalOfferDiskArrayOutput) Index

func (GetBareMetalOfferDiskArrayOutput) ToGetBareMetalOfferDiskArrayOutput

func (o GetBareMetalOfferDiskArrayOutput) ToGetBareMetalOfferDiskArrayOutput() GetBareMetalOfferDiskArrayOutput

func (GetBareMetalOfferDiskArrayOutput) ToGetBareMetalOfferDiskArrayOutputWithContext

func (o GetBareMetalOfferDiskArrayOutput) ToGetBareMetalOfferDiskArrayOutputWithContext(ctx context.Context) GetBareMetalOfferDiskArrayOutput

type GetBareMetalOfferDiskInput

type GetBareMetalOfferDiskInput interface {
	pulumi.Input

	ToGetBareMetalOfferDiskOutput() GetBareMetalOfferDiskOutput
	ToGetBareMetalOfferDiskOutputWithContext(context.Context) GetBareMetalOfferDiskOutput
}

GetBareMetalOfferDiskInput is an input type that accepts GetBareMetalOfferDiskArgs and GetBareMetalOfferDiskOutput values. You can construct a concrete instance of `GetBareMetalOfferDiskInput` via:

GetBareMetalOfferDiskArgs{...}

type GetBareMetalOfferDiskOutput

type GetBareMetalOfferDiskOutput struct{ *pulumi.OutputState }

func (GetBareMetalOfferDiskOutput) Capacity

Capacity of the memory in GB.

func (GetBareMetalOfferDiskOutput) ElementType

func (GetBareMetalOfferDiskOutput) ToGetBareMetalOfferDiskOutput

func (o GetBareMetalOfferDiskOutput) ToGetBareMetalOfferDiskOutput() GetBareMetalOfferDiskOutput

func (GetBareMetalOfferDiskOutput) ToGetBareMetalOfferDiskOutputWithContext

func (o GetBareMetalOfferDiskOutput) ToGetBareMetalOfferDiskOutputWithContext(ctx context.Context) GetBareMetalOfferDiskOutput

func (GetBareMetalOfferDiskOutput) Type

Type of memory.

type GetBareMetalOfferMemory

type GetBareMetalOfferMemory struct {
	// Capacity of the memory in GB.
	Capacity int `pulumi:"capacity"`
	// Frequency of the memory in MHz.
	Frequency int `pulumi:"frequency"`
	// True if error-correcting code is available on this memory.
	IsEcc bool `pulumi:"isEcc"`
	// Type of memory.
	Type string `pulumi:"type"`
}

type GetBareMetalOfferMemoryArgs

type GetBareMetalOfferMemoryArgs struct {
	// Capacity of the memory in GB.
	Capacity pulumi.IntInput `pulumi:"capacity"`
	// Frequency of the memory in MHz.
	Frequency pulumi.IntInput `pulumi:"frequency"`
	// True if error-correcting code is available on this memory.
	IsEcc pulumi.BoolInput `pulumi:"isEcc"`
	// Type of memory.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetBareMetalOfferMemoryArgs) ElementType

func (GetBareMetalOfferMemoryArgs) ToGetBareMetalOfferMemoryOutput

func (i GetBareMetalOfferMemoryArgs) ToGetBareMetalOfferMemoryOutput() GetBareMetalOfferMemoryOutput

func (GetBareMetalOfferMemoryArgs) ToGetBareMetalOfferMemoryOutputWithContext

func (i GetBareMetalOfferMemoryArgs) ToGetBareMetalOfferMemoryOutputWithContext(ctx context.Context) GetBareMetalOfferMemoryOutput

type GetBareMetalOfferMemoryArray

type GetBareMetalOfferMemoryArray []GetBareMetalOfferMemoryInput

func (GetBareMetalOfferMemoryArray) ElementType

func (GetBareMetalOfferMemoryArray) ToGetBareMetalOfferMemoryArrayOutput

func (i GetBareMetalOfferMemoryArray) ToGetBareMetalOfferMemoryArrayOutput() GetBareMetalOfferMemoryArrayOutput

func (GetBareMetalOfferMemoryArray) ToGetBareMetalOfferMemoryArrayOutputWithContext

func (i GetBareMetalOfferMemoryArray) ToGetBareMetalOfferMemoryArrayOutputWithContext(ctx context.Context) GetBareMetalOfferMemoryArrayOutput

type GetBareMetalOfferMemoryArrayInput

type GetBareMetalOfferMemoryArrayInput interface {
	pulumi.Input

	ToGetBareMetalOfferMemoryArrayOutput() GetBareMetalOfferMemoryArrayOutput
	ToGetBareMetalOfferMemoryArrayOutputWithContext(context.Context) GetBareMetalOfferMemoryArrayOutput
}

GetBareMetalOfferMemoryArrayInput is an input type that accepts GetBareMetalOfferMemoryArray and GetBareMetalOfferMemoryArrayOutput values. You can construct a concrete instance of `GetBareMetalOfferMemoryArrayInput` via:

GetBareMetalOfferMemoryArray{ GetBareMetalOfferMemoryArgs{...} }

type GetBareMetalOfferMemoryArrayOutput

type GetBareMetalOfferMemoryArrayOutput struct{ *pulumi.OutputState }

func (GetBareMetalOfferMemoryArrayOutput) ElementType

func (GetBareMetalOfferMemoryArrayOutput) Index

func (GetBareMetalOfferMemoryArrayOutput) ToGetBareMetalOfferMemoryArrayOutput

func (o GetBareMetalOfferMemoryArrayOutput) ToGetBareMetalOfferMemoryArrayOutput() GetBareMetalOfferMemoryArrayOutput

func (GetBareMetalOfferMemoryArrayOutput) ToGetBareMetalOfferMemoryArrayOutputWithContext

func (o GetBareMetalOfferMemoryArrayOutput) ToGetBareMetalOfferMemoryArrayOutputWithContext(ctx context.Context) GetBareMetalOfferMemoryArrayOutput

type GetBareMetalOfferMemoryInput

type GetBareMetalOfferMemoryInput interface {
	pulumi.Input

	ToGetBareMetalOfferMemoryOutput() GetBareMetalOfferMemoryOutput
	ToGetBareMetalOfferMemoryOutputWithContext(context.Context) GetBareMetalOfferMemoryOutput
}

GetBareMetalOfferMemoryInput is an input type that accepts GetBareMetalOfferMemoryArgs and GetBareMetalOfferMemoryOutput values. You can construct a concrete instance of `GetBareMetalOfferMemoryInput` via:

GetBareMetalOfferMemoryArgs{...}

type GetBareMetalOfferMemoryOutput

type GetBareMetalOfferMemoryOutput struct{ *pulumi.OutputState }

func (GetBareMetalOfferMemoryOutput) Capacity

Capacity of the memory in GB.

func (GetBareMetalOfferMemoryOutput) ElementType

func (GetBareMetalOfferMemoryOutput) Frequency

Frequency of the memory in MHz.

func (GetBareMetalOfferMemoryOutput) IsEcc

True if error-correcting code is available on this memory.

func (GetBareMetalOfferMemoryOutput) ToGetBareMetalOfferMemoryOutput

func (o GetBareMetalOfferMemoryOutput) ToGetBareMetalOfferMemoryOutput() GetBareMetalOfferMemoryOutput

func (GetBareMetalOfferMemoryOutput) ToGetBareMetalOfferMemoryOutputWithContext

func (o GetBareMetalOfferMemoryOutput) ToGetBareMetalOfferMemoryOutputWithContext(ctx context.Context) GetBareMetalOfferMemoryOutput

func (GetBareMetalOfferMemoryOutput) Type

Type of memory.

type GetBareMetalOfferOutputArgs

type GetBareMetalOfferOutputArgs struct {
	IncludeDisabled pulumi.BoolPtrInput `pulumi:"includeDisabled"`
	// The offer name. Only one of `name` and `offerId` should be specified.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The offer id. Only one of `name` and `offerId` should be specified.
	OfferId pulumi.StringPtrInput `pulumi:"offerId"`
	// Period of subscription the desired offer. Should be `hourly` or `monthly`.
	SubscriptionPeriod pulumi.StringPtrInput `pulumi:"subscriptionPeriod"`
	// `zone`) The zone in which the offer should be created.
	Zone pulumi.StringPtrInput `pulumi:"zone"`
}

A collection of arguments for invoking getBareMetalOffer.

func (GetBareMetalOfferOutputArgs) ElementType

type GetBareMetalOfferResult

type GetBareMetalOfferResult struct {
	// Available Bandwidth with the offer.
	Bandwidth int `pulumi:"bandwidth"`
	// Commercial range of the offer.
	CommercialRange string `pulumi:"commercialRange"`
	// A list of cpu specifications. (Structure is documented below.)
	Cpus []GetBareMetalOfferCpus `pulumi:"cpus"`
	// A list of disk specifications. (Structure is documented below.)
	Disks []GetBareMetalOfferDisk `pulumi:"disks"`
	// The provider-assigned unique ID for this managed resource.
	Id              string `pulumi:"id"`
	IncludeDisabled *bool  `pulumi:"includeDisabled"`
	// A list of memory specifications. (Structure is documented below.)
	Memories []GetBareMetalOfferMemory `pulumi:"memories"`
	// Name of the CPU.
	Name    *string `pulumi:"name"`
	OfferId *string `pulumi:"offerId"`
	// Stock status for this offer. Possible values are: `empty`, `low` or `available`.
	Stock              string  `pulumi:"stock"`
	SubscriptionPeriod *string `pulumi:"subscriptionPeriod"`
	Zone               string  `pulumi:"zone"`
}

A collection of values returned by getBareMetalOffer.

func GetBareMetalOffer

func GetBareMetalOffer(ctx *pulumi.Context, args *GetBareMetalOfferArgs, opts ...pulumi.InvokeOption) (*GetBareMetalOfferResult, error)

Gets information about a baremetal offer. For more information, see [the documentation](https://developers.scaleway.com/en/products/baremetal/api).

## Example Usage

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

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/elasticmetal"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elasticmetal.GetBareMetalOffer(ctx, &elasticmetal.GetBareMetalOfferArgs{
			OfferId: pulumi.StringRef("25dcf38b-c90c-4b18-97a2-6956e9d1e113"),
			Zone:    pulumi.StringRef("fr-par-2"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

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

type GetBareMetalOfferResultOutput

type GetBareMetalOfferResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBareMetalOffer.

func (GetBareMetalOfferResultOutput) Bandwidth

Available Bandwidth with the offer.

func (GetBareMetalOfferResultOutput) CommercialRange

Commercial range of the offer.

func (GetBareMetalOfferResultOutput) Cpus

A list of cpu specifications. (Structure is documented below.)

func (GetBareMetalOfferResultOutput) Disks

A list of disk specifications. (Structure is documented below.)

func (GetBareMetalOfferResultOutput) ElementType

func (GetBareMetalOfferResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetBareMetalOfferResultOutput) IncludeDisabled

func (GetBareMetalOfferResultOutput) Memories

A list of memory specifications. (Structure is documented below.)

func (GetBareMetalOfferResultOutput) Name

Name of the CPU.

func (GetBareMetalOfferResultOutput) OfferId

func (GetBareMetalOfferResultOutput) Stock

Stock status for this offer. Possible values are: `empty`, `low` or `available`.

func (GetBareMetalOfferResultOutput) SubscriptionPeriod

func (o GetBareMetalOfferResultOutput) SubscriptionPeriod() pulumi.StringPtrOutput

func (GetBareMetalOfferResultOutput) ToGetBareMetalOfferResultOutput

func (o GetBareMetalOfferResultOutput) ToGetBareMetalOfferResultOutput() GetBareMetalOfferResultOutput

func (GetBareMetalOfferResultOutput) ToGetBareMetalOfferResultOutputWithContext

func (o GetBareMetalOfferResultOutput) ToGetBareMetalOfferResultOutputWithContext(ctx context.Context) GetBareMetalOfferResultOutput

func (GetBareMetalOfferResultOutput) Zone

type GetBareMetalOptionArgs

type GetBareMetalOptionArgs struct {
	// The option name. Only one of `name` and `optionId` should be specified.
	Name *string `pulumi:"name"`
	// The option id. Only one of `name` and `optionId` should be specified.
	OptionId *string `pulumi:"optionId"`
	// `zone`) The zone in which the option exists.
	Zone *string `pulumi:"zone"`
}

A collection of arguments for invoking getBareMetalOption.

type GetBareMetalOptionOutputArgs

type GetBareMetalOptionOutputArgs struct {
	// The option name. Only one of `name` and `optionId` should be specified.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The option id. Only one of `name` and `optionId` should be specified.
	OptionId pulumi.StringPtrInput `pulumi:"optionId"`
	// `zone`) The zone in which the option exists.
	Zone pulumi.StringPtrInput `pulumi:"zone"`
}

A collection of arguments for invoking getBareMetalOption.

func (GetBareMetalOptionOutputArgs) ElementType

type GetBareMetalOptionResult

type GetBareMetalOptionResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Is false if the option could not be added or removed.
	Manageable bool `pulumi:"manageable"`
	// The name of the option.
	Name     *string `pulumi:"name"`
	OptionId *string `pulumi:"optionId"`
	Zone     string  `pulumi:"zone"`
}

A collection of values returned by getBareMetalOption.

func GetBareMetalOption

func GetBareMetalOption(ctx *pulumi.Context, args *GetBareMetalOptionArgs, opts ...pulumi.InvokeOption) (*GetBareMetalOptionResult, error)

Gets information about a baremetal option. For more information, see [the documentation](https://developers.scaleway.com/en/products/baremetal/api).

## Example Usage

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

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/elasticmetal"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elasticmetal.GetBareMetalOption(ctx, &elasticmetal.GetBareMetalOptionArgs{
			Name: pulumi.StringRef("Remote Access"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = elasticmetal.GetBareMetalOption(ctx, &elasticmetal.GetBareMetalOptionArgs{
			OptionId: pulumi.StringRef("931df052-d713-4674-8b58-96a63244c8e2"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

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

type GetBareMetalOptionResultOutput

type GetBareMetalOptionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBareMetalOption.

func (GetBareMetalOptionResultOutput) ElementType

func (GetBareMetalOptionResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetBareMetalOptionResultOutput) Manageable

Is false if the option could not be added or removed.

func (GetBareMetalOptionResultOutput) Name

The name of the option.

func (GetBareMetalOptionResultOutput) OptionId

func (GetBareMetalOptionResultOutput) ToGetBareMetalOptionResultOutput

func (o GetBareMetalOptionResultOutput) ToGetBareMetalOptionResultOutput() GetBareMetalOptionResultOutput

func (GetBareMetalOptionResultOutput) ToGetBareMetalOptionResultOutputWithContext

func (o GetBareMetalOptionResultOutput) ToGetBareMetalOptionResultOutputWithContext(ctx context.Context) GetBareMetalOptionResultOutput

func (GetBareMetalOptionResultOutput) Zone

type GetBareMetalServerIp

type GetBareMetalServerIp struct {
	// The IPv6 address
	Address string `pulumi:"address"`
	// The ID of the server.
	Id string `pulumi:"id"`
	// The Reverse of the IPv6
	Reverse string `pulumi:"reverse"`
	// The version of the IPv6
	Version string `pulumi:"version"`
}

type GetBareMetalServerIpArgs

type GetBareMetalServerIpArgs struct {
	// The IPv6 address
	Address pulumi.StringInput `pulumi:"address"`
	// The ID of the server.
	Id pulumi.StringInput `pulumi:"id"`
	// The Reverse of the IPv6
	Reverse pulumi.StringInput `pulumi:"reverse"`
	// The version of the IPv6
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetBareMetalServerIpArgs) ElementType

func (GetBareMetalServerIpArgs) ElementType() reflect.Type

func (GetBareMetalServerIpArgs) ToGetBareMetalServerIpOutput

func (i GetBareMetalServerIpArgs) ToGetBareMetalServerIpOutput() GetBareMetalServerIpOutput

func (GetBareMetalServerIpArgs) ToGetBareMetalServerIpOutputWithContext

func (i GetBareMetalServerIpArgs) ToGetBareMetalServerIpOutputWithContext(ctx context.Context) GetBareMetalServerIpOutput

type GetBareMetalServerIpArray

type GetBareMetalServerIpArray []GetBareMetalServerIpInput

func (GetBareMetalServerIpArray) ElementType

func (GetBareMetalServerIpArray) ElementType() reflect.Type

func (GetBareMetalServerIpArray) ToGetBareMetalServerIpArrayOutput

func (i GetBareMetalServerIpArray) ToGetBareMetalServerIpArrayOutput() GetBareMetalServerIpArrayOutput

func (GetBareMetalServerIpArray) ToGetBareMetalServerIpArrayOutputWithContext

func (i GetBareMetalServerIpArray) ToGetBareMetalServerIpArrayOutputWithContext(ctx context.Context) GetBareMetalServerIpArrayOutput

type GetBareMetalServerIpArrayInput

type GetBareMetalServerIpArrayInput interface {
	pulumi.Input

	ToGetBareMetalServerIpArrayOutput() GetBareMetalServerIpArrayOutput
	ToGetBareMetalServerIpArrayOutputWithContext(context.Context) GetBareMetalServerIpArrayOutput
}

GetBareMetalServerIpArrayInput is an input type that accepts GetBareMetalServerIpArray and GetBareMetalServerIpArrayOutput values. You can construct a concrete instance of `GetBareMetalServerIpArrayInput` via:

GetBareMetalServerIpArray{ GetBareMetalServerIpArgs{...} }

type GetBareMetalServerIpArrayOutput

type GetBareMetalServerIpArrayOutput struct{ *pulumi.OutputState }

func (GetBareMetalServerIpArrayOutput) ElementType

func (GetBareMetalServerIpArrayOutput) Index

func (GetBareMetalServerIpArrayOutput) ToGetBareMetalServerIpArrayOutput

func (o GetBareMetalServerIpArrayOutput) ToGetBareMetalServerIpArrayOutput() GetBareMetalServerIpArrayOutput

func (GetBareMetalServerIpArrayOutput) ToGetBareMetalServerIpArrayOutputWithContext

func (o GetBareMetalServerIpArrayOutput) ToGetBareMetalServerIpArrayOutputWithContext(ctx context.Context) GetBareMetalServerIpArrayOutput

type GetBareMetalServerIpInput

type GetBareMetalServerIpInput interface {
	pulumi.Input

	ToGetBareMetalServerIpOutput() GetBareMetalServerIpOutput
	ToGetBareMetalServerIpOutputWithContext(context.Context) GetBareMetalServerIpOutput
}

GetBareMetalServerIpInput is an input type that accepts GetBareMetalServerIpArgs and GetBareMetalServerIpOutput values. You can construct a concrete instance of `GetBareMetalServerIpInput` via:

GetBareMetalServerIpArgs{...}

type GetBareMetalServerIpOutput

type GetBareMetalServerIpOutput struct{ *pulumi.OutputState }

func (GetBareMetalServerIpOutput) Address

The IPv6 address

func (GetBareMetalServerIpOutput) ElementType

func (GetBareMetalServerIpOutput) ElementType() reflect.Type

func (GetBareMetalServerIpOutput) Id

The ID of the server.

func (GetBareMetalServerIpOutput) Reverse

The Reverse of the IPv6

func (GetBareMetalServerIpOutput) ToGetBareMetalServerIpOutput

func (o GetBareMetalServerIpOutput) ToGetBareMetalServerIpOutput() GetBareMetalServerIpOutput

func (GetBareMetalServerIpOutput) ToGetBareMetalServerIpOutputWithContext

func (o GetBareMetalServerIpOutput) ToGetBareMetalServerIpOutputWithContext(ctx context.Context) GetBareMetalServerIpOutput

func (GetBareMetalServerIpOutput) Version

The version of the IPv6

type GetBareMetalServerIpv4

type GetBareMetalServerIpv4 struct {
	// The IPv6 address
	Address string `pulumi:"address"`
	// The ID of the server.
	Id string `pulumi:"id"`
	// The Reverse of the IPv6
	Reverse string `pulumi:"reverse"`
	// The version of the IPv6
	Version string `pulumi:"version"`
}

type GetBareMetalServerIpv4Args

type GetBareMetalServerIpv4Args struct {
	// The IPv6 address
	Address pulumi.StringInput `pulumi:"address"`
	// The ID of the server.
	Id pulumi.StringInput `pulumi:"id"`
	// The Reverse of the IPv6
	Reverse pulumi.StringInput `pulumi:"reverse"`
	// The version of the IPv6
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetBareMetalServerIpv4Args) ElementType

func (GetBareMetalServerIpv4Args) ElementType() reflect.Type

func (GetBareMetalServerIpv4Args) ToGetBareMetalServerIpv4Output

func (i GetBareMetalServerIpv4Args) ToGetBareMetalServerIpv4Output() GetBareMetalServerIpv4Output

func (GetBareMetalServerIpv4Args) ToGetBareMetalServerIpv4OutputWithContext

func (i GetBareMetalServerIpv4Args) ToGetBareMetalServerIpv4OutputWithContext(ctx context.Context) GetBareMetalServerIpv4Output

type GetBareMetalServerIpv4Array

type GetBareMetalServerIpv4Array []GetBareMetalServerIpv4Input

func (GetBareMetalServerIpv4Array) ElementType

func (GetBareMetalServerIpv4Array) ToGetBareMetalServerIpv4ArrayOutput

func (i GetBareMetalServerIpv4Array) ToGetBareMetalServerIpv4ArrayOutput() GetBareMetalServerIpv4ArrayOutput

func (GetBareMetalServerIpv4Array) ToGetBareMetalServerIpv4ArrayOutputWithContext

func (i GetBareMetalServerIpv4Array) ToGetBareMetalServerIpv4ArrayOutputWithContext(ctx context.Context) GetBareMetalServerIpv4ArrayOutput

type GetBareMetalServerIpv4ArrayInput

type GetBareMetalServerIpv4ArrayInput interface {
	pulumi.Input

	ToGetBareMetalServerIpv4ArrayOutput() GetBareMetalServerIpv4ArrayOutput
	ToGetBareMetalServerIpv4ArrayOutputWithContext(context.Context) GetBareMetalServerIpv4ArrayOutput
}

GetBareMetalServerIpv4ArrayInput is an input type that accepts GetBareMetalServerIpv4Array and GetBareMetalServerIpv4ArrayOutput values. You can construct a concrete instance of `GetBareMetalServerIpv4ArrayInput` via:

GetBareMetalServerIpv4Array{ GetBareMetalServerIpv4Args{...} }

type GetBareMetalServerIpv4ArrayOutput

type GetBareMetalServerIpv4ArrayOutput struct{ *pulumi.OutputState }

func (GetBareMetalServerIpv4ArrayOutput) ElementType

func (GetBareMetalServerIpv4ArrayOutput) Index

func (GetBareMetalServerIpv4ArrayOutput) ToGetBareMetalServerIpv4ArrayOutput

func (o GetBareMetalServerIpv4ArrayOutput) ToGetBareMetalServerIpv4ArrayOutput() GetBareMetalServerIpv4ArrayOutput

func (GetBareMetalServerIpv4ArrayOutput) ToGetBareMetalServerIpv4ArrayOutputWithContext

func (o GetBareMetalServerIpv4ArrayOutput) ToGetBareMetalServerIpv4ArrayOutputWithContext(ctx context.Context) GetBareMetalServerIpv4ArrayOutput

type GetBareMetalServerIpv4Input

type GetBareMetalServerIpv4Input interface {
	pulumi.Input

	ToGetBareMetalServerIpv4Output() GetBareMetalServerIpv4Output
	ToGetBareMetalServerIpv4OutputWithContext(context.Context) GetBareMetalServerIpv4Output
}

GetBareMetalServerIpv4Input is an input type that accepts GetBareMetalServerIpv4Args and GetBareMetalServerIpv4Output values. You can construct a concrete instance of `GetBareMetalServerIpv4Input` via:

GetBareMetalServerIpv4Args{...}

type GetBareMetalServerIpv4Output

type GetBareMetalServerIpv4Output struct{ *pulumi.OutputState }

func (GetBareMetalServerIpv4Output) Address

The IPv6 address

func (GetBareMetalServerIpv4Output) ElementType

func (GetBareMetalServerIpv4Output) Id

The ID of the server.

func (GetBareMetalServerIpv4Output) Reverse

The Reverse of the IPv6

func (GetBareMetalServerIpv4Output) ToGetBareMetalServerIpv4Output

func (o GetBareMetalServerIpv4Output) ToGetBareMetalServerIpv4Output() GetBareMetalServerIpv4Output

func (GetBareMetalServerIpv4Output) ToGetBareMetalServerIpv4OutputWithContext

func (o GetBareMetalServerIpv4Output) ToGetBareMetalServerIpv4OutputWithContext(ctx context.Context) GetBareMetalServerIpv4Output

func (GetBareMetalServerIpv4Output) Version

The version of the IPv6

type GetBareMetalServerIpv6

type GetBareMetalServerIpv6 struct {
	// The IPv6 address
	Address string `pulumi:"address"`
	// The ID of the server.
	Id string `pulumi:"id"`
	// The Reverse of the IPv6
	Reverse string `pulumi:"reverse"`
	// The version of the IPv6
	Version string `pulumi:"version"`
}

type GetBareMetalServerIpv6Args

type GetBareMetalServerIpv6Args struct {
	// The IPv6 address
	Address pulumi.StringInput `pulumi:"address"`
	// The ID of the server.
	Id pulumi.StringInput `pulumi:"id"`
	// The Reverse of the IPv6
	Reverse pulumi.StringInput `pulumi:"reverse"`
	// The version of the IPv6
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetBareMetalServerIpv6Args) ElementType

func (GetBareMetalServerIpv6Args) ElementType() reflect.Type

func (GetBareMetalServerIpv6Args) ToGetBareMetalServerIpv6Output

func (i GetBareMetalServerIpv6Args) ToGetBareMetalServerIpv6Output() GetBareMetalServerIpv6Output

func (GetBareMetalServerIpv6Args) ToGetBareMetalServerIpv6OutputWithContext

func (i GetBareMetalServerIpv6Args) ToGetBareMetalServerIpv6OutputWithContext(ctx context.Context) GetBareMetalServerIpv6Output

type GetBareMetalServerIpv6Array

type GetBareMetalServerIpv6Array []GetBareMetalServerIpv6Input

func (GetBareMetalServerIpv6Array) ElementType

func (GetBareMetalServerIpv6Array) ToGetBareMetalServerIpv6ArrayOutput

func (i GetBareMetalServerIpv6Array) ToGetBareMetalServerIpv6ArrayOutput() GetBareMetalServerIpv6ArrayOutput

func (GetBareMetalServerIpv6Array) ToGetBareMetalServerIpv6ArrayOutputWithContext

func (i GetBareMetalServerIpv6Array) ToGetBareMetalServerIpv6ArrayOutputWithContext(ctx context.Context) GetBareMetalServerIpv6ArrayOutput

type GetBareMetalServerIpv6ArrayInput

type GetBareMetalServerIpv6ArrayInput interface {
	pulumi.Input

	ToGetBareMetalServerIpv6ArrayOutput() GetBareMetalServerIpv6ArrayOutput
	ToGetBareMetalServerIpv6ArrayOutputWithContext(context.Context) GetBareMetalServerIpv6ArrayOutput
}

GetBareMetalServerIpv6ArrayInput is an input type that accepts GetBareMetalServerIpv6Array and GetBareMetalServerIpv6ArrayOutput values. You can construct a concrete instance of `GetBareMetalServerIpv6ArrayInput` via:

GetBareMetalServerIpv6Array{ GetBareMetalServerIpv6Args{...} }

type GetBareMetalServerIpv6ArrayOutput

type GetBareMetalServerIpv6ArrayOutput struct{ *pulumi.OutputState }

func (GetBareMetalServerIpv6ArrayOutput) ElementType

func (GetBareMetalServerIpv6ArrayOutput) Index

func (GetBareMetalServerIpv6ArrayOutput) ToGetBareMetalServerIpv6ArrayOutput

func (o GetBareMetalServerIpv6ArrayOutput) ToGetBareMetalServerIpv6ArrayOutput() GetBareMetalServerIpv6ArrayOutput

func (GetBareMetalServerIpv6ArrayOutput) ToGetBareMetalServerIpv6ArrayOutputWithContext

func (o GetBareMetalServerIpv6ArrayOutput) ToGetBareMetalServerIpv6ArrayOutputWithContext(ctx context.Context) GetBareMetalServerIpv6ArrayOutput

type GetBareMetalServerIpv6Input

type GetBareMetalServerIpv6Input interface {
	pulumi.Input

	ToGetBareMetalServerIpv6Output() GetBareMetalServerIpv6Output
	ToGetBareMetalServerIpv6OutputWithContext(context.Context) GetBareMetalServerIpv6Output
}

GetBareMetalServerIpv6Input is an input type that accepts GetBareMetalServerIpv6Args and GetBareMetalServerIpv6Output values. You can construct a concrete instance of `GetBareMetalServerIpv6Input` via:

GetBareMetalServerIpv6Args{...}

type GetBareMetalServerIpv6Output

type GetBareMetalServerIpv6Output struct{ *pulumi.OutputState }

func (GetBareMetalServerIpv6Output) Address

The IPv6 address

func (GetBareMetalServerIpv6Output) ElementType

func (GetBareMetalServerIpv6Output) Id

The ID of the server.

func (GetBareMetalServerIpv6Output) Reverse

The Reverse of the IPv6

func (GetBareMetalServerIpv6Output) ToGetBareMetalServerIpv6Output

func (o GetBareMetalServerIpv6Output) ToGetBareMetalServerIpv6Output() GetBareMetalServerIpv6Output

func (GetBareMetalServerIpv6Output) ToGetBareMetalServerIpv6OutputWithContext

func (o GetBareMetalServerIpv6Output) ToGetBareMetalServerIpv6OutputWithContext(ctx context.Context) GetBareMetalServerIpv6Output

func (GetBareMetalServerIpv6Output) Version

The version of the IPv6

type GetBareMetalServerOption

type GetBareMetalServerOption struct {
	// Auto expire the option after this date
	ExpiresAt string `pulumi:"expiresAt"`
	// The ID of the server.
	Id string `pulumi:"id"`
	// The server name. Only one of `name` and `serverId` should be specified.
	Name string `pulumi:"name"`
}

type GetBareMetalServerOptionArgs

type GetBareMetalServerOptionArgs struct {
	// Auto expire the option after this date
	ExpiresAt pulumi.StringInput `pulumi:"expiresAt"`
	// The ID of the server.
	Id pulumi.StringInput `pulumi:"id"`
	// The server name. Only one of `name` and `serverId` should be specified.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetBareMetalServerOptionArgs) ElementType

func (GetBareMetalServerOptionArgs) ToGetBareMetalServerOptionOutput

func (i GetBareMetalServerOptionArgs) ToGetBareMetalServerOptionOutput() GetBareMetalServerOptionOutput

func (GetBareMetalServerOptionArgs) ToGetBareMetalServerOptionOutputWithContext

func (i GetBareMetalServerOptionArgs) ToGetBareMetalServerOptionOutputWithContext(ctx context.Context) GetBareMetalServerOptionOutput

type GetBareMetalServerOptionArray

type GetBareMetalServerOptionArray []GetBareMetalServerOptionInput

func (GetBareMetalServerOptionArray) ElementType

func (GetBareMetalServerOptionArray) ToGetBareMetalServerOptionArrayOutput

func (i GetBareMetalServerOptionArray) ToGetBareMetalServerOptionArrayOutput() GetBareMetalServerOptionArrayOutput

func (GetBareMetalServerOptionArray) ToGetBareMetalServerOptionArrayOutputWithContext

func (i GetBareMetalServerOptionArray) ToGetBareMetalServerOptionArrayOutputWithContext(ctx context.Context) GetBareMetalServerOptionArrayOutput

type GetBareMetalServerOptionArrayInput

type GetBareMetalServerOptionArrayInput interface {
	pulumi.Input

	ToGetBareMetalServerOptionArrayOutput() GetBareMetalServerOptionArrayOutput
	ToGetBareMetalServerOptionArrayOutputWithContext(context.Context) GetBareMetalServerOptionArrayOutput
}

GetBareMetalServerOptionArrayInput is an input type that accepts GetBareMetalServerOptionArray and GetBareMetalServerOptionArrayOutput values. You can construct a concrete instance of `GetBareMetalServerOptionArrayInput` via:

GetBareMetalServerOptionArray{ GetBareMetalServerOptionArgs{...} }

type GetBareMetalServerOptionArrayOutput

type GetBareMetalServerOptionArrayOutput struct{ *pulumi.OutputState }

func (GetBareMetalServerOptionArrayOutput) ElementType

func (GetBareMetalServerOptionArrayOutput) Index

func (GetBareMetalServerOptionArrayOutput) ToGetBareMetalServerOptionArrayOutput

func (o GetBareMetalServerOptionArrayOutput) ToGetBareMetalServerOptionArrayOutput() GetBareMetalServerOptionArrayOutput

func (GetBareMetalServerOptionArrayOutput) ToGetBareMetalServerOptionArrayOutputWithContext

func (o GetBareMetalServerOptionArrayOutput) ToGetBareMetalServerOptionArrayOutputWithContext(ctx context.Context) GetBareMetalServerOptionArrayOutput

type GetBareMetalServerOptionInput

type GetBareMetalServerOptionInput interface {
	pulumi.Input

	ToGetBareMetalServerOptionOutput() GetBareMetalServerOptionOutput
	ToGetBareMetalServerOptionOutputWithContext(context.Context) GetBareMetalServerOptionOutput
}

GetBareMetalServerOptionInput is an input type that accepts GetBareMetalServerOptionArgs and GetBareMetalServerOptionOutput values. You can construct a concrete instance of `GetBareMetalServerOptionInput` via:

GetBareMetalServerOptionArgs{...}

type GetBareMetalServerOptionOutput

type GetBareMetalServerOptionOutput struct{ *pulumi.OutputState }

func (GetBareMetalServerOptionOutput) ElementType

func (GetBareMetalServerOptionOutput) ExpiresAt

Auto expire the option after this date

func (GetBareMetalServerOptionOutput) Id

The ID of the server.

func (GetBareMetalServerOptionOutput) Name

The server name. Only one of `name` and `serverId` should be specified.

func (GetBareMetalServerOptionOutput) ToGetBareMetalServerOptionOutput

func (o GetBareMetalServerOptionOutput) ToGetBareMetalServerOptionOutput() GetBareMetalServerOptionOutput

func (GetBareMetalServerOptionOutput) ToGetBareMetalServerOptionOutputWithContext

func (o GetBareMetalServerOptionOutput) ToGetBareMetalServerOptionOutputWithContext(ctx context.Context) GetBareMetalServerOptionOutput

type GetBareMetalServerPrivateNetwork

type GetBareMetalServerPrivateNetwork struct {
	// The date and time of the creation of the private network
	CreatedAt string `pulumi:"createdAt"`
	// The ID of the server.
	Id string `pulumi:"id"`
	// The private network status
	Status string `pulumi:"status"`
	// The date and time of the last update of the private network
	UpdatedAt string `pulumi:"updatedAt"`
	// The VLAN ID associated to the private network
	Vlan int `pulumi:"vlan"`
}

type GetBareMetalServerPrivateNetworkArgs

type GetBareMetalServerPrivateNetworkArgs struct {
	// The date and time of the creation of the private network
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// The ID of the server.
	Id pulumi.StringInput `pulumi:"id"`
	// The private network status
	Status pulumi.StringInput `pulumi:"status"`
	// The date and time of the last update of the private network
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
	// The VLAN ID associated to the private network
	Vlan pulumi.IntInput `pulumi:"vlan"`
}

func (GetBareMetalServerPrivateNetworkArgs) ElementType

func (GetBareMetalServerPrivateNetworkArgs) ToGetBareMetalServerPrivateNetworkOutput

func (i GetBareMetalServerPrivateNetworkArgs) ToGetBareMetalServerPrivateNetworkOutput() GetBareMetalServerPrivateNetworkOutput

func (GetBareMetalServerPrivateNetworkArgs) ToGetBareMetalServerPrivateNetworkOutputWithContext

func (i GetBareMetalServerPrivateNetworkArgs) ToGetBareMetalServerPrivateNetworkOutputWithContext(ctx context.Context) GetBareMetalServerPrivateNetworkOutput

type GetBareMetalServerPrivateNetworkArray

type GetBareMetalServerPrivateNetworkArray []GetBareMetalServerPrivateNetworkInput

func (GetBareMetalServerPrivateNetworkArray) ElementType

func (GetBareMetalServerPrivateNetworkArray) ToGetBareMetalServerPrivateNetworkArrayOutput

func (i GetBareMetalServerPrivateNetworkArray) ToGetBareMetalServerPrivateNetworkArrayOutput() GetBareMetalServerPrivateNetworkArrayOutput

func (GetBareMetalServerPrivateNetworkArray) ToGetBareMetalServerPrivateNetworkArrayOutputWithContext

func (i GetBareMetalServerPrivateNetworkArray) ToGetBareMetalServerPrivateNetworkArrayOutputWithContext(ctx context.Context) GetBareMetalServerPrivateNetworkArrayOutput

type GetBareMetalServerPrivateNetworkArrayInput

type GetBareMetalServerPrivateNetworkArrayInput interface {
	pulumi.Input

	ToGetBareMetalServerPrivateNetworkArrayOutput() GetBareMetalServerPrivateNetworkArrayOutput
	ToGetBareMetalServerPrivateNetworkArrayOutputWithContext(context.Context) GetBareMetalServerPrivateNetworkArrayOutput
}

GetBareMetalServerPrivateNetworkArrayInput is an input type that accepts GetBareMetalServerPrivateNetworkArray and GetBareMetalServerPrivateNetworkArrayOutput values. You can construct a concrete instance of `GetBareMetalServerPrivateNetworkArrayInput` via:

GetBareMetalServerPrivateNetworkArray{ GetBareMetalServerPrivateNetworkArgs{...} }

type GetBareMetalServerPrivateNetworkArrayOutput

type GetBareMetalServerPrivateNetworkArrayOutput struct{ *pulumi.OutputState }

func (GetBareMetalServerPrivateNetworkArrayOutput) ElementType

func (GetBareMetalServerPrivateNetworkArrayOutput) Index

func (GetBareMetalServerPrivateNetworkArrayOutput) ToGetBareMetalServerPrivateNetworkArrayOutput

func (o GetBareMetalServerPrivateNetworkArrayOutput) ToGetBareMetalServerPrivateNetworkArrayOutput() GetBareMetalServerPrivateNetworkArrayOutput

func (GetBareMetalServerPrivateNetworkArrayOutput) ToGetBareMetalServerPrivateNetworkArrayOutputWithContext

func (o GetBareMetalServerPrivateNetworkArrayOutput) ToGetBareMetalServerPrivateNetworkArrayOutputWithContext(ctx context.Context) GetBareMetalServerPrivateNetworkArrayOutput

type GetBareMetalServerPrivateNetworkInput

type GetBareMetalServerPrivateNetworkInput interface {
	pulumi.Input

	ToGetBareMetalServerPrivateNetworkOutput() GetBareMetalServerPrivateNetworkOutput
	ToGetBareMetalServerPrivateNetworkOutputWithContext(context.Context) GetBareMetalServerPrivateNetworkOutput
}

GetBareMetalServerPrivateNetworkInput is an input type that accepts GetBareMetalServerPrivateNetworkArgs and GetBareMetalServerPrivateNetworkOutput values. You can construct a concrete instance of `GetBareMetalServerPrivateNetworkInput` via:

GetBareMetalServerPrivateNetworkArgs{...}

type GetBareMetalServerPrivateNetworkOutput

type GetBareMetalServerPrivateNetworkOutput struct{ *pulumi.OutputState }

func (GetBareMetalServerPrivateNetworkOutput) CreatedAt

The date and time of the creation of the private network

func (GetBareMetalServerPrivateNetworkOutput) ElementType

func (GetBareMetalServerPrivateNetworkOutput) Id

The ID of the server.

func (GetBareMetalServerPrivateNetworkOutput) Status

The private network status

func (GetBareMetalServerPrivateNetworkOutput) ToGetBareMetalServerPrivateNetworkOutput

func (o GetBareMetalServerPrivateNetworkOutput) ToGetBareMetalServerPrivateNetworkOutput() GetBareMetalServerPrivateNetworkOutput

func (GetBareMetalServerPrivateNetworkOutput) ToGetBareMetalServerPrivateNetworkOutputWithContext

func (o GetBareMetalServerPrivateNetworkOutput) ToGetBareMetalServerPrivateNetworkOutputWithContext(ctx context.Context) GetBareMetalServerPrivateNetworkOutput

func (GetBareMetalServerPrivateNetworkOutput) UpdatedAt

The date and time of the last update of the private network

func (GetBareMetalServerPrivateNetworkOutput) Vlan

The VLAN ID associated to the private network

type GetFlexibleIPsArgs

type GetFlexibleIPsArgs struct {
	// (Defaults to provider `projectId`) The ID of the project the IP is in.
	ProjectId *string `pulumi:"projectId"`
	// List of server IDs used as filter. IPs with these exact server IDs are listed.
	ServerIds []string `pulumi:"serverIds"`
	// List of tags used as filter. IPs with these exact tags are listed.
	Tags []string `pulumi:"tags"`
	// `zone`) The zone in which IPs exist.
	Zone *string `pulumi:"zone"`
}

A collection of arguments for invoking getFlexibleIPs.

type GetFlexibleIPsIp

type GetFlexibleIPsIp struct {
	// The date on which the flexible IP was created (RFC 3339 format).
	CreatedAt string `pulumi:"createdAt"`
	// The description of the flexible IP.
	Description string `pulumi:"description"`
	// The MAC address ID.
	Id        string `pulumi:"id"`
	IpAddress string `pulumi:"ipAddress"`
	// The MAC address of the Virtual MAC.
	MacAddresses []GetFlexibleIPsIpMacAddress `pulumi:"macAddresses"`
	// (Defaults to provider `organizationId`) The ID of the organization the IP is in.
	OrganizationId string `pulumi:"organizationId"`
	// (Defaults to provider `projectId`) The ID of the project the IP is in.
	ProjectId string `pulumi:"projectId"`
	// The reverse domain associated with this IP.
	Reverse string `pulumi:"reverse"`
	// The status of virtual MAC.
	Status string `pulumi:"status"`
	// List of tags used as filter. IPs with these exact tags are listed.
	Tags []string `pulumi:"tags"`
	// The date on which the flexible IP was last updated (RFC 3339 format).
	UpdatedAt string `pulumi:"updatedAt"`
	// `zone`) The zone in which IPs exist.
	Zone string `pulumi:"zone"`
}

type GetFlexibleIPsIpArgs

type GetFlexibleIPsIpArgs struct {
	// The date on which the flexible IP was created (RFC 3339 format).
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// The description of the flexible IP.
	Description pulumi.StringInput `pulumi:"description"`
	// The MAC address ID.
	Id        pulumi.StringInput `pulumi:"id"`
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
	// The MAC address of the Virtual MAC.
	MacAddresses GetFlexibleIPsIpMacAddressArrayInput `pulumi:"macAddresses"`
	// (Defaults to provider `organizationId`) The ID of the organization the IP is in.
	OrganizationId pulumi.StringInput `pulumi:"organizationId"`
	// (Defaults to provider `projectId`) The ID of the project the IP is in.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	// The reverse domain associated with this IP.
	Reverse pulumi.StringInput `pulumi:"reverse"`
	// The status of virtual MAC.
	Status pulumi.StringInput `pulumi:"status"`
	// List of tags used as filter. IPs with these exact tags are listed.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// The date on which the flexible IP was last updated (RFC 3339 format).
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
	// `zone`) The zone in which IPs exist.
	Zone pulumi.StringInput `pulumi:"zone"`
}

func (GetFlexibleIPsIpArgs) ElementType

func (GetFlexibleIPsIpArgs) ElementType() reflect.Type

func (GetFlexibleIPsIpArgs) ToGetFlexibleIPsIpOutput

func (i GetFlexibleIPsIpArgs) ToGetFlexibleIPsIpOutput() GetFlexibleIPsIpOutput

func (GetFlexibleIPsIpArgs) ToGetFlexibleIPsIpOutputWithContext

func (i GetFlexibleIPsIpArgs) ToGetFlexibleIPsIpOutputWithContext(ctx context.Context) GetFlexibleIPsIpOutput

type GetFlexibleIPsIpArray

type GetFlexibleIPsIpArray []GetFlexibleIPsIpInput

func (GetFlexibleIPsIpArray) ElementType

func (GetFlexibleIPsIpArray) ElementType() reflect.Type

func (GetFlexibleIPsIpArray) ToGetFlexibleIPsIpArrayOutput

func (i GetFlexibleIPsIpArray) ToGetFlexibleIPsIpArrayOutput() GetFlexibleIPsIpArrayOutput

func (GetFlexibleIPsIpArray) ToGetFlexibleIPsIpArrayOutputWithContext

func (i GetFlexibleIPsIpArray) ToGetFlexibleIPsIpArrayOutputWithContext(ctx context.Context) GetFlexibleIPsIpArrayOutput

type GetFlexibleIPsIpArrayInput

type GetFlexibleIPsIpArrayInput interface {
	pulumi.Input

	ToGetFlexibleIPsIpArrayOutput() GetFlexibleIPsIpArrayOutput
	ToGetFlexibleIPsIpArrayOutputWithContext(context.Context) GetFlexibleIPsIpArrayOutput
}

GetFlexibleIPsIpArrayInput is an input type that accepts GetFlexibleIPsIpArray and GetFlexibleIPsIpArrayOutput values. You can construct a concrete instance of `GetFlexibleIPsIpArrayInput` via:

GetFlexibleIPsIpArray{ GetFlexibleIPsIpArgs{...} }

type GetFlexibleIPsIpArrayOutput

type GetFlexibleIPsIpArrayOutput struct{ *pulumi.OutputState }

func (GetFlexibleIPsIpArrayOutput) ElementType

func (GetFlexibleIPsIpArrayOutput) Index

func (GetFlexibleIPsIpArrayOutput) ToGetFlexibleIPsIpArrayOutput

func (o GetFlexibleIPsIpArrayOutput) ToGetFlexibleIPsIpArrayOutput() GetFlexibleIPsIpArrayOutput

func (GetFlexibleIPsIpArrayOutput) ToGetFlexibleIPsIpArrayOutputWithContext

func (o GetFlexibleIPsIpArrayOutput) ToGetFlexibleIPsIpArrayOutputWithContext(ctx context.Context) GetFlexibleIPsIpArrayOutput

type GetFlexibleIPsIpInput

type GetFlexibleIPsIpInput interface {
	pulumi.Input

	ToGetFlexibleIPsIpOutput() GetFlexibleIPsIpOutput
	ToGetFlexibleIPsIpOutputWithContext(context.Context) GetFlexibleIPsIpOutput
}

GetFlexibleIPsIpInput is an input type that accepts GetFlexibleIPsIpArgs and GetFlexibleIPsIpOutput values. You can construct a concrete instance of `GetFlexibleIPsIpInput` via:

GetFlexibleIPsIpArgs{...}

type GetFlexibleIPsIpMacAddress

type GetFlexibleIPsIpMacAddress struct {
	// The date on which the flexible IP was created (RFC 3339 format).
	CreatedAt string `pulumi:"createdAt"`
	// The MAC address ID.
	Id string `pulumi:"id"`
	// The MAC address of the Virtual MAC.
	MacAddress string `pulumi:"macAddress"`
	// The type of virtual MAC.
	MacType string `pulumi:"macType"`
	// The status of virtual MAC.
	Status string `pulumi:"status"`
	// The date on which the flexible IP was last updated (RFC 3339 format).
	UpdatedAt string `pulumi:"updatedAt"`
	// `zone`) The zone in which IPs exist.
	Zone string `pulumi:"zone"`
}

type GetFlexibleIPsIpMacAddressArgs

type GetFlexibleIPsIpMacAddressArgs struct {
	// The date on which the flexible IP was created (RFC 3339 format).
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// The MAC address ID.
	Id pulumi.StringInput `pulumi:"id"`
	// The MAC address of the Virtual MAC.
	MacAddress pulumi.StringInput `pulumi:"macAddress"`
	// The type of virtual MAC.
	MacType pulumi.StringInput `pulumi:"macType"`
	// The status of virtual MAC.
	Status pulumi.StringInput `pulumi:"status"`
	// The date on which the flexible IP was last updated (RFC 3339 format).
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
	// `zone`) The zone in which IPs exist.
	Zone pulumi.StringInput `pulumi:"zone"`
}

func (GetFlexibleIPsIpMacAddressArgs) ElementType

func (GetFlexibleIPsIpMacAddressArgs) ToGetFlexibleIPsIpMacAddressOutput

func (i GetFlexibleIPsIpMacAddressArgs) ToGetFlexibleIPsIpMacAddressOutput() GetFlexibleIPsIpMacAddressOutput

func (GetFlexibleIPsIpMacAddressArgs) ToGetFlexibleIPsIpMacAddressOutputWithContext

func (i GetFlexibleIPsIpMacAddressArgs) ToGetFlexibleIPsIpMacAddressOutputWithContext(ctx context.Context) GetFlexibleIPsIpMacAddressOutput

type GetFlexibleIPsIpMacAddressArray

type GetFlexibleIPsIpMacAddressArray []GetFlexibleIPsIpMacAddressInput

func (GetFlexibleIPsIpMacAddressArray) ElementType

func (GetFlexibleIPsIpMacAddressArray) ToGetFlexibleIPsIpMacAddressArrayOutput

func (i GetFlexibleIPsIpMacAddressArray) ToGetFlexibleIPsIpMacAddressArrayOutput() GetFlexibleIPsIpMacAddressArrayOutput

func (GetFlexibleIPsIpMacAddressArray) ToGetFlexibleIPsIpMacAddressArrayOutputWithContext

func (i GetFlexibleIPsIpMacAddressArray) ToGetFlexibleIPsIpMacAddressArrayOutputWithContext(ctx context.Context) GetFlexibleIPsIpMacAddressArrayOutput

type GetFlexibleIPsIpMacAddressArrayInput

type GetFlexibleIPsIpMacAddressArrayInput interface {
	pulumi.Input

	ToGetFlexibleIPsIpMacAddressArrayOutput() GetFlexibleIPsIpMacAddressArrayOutput
	ToGetFlexibleIPsIpMacAddressArrayOutputWithContext(context.Context) GetFlexibleIPsIpMacAddressArrayOutput
}

GetFlexibleIPsIpMacAddressArrayInput is an input type that accepts GetFlexibleIPsIpMacAddressArray and GetFlexibleIPsIpMacAddressArrayOutput values. You can construct a concrete instance of `GetFlexibleIPsIpMacAddressArrayInput` via:

GetFlexibleIPsIpMacAddressArray{ GetFlexibleIPsIpMacAddressArgs{...} }

type GetFlexibleIPsIpMacAddressArrayOutput

type GetFlexibleIPsIpMacAddressArrayOutput struct{ *pulumi.OutputState }

func (GetFlexibleIPsIpMacAddressArrayOutput) ElementType

func (GetFlexibleIPsIpMacAddressArrayOutput) Index

func (GetFlexibleIPsIpMacAddressArrayOutput) ToGetFlexibleIPsIpMacAddressArrayOutput

func (o GetFlexibleIPsIpMacAddressArrayOutput) ToGetFlexibleIPsIpMacAddressArrayOutput() GetFlexibleIPsIpMacAddressArrayOutput

func (GetFlexibleIPsIpMacAddressArrayOutput) ToGetFlexibleIPsIpMacAddressArrayOutputWithContext

func (o GetFlexibleIPsIpMacAddressArrayOutput) ToGetFlexibleIPsIpMacAddressArrayOutputWithContext(ctx context.Context) GetFlexibleIPsIpMacAddressArrayOutput

type GetFlexibleIPsIpMacAddressInput

type GetFlexibleIPsIpMacAddressInput interface {
	pulumi.Input

	ToGetFlexibleIPsIpMacAddressOutput() GetFlexibleIPsIpMacAddressOutput
	ToGetFlexibleIPsIpMacAddressOutputWithContext(context.Context) GetFlexibleIPsIpMacAddressOutput
}

GetFlexibleIPsIpMacAddressInput is an input type that accepts GetFlexibleIPsIpMacAddressArgs and GetFlexibleIPsIpMacAddressOutput values. You can construct a concrete instance of `GetFlexibleIPsIpMacAddressInput` via:

GetFlexibleIPsIpMacAddressArgs{...}

type GetFlexibleIPsIpMacAddressOutput

type GetFlexibleIPsIpMacAddressOutput struct{ *pulumi.OutputState }

func (GetFlexibleIPsIpMacAddressOutput) CreatedAt

The date on which the flexible IP was created (RFC 3339 format).

func (GetFlexibleIPsIpMacAddressOutput) ElementType

func (GetFlexibleIPsIpMacAddressOutput) Id

The MAC address ID.

func (GetFlexibleIPsIpMacAddressOutput) MacAddress

The MAC address of the Virtual MAC.

func (GetFlexibleIPsIpMacAddressOutput) MacType

The type of virtual MAC.

func (GetFlexibleIPsIpMacAddressOutput) Status

The status of virtual MAC.

func (GetFlexibleIPsIpMacAddressOutput) ToGetFlexibleIPsIpMacAddressOutput

func (o GetFlexibleIPsIpMacAddressOutput) ToGetFlexibleIPsIpMacAddressOutput() GetFlexibleIPsIpMacAddressOutput

func (GetFlexibleIPsIpMacAddressOutput) ToGetFlexibleIPsIpMacAddressOutputWithContext

func (o GetFlexibleIPsIpMacAddressOutput) ToGetFlexibleIPsIpMacAddressOutputWithContext(ctx context.Context) GetFlexibleIPsIpMacAddressOutput

func (GetFlexibleIPsIpMacAddressOutput) UpdatedAt

The date on which the flexible IP was last updated (RFC 3339 format).

func (GetFlexibleIPsIpMacAddressOutput) Zone

`zone`) The zone in which IPs exist.

type GetFlexibleIPsIpOutput

type GetFlexibleIPsIpOutput struct{ *pulumi.OutputState }

func (GetFlexibleIPsIpOutput) CreatedAt

The date on which the flexible IP was created (RFC 3339 format).

func (GetFlexibleIPsIpOutput) Description

func (o GetFlexibleIPsIpOutput) Description() pulumi.StringOutput

The description of the flexible IP.

func (GetFlexibleIPsIpOutput) ElementType

func (GetFlexibleIPsIpOutput) ElementType() reflect.Type

func (GetFlexibleIPsIpOutput) Id

The MAC address ID.

func (GetFlexibleIPsIpOutput) IpAddress

func (GetFlexibleIPsIpOutput) MacAddresses

The MAC address of the Virtual MAC.

func (GetFlexibleIPsIpOutput) OrganizationId

func (o GetFlexibleIPsIpOutput) OrganizationId() pulumi.StringOutput

(Defaults to provider `organizationId`) The ID of the organization the IP is in.

func (GetFlexibleIPsIpOutput) ProjectId

(Defaults to provider `projectId`) The ID of the project the IP is in.

func (GetFlexibleIPsIpOutput) Reverse

The reverse domain associated with this IP.

func (GetFlexibleIPsIpOutput) Status

The status of virtual MAC.

func (GetFlexibleIPsIpOutput) Tags

List of tags used as filter. IPs with these exact tags are listed.

func (GetFlexibleIPsIpOutput) ToGetFlexibleIPsIpOutput

func (o GetFlexibleIPsIpOutput) ToGetFlexibleIPsIpOutput() GetFlexibleIPsIpOutput

func (GetFlexibleIPsIpOutput) ToGetFlexibleIPsIpOutputWithContext

func (o GetFlexibleIPsIpOutput) ToGetFlexibleIPsIpOutputWithContext(ctx context.Context) GetFlexibleIPsIpOutput

func (GetFlexibleIPsIpOutput) UpdatedAt

The date on which the flexible IP was last updated (RFC 3339 format).

func (GetFlexibleIPsIpOutput) Zone

`zone`) The zone in which IPs exist.

type GetFlexibleIPsOutputArgs

type GetFlexibleIPsOutputArgs struct {
	// (Defaults to provider `projectId`) The ID of the project the IP is in.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// List of server IDs used as filter. IPs with these exact server IDs are listed.
	ServerIds pulumi.StringArrayInput `pulumi:"serverIds"`
	// List of tags used as filter. IPs with these exact tags are listed.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// `zone`) The zone in which IPs exist.
	Zone pulumi.StringPtrInput `pulumi:"zone"`
}

A collection of arguments for invoking getFlexibleIPs.

func (GetFlexibleIPsOutputArgs) ElementType

func (GetFlexibleIPsOutputArgs) ElementType() reflect.Type

type GetFlexibleIPsResult

type GetFlexibleIPsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// List of found flexible IPS
	Ips []GetFlexibleIPsIp `pulumi:"ips"`
	// (Defaults to provider `organizationId`) The ID of the organization the IP is in.
	OrganizationId string `pulumi:"organizationId"`
	// (Defaults to provider `projectId`) The ID of the project the IP is in.
	ProjectId string   `pulumi:"projectId"`
	ServerIds []string `pulumi:"serverIds"`
	// The list of tags which are attached to the flexible IP.
	Tags []string `pulumi:"tags"`
	// (Defaults to provider `zone`) The zone in which the MAC address exist.
	Zone string `pulumi:"zone"`
}

A collection of values returned by getFlexibleIPs.

func GetFlexibleIPs

func GetFlexibleIPs(ctx *pulumi.Context, args *GetFlexibleIPsArgs, opts ...pulumi.InvokeOption) (*GetFlexibleIPsResult, error)

Gets information about multiple Flexible IPs.

## Example Usage

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

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/elasticmetal"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elasticmetal.GetFlexibleIPs(ctx, &elasticmetal.GetFlexibleIPsArgs{
			Tags: []string{
				"a tag",
			},
		}, nil)
		if err != nil {
			return err
		}
		myOffer, err := elasticmetal.GetBareMetalOffer(ctx, &elasticmetal.GetBareMetalOfferArgs{
			Name: pulumi.StringRef("EM-B112X-SSD"),
		}, nil)
		if err != nil {
			return err
		}
		base, err := elasticmetal.NewBareMetalServer(ctx, "base", &elasticmetal.BareMetalServerArgs{
			Offer:                  *pulumi.String(myOffer.OfferId),
			InstallConfigAfterward: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = elasticmetal.NewFlexibleIP(ctx, "first", &elasticmetal.FlexibleIPArgs{
			ServerId: base.ID(),
			Tags: pulumi.StringArray{
				pulumi.String("foo"),
				pulumi.String("first"),
			},
		})
		if err != nil {
			return err
		}
		_, err = elasticmetal.NewFlexibleIP(ctx, "second", &elasticmetal.FlexibleIPArgs{
			ServerId: base.ID(),
			Tags: pulumi.StringArray{
				pulumi.String("foo"),
				pulumi.String("second"),
			},
		})
		if err != nil {
			return err
		}
		_ = elasticmetal.GetFlexibleIPsOutput(ctx, elasticmetal.GetFlexibleIPsOutputArgs{
			ServerIds: pulumi.StringArray{
				base.ID(),
			},
		}, nil)
		return nil
	})
}

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

type GetFlexibleIPsResultOutput

type GetFlexibleIPsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFlexibleIPs.

func (GetFlexibleIPsResultOutput) ElementType

func (GetFlexibleIPsResultOutput) ElementType() reflect.Type

func (GetFlexibleIPsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetFlexibleIPsResultOutput) Ips

List of found flexible IPS

func (GetFlexibleIPsResultOutput) OrganizationId

func (o GetFlexibleIPsResultOutput) OrganizationId() pulumi.StringOutput

(Defaults to provider `organizationId`) The ID of the organization the IP is in.

func (GetFlexibleIPsResultOutput) ProjectId

(Defaults to provider `projectId`) The ID of the project the IP is in.

func (GetFlexibleIPsResultOutput) ServerIds

func (GetFlexibleIPsResultOutput) Tags

The list of tags which are attached to the flexible IP.

func (GetFlexibleIPsResultOutput) ToGetFlexibleIPsResultOutput

func (o GetFlexibleIPsResultOutput) ToGetFlexibleIPsResultOutput() GetFlexibleIPsResultOutput

func (GetFlexibleIPsResultOutput) ToGetFlexibleIPsResultOutputWithContext

func (o GetFlexibleIPsResultOutput) ToGetFlexibleIPsResultOutputWithContext(ctx context.Context) GetFlexibleIPsResultOutput

func (GetFlexibleIPsResultOutput) Zone

(Defaults to provider `zone`) The zone in which the MAC address exist.

type LookupBareMetalServerArgs

type LookupBareMetalServerArgs struct {
	// The server name. Only one of `name` and `serverId` should be specified.
	Name *string `pulumi:"name"`
	// The ID of the project the baremetal server is associated with.
	ProjectId *string `pulumi:"projectId"`
	ServerId  *string `pulumi:"serverId"`
	// `zone`) The zone in which the server exists.
	Zone *string `pulumi:"zone"`
}

A collection of arguments for invoking getBareMetalServer.

type LookupBareMetalServerOutputArgs

type LookupBareMetalServerOutputArgs struct {
	// The server name. Only one of `name` and `serverId` should be specified.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The ID of the project the baremetal server is associated with.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	ServerId  pulumi.StringPtrInput `pulumi:"serverId"`
	// `zone`) The zone in which the server exists.
	Zone pulumi.StringPtrInput `pulumi:"zone"`
}

A collection of arguments for invoking getBareMetalServer.

func (LookupBareMetalServerOutputArgs) ElementType

type LookupBareMetalServerResult

type LookupBareMetalServerResult struct {
	Description string `pulumi:"description"`
	Domain      string `pulumi:"domain"`
	Hostname    string `pulumi:"hostname"`
	// The provider-assigned unique ID for this managed resource.
	Id                       string                             `pulumi:"id"`
	InstallConfigAfterward   bool                               `pulumi:"installConfigAfterward"`
	Ips                      []GetBareMetalServerIp             `pulumi:"ips"`
	Ipv4s                    []GetBareMetalServerIpv4           `pulumi:"ipv4s"`
	Ipv6s                    []GetBareMetalServerIpv6           `pulumi:"ipv6s"`
	Name                     *string                            `pulumi:"name"`
	Offer                    string                             `pulumi:"offer"`
	OfferId                  string                             `pulumi:"offerId"`
	OfferName                string                             `pulumi:"offerName"`
	Options                  []GetBareMetalServerOption         `pulumi:"options"`
	OrganizationId           string                             `pulumi:"organizationId"`
	Os                       string                             `pulumi:"os"`
	OsName                   string                             `pulumi:"osName"`
	Password                 string                             `pulumi:"password"`
	PrivateNetworks          []GetBareMetalServerPrivateNetwork `pulumi:"privateNetworks"`
	ProjectId                *string                            `pulumi:"projectId"`
	ReinstallOnConfigChanges bool                               `pulumi:"reinstallOnConfigChanges"`
	ServerId                 *string                            `pulumi:"serverId"`
	ServicePassword          string                             `pulumi:"servicePassword"`
	ServiceUser              string                             `pulumi:"serviceUser"`
	SshKeyIds                []string                           `pulumi:"sshKeyIds"`
	Tags                     []string                           `pulumi:"tags"`
	User                     string                             `pulumi:"user"`
	Zone                     *string                            `pulumi:"zone"`
}

A collection of values returned by getBareMetalServer.

func LookupBareMetalServer

func LookupBareMetalServer(ctx *pulumi.Context, args *LookupBareMetalServerArgs, opts ...pulumi.InvokeOption) (*LookupBareMetalServerResult, error)

Gets information about a baremetal server. For more information, see [the documentation](https://developers.scaleway.com/en/products/baremetal/api).

## Example Usage

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

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/elasticmetal"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elasticmetal.LookupBareMetalServer(ctx, &elasticmetal.LookupBareMetalServerArgs{
			Name: pulumi.StringRef("foobar"),
			Zone: pulumi.StringRef("fr-par-2"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = elasticmetal.LookupBareMetalServer(ctx, &elasticmetal.LookupBareMetalServerArgs{
			ServerId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

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

type LookupBareMetalServerResultOutput

type LookupBareMetalServerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBareMetalServer.

func (LookupBareMetalServerResultOutput) Description

func (LookupBareMetalServerResultOutput) Domain

func (LookupBareMetalServerResultOutput) ElementType

func (LookupBareMetalServerResultOutput) Hostname

func (LookupBareMetalServerResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupBareMetalServerResultOutput) InstallConfigAfterward

func (o LookupBareMetalServerResultOutput) InstallConfigAfterward() pulumi.BoolOutput

func (LookupBareMetalServerResultOutput) Ips

func (LookupBareMetalServerResultOutput) Ipv4s

func (LookupBareMetalServerResultOutput) Ipv6s

func (LookupBareMetalServerResultOutput) Name

func (LookupBareMetalServerResultOutput) Offer

func (LookupBareMetalServerResultOutput) OfferId

func (LookupBareMetalServerResultOutput) OfferName

func (LookupBareMetalServerResultOutput) Options

func (LookupBareMetalServerResultOutput) OrganizationId

func (LookupBareMetalServerResultOutput) Os

func (LookupBareMetalServerResultOutput) OsName

func (LookupBareMetalServerResultOutput) Password

func (LookupBareMetalServerResultOutput) PrivateNetworks

func (LookupBareMetalServerResultOutput) ProjectId

func (LookupBareMetalServerResultOutput) ReinstallOnConfigChanges

func (o LookupBareMetalServerResultOutput) ReinstallOnConfigChanges() pulumi.BoolOutput

func (LookupBareMetalServerResultOutput) ServerId

func (LookupBareMetalServerResultOutput) ServicePassword

func (LookupBareMetalServerResultOutput) ServiceUser

func (LookupBareMetalServerResultOutput) SshKeyIds

func (LookupBareMetalServerResultOutput) Tags

func (LookupBareMetalServerResultOutput) ToLookupBareMetalServerResultOutput

func (o LookupBareMetalServerResultOutput) ToLookupBareMetalServerResultOutput() LookupBareMetalServerResultOutput

func (LookupBareMetalServerResultOutput) ToLookupBareMetalServerResultOutputWithContext

func (o LookupBareMetalServerResultOutput) ToLookupBareMetalServerResultOutputWithContext(ctx context.Context) LookupBareMetalServerResultOutput

func (LookupBareMetalServerResultOutput) User

func (LookupBareMetalServerResultOutput) Zone

type LookupFlexibleIPArgs

type LookupFlexibleIPArgs struct {
	FlexibleIpId *string `pulumi:"flexibleIpId"`
	// The IP address.
	// Only one of `ipAddress` and `ipId` should be specified.
	IpAddress *string `pulumi:"ipAddress"`
	// (Defaults to provider `projectId`) The ID of the project the IP is in.
	ProjectId *string `pulumi:"projectId"`
}

A collection of arguments for invoking getFlexibleIP.

type LookupFlexibleIPOutputArgs

type LookupFlexibleIPOutputArgs struct {
	FlexibleIpId pulumi.StringPtrInput `pulumi:"flexibleIpId"`
	// The IP address.
	// Only one of `ipAddress` and `ipId` should be specified.
	IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"`
	// (Defaults to provider `projectId`) The ID of the project the IP is in.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
}

A collection of arguments for invoking getFlexibleIP.

func (LookupFlexibleIPOutputArgs) ElementType

func (LookupFlexibleIPOutputArgs) ElementType() reflect.Type

type LookupFlexibleIPResult

type LookupFlexibleIPResult struct {
	CreatedAt    string  `pulumi:"createdAt"`
	Description  string  `pulumi:"description"`
	FlexibleIpId *string `pulumi:"flexibleIpId"`
	// The provider-assigned unique ID for this managed resource.
	Id        string  `pulumi:"id"`
	IpAddress *string `pulumi:"ipAddress"`
	IsIpv6    bool    `pulumi:"isIpv6"`
	// (Defaults to provider `organizationId`) The ID of the organization the IP is in.
	OrganizationId string `pulumi:"organizationId"`
	// (Defaults to provider `projectId`) The ID of the project the IP is in.
	ProjectId string `pulumi:"projectId"`
	// The reverse domain associated with this IP.
	Reverse string `pulumi:"reverse"`
	// The associated server ID if any
	ServerId  string   `pulumi:"serverId"`
	Status    string   `pulumi:"status"`
	Tags      []string `pulumi:"tags"`
	UpdatedAt string   `pulumi:"updatedAt"`
	Zone      string   `pulumi:"zone"`
}

A collection of values returned by getFlexibleIP.

func LookupFlexibleIP

func LookupFlexibleIP(ctx *pulumi.Context, args *LookupFlexibleIPArgs, opts ...pulumi.InvokeOption) (*LookupFlexibleIPResult, error)

Gets information about a Flexible IP.

type LookupFlexibleIPResultOutput

type LookupFlexibleIPResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFlexibleIP.

func (LookupFlexibleIPResultOutput) CreatedAt

func (LookupFlexibleIPResultOutput) Description

func (LookupFlexibleIPResultOutput) ElementType

func (LookupFlexibleIPResultOutput) FlexibleIpId

func (LookupFlexibleIPResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupFlexibleIPResultOutput) IpAddress

func (LookupFlexibleIPResultOutput) IsIpv6

func (LookupFlexibleIPResultOutput) OrganizationId

(Defaults to provider `organizationId`) The ID of the organization the IP is in.

func (LookupFlexibleIPResultOutput) ProjectId

(Defaults to provider `projectId`) The ID of the project the IP is in.

func (LookupFlexibleIPResultOutput) Reverse

The reverse domain associated with this IP.

func (LookupFlexibleIPResultOutput) ServerId

The associated server ID if any

func (LookupFlexibleIPResultOutput) Status

func (LookupFlexibleIPResultOutput) Tags

func (LookupFlexibleIPResultOutput) ToLookupFlexibleIPResultOutput

func (o LookupFlexibleIPResultOutput) ToLookupFlexibleIPResultOutput() LookupFlexibleIPResultOutput

func (LookupFlexibleIPResultOutput) ToLookupFlexibleIPResultOutputWithContext

func (o LookupFlexibleIPResultOutput) ToLookupFlexibleIPResultOutputWithContext(ctx context.Context) LookupFlexibleIPResultOutput

func (LookupFlexibleIPResultOutput) UpdatedAt

func (LookupFlexibleIPResultOutput) Zone

Jump to

Keyboard shortcuts

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