scaleway.applesilicon.Server
Explore with Pulumi AI
Creates and manages Scaleway Apple silicon. For more information, see the API documentation.
Example Usage
Basic
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const server = new scaleway.applesilicon.Server("server", {
    name: "test-m1",
    type: "M1-M",
});
import pulumi
import pulumiverse_scaleway as scaleway
server = scaleway.applesilicon.Server("server",
    name="test-m1",
    type="M1-M")
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/applesilicon"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := applesilicon.NewServer(ctx, "server", &applesilicon.ServerArgs{
			Name: pulumi.String("test-m1"),
			Type: pulumi.String("M1-M"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() => 
{
    var server = new Scaleway.Applesilicon.Server("server", new()
    {
        Name = "test-m1",
        Type = "M1-M",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.applesilicon.Server;
import com.pulumi.scaleway.applesilicon.ServerArgs;
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) {
        var server = new Server("server", ServerArgs.builder()
            .name("test-m1")
            .type("M1-M")
            .build());
    }
}
resources:
  server:
    type: scaleway:applesilicon:Server
    properties:
      name: test-m1
      type: M1-M
Create Server Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Server(name: string, args: ServerArgs, opts?: CustomResourceOptions);@overload
def Server(resource_name: str,
           args: ServerArgs,
           opts: Optional[ResourceOptions] = None)
@overload
def Server(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           type: Optional[str] = None,
           enable_vpc: Optional[bool] = None,
           name: Optional[str] = None,
           private_networks: Optional[Sequence[ServerPrivateNetworkArgs]] = None,
           project_id: Optional[str] = None,
           zone: Optional[str] = None)func NewServer(ctx *Context, name string, args ServerArgs, opts ...ResourceOption) (*Server, error)public Server(string name, ServerArgs args, CustomResourceOptions? opts = null)
public Server(String name, ServerArgs args)
public Server(String name, ServerArgs args, CustomResourceOptions options)
type: scaleway:applesilicon:Server
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ServerArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var serverResource = new Scaleway.Applesilicon.Server("serverResource", new()
{
    Type = "string",
    EnableVpc = false,
    Name = "string",
    PrivateNetworks = new[]
    {
        new Scaleway.Applesilicon.Inputs.ServerPrivateNetworkArgs
        {
            Id = "string",
            CreatedAt = "string",
            IpamIpIds = new[]
            {
                "string",
            },
            Status = "string",
            UpdatedAt = "string",
            Vlan = 0,
        },
    },
    ProjectId = "string",
    Zone = "string",
});
example, err := applesilicon.NewServer(ctx, "serverResource", &applesilicon.ServerArgs{
	Type:      pulumi.String("string"),
	EnableVpc: pulumi.Bool(false),
	Name:      pulumi.String("string"),
	PrivateNetworks: applesilicon.ServerPrivateNetworkArray{
		&applesilicon.ServerPrivateNetworkArgs{
			Id:        pulumi.String("string"),
			CreatedAt: pulumi.String("string"),
			IpamIpIds: pulumi.StringArray{
				pulumi.String("string"),
			},
			Status:    pulumi.String("string"),
			UpdatedAt: pulumi.String("string"),
			Vlan:      pulumi.Int(0),
		},
	},
	ProjectId: pulumi.String("string"),
	Zone:      pulumi.String("string"),
})
var serverResource = new Server("serverResource", ServerArgs.builder()
    .type("string")
    .enableVpc(false)
    .name("string")
    .privateNetworks(ServerPrivateNetworkArgs.builder()
        .id("string")
        .createdAt("string")
        .ipamIpIds("string")
        .status("string")
        .updatedAt("string")
        .vlan(0)
        .build())
    .projectId("string")
    .zone("string")
    .build());
server_resource = scaleway.applesilicon.Server("serverResource",
    type="string",
    enable_vpc=False,
    name="string",
    private_networks=[{
        "id": "string",
        "created_at": "string",
        "ipam_ip_ids": ["string"],
        "status": "string",
        "updated_at": "string",
        "vlan": 0,
    }],
    project_id="string",
    zone="string")
const serverResource = new scaleway.applesilicon.Server("serverResource", {
    type: "string",
    enableVpc: false,
    name: "string",
    privateNetworks: [{
        id: "string",
        createdAt: "string",
        ipamIpIds: ["string"],
        status: "string",
        updatedAt: "string",
        vlan: 0,
    }],
    projectId: "string",
    zone: "string",
});
type: scaleway:applesilicon:Server
properties:
    enableVpc: false
    name: string
    privateNetworks:
        - createdAt: string
          id: string
          ipamIpIds:
            - string
          status: string
          updatedAt: string
          vlan: 0
    projectId: string
    type: string
    zone: string
Server 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 Server resource accepts the following input properties:
- Type string
- The commercial type of the server. You find all the available types on the pricing page. Updates to this field will recreate a new resource.
- EnableVpc bool
- : Enables the VPC option when set to true.
- Name string
- The name of the server.
- PrivateNetworks List<Pulumiverse.Scaleway. Applesilicon. Inputs. Server Private Network> 
- The private networks to attach to the server
- ProjectId string
- project_id) The ID of the project the server is associated with.
- Zone string
- zone) The zone in which the server should be created.
- Type string
- The commercial type of the server. You find all the available types on the pricing page. Updates to this field will recreate a new resource.
- EnableVpc bool
- : Enables the VPC option when set to true.
- Name string
- The name of the server.
- PrivateNetworks []ServerPrivate Network Args 
- The private networks to attach to the server
- ProjectId string
- project_id) The ID of the project the server is associated with.
- Zone string
- zone) The zone in which the server should be created.
- type String
- The commercial type of the server. You find all the available types on the pricing page. Updates to this field will recreate a new resource.
- enableVpc Boolean
- : Enables the VPC option when set to true.
- name String
- The name of the server.
- privateNetworks List<ServerPrivate Network> 
- The private networks to attach to the server
- projectId String
- project_id) The ID of the project the server is associated with.
- zone String
- zone) The zone in which the server should be created.
- type string
- The commercial type of the server. You find all the available types on the pricing page. Updates to this field will recreate a new resource.
- enableVpc boolean
- : Enables the VPC option when set to true.
- name string
- The name of the server.
- privateNetworks ServerPrivate Network[] 
- The private networks to attach to the server
- projectId string
- project_id) The ID of the project the server is associated with.
- zone string
- zone) The zone in which the server should be created.
- type str
- The commercial type of the server. You find all the available types on the pricing page. Updates to this field will recreate a new resource.
- enable_vpc bool
- : Enables the VPC option when set to true.
- name str
- The name of the server.
- private_networks Sequence[ServerPrivate Network Args] 
- The private networks to attach to the server
- project_id str
- project_id) The ID of the project the server is associated with.
- zone str
- zone) The zone in which the server should be created.
- type String
- The commercial type of the server. You find all the available types on the pricing page. Updates to this field will recreate a new resource.
- enableVpc Boolean
- : Enables the VPC option when set to true.
- name String
- The name of the server.
- privateNetworks List<Property Map>
- The private networks to attach to the server
- projectId String
- project_id) The ID of the project the server is associated with.
- zone String
- zone) The zone in which the server should be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the Server resource produces the following output properties:
- CreatedAt string
- The date and time of the creation of the Apple Silicon server.
- DeletableAt string
- The minimal date and time on which you can delete this server due to Apple licence
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip string
- IPv4 address of the server (IPv4 address).
- OrganizationId string
- The organization ID the server is associated with.
- State string
- The state of the server.
- UpdatedAt string
- The date and time of the last update of the Apple Silicon server.
- VncUrl string
- URL of the VNC.
- VpcStatus string
- The current status of the VPC option.
- CreatedAt string
- The date and time of the creation of the Apple Silicon server.
- DeletableAt string
- The minimal date and time on which you can delete this server due to Apple licence
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip string
- IPv4 address of the server (IPv4 address).
- OrganizationId string
- The organization ID the server is associated with.
- State string
- The state of the server.
- UpdatedAt string
- The date and time of the last update of the Apple Silicon server.
- VncUrl string
- URL of the VNC.
- VpcStatus string
- The current status of the VPC option.
- createdAt String
- The date and time of the creation of the Apple Silicon server.
- deletableAt String
- The minimal date and time on which you can delete this server due to Apple licence
- id String
- The provider-assigned unique ID for this managed resource.
- ip String
- IPv4 address of the server (IPv4 address).
- organizationId String
- The organization ID the server is associated with.
- state String
- The state of the server.
- updatedAt String
- The date and time of the last update of the Apple Silicon server.
- vncUrl String
- URL of the VNC.
- vpcStatus String
- The current status of the VPC option.
- createdAt string
- The date and time of the creation of the Apple Silicon server.
- deletableAt string
- The minimal date and time on which you can delete this server due to Apple licence
- id string
- The provider-assigned unique ID for this managed resource.
- ip string
- IPv4 address of the server (IPv4 address).
- organizationId string
- The organization ID the server is associated with.
- state string
- The state of the server.
- updatedAt string
- The date and time of the last update of the Apple Silicon server.
- vncUrl string
- URL of the VNC.
- vpcStatus string
- The current status of the VPC option.
- created_at str
- The date and time of the creation of the Apple Silicon server.
- deletable_at str
- The minimal date and time on which you can delete this server due to Apple licence
- id str
- The provider-assigned unique ID for this managed resource.
- ip str
- IPv4 address of the server (IPv4 address).
- organization_id str
- The organization ID the server is associated with.
- state str
- The state of the server.
- updated_at str
- The date and time of the last update of the Apple Silicon server.
- vnc_url str
- URL of the VNC.
- vpc_status str
- The current status of the VPC option.
- createdAt String
- The date and time of the creation of the Apple Silicon server.
- deletableAt String
- The minimal date and time on which you can delete this server due to Apple licence
- id String
- The provider-assigned unique ID for this managed resource.
- ip String
- IPv4 address of the server (IPv4 address).
- organizationId String
- The organization ID the server is associated with.
- state String
- The state of the server.
- updatedAt String
- The date and time of the last update of the Apple Silicon server.
- vncUrl String
- URL of the VNC.
- vpcStatus String
- The current status of the VPC option.
Look up Existing Server Resource
Get an existing Server 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?: ServerState, opts?: CustomResourceOptions): Server@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        created_at: Optional[str] = None,
        deletable_at: Optional[str] = None,
        enable_vpc: Optional[bool] = None,
        ip: Optional[str] = None,
        name: Optional[str] = None,
        organization_id: Optional[str] = None,
        private_networks: Optional[Sequence[ServerPrivateNetworkArgs]] = None,
        project_id: Optional[str] = None,
        state: Optional[str] = None,
        type: Optional[str] = None,
        updated_at: Optional[str] = None,
        vnc_url: Optional[str] = None,
        vpc_status: Optional[str] = None,
        zone: Optional[str] = None) -> Serverfunc GetServer(ctx *Context, name string, id IDInput, state *ServerState, opts ...ResourceOption) (*Server, error)public static Server Get(string name, Input<string> id, ServerState? state, CustomResourceOptions? opts = null)public static Server get(String name, Output<String> id, ServerState state, CustomResourceOptions options)resources:  _:    type: scaleway:applesilicon:Server    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- CreatedAt string
- The date and time of the creation of the Apple Silicon server.
- DeletableAt string
- The minimal date and time on which you can delete this server due to Apple licence
- EnableVpc bool
- : Enables the VPC option when set to true.
- Ip string
- IPv4 address of the server (IPv4 address).
- Name string
- The name of the server.
- OrganizationId string
- The organization ID the server is associated with.
- PrivateNetworks List<Pulumiverse.Scaleway. Applesilicon. Inputs. Server Private Network> 
- The private networks to attach to the server
- ProjectId string
- project_id) The ID of the project the server is associated with.
- State string
- The state of the server.
- Type string
- The commercial type of the server. You find all the available types on the pricing page. Updates to this field will recreate a new resource.
- UpdatedAt string
- The date and time of the last update of the Apple Silicon server.
- VncUrl string
- URL of the VNC.
- VpcStatus string
- The current status of the VPC option.
- Zone string
- zone) The zone in which the server should be created.
- CreatedAt string
- The date and time of the creation of the Apple Silicon server.
- DeletableAt string
- The minimal date and time on which you can delete this server due to Apple licence
- EnableVpc bool
- : Enables the VPC option when set to true.
- Ip string
- IPv4 address of the server (IPv4 address).
- Name string
- The name of the server.
- OrganizationId string
- The organization ID the server is associated with.
- PrivateNetworks []ServerPrivate Network Args 
- The private networks to attach to the server
- ProjectId string
- project_id) The ID of the project the server is associated with.
- State string
- The state of the server.
- Type string
- The commercial type of the server. You find all the available types on the pricing page. Updates to this field will recreate a new resource.
- UpdatedAt string
- The date and time of the last update of the Apple Silicon server.
- VncUrl string
- URL of the VNC.
- VpcStatus string
- The current status of the VPC option.
- Zone string
- zone) The zone in which the server should be created.
- createdAt String
- The date and time of the creation of the Apple Silicon server.
- deletableAt String
- The minimal date and time on which you can delete this server due to Apple licence
- enableVpc Boolean
- : Enables the VPC option when set to true.
- ip String
- IPv4 address of the server (IPv4 address).
- name String
- The name of the server.
- organizationId String
- The organization ID the server is associated with.
- privateNetworks List<ServerPrivate Network> 
- The private networks to attach to the server
- projectId String
- project_id) The ID of the project the server is associated with.
- state String
- The state of the server.
- type String
- The commercial type of the server. You find all the available types on the pricing page. Updates to this field will recreate a new resource.
- updatedAt String
- The date and time of the last update of the Apple Silicon server.
- vncUrl String
- URL of the VNC.
- vpcStatus String
- The current status of the VPC option.
- zone String
- zone) The zone in which the server should be created.
- createdAt string
- The date and time of the creation of the Apple Silicon server.
- deletableAt string
- The minimal date and time on which you can delete this server due to Apple licence
- enableVpc boolean
- : Enables the VPC option when set to true.
- ip string
- IPv4 address of the server (IPv4 address).
- name string
- The name of the server.
- organizationId string
- The organization ID the server is associated with.
- privateNetworks ServerPrivate Network[] 
- The private networks to attach to the server
- projectId string
- project_id) The ID of the project the server is associated with.
- state string
- The state of the server.
- type string
- The commercial type of the server. You find all the available types on the pricing page. Updates to this field will recreate a new resource.
- updatedAt string
- The date and time of the last update of the Apple Silicon server.
- vncUrl string
- URL of the VNC.
- vpcStatus string
- The current status of the VPC option.
- zone string
- zone) The zone in which the server should be created.
- created_at str
- The date and time of the creation of the Apple Silicon server.
- deletable_at str
- The minimal date and time on which you can delete this server due to Apple licence
- enable_vpc bool
- : Enables the VPC option when set to true.
- ip str
- IPv4 address of the server (IPv4 address).
- name str
- The name of the server.
- organization_id str
- The organization ID the server is associated with.
- private_networks Sequence[ServerPrivate Network Args] 
- The private networks to attach to the server
- project_id str
- project_id) The ID of the project the server is associated with.
- state str
- The state of the server.
- type str
- The commercial type of the server. You find all the available types on the pricing page. Updates to this field will recreate a new resource.
- updated_at str
- The date and time of the last update of the Apple Silicon server.
- vnc_url str
- URL of the VNC.
- vpc_status str
- The current status of the VPC option.
- zone str
- zone) The zone in which the server should be created.
- createdAt String
- The date and time of the creation of the Apple Silicon server.
- deletableAt String
- The minimal date and time on which you can delete this server due to Apple licence
- enableVpc Boolean
- : Enables the VPC option when set to true.
- ip String
- IPv4 address of the server (IPv4 address).
- name String
- The name of the server.
- organizationId String
- The organization ID the server is associated with.
- privateNetworks List<Property Map>
- The private networks to attach to the server
- projectId String
- project_id) The ID of the project the server is associated with.
- state String
- The state of the server.
- type String
- The commercial type of the server. You find all the available types on the pricing page. Updates to this field will recreate a new resource.
- updatedAt String
- The date and time of the last update of the Apple Silicon server.
- vncUrl String
- URL of the VNC.
- vpcStatus String
- The current status of the VPC option.
- zone String
- zone) The zone in which the server should be created.
Supporting Types
ServerPrivateNetwork, ServerPrivateNetworkArgs      
- Id string
- The ID of the server.
- CreatedAt string
- The date and time of the creation of the Apple Silicon server.
- IpamIp List<string>Ids 
- List of IPAM IP IDs to attach to the server
- Status string
- The private network status
- UpdatedAt string
- The date and time of the last update of the Apple Silicon server.
- Vlan int
- The VLAN ID associated to the private network
- Id string
- The ID of the server.
- CreatedAt string
- The date and time of the creation of the Apple Silicon server.
- IpamIp []stringIds 
- List of IPAM IP IDs to attach to the server
- Status string
- The private network status
- UpdatedAt string
- The date and time of the last update of the Apple Silicon server.
- Vlan int
- The VLAN ID associated to the private network
- id String
- The ID of the server.
- createdAt String
- The date and time of the creation of the Apple Silicon server.
- ipamIp List<String>Ids 
- List of IPAM IP IDs to attach to the server
- status String
- The private network status
- updatedAt String
- The date and time of the last update of the Apple Silicon server.
- vlan Integer
- The VLAN ID associated to the private network
- id string
- The ID of the server.
- createdAt string
- The date and time of the creation of the Apple Silicon server.
- ipamIp string[]Ids 
- List of IPAM IP IDs to attach to the server
- status string
- The private network status
- updatedAt string
- The date and time of the last update of the Apple Silicon server.
- vlan number
- The VLAN ID associated to the private network
- id str
- The ID of the server.
- created_at str
- The date and time of the creation of the Apple Silicon server.
- ipam_ip_ Sequence[str]ids 
- List of IPAM IP IDs to attach to the server
- status str
- The private network status
- updated_at str
- The date and time of the last update of the Apple Silicon server.
- vlan int
- The VLAN ID associated to the private network
- id String
- The ID of the server.
- createdAt String
- The date and time of the creation of the Apple Silicon server.
- ipamIp List<String>Ids 
- List of IPAM IP IDs to attach to the server
- status String
- The private network status
- updatedAt String
- The date and time of the last update of the Apple Silicon server.
- vlan Number
- The VLAN ID associated to the private network
Import
Instance servers can be imported using the {zone}/{id}, e.g.
bash
$ pulumi import scaleway:applesilicon/server:Server main fr-par-1/11111111-1111-1111-1111-111111111111
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 scalewayTerraform Provider.
