UNPKG

pulumi-netbox

Version:

A Pulumi package for creating and managing Netbox resources.

80 lines (79 loc) 3.37 kB
import * as pulumi from "@pulumi/pulumi"; export declare class VirtualMachine extends pulumi.CustomResource { /** * Get an existing VirtualMachine 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?: VirtualMachineState, opts?: pulumi.CustomResourceOptions): VirtualMachine; /** * Returns true if the given object is an instance of VirtualMachine. 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 VirtualMachine; readonly clusterId: pulumi.Output<number>; readonly comments: pulumi.Output<string | undefined>; readonly customFields: pulumi.Output<{ [key: string]: string; } | undefined>; readonly diskSizeGb: pulumi.Output<number | undefined>; readonly memoryMb: pulumi.Output<number | undefined>; readonly name: pulumi.Output<string>; readonly platformId: pulumi.Output<number | undefined>; readonly primaryIpv4: pulumi.Output<number>; readonly roleId: pulumi.Output<number | undefined>; readonly siteId: pulumi.Output<number>; readonly tags: pulumi.Output<string[] | undefined>; readonly tenantId: pulumi.Output<number | undefined>; readonly vcpus: pulumi.Output<number | undefined>; /** * Create a VirtualMachine 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: VirtualMachineArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VirtualMachine resources. */ export interface VirtualMachineState { clusterId?: pulumi.Input<number>; comments?: pulumi.Input<string>; customFields?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; diskSizeGb?: pulumi.Input<number>; memoryMb?: pulumi.Input<number>; name?: pulumi.Input<string>; platformId?: pulumi.Input<number>; primaryIpv4?: pulumi.Input<number>; roleId?: pulumi.Input<number>; siteId?: pulumi.Input<number>; tags?: pulumi.Input<pulumi.Input<string>[]>; tenantId?: pulumi.Input<number>; vcpus?: pulumi.Input<number>; } /** * The set of arguments for constructing a VirtualMachine resource. */ export interface VirtualMachineArgs { clusterId: pulumi.Input<number>; comments?: pulumi.Input<string>; customFields?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; diskSizeGb?: pulumi.Input<number>; memoryMb?: pulumi.Input<number>; name?: pulumi.Input<string>; platformId?: pulumi.Input<number>; roleId?: pulumi.Input<number>; tags?: pulumi.Input<pulumi.Input<string>[]>; tenantId?: pulumi.Input<number>; vcpus?: pulumi.Input<number>; }