@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.56 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets a string that represents the contents of the RDP file for the virtual machine
*
* Uses Azure REST API version 2018-09-15.
*/
export declare function getVirtualMachineRdpFileContents(args: GetVirtualMachineRdpFileContentsArgs, opts?: pulumi.InvokeOptions): Promise<GetVirtualMachineRdpFileContentsResult>;
export interface GetVirtualMachineRdpFileContentsArgs {
/**
* The name of the lab.
*/
labName: string;
/**
* The name of the LabVirtualMachine
*/
name: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Represents a .rdp file
*/
export interface GetVirtualMachineRdpFileContentsResult {
/**
* The contents of the .rdp file
*/
readonly contents?: string;
}
/**
* Gets a string that represents the contents of the RDP file for the virtual machine
*
* Uses Azure REST API version 2018-09-15.
*/
export declare function getVirtualMachineRdpFileContentsOutput(args: GetVirtualMachineRdpFileContentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVirtualMachineRdpFileContentsResult>;
export interface GetVirtualMachineRdpFileContentsOutputArgs {
/**
* The name of the lab.
*/
labName: pulumi.Input<string>;
/**
* The name of the LabVirtualMachine
*/
name: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}