UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

178 lines (177 loc) 6.14 kB
import * as pulumi from "@pulumi/pulumi"; /** * Creates and manages Scaleway Apple silicon M1. For more information, * see [the documentation](https://www.scaleway.com/en/docs/compute/apple-silicon/concepts). * * ## Examples * * ### Basic * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@lbrlabs/pulumi-scaleway"; * * const server = new scaleway.AppleSliconValleyServer("server", {type: "M1-M"}); * ``` * * ## Import * * Instance servers can be imported using the `{zone}/{id}`, e.g. bash * * ```sh * $ pulumi import scaleway:index/appleSliconValleyServer:AppleSliconValleyServer server fr-par-1/11111111-1111-1111-1111-111111111111 * ``` */ export declare class AppleSliconValleyServer extends pulumi.CustomResource { /** * Get an existing AppleSliconValleyServer 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?: AppleSliconValleyServerState, opts?: pulumi.CustomResourceOptions): AppleSliconValleyServer; /** * Returns true if the given object is an instance of AppleSliconValleyServer. 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 AppleSliconValleyServer; /** * 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>; /** * 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>; /** * `projectId`) The ID of the project the server is * associated with. */ readonly projectId: pulumi.Output<string>; /** * The state of the server. Check the possible values on * our [sdk](https://github.com/scaleway/scaleway-sdk-go/blob/master/api/applesilicon/v1alpha1/applesilicon_sdk.go#L103). */ 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>; /** * URL of the VNC. */ readonly vncUrl: pulumi.Output<string>; /** * `zone`) The zone in which * the server should be created. */ readonly zone: pulumi.Output<string>; /** * Create a AppleSliconValleyServer 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. */ constructor(name: string, args: AppleSliconValleyServerArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AppleSliconValleyServer resources. */ export interface AppleSliconValleyServerState { /** * 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>; /** * 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>; /** * `projectId`) The ID of the project the server is * associated with. */ projectId?: pulumi.Input<string>; /** * The state of the server. Check the possible values on * our [sdk](https://github.com/scaleway/scaleway-sdk-go/blob/master/api/applesilicon/v1alpha1/applesilicon_sdk.go#L103). */ 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>; /** * URL of the VNC. */ vncUrl?: pulumi.Input<string>; /** * `zone`) The zone in which * the server should be created. */ zone?: pulumi.Input<string>; } /** * The set of arguments for constructing a AppleSliconValleyServer resource. */ export interface AppleSliconValleyServerArgs { /** * The name of the server. */ name?: pulumi.Input<string>; /** * `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>; }