1. Packages
  2. Azure Native
  3. API Docs
  4. devtestlab
  5. getVirtualMachineRdpFileContents
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi

azure-native.devtestlab.getVirtualMachineRdpFileContents

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi

    Gets a string that represents the contents of the RDP file for the virtual machine Azure REST 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:

    LabName string
    The name of the lab.
    Name string
    The name of the virtual machine.
    ResourceGroupName string
    The name of the resource group.
    LabName string
    The name of the lab.
    Name string
    The name of the virtual machine.
    ResourceGroupName string
    The name of the resource group.
    labName String
    The name of the lab.
    name String
    The name of the virtual machine.
    resourceGroupName String
    The name of the resource group.
    labName string
    The name of the lab.
    name string
    The name of the virtual machine.
    resourceGroupName string
    The name of the resource group.
    lab_name str
    The name of the lab.
    name str
    The name of the virtual machine.
    resource_group_name str
    The name of the resource group.
    labName String
    The name of the lab.
    name String
    The name of the virtual machine.
    resourceGroupName String
    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 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi