1. Packages
  2. Scaleway
  3. API Docs
  4. Webhosting
Scaleway v1.25.0 published on Saturday, Mar 22, 2025 by pulumiverse

scaleway.Webhosting

Explore with Pulumi AI

Deprecated: scaleway.index/webhosting.Webhosting has been deprecated in favor of scaleway.hosting/hosting.Hosting

Creates and manages Scaleway Web Hostings. For more information, see the API documentation.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumi/scaleway";
import * as scaleway from "@pulumiverse/scaleway";

const byName = scaleway.hosting.getOffer({
    name: "lite",
    controlPanel: "Cpanel",
});
const main = new scaleway.hosting.Hosting("main", {
    offerId: byName.then(byName => byName.offerId),
    email: "your@email.com",
    domain: "yourdomain.com",
    tags: [
        "webhosting",
        "provider",
        "terraform",
    ],
});
Copy
import pulumi
import pulumi_scaleway as scaleway
import pulumiverse_scaleway as scaleway

by_name = scaleway.hosting.get_offer(name="lite",
    control_panel="Cpanel")
main = scaleway.hosting.Hosting("main",
    offer_id=by_name.offer_id,
    email="your@email.com",
    domain="yourdomain.com",
    tags=[
        "webhosting",
        "provider",
        "terraform",
    ])
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/hosting"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		byName, err := hosting.GetOffer(ctx, &hosting.GetOfferArgs{
			Name:         pulumi.StringRef("lite"),
			ControlPanel: pulumi.StringRef("Cpanel"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = hosting.NewHosting(ctx, "main", &hosting.HostingArgs{
			OfferId: pulumi.String(byName.OfferId),
			Email:   pulumi.String("your@email.com"),
			Domain:  pulumi.String("yourdomain.com"),
			Tags: pulumi.StringArray{
				pulumi.String("webhosting"),
				pulumi.String("provider"),
				pulumi.String("terraform"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumi.Scaleway;
using Scaleway = Pulumiverse.Scaleway;

return await Deployment.RunAsync(() => 
{
    var byName = Scaleway.Hosting.GetOffer.Invoke(new()
    {
        Name = "lite",
        ControlPanel = "Cpanel",
    });

    var main = new Scaleway.Hosting.Hosting("main", new()
    {
        OfferId = byName.Apply(getOfferResult => getOfferResult.OfferId),
        Email = "your@email.com",
        Domain = "yourdomain.com",
        Tags = new[]
        {
            "webhosting",
            "provider",
            "terraform",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.hosting.HostingFunctions;
import com.pulumi.scaleway.hosting.inputs.GetOfferArgs;
import com.pulumi.scaleway.hosting.Hosting;
import com.pulumi.scaleway.hosting.HostingArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var byName = HostingFunctions.getOffer(GetOfferArgs.builder()
            .name("lite")
            .controlPanel("Cpanel")
            .build());

        var main = new Hosting("main", HostingArgs.builder()
            .offerId(byName.applyValue(getOfferResult -> getOfferResult.offerId()))
            .email("your@email.com")
            .domain("yourdomain.com")
            .tags(            
                "webhosting",
                "provider",
                "terraform")
            .build());

    }
}
Copy
resources:
  main:
    type: scaleway:hosting:Hosting
    properties:
      offerId: ${byName.offerId}
      email: your@email.com
      domain: yourdomain.com
      tags:
        - webhosting
        - provider
        - terraform
variables:
  byName:
    fn::invoke:
      function: scaleway:hosting:getOffer
      arguments:
        name: lite
        controlPanel: Cpanel
Copy

Create Webhosting Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Webhosting(name: string, args: WebhostingArgs, opts?: CustomResourceOptions);
@overload
def Webhosting(resource_name: str,
               args: WebhostingArgs,
               opts: Optional[ResourceOptions] = None)

@overload
def Webhosting(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               domain: Optional[str] = None,
               email: Optional[str] = None,
               offer_id: Optional[str] = None,
               option_ids: Optional[Sequence[str]] = None,
               project_id: Optional[str] = None,
               region: Optional[str] = None,
               tags: Optional[Sequence[str]] = None)
func NewWebhosting(ctx *Context, name string, args WebhostingArgs, opts ...ResourceOption) (*Webhosting, error)
public Webhosting(string name, WebhostingArgs args, CustomResourceOptions? opts = null)
public Webhosting(String name, WebhostingArgs args)
public Webhosting(String name, WebhostingArgs args, CustomResourceOptions options)
type: scaleway:Webhosting
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. WebhostingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. WebhostingArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. WebhostingArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. WebhostingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. WebhostingArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Webhosting Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Webhosting resource accepts the following input properties:

Domain This property is required. string
The domain name of the hosting.
Email This property is required. string
The contact email of the client for the hosting.
OfferId This property is required. string
The ID of the selected offer for the hosting.
OptionIds List<string>
The IDs of the selected options for the hosting.
ProjectId Changes to this property will trigger replacement. string
project_id) The ID of the project the VPC is associated with.
Region Changes to this property will trigger replacement. string
region) The region of the Hosting.
Tags List<string>
The tags associated with the hosting.
Domain This property is required. string
The domain name of the hosting.
Email This property is required. string
The contact email of the client for the hosting.
OfferId This property is required. string
The ID of the selected offer for the hosting.
OptionIds []string
The IDs of the selected options for the hosting.
ProjectId Changes to this property will trigger replacement. string
project_id) The ID of the project the VPC is associated with.
Region Changes to this property will trigger replacement. string
region) The region of the Hosting.
Tags []string
The tags associated with the hosting.
domain This property is required. String
The domain name of the hosting.
email This property is required. String
The contact email of the client for the hosting.
offerId This property is required. String
The ID of the selected offer for the hosting.
optionIds List<String>
The IDs of the selected options for the hosting.
projectId Changes to this property will trigger replacement. String
project_id) The ID of the project the VPC is associated with.
region Changes to this property will trigger replacement. String
region) The region of the Hosting.
tags List<String>
The tags associated with the hosting.
domain This property is required. string
The domain name of the hosting.
email This property is required. string
The contact email of the client for the hosting.
offerId This property is required. string
The ID of the selected offer for the hosting.
optionIds string[]
The IDs of the selected options for the hosting.
projectId Changes to this property will trigger replacement. string
project_id) The ID of the project the VPC is associated with.
region Changes to this property will trigger replacement. string
region) The region of the Hosting.
tags string[]
The tags associated with the hosting.
domain This property is required. str
The domain name of the hosting.
email This property is required. str
The contact email of the client for the hosting.
offer_id This property is required. str
The ID of the selected offer for the hosting.
option_ids Sequence[str]
The IDs of the selected options for the hosting.
project_id Changes to this property will trigger replacement. str
project_id) The ID of the project the VPC is associated with.
region Changes to this property will trigger replacement. str
region) The region of the Hosting.
tags Sequence[str]
The tags associated with the hosting.
domain This property is required. String
The domain name of the hosting.
email This property is required. String
The contact email of the client for the hosting.
offerId This property is required. String
The ID of the selected offer for the hosting.
optionIds List<String>
The IDs of the selected options for the hosting.
projectId Changes to this property will trigger replacement. String
project_id) The ID of the project the VPC is associated with.
region Changes to this property will trigger replacement. String
region) The region of the Hosting.
tags List<String>
The tags associated with the hosting.

Outputs

All input properties are implicitly available as output properties. Additionally, the Webhosting resource produces the following output properties:

CpanelUrls List<Pulumiverse.Scaleway.Outputs.WebhostingCpanelUrl>
The URL to connect to cPanel Dashboard and to Webmail interface.
CreatedAt string
Date and time of hosting's creation (RFC 3339 format).
DnsStatus string
The DNS status of the hosting.
Id string
The provider-assigned unique ID for this managed resource.
NameServers List<Pulumiverse.Scaleway.Outputs.WebhostingNameServer>
List of nameservers associated with the webhosting.
OfferName string
The name of the active offer.
Options List<Pulumiverse.Scaleway.Outputs.WebhostingOption>
The active options of the hosting.
OrganizationId string
(Deprecated) The organization ID the hosting is associated with.

Deprecated: The organization_id field is deprecated and will be removed in the next major version.

PlatformHostname string
The hostname of the host platform.
PlatformNumber int
The number of the host platform.
Records List<Pulumiverse.Scaleway.Outputs.WebhostingRecord>
List of DNS records associated with the webhosting.
Status string
The hosting status.
UpdatedAt string
Date and time of hosting's last update (RFC 3339 format).
Username string
The main hosting cPanel username.
CpanelUrls []WebhostingCpanelUrl
The URL to connect to cPanel Dashboard and to Webmail interface.
CreatedAt string
Date and time of hosting's creation (RFC 3339 format).
DnsStatus string
The DNS status of the hosting.
Id string
The provider-assigned unique ID for this managed resource.
NameServers []WebhostingNameServer
List of nameservers associated with the webhosting.
OfferName string
The name of the active offer.
Options []WebhostingOption
The active options of the hosting.
OrganizationId string
(Deprecated) The organization ID the hosting is associated with.

Deprecated: The organization_id field is deprecated and will be removed in the next major version.

PlatformHostname string
The hostname of the host platform.
PlatformNumber int
The number of the host platform.
Records []WebhostingRecord
List of DNS records associated with the webhosting.
Status string
The hosting status.
UpdatedAt string
Date and time of hosting's last update (RFC 3339 format).
Username string
The main hosting cPanel username.
cpanelUrls List<WebhostingCpanelUrl>
The URL to connect to cPanel Dashboard and to Webmail interface.
createdAt String
Date and time of hosting's creation (RFC 3339 format).
dnsStatus String
The DNS status of the hosting.
id String
The provider-assigned unique ID for this managed resource.
nameServers List<WebhostingNameServer>
List of nameservers associated with the webhosting.
offerName String
The name of the active offer.
options List<WebhostingOption>
The active options of the hosting.
organizationId String
(Deprecated) The organization ID the hosting is associated with.

Deprecated: The organization_id field is deprecated and will be removed in the next major version.

platformHostname String
The hostname of the host platform.
platformNumber Integer
The number of the host platform.
records List<WebhostingRecord>
List of DNS records associated with the webhosting.
status String
The hosting status.
updatedAt String
Date and time of hosting's last update (RFC 3339 format).
username String
The main hosting cPanel username.
cpanelUrls WebhostingCpanelUrl[]
The URL to connect to cPanel Dashboard and to Webmail interface.
createdAt string
Date and time of hosting's creation (RFC 3339 format).
dnsStatus string
The DNS status of the hosting.
id string
The provider-assigned unique ID for this managed resource.
nameServers WebhostingNameServer[]
List of nameservers associated with the webhosting.
offerName string
The name of the active offer.
options WebhostingOption[]
The active options of the hosting.
organizationId string
(Deprecated) The organization ID the hosting is associated with.

Deprecated: The organization_id field is deprecated and will be removed in the next major version.

platformHostname string
The hostname of the host platform.
platformNumber number
The number of the host platform.
records WebhostingRecord[]
List of DNS records associated with the webhosting.
status string
The hosting status.
updatedAt string
Date and time of hosting's last update (RFC 3339 format).
username string
The main hosting cPanel username.
cpanel_urls Sequence[WebhostingCpanelUrl]
The URL to connect to cPanel Dashboard and to Webmail interface.
created_at str
Date and time of hosting's creation (RFC 3339 format).
dns_status str
The DNS status of the hosting.
id str
The provider-assigned unique ID for this managed resource.
name_servers Sequence[WebhostingNameServer]
List of nameservers associated with the webhosting.
offer_name str
The name of the active offer.
options Sequence[WebhostingOption]
The active options of the hosting.
organization_id str
(Deprecated) The organization ID the hosting is associated with.

Deprecated: The organization_id field is deprecated and will be removed in the next major version.

platform_hostname str
The hostname of the host platform.
platform_number int
The number of the host platform.
records Sequence[WebhostingRecord]
List of DNS records associated with the webhosting.
status str
The hosting status.
updated_at str
Date and time of hosting's last update (RFC 3339 format).
username str
The main hosting cPanel username.
cpanelUrls List<Property Map>
The URL to connect to cPanel Dashboard and to Webmail interface.
createdAt String
Date and time of hosting's creation (RFC 3339 format).
dnsStatus String
The DNS status of the hosting.
id String
The provider-assigned unique ID for this managed resource.
nameServers List<Property Map>
List of nameservers associated with the webhosting.
offerName String
The name of the active offer.
options List<Property Map>
The active options of the hosting.
organizationId String
(Deprecated) The organization ID the hosting is associated with.

Deprecated: The organization_id field is deprecated and will be removed in the next major version.

platformHostname String
The hostname of the host platform.
platformNumber Number
The number of the host platform.
records List<Property Map>
List of DNS records associated with the webhosting.
status String
The hosting status.
updatedAt String
Date and time of hosting's last update (RFC 3339 format).
username String
The main hosting cPanel username.

Look up Existing Webhosting Resource

Get an existing Webhosting resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: WebhostingState, opts?: CustomResourceOptions): Webhosting
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cpanel_urls: Optional[Sequence[WebhostingCpanelUrlArgs]] = None,
        created_at: Optional[str] = None,
        dns_status: Optional[str] = None,
        domain: Optional[str] = None,
        email: Optional[str] = None,
        name_servers: Optional[Sequence[WebhostingNameServerArgs]] = None,
        offer_id: Optional[str] = None,
        offer_name: Optional[str] = None,
        option_ids: Optional[Sequence[str]] = None,
        options: Optional[Sequence[WebhostingOptionArgs]] = None,
        organization_id: Optional[str] = None,
        platform_hostname: Optional[str] = None,
        platform_number: Optional[int] = None,
        project_id: Optional[str] = None,
        records: Optional[Sequence[WebhostingRecordArgs]] = None,
        region: Optional[str] = None,
        status: Optional[str] = None,
        tags: Optional[Sequence[str]] = None,
        updated_at: Optional[str] = None,
        username: Optional[str] = None) -> Webhosting
func GetWebhosting(ctx *Context, name string, id IDInput, state *WebhostingState, opts ...ResourceOption) (*Webhosting, error)
public static Webhosting Get(string name, Input<string> id, WebhostingState? state, CustomResourceOptions? opts = null)
public static Webhosting get(String name, Output<String> id, WebhostingState state, CustomResourceOptions options)
resources:  _:    type: scaleway:Webhosting    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CpanelUrls List<Pulumiverse.Scaleway.Inputs.WebhostingCpanelUrl>
The URL to connect to cPanel Dashboard and to Webmail interface.
CreatedAt string
Date and time of hosting's creation (RFC 3339 format).
DnsStatus string
The DNS status of the hosting.
Domain string
The domain name of the hosting.
Email string
The contact email of the client for the hosting.
NameServers List<Pulumiverse.Scaleway.Inputs.WebhostingNameServer>
List of nameservers associated with the webhosting.
OfferId string
The ID of the selected offer for the hosting.
OfferName string
The name of the active offer.
OptionIds List<string>
The IDs of the selected options for the hosting.
Options List<Pulumiverse.Scaleway.Inputs.WebhostingOption>
The active options of the hosting.
OrganizationId string
(Deprecated) The organization ID the hosting is associated with.

Deprecated: The organization_id field is deprecated and will be removed in the next major version.

PlatformHostname string
The hostname of the host platform.
PlatformNumber int
The number of the host platform.
ProjectId Changes to this property will trigger replacement. string
project_id) The ID of the project the VPC is associated with.
Records List<Pulumiverse.Scaleway.Inputs.WebhostingRecord>
List of DNS records associated with the webhosting.
Region Changes to this property will trigger replacement. string
region) The region of the Hosting.
Status string
The hosting status.
Tags List<string>
The tags associated with the hosting.
UpdatedAt string
Date and time of hosting's last update (RFC 3339 format).
Username string
The main hosting cPanel username.
CpanelUrls []WebhostingCpanelUrlArgs
The URL to connect to cPanel Dashboard and to Webmail interface.
CreatedAt string
Date and time of hosting's creation (RFC 3339 format).
DnsStatus string
The DNS status of the hosting.
Domain string
The domain name of the hosting.
Email string
The contact email of the client for the hosting.
NameServers []WebhostingNameServerArgs
List of nameservers associated with the webhosting.
OfferId string
The ID of the selected offer for the hosting.
OfferName string
The name of the active offer.
OptionIds []string
The IDs of the selected options for the hosting.
Options []WebhostingOptionArgs
The active options of the hosting.
OrganizationId string
(Deprecated) The organization ID the hosting is associated with.

Deprecated: The organization_id field is deprecated and will be removed in the next major version.

PlatformHostname string
The hostname of the host platform.
PlatformNumber int
The number of the host platform.
ProjectId Changes to this property will trigger replacement. string
project_id) The ID of the project the VPC is associated with.
Records []WebhostingRecordArgs
List of DNS records associated with the webhosting.
Region Changes to this property will trigger replacement. string
region) The region of the Hosting.
Status string
The hosting status.
Tags []string
The tags associated with the hosting.
UpdatedAt string
Date and time of hosting's last update (RFC 3339 format).
Username string
The main hosting cPanel username.
cpanelUrls List<WebhostingCpanelUrl>
The URL to connect to cPanel Dashboard and to Webmail interface.
createdAt String
Date and time of hosting's creation (RFC 3339 format).
dnsStatus String
The DNS status of the hosting.
domain String
The domain name of the hosting.
email String
The contact email of the client for the hosting.
nameServers List<WebhostingNameServer>
List of nameservers associated with the webhosting.
offerId String
The ID of the selected offer for the hosting.
offerName String
The name of the active offer.
optionIds List<String>
The IDs of the selected options for the hosting.
options List<WebhostingOption>
The active options of the hosting.
organizationId String
(Deprecated) The organization ID the hosting is associated with.

Deprecated: The organization_id field is deprecated and will be removed in the next major version.

platformHostname String
The hostname of the host platform.
platformNumber Integer
The number of the host platform.
projectId Changes to this property will trigger replacement. String
project_id) The ID of the project the VPC is associated with.
records List<WebhostingRecord>
List of DNS records associated with the webhosting.
region Changes to this property will trigger replacement. String
region) The region of the Hosting.
status String
The hosting status.
tags List<String>
The tags associated with the hosting.
updatedAt String
Date and time of hosting's last update (RFC 3339 format).
username String
The main hosting cPanel username.
cpanelUrls WebhostingCpanelUrl[]
The URL to connect to cPanel Dashboard and to Webmail interface.
createdAt string
Date and time of hosting's creation (RFC 3339 format).
dnsStatus string
The DNS status of the hosting.
domain string
The domain name of the hosting.
email string
The contact email of the client for the hosting.
nameServers WebhostingNameServer[]
List of nameservers associated with the webhosting.
offerId string
The ID of the selected offer for the hosting.
offerName string
The name of the active offer.
optionIds string[]
The IDs of the selected options for the hosting.
options WebhostingOption[]
The active options of the hosting.
organizationId string
(Deprecated) The organization ID the hosting is associated with.

Deprecated: The organization_id field is deprecated and will be removed in the next major version.

platformHostname string
The hostname of the host platform.
platformNumber number
The number of the host platform.
projectId Changes to this property will trigger replacement. string
project_id) The ID of the project the VPC is associated with.
records WebhostingRecord[]
List of DNS records associated with the webhosting.
region Changes to this property will trigger replacement. string
region) The region of the Hosting.
status string
The hosting status.
tags string[]
The tags associated with the hosting.
updatedAt string
Date and time of hosting's last update (RFC 3339 format).
username string
The main hosting cPanel username.
cpanel_urls Sequence[WebhostingCpanelUrlArgs]
The URL to connect to cPanel Dashboard and to Webmail interface.
created_at str
Date and time of hosting's creation (RFC 3339 format).
dns_status str
The DNS status of the hosting.
domain str
The domain name of the hosting.
email str
The contact email of the client for the hosting.
name_servers Sequence[WebhostingNameServerArgs]
List of nameservers associated with the webhosting.
offer_id str
The ID of the selected offer for the hosting.
offer_name str
The name of the active offer.
option_ids Sequence[str]
The IDs of the selected options for the hosting.
options Sequence[WebhostingOptionArgs]
The active options of the hosting.
organization_id str
(Deprecated) The organization ID the hosting is associated with.

Deprecated: The organization_id field is deprecated and will be removed in the next major version.

platform_hostname str
The hostname of the host platform.
platform_number int
The number of the host platform.
project_id Changes to this property will trigger replacement. str
project_id) The ID of the project the VPC is associated with.
records Sequence[WebhostingRecordArgs]
List of DNS records associated with the webhosting.
region Changes to this property will trigger replacement. str
region) The region of the Hosting.
status str
The hosting status.
tags Sequence[str]
The tags associated with the hosting.
updated_at str
Date and time of hosting's last update (RFC 3339 format).
username str
The main hosting cPanel username.
cpanelUrls List<Property Map>
The URL to connect to cPanel Dashboard and to Webmail interface.
createdAt String
Date and time of hosting's creation (RFC 3339 format).
dnsStatus String
The DNS status of the hosting.
domain String
The domain name of the hosting.
email String
The contact email of the client for the hosting.
nameServers List<Property Map>
List of nameservers associated with the webhosting.
offerId String
The ID of the selected offer for the hosting.
offerName String
The name of the active offer.
optionIds List<String>
The IDs of the selected options for the hosting.
options List<Property Map>
The active options of the hosting.
organizationId String
(Deprecated) The organization ID the hosting is associated with.

Deprecated: The organization_id field is deprecated and will be removed in the next major version.

platformHostname String
The hostname of the host platform.
platformNumber Number
The number of the host platform.
projectId Changes to this property will trigger replacement. String
project_id) The ID of the project the VPC is associated with.
records List<Property Map>
List of DNS records associated with the webhosting.
region Changes to this property will trigger replacement. String
region) The region of the Hosting.
status String
The hosting status.
tags List<String>
The tags associated with the hosting.
updatedAt String
Date and time of hosting's last update (RFC 3339 format).
username String
The main hosting cPanel username.

Supporting Types

WebhostingCpanelUrl
, WebhostingCpanelUrlArgs

Dashboard string
The URL of the Dashboard.
Webmail string
The URL of the Webmail interface.
Dashboard string
The URL of the Dashboard.
Webmail string
The URL of the Webmail interface.
dashboard String
The URL of the Dashboard.
webmail String
The URL of the Webmail interface.
dashboard string
The URL of the Dashboard.
webmail string
The URL of the Webmail interface.
dashboard str
The URL of the Dashboard.
webmail str
The URL of the Webmail interface.
dashboard String
The URL of the Dashboard.
webmail String
The URL of the Webmail interface.

WebhostingNameServer
, WebhostingNameServerArgs

Hostname string
IsDefault bool
Status string
The hosting status.
Hostname string
IsDefault bool
Status string
The hosting status.
hostname String
isDefault Boolean
status String
The hosting status.
hostname string
isDefault boolean
status string
The hosting status.
hostname str
is_default bool
status str
The hosting status.
hostname String
isDefault Boolean
status String
The hosting status.

WebhostingOption
, WebhostingOptionArgs

Id string
The option ID.
Name string
The option name.
Id string
The option ID.
Name string
The option name.
id String
The option ID.
name String
The option name.
id string
The option ID.
name string
The option name.
id str
The option ID.
name str
The option name.
id String
The option ID.
name String
The option name.

WebhostingRecord
, WebhostingRecordArgs

Name string
The option name.
Priority int
Status string
The hosting status.
Ttl int
Type string
Value string
Name string
The option name.
Priority int
Status string
The hosting status.
Ttl int
Type string
Value string
name String
The option name.
priority Integer
status String
The hosting status.
ttl Integer
type String
value String
name string
The option name.
priority number
status string
The hosting status.
ttl number
type string
value string
name str
The option name.
priority int
status str
The hosting status.
ttl int
type str
value str
name String
The option name.
priority Number
status String
The hosting status.
ttl Number
type String
value String

Import

Hostings can be imported using the {region}/{id}, e.g.

bash

$ pulumi import scaleway:index/webhosting:Webhosting hosting01 fr-par/11111111-1111-1111-1111-111111111111
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
scaleway pulumiverse/pulumi-scaleway
License
Apache-2.0
Notes
This Pulumi package is based on the scaleway Terraform Provider.