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

116 lines (115 loc) 5.25 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets a virtual machine instance * * Uses Azure REST API version 2025-02-01-preview. * * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview, 2025-04-01-preview, 2025-06-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azurestackhci [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getVirtualMachineInstance(args: GetVirtualMachineInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetVirtualMachineInstanceResult>; export interface GetVirtualMachineInstanceArgs { /** * The fully qualified Azure Resource manager identifier of the resource. */ resourceUri: string; } /** * The virtual machine instance resource definition. */ export interface GetVirtualMachineInstanceResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Boolean indicating whether this is an existing local virtual machine or if one should be created. */ readonly createFromLocal?: boolean; /** * The extendedLocation of the resource. */ readonly extendedLocation?: outputs.azurestackhci.ExtendedLocationResponse; /** * Guest agent install status. */ readonly guestAgentInstallStatus?: outputs.azurestackhci.GuestAgentInstallStatusResponse; /** * HardwareProfile - Specifies the hardware settings for the virtual machine instance. */ readonly hardwareProfile?: outputs.azurestackhci.VirtualMachineInstancePropertiesHardwareProfileResponse; /** * HTTP Proxy configuration for the VM. */ readonly httpProxyConfig?: outputs.azurestackhci.HttpProxyConfigurationResponse; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * The managed service identities assigned to this resource. */ readonly identity?: outputs.azurestackhci.ManagedServiceIdentityResponse; /** * The virtual machine instance view. */ readonly instanceView: outputs.azurestackhci.VirtualMachineInstanceViewResponse; /** * The name of the resource */ readonly name: string; /** * NetworkProfile - describes the network configuration the virtual machine instance */ readonly networkProfile?: outputs.azurestackhci.VirtualMachineInstancePropertiesNetworkProfileResponse; /** * OsProfile - describes the configuration of the operating system and sets login data */ readonly osProfile?: outputs.azurestackhci.VirtualMachineInstancePropertiesOsProfileResponse; /** * Provisioning state of the virtual machine instance. */ readonly provisioningState: string; /** * Unique identifier defined by ARC to identify the guest of the VM. */ readonly resourceUid?: string; /** * SecurityProfile - Specifies the security settings for the virtual machine instance. */ readonly securityProfile?: outputs.azurestackhci.VirtualMachineInstancePropertiesSecurityProfileResponse; /** * The observed state of virtual machine instances */ readonly status: outputs.azurestackhci.VirtualMachineInstanceStatusResponse; /** * StorageProfile - contains information about the disks and storage information for the virtual machine instance */ readonly storageProfile?: outputs.azurestackhci.VirtualMachineInstancePropertiesStorageProfileResponse; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.azurestackhci.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * Unique identifier for the vm resource. */ readonly vmId: string; } /** * Gets a virtual machine instance * * Uses Azure REST API version 2025-02-01-preview. * * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview, 2025-04-01-preview, 2025-06-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azurestackhci [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getVirtualMachineInstanceOutput(args: GetVirtualMachineInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVirtualMachineInstanceResult>; export interface GetVirtualMachineInstanceOutputArgs { /** * The fully qualified Azure Resource manager identifier of the resource. */ resourceUri: pulumi.Input<string>; }