共用方式為


VirtualMachinesOperationsExtensions.ResetPassword Method

Definition

Reset a lab virtual machine password.

public static void ResetPassword (this Microsoft.Azure.Management.LabServices.IVirtualMachinesOperations operations, Microsoft.Azure.Management.LabServices.Models.ResetPasswordBody body, string resourceGroupName, string labName, string virtualMachineName);
static member ResetPassword : Microsoft.Azure.Management.LabServices.IVirtualMachinesOperations * Microsoft.Azure.Management.LabServices.Models.ResetPasswordBody * string * string * string -> unit
<Extension()>
Public Sub ResetPassword (operations As IVirtualMachinesOperations, body As ResetPasswordBody, resourceGroupName As String, labName As String, virtualMachineName As String)

Parameters

operations
IVirtualMachinesOperations

The operations group for this extension method.

body
ResetPasswordBody

The request body.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

labName
String

The name of the lab that uniquely identifies it within containing lab account. Used in resource URIs.

virtualMachineName
String

The ID of the virtual machine that uniquely identifies it within the containing lab. Used in resource URIs.

Remarks

Resets a lab virtual machine password.

Applies to