These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.devtestlab.getVirtualMachineRdpFileContents
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets a string that represents the contents of the RDP file for the virtual machine API Version: 2018-09-15.
Using getVirtualMachineRdpFileContents
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVirtualMachineRdpFileContents(args: GetVirtualMachineRdpFileContentsArgs, opts?: InvokeOptions): Promise<GetVirtualMachineRdpFileContentsResult>
function getVirtualMachineRdpFileContentsOutput(args: GetVirtualMachineRdpFileContentsOutputArgs, opts?: InvokeOptions): Output<GetVirtualMachineRdpFileContentsResult>
def get_virtual_machine_rdp_file_contents(lab_name: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualMachineRdpFileContentsResult
def get_virtual_machine_rdp_file_contents_output(lab_name: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVirtualMachineRdpFileContentsResult]
func GetVirtualMachineRdpFileContents(ctx *Context, args *GetVirtualMachineRdpFileContentsArgs, opts ...InvokeOption) (*GetVirtualMachineRdpFileContentsResult, error)
func GetVirtualMachineRdpFileContentsOutput(ctx *Context, args *GetVirtualMachineRdpFileContentsOutputArgs, opts ...InvokeOption) GetVirtualMachineRdpFileContentsResultOutput
> Note: This function is named GetVirtualMachineRdpFileContents
in the Go SDK.
public static class GetVirtualMachineRdpFileContents
{
public static Task<GetVirtualMachineRdpFileContentsResult> InvokeAsync(GetVirtualMachineRdpFileContentsArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualMachineRdpFileContentsResult> Invoke(GetVirtualMachineRdpFileContentsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVirtualMachineRdpFileContentsResult> getVirtualMachineRdpFileContents(GetVirtualMachineRdpFileContentsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:devtestlab:getVirtualMachineRdpFileContents
arguments:
# arguments dictionary
The following arguments are supported:
- Lab
Name string - The name of the lab.
- Name string
- The name of the virtual machine.
- Resource
Group stringName - The name of the resource group.
- Lab
Name string - The name of the lab.
- Name string
- The name of the virtual machine.
- Resource
Group stringName - The name of the resource group.
- lab
Name String - The name of the lab.
- name String
- The name of the virtual machine.
- resource
Group StringName - The name of the resource group.
- lab
Name string - The name of the lab.
- name string
- The name of the virtual machine.
- resource
Group stringName - The name of the resource group.
- lab_
name str - The name of the lab.
- name str
- The name of the virtual machine.
- resource_
group_ strname - The name of the resource group.
- lab
Name String - The name of the lab.
- name String
- The name of the virtual machine.
- resource
Group StringName - The name of the resource group.
getVirtualMachineRdpFileContents Result
The following output properties are available:
- Contents string
- The contents of the .rdp file
- Contents string
- The contents of the .rdp file
- contents String
- The contents of the .rdp file
- contents string
- The contents of the .rdp file
- contents str
- The contents of the .rdp file
- contents String
- The contents of the .rdp file
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi