Scaleway

v1.4.0 published on Monday, Nov 28, 2022 by lbrlabs

AppleSliconValleyServer

Creates and manages Scaleway Apple silicon M1. For more information, see the documentation.

Examples

Basic

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

const server = new scaleway.AppleSliconValleyServer("server", {
    type: "M1-M",
});
import pulumi
import lbrlabs_pulumi_scaleway as scaleway

server = scaleway.AppleSliconValleyServer("server", type="M1-M")
using System.Collections.Generic;
using Pulumi;
using Scaleway = Lbrlabs.PulumiPackage.Scaleway;

return await Deployment.RunAsync(() => 
{
    var server = new Scaleway.AppleSliconValleyServer("server", new()
    {
        Type = "M1-M",
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := scaleway.NewAppleSliconValleyServer(ctx, "server", &scaleway.AppleSliconValleyServerArgs{
			Type: pulumi.String("M1-M"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.AppleSliconValleyServer;
import com.pulumi.scaleway.AppleSliconValleyServerArgs;
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 AppleSliconValleyServer("server", AppleSliconValleyServerArgs.builder()        
            .type("M1-M")
            .build());

    }
}
resources:
  server:
    type: scaleway:AppleSliconValleyServer
    properties:
      type: M1-M

Create AppleSliconValleyServer Resource

new AppleSliconValleyServer(name: string, args: AppleSliconValleyServerArgs, opts?: CustomResourceOptions);
@overload
def AppleSliconValleyServer(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            name: Optional[str] = None,
                            project_id: Optional[str] = None,
                            type: Optional[str] = None,
                            zone: Optional[str] = None)
@overload
def AppleSliconValleyServer(resource_name: str,
                            args: AppleSliconValleyServerArgs,
                            opts: Optional[ResourceOptions] = None)
func NewAppleSliconValleyServer(ctx *Context, name string, args AppleSliconValleyServerArgs, opts ...ResourceOption) (*AppleSliconValleyServer, error)
public AppleSliconValleyServer(string name, AppleSliconValleyServerArgs args, CustomResourceOptions? opts = null)
public AppleSliconValleyServer(String name, AppleSliconValleyServerArgs args)
public AppleSliconValleyServer(String name, AppleSliconValleyServerArgs args, CustomResourceOptions options)
type: scaleway:AppleSliconValleyServer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AppleSliconValleyServerArgs
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 AppleSliconValleyServerArgs
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 AppleSliconValleyServerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AppleSliconValleyServerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AppleSliconValleyServerArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AppleSliconValleyServer Resource Properties

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

Inputs

The AppleSliconValleyServer 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.

Name string

The name of 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.

Name string

The name of 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.

name String

The name of 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.

name string

The name of 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.

name str

The name of 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.

name String

The name of 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 AppleSliconValleyServer 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. Check the possible values on our sdk.

UpdatedAt string

The date and time of the last update of the Apple Silicon server.

VncUrl string

URL of the VNC.

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. Check the possible values on our sdk.

UpdatedAt string

The date and time of the last update of the Apple Silicon server.

VncUrl string

URL of the VNC.

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. Check the possible values on our sdk.

updatedAt String

The date and time of the last update of the Apple Silicon server.

vncUrl String

URL of the VNC.

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. Check the possible values on our sdk.

updatedAt string

The date and time of the last update of the Apple Silicon server.

vncUrl string

URL of the VNC.

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. Check the possible values on our sdk.

updated_at str

The date and time of the last update of the Apple Silicon server.

vnc_url str

URL of the VNC.

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. Check the possible values on our sdk.

updatedAt String

The date and time of the last update of the Apple Silicon server.

vncUrl String

URL of the VNC.

Look up Existing AppleSliconValleyServer Resource

Get an existing AppleSliconValleyServer 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?: AppleSliconValleyServerState, opts?: CustomResourceOptions): AppleSliconValleyServer
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        created_at: Optional[str] = None,
        deletable_at: Optional[str] = None,
        ip: Optional[str] = None,
        name: Optional[str] = None,
        organization_id: Optional[str] = None,
        project_id: Optional[str] = None,
        state: Optional[str] = None,
        type: Optional[str] = None,
        updated_at: Optional[str] = None,
        vnc_url: Optional[str] = None,
        zone: Optional[str] = None) -> AppleSliconValleyServer
func GetAppleSliconValleyServer(ctx *Context, name string, id IDInput, state *AppleSliconValleyServerState, opts ...ResourceOption) (*AppleSliconValleyServer, error)
public static AppleSliconValleyServer Get(string name, Input<string> id, AppleSliconValleyServerState? state, CustomResourceOptions? opts = null)
public static AppleSliconValleyServer get(String name, Output<String> id, AppleSliconValleyServerState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
The following state arguments are supported:
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

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.

ProjectId string

project_id) The ID of the project the server is associated with.

State string

The state of the server. Check the possible values on our sdk.

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.

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

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.

ProjectId string

project_id) The ID of the project the server is associated with.

State string

The state of the server. Check the possible values on our sdk.

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.

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

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.

projectId String

project_id) The ID of the project the server is associated with.

state String

The state of the server. Check the possible values on our sdk.

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.

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

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.

projectId string

project_id) The ID of the project the server is associated with.

state string

The state of the server. Check the possible values on our sdk.

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.

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

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.

project_id str

project_id) The ID of the project the server is associated with.

state str

The state of the server. Check the possible values on our sdk.

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.

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

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.

projectId String

project_id) The ID of the project the server is associated with.

state String

The state of the server. Check the possible values on our sdk.

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.

zone String

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

Import

Instance servers can be imported using the {zone}/{id}, e.g. bash

 $ pulumi import scaleway:index/appleSliconValleyServer:AppleSliconValleyServer server fr-par-1/11111111-1111-1111-1111-111111111111

Package Details

Repository
https://github.com/lbrlabs/pulumi-scaleway
License
Apache-2.0
Notes

This Pulumi package is based on the scaleway Terraform Provider.