IVirtualMachineOperations.BeginStartingRolesAsync Method (String, String, VirtualMachineStartRolesParameters, CancellationToken)
Asynchronously initiates the starting of multiple Virtual Machines.
Namespace: Microsoft.WindowsAzure.Management.Compute
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
Syntax
Task<AzureOperationResponse> BeginStartingRolesAsync(
string serviceName,
string deploymentName,
VirtualMachineStartRolesParameters parameters,
CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ BeginStartingRolesAsync(
String^ serviceName,
String^ deploymentName,
VirtualMachineStartRolesParameters^ parameters,
CancellationToken cancellationToken
)
abstract BeginStartingRolesAsync :
serviceName:string *
deploymentName:string *
parameters:VirtualMachineStartRolesParameters *
cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function BeginStartingRolesAsync (
serviceName As String,
deploymentName As String,
parameters As VirtualMachineStartRolesParameters,
cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)
Parameters
serviceName
Type: System.StringThe name of the cloud service that contains the Virtual Machines.
deploymentName
Type: System.StringThe name of the deployment.
parameters
Type: Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineStartRolesParametersThe VirtualMachineStartRolesParameters object that contains the list of Virtual Machines to start.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<AzureOperationResponse>
An OperationResponse object that includes an HTTP status code and request ID.
Remarks
For more information about starting multiple Virtual Machines, see the following resources:
See Also
IVirtualMachineOperations Interface
Microsoft.WindowsAzure.Management.Compute Namespace
Return to top