import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class Server extends pulumi.CustomResource { /** * Get an existing Server 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, state?: ServerState, opts?: pulumi.CustomResourceOptions): Server; /** * Returns true if the given object is an instance of Server. 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 Server; /** * Availability zone for server */ readonly availabilityZone: pulumi.Output; /** * Identifier of avatar */ readonly avatarId: pulumi.Output; /** * Bandwidth for server */ readonly bandwidth: pulumi.Output; /** * Boot mode of server (`std`, `single`, `cd`) */ readonly bootMode: pulumi.Output; /** * Cloud-init script. If script requires external network you should use floating_ip_id field instead of * twc_floating_ip.resource */ readonly cloudInit: pulumi.Output; /** * Comment for server */ readonly comment: pulumi.Output; /** * Configuration for server */ readonly configuration: pulumi.Output; /** * Configurator identifier */ readonly configuratorId: pulumi.Output; /** * Current CPUs count of server */ readonly cpu: pulumi.Output; /** * Current CPU frequency of server */ readonly cpuFrequency: pulumi.Output; /** * Current server disks representation */ readonly disks: pulumi.Output; /** * Floating IP ID for server */ readonly floatingIpId: pulumi.Output; /** * Image ID for servers (not supported for cloned servers) */ readonly imageId: pulumi.Output; /** * Flag that shows status of DDoS guard service */ readonly isDdosGuard: pulumi.Output; /** * Is root password required for server */ readonly isRootPasswordRequired: pulumi.Output; /** * Flag that enables local network for created server (not supported for cloned servers) */ readonly localNetwork: pulumi.Output; /** * Location for the server (`ru-1`, `ru-2`, `pl-1`, `kz-1`) */ readonly location: pulumi.Output; /** * Main IPv4 address from public interface */ readonly mainIpv4: pulumi.Output; /** * Name for server */ readonly name: pulumi.Output; readonly networks: pulumi.Output; /** * Information about specified OS */ readonly os: pulumi.Output; /** * OS ID for server (not supported for cloned servers) */ readonly osId: pulumi.Output; /** * Preset ID for server (conflicts with configuration) */ readonly presetId: pulumi.Output; /** * Project ID for created server */ readonly projectId: pulumi.Output; /** * Current RAM size of server */ readonly ram: pulumi.Output; /** * Root password for server */ readonly rootPass: pulumi.Output; readonly serverId: pulumi.Output; /** * Software ID for server (not supported for cloned servers) */ readonly softwareId: pulumi.Output; /** * Information about specified software (if software_id was set) */ readonly softwares: pulumi.Output; /** * Server ID for which clone should be created */ readonly sourceServerId: pulumi.Output; /** * List of SSH keys IDs for server */ readonly sshKeysIds: pulumi.Output; /** * Last boot time (in ISO8601 format) */ readonly startAt: pulumi.Output; /** * Current status of server (`installing`, `software_install`, `reinstalling`, `on`, `off`, `turning_on`, `turning_off`, * `hard_turning_off`, `rebooting`, `hard_rebooting`, `removing`, `removed`, `cloning`, `transfer`, `blocked`, * `configuring`, `no_paid`, `permanent_blocked`) */ readonly status: pulumi.Output; /** * VNC password for server */ readonly vncPass: pulumi.Output; /** * Create a Server 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?: ServerArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Server resources. */ export interface ServerState { /** * Availability zone for server */ availabilityZone?: pulumi.Input; /** * Identifier of avatar */ avatarId?: pulumi.Input; /** * Bandwidth for server */ bandwidth?: pulumi.Input; /** * Boot mode of server (`std`, `single`, `cd`) */ bootMode?: pulumi.Input; /** * Cloud-init script. If script requires external network you should use floating_ip_id field instead of * twc_floating_ip.resource */ cloudInit?: pulumi.Input; /** * Comment for server */ comment?: pulumi.Input; /** * Configuration for server */ configuration?: pulumi.Input; /** * Configurator identifier */ configuratorId?: pulumi.Input; /** * Current CPUs count of server */ cpu?: pulumi.Input; /** * Current CPU frequency of server */ cpuFrequency?: pulumi.Input; /** * Current server disks representation */ disks?: pulumi.Input[]>; /** * Floating IP ID for server */ floatingIpId?: pulumi.Input; /** * Image ID for servers (not supported for cloned servers) */ imageId?: pulumi.Input; /** * Flag that shows status of DDoS guard service */ isDdosGuard?: pulumi.Input; /** * Is root password required for server */ isRootPasswordRequired?: pulumi.Input; /** * Flag that enables local network for created server (not supported for cloned servers) */ localNetwork?: pulumi.Input; /** * Location for the server (`ru-1`, `ru-2`, `pl-1`, `kz-1`) */ location?: pulumi.Input; /** * Main IPv4 address from public interface */ mainIpv4?: pulumi.Input; /** * Name for server */ name?: pulumi.Input; networks?: pulumi.Input[]>; /** * Information about specified OS */ os?: pulumi.Input[]>; /** * OS ID for server (not supported for cloned servers) */ osId?: pulumi.Input; /** * Preset ID for server (conflicts with configuration) */ presetId?: pulumi.Input; /** * Project ID for created server */ projectId?: pulumi.Input; /** * Current RAM size of server */ ram?: pulumi.Input; /** * Root password for server */ rootPass?: pulumi.Input; serverId?: pulumi.Input; /** * Software ID for server (not supported for cloned servers) */ softwareId?: pulumi.Input; /** * Information about specified software (if software_id was set) */ softwares?: pulumi.Input[]>; /** * Server ID for which clone should be created */ sourceServerId?: pulumi.Input; /** * List of SSH keys IDs for server */ sshKeysIds?: pulumi.Input[]>; /** * Last boot time (in ISO8601 format) */ startAt?: pulumi.Input; /** * Current status of server (`installing`, `software_install`, `reinstalling`, `on`, `off`, `turning_on`, `turning_off`, * `hard_turning_off`, `rebooting`, `hard_rebooting`, `removing`, `removed`, `cloning`, `transfer`, `blocked`, * `configuring`, `no_paid`, `permanent_blocked`) */ status?: pulumi.Input; /** * VNC password for server */ vncPass?: pulumi.Input; } /** * The set of arguments for constructing a Server resource. */ export interface ServerArgs { /** * Availability zone for server */ availabilityZone?: pulumi.Input; /** * Bandwidth for server */ bandwidth?: pulumi.Input; /** * Cloud-init script. If script requires external network you should use floating_ip_id field instead of * twc_floating_ip.resource */ cloudInit?: pulumi.Input; /** * Comment for server */ comment?: pulumi.Input; /** * Configuration for server */ configuration?: pulumi.Input; /** * Floating IP ID for server */ floatingIpId?: pulumi.Input; /** * Image ID for servers (not supported for cloned servers) */ imageId?: pulumi.Input; /** * Is root password required for server */ isRootPasswordRequired?: pulumi.Input; /** * Flag that enables local network for created server (not supported for cloned servers) */ localNetwork?: pulumi.Input; /** * Name for server */ name?: pulumi.Input; /** * OS ID for server (not supported for cloned servers) */ osId?: pulumi.Input; /** * Preset ID for server (conflicts with configuration) */ presetId?: pulumi.Input; /** * Project ID for created server */ projectId?: pulumi.Input; serverId?: pulumi.Input; /** * Software ID for server (not supported for cloned servers) */ softwareId?: pulumi.Input; /** * Server ID for which clone should be created */ sourceServerId?: pulumi.Input; /** * List of SSH keys IDs for server */ sshKeysIds?: pulumi.Input[]>; }