Udostępnij za pośrednictwem


VirtualMachineOperationsExtensions.BeginStartingRolesAsync Method

Definition

The Begin Starting Roles operation starts the specified set of virtual machines. (see http://msdn.microsoft.com/en-us/library/windowsazure/dn469419.aspx for more information)

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

Parameters

operations
IVirtualMachineOperations

Reference to the Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOperations.

serviceName
String

Required. The name of your service.

deploymentName
String

Required. The name of your deployment.

parameters
VirtualMachineStartRolesParameters

Required. Parameters to pass to the Begin Starting Roles operation.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to