你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualMachineOperationsExtensions.BeginRedeployingAsync 方法

定义

开始重新部署角色操作将重新部署指定的虚拟机。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/windowsazure/jj157197.aspx)

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> BeginRedeployingAsync (this Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOperations operations, string serviceName, string deploymentName, string virtualMachineName);
static member BeginRedeployingAsync : Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOperations * string * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function BeginRedeployingAsync (operations As IVirtualMachineOperations, serviceName As String, deploymentName As String, virtualMachineName As String) As Task(Of AzureOperationResponse)

参数

operations
IVirtualMachineOperations

对 Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOperations 的引用。

serviceName
String

必需。 服务的名称。

deploymentName
String

必需。 部署的名称。

virtualMachineName
String

必需。 要重新部署的虚拟机的名称。

返回

Task<Microsoft.Azure.AzureOperationResponse>

标准服务响应,包括 HTTP 状态代码和请求 ID。

适用于