scaleway.AppleSiliconServer
Explore with Pulumi AI
Creates and manages Scaleway Apple silicon. For more information, see the documentation.
Example Usage
Basic
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const server = new scaleway.AppleSiliconServer("server", {
name: "test-m1",
type: "M1-M",
});
import pulumi
import pulumiverse_scaleway as scaleway
server = scaleway.AppleSiliconServer("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"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := scaleway.NewAppleSiliconServer(ctx, "server", &scaleway.AppleSiliconServerArgs{
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.AppleSiliconServer("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.AppleSiliconServer;
import com.pulumi.scaleway.AppleSiliconServerArgs;
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 AppleSiliconServer("server", AppleSiliconServerArgs.builder()
.name("test-m1")
.type("M1-M")
.build());
}
}
resources:
server:
type: scaleway:AppleSiliconServer
properties:
name: test-m1
type: M1-M
Create AppleSiliconServer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppleSiliconServer(name: string, args: AppleSiliconServerArgs, opts?: CustomResourceOptions);
@overload
def AppleSiliconServer(resource_name: str,
args: AppleSiliconServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppleSiliconServer(resource_name: str,
opts: Optional[ResourceOptions] = None,
type: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
zone: Optional[str] = None)
func NewAppleSiliconServer(ctx *Context, name string, args AppleSiliconServerArgs, opts ...ResourceOption) (*AppleSiliconServer, error)
public AppleSiliconServer(string name, AppleSiliconServerArgs args, CustomResourceOptions? opts = null)
public AppleSiliconServer(String name, AppleSiliconServerArgs args)
public AppleSiliconServer(String name, AppleSiliconServerArgs args, CustomResourceOptions options)
type: scaleway:AppleSiliconServer
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 AppleSiliconServerArgs
- 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 AppleSiliconServerArgs
- 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 AppleSiliconServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppleSiliconServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppleSiliconServerArgs
- 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 appleSiliconServerResource = new Scaleway.AppleSiliconServer("appleSiliconServerResource", new()
{
Type = "string",
Name = "string",
ProjectId = "string",
Zone = "string",
});
example, err := scaleway.NewAppleSiliconServer(ctx, "appleSiliconServerResource", &scaleway.AppleSiliconServerArgs{
Type: pulumi.String("string"),
Name: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Zone: pulumi.String("string"),
})
var appleSiliconServerResource = new AppleSiliconServer("appleSiliconServerResource", AppleSiliconServerArgs.builder()
.type("string")
.name("string")
.projectId("string")
.zone("string")
.build());
apple_silicon_server_resource = scaleway.AppleSiliconServer("appleSiliconServerResource",
type="string",
name="string",
project_id="string",
zone="string")
const appleSiliconServerResource = new scaleway.AppleSiliconServer("appleSiliconServerResource", {
type: "string",
name: "string",
projectId: "string",
zone: "string",
});
type: scaleway:AppleSiliconServer
properties:
name: string
projectId: string
type: string
zone: string
AppleSiliconServer 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 AppleSiliconServer 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.
- Project
Id 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.
- Project
Id 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.
- project
Id 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.
- project
Id 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.
- project
Id 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 AppleSiliconServer resource produces the following output properties:
- Created
At string - The date and time of the creation of the Apple Silicon server.
- Deletable
At 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).
- Organization
Id string - The organization ID the server is associated with.
- State string
- The state of the server.
- Updated
At string - The date and time of the last update of the Apple Silicon server.
- Vnc
Url string - URL of the VNC.
- Created
At string - The date and time of the creation of the Apple Silicon server.
- Deletable
At 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).
- Organization
Id string - The organization ID the server is associated with.
- State string
- The state of the server.
- Updated
At string - The date and time of the last update of the Apple Silicon server.
- Vnc
Url string - URL of the VNC.
- created
At String - The date and time of the creation of the Apple Silicon server.
- deletable
At 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).
- organization
Id String - The organization ID the server is associated with.
- state String
- The state of the server.
- updated
At String - The date and time of the last update of the Apple Silicon server.
- vnc
Url String - URL of the VNC.
- created
At string - The date and time of the creation of the Apple Silicon server.
- deletable
At 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).
- organization
Id string - The organization ID the server is associated with.
- state string
- The state of the server.
- updated
At string - The date and time of the last update of the Apple Silicon server.
- vnc
Url 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.
- updated_
at str - The date and time of the last update of the Apple Silicon server.
- vnc_
url str - URL of the VNC.
- created
At String - The date and time of the creation of the Apple Silicon server.
- deletable
At 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).
- organization
Id String - The organization ID the server is associated with.
- state String
- The state of the server.
- updated
At String - The date and time of the last update of the Apple Silicon server.
- vnc
Url String - URL of the VNC.
Look up Existing AppleSiliconServer Resource
Get an existing AppleSiliconServer 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?: AppleSiliconServerState, opts?: CustomResourceOptions): AppleSiliconServer
@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) -> AppleSiliconServer
func GetAppleSiliconServer(ctx *Context, name string, id IDInput, state *AppleSiliconServerState, opts ...ResourceOption) (*AppleSiliconServer, error)
public static AppleSiliconServer Get(string name, Input<string> id, AppleSiliconServerState? state, CustomResourceOptions? opts = null)
public static AppleSiliconServer get(String name, Output<String> id, AppleSiliconServerState 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.
- Created
At string - The date and time of the creation of the Apple Silicon server.
- Deletable
At 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.
- Organization
Id string - The organization ID the server is associated with.
- Project
Id 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.
- Updated
At string - The date and time of the last update of the Apple Silicon server.
- Vnc
Url string - URL of the VNC.
- Zone string
zone
) The zone in which the server should be created.
- Created
At string - The date and time of the creation of the Apple Silicon server.
- Deletable
At 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.
- Organization
Id string - The organization ID the server is associated with.
- Project
Id 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.
- Updated
At string - The date and time of the last update of the Apple Silicon server.
- Vnc
Url string - URL of the VNC.
- Zone string
zone
) The zone in which the server should be created.
- created
At String - The date and time of the creation of the Apple Silicon server.
- deletable
At 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.
- organization
Id String - The organization ID the server is associated with.
- project
Id 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.
- updated
At String - The date and time of the last update of the Apple Silicon server.
- vnc
Url String - URL of the VNC.
- zone String
zone
) The zone in which the server should be created.
- created
At string - The date and time of the creation of the Apple Silicon server.
- deletable
At 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.
- organization
Id string - The organization ID the server is associated with.
- project
Id 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.
- updated
At string - The date and time of the last update of the Apple Silicon server.
- vnc
Url 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.
- 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.
- created
At String - The date and time of the creation of the Apple Silicon server.
- deletable
At 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.
- organization
Id String - The organization ID the server is associated with.
- project
Id 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.
- updated
At String - The date and time of the last update of the Apple Silicon server.
- vnc
Url 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/appleSiliconServer:AppleSiliconServer 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
scaleway
Terraform Provider.