UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

154 lines (153 loc) 6.19 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * The virtual machine resource definition. * * Uses Azure REST API version 2022-12-15-preview. In version 2.x of the Azure Native provider, it used API version 2022-12-15-preview. */ 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, 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; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * The extendedLocation of the resource. */ readonly extendedLocation: pulumi.Output<outputs.azurestackhci.ExtendedLocationResponse | undefined>; /** * Guest agent status properties. */ readonly guestAgentProfile: pulumi.Output<outputs.azurestackhci.GuestAgentProfileResponse | undefined>; /** * HardwareProfile - Specifies the hardware settings for the virtual machine. */ readonly hardwareProfile: pulumi.Output<outputs.azurestackhci.VirtualMachinePropertiesResponseHardwareProfile | undefined>; /** * Identity for the resource. */ readonly identity: pulumi.Output<outputs.azurestackhci.IdentityResponse | undefined>; /** * The geo-location where the resource lives */ readonly location: pulumi.Output<string>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * NetworkProfile - describes the network configuration the virtual machine */ readonly networkProfile: pulumi.Output<outputs.azurestackhci.VirtualMachinePropertiesResponseNetworkProfile | undefined>; /** * OsProfile - describes the configuration of the operating system and sets login data */ readonly osProfile: pulumi.Output<outputs.azurestackhci.VirtualMachinePropertiesResponseOsProfile | undefined>; /** * Provisioning state of the virtual machine. */ readonly provisioningState: pulumi.Output<string>; /** * SecurityProfile - Specifies the security settings for the virtual machine. */ readonly securityProfile: pulumi.Output<outputs.azurestackhci.VirtualMachinePropertiesResponseSecurityProfile | undefined>; /** * The observed state of virtual machines */ readonly status: pulumi.Output<outputs.azurestackhci.VirtualMachineStatusResponse>; /** * StorageProfile - contains information about the disks and storage information for the virtual machine */ readonly storageProfile: pulumi.Output<outputs.azurestackhci.VirtualMachinePropertiesResponseStorageProfile | undefined>; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output<outputs.azurestackhci.SystemDataResponse>; /** * Resource tags. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output<string>; /** * Unique identifier for the vm resource. */ readonly vmId: pulumi.Output<string>; /** * 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); } /** * The set of arguments for constructing a VirtualMachine resource. */ export interface VirtualMachineArgs { /** * The extendedLocation of the resource. */ extendedLocation?: pulumi.Input<inputs.azurestackhci.ExtendedLocationArgs>; /** * HardwareProfile - Specifies the hardware settings for the virtual machine. */ hardwareProfile?: pulumi.Input<inputs.azurestackhci.VirtualMachinePropertiesHardwareProfileArgs>; /** * Identity for the resource. */ identity?: pulumi.Input<inputs.azurestackhci.IdentityArgs>; /** * The geo-location where the resource lives */ location?: pulumi.Input<string>; /** * NetworkProfile - describes the network configuration the virtual machine */ networkProfile?: pulumi.Input<inputs.azurestackhci.VirtualMachinePropertiesNetworkProfileArgs>; /** * OsProfile - describes the configuration of the operating system and sets login data */ osProfile?: pulumi.Input<inputs.azurestackhci.VirtualMachinePropertiesOsProfileArgs>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * SecurityProfile - Specifies the security settings for the virtual machine. */ securityProfile?: pulumi.Input<inputs.azurestackhci.VirtualMachinePropertiesSecurityProfileArgs>; /** * StorageProfile - contains information about the disks and storage information for the virtual machine */ storageProfile?: pulumi.Input<inputs.azurestackhci.VirtualMachinePropertiesStorageProfileArgs>; /** * Resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * Name of the virtual machine */ virtualMachineName?: pulumi.Input<string>; }