UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

246 lines (245 loc) 7.87 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Creates and manages Scaleway Apple silicon. For more information, * see the [API documentation](https://www.scaleway.com/en/developers/api/apple-silicon/). * * ## Example Usage * * ### Basic * * ```typescript * 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 * * Instance servers can be imported using the `{zone}/{id}`, e.g. * * bash * * ```sh * $ pulumi import scaleway:index/appleSiliconServer:AppleSiliconServer main fr-par-1/11111111-1111-1111-1111-111111111111 * ``` * * @deprecated scaleway.index/applesiliconserver.AppleSiliconServer has been deprecated in favor of scaleway.applesilicon/server.Server */ export declare class AppleSiliconServer extends pulumi.CustomResource { /** * Get an existing AppleSiliconServer resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AppleSiliconServerState, opts?: pulumi.CustomResourceOptions): AppleSiliconServer; /** * Returns true if the given object is an instance of AppleSiliconServer. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AppleSiliconServer; /** * The commitment period of the server */ readonly commitment: pulumi.Output<string | undefined>; /** * The date and time of the creation of the Apple Silicon server. */ readonly createdAt: pulumi.Output<string>; /** * The minimal date and time on which you can delete this server due to Apple licence */ readonly deletableAt: pulumi.Output<string>; /** * : Enables the VPC option when set to true. */ readonly enableVpc: pulumi.Output<boolean | undefined>; /** * IPv4 address of the server (IPv4 address). */ readonly ip: pulumi.Output<string>; /** * The name of the server. */ readonly name: pulumi.Output<string>; /** * The organization ID the server is associated with. */ readonly organizationId: pulumi.Output<string>; /** * The password of the server */ readonly password: pulumi.Output<string>; /** * The private networks to attach to the server */ readonly privateNetworks: pulumi.Output<outputs.AppleSiliconServerPrivateNetwork[] | undefined>; /** * `projectId`) The ID of the project the server is * associated with. */ readonly projectId: pulumi.Output<string>; /** * The state of the server. */ readonly state: pulumi.Output<string>; /** * The commercial type of the server. You find all the available types on * the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new * resource. */ readonly type: pulumi.Output<string>; /** * The date and time of the last update of the Apple Silicon server. */ readonly updatedAt: pulumi.Output<string>; /** * The username of the server */ readonly username: pulumi.Output<string>; /** * URL of the VNC. */ readonly vncUrl: pulumi.Output<string>; /** * The current status of the VPC option. */ readonly vpcStatus: pulumi.Output<string>; /** * `zone`) The zone in which * the server should be created. */ readonly zone: pulumi.Output<string>; /** * Create a AppleSiliconServer resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ /** @deprecated scaleway.index/applesiliconserver.AppleSiliconServer has been deprecated in favor of scaleway.applesilicon/server.Server */ constructor(name: string, args: AppleSiliconServerArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AppleSiliconServer resources. */ export interface AppleSiliconServerState { /** * The commitment period of the server */ commitment?: pulumi.Input<string>; /** * The date and time of the creation of the Apple Silicon server. */ createdAt?: pulumi.Input<string>; /** * The minimal date and time on which you can delete this server due to Apple licence */ deletableAt?: pulumi.Input<string>; /** * : Enables the VPC option when set to true. */ enableVpc?: pulumi.Input<boolean>; /** * IPv4 address of the server (IPv4 address). */ ip?: pulumi.Input<string>; /** * The name of the server. */ name?: pulumi.Input<string>; /** * The organization ID the server is associated with. */ organizationId?: pulumi.Input<string>; /** * The password of the server */ password?: pulumi.Input<string>; /** * The private networks to attach to the server */ privateNetworks?: pulumi.Input<pulumi.Input<inputs.AppleSiliconServerPrivateNetwork>[]>; /** * `projectId`) The ID of the project the server is * associated with. */ projectId?: pulumi.Input<string>; /** * The state of the server. */ state?: pulumi.Input<string>; /** * The commercial type of the server. You find all the available types on * the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new * resource. */ type?: pulumi.Input<string>; /** * The date and time of the last update of the Apple Silicon server. */ updatedAt?: pulumi.Input<string>; /** * The username of the server */ username?: pulumi.Input<string>; /** * URL of the VNC. */ vncUrl?: pulumi.Input<string>; /** * The current status of the VPC option. */ vpcStatus?: pulumi.Input<string>; /** * `zone`) The zone in which * the server should be created. */ zone?: pulumi.Input<string>; } /** * The set of arguments for constructing a AppleSiliconServer resource. */ export interface AppleSiliconServerArgs { /** * The commitment period of the server */ commitment?: pulumi.Input<string>; /** * : Enables the VPC option when set to true. */ enableVpc?: pulumi.Input<boolean>; /** * The name of the server. */ name?: pulumi.Input<string>; /** * The private networks to attach to the server */ privateNetworks?: pulumi.Input<pulumi.Input<inputs.AppleSiliconServerPrivateNetwork>[]>; /** * `projectId`) The ID of the project the server is * associated with. */ projectId?: pulumi.Input<string>; /** * The commercial type of the server. You find all the available types on * the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new * resource. */ type: pulumi.Input<string>; /** * `zone`) The zone in which * the server should be created. */ zone?: pulumi.Input<string>; }