VirtualMachineOperationsExtensions.BeginStartingRolesAsync Method (IVirtualMachineOperations, String, String, VirtualMachineStartRolesParameters)
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
public static Task<AzureOperationResponse> BeginStartingRolesAsync(
this IVirtualMachineOperations operations,
string serviceName,
string deploymentName,
VirtualMachineStartRolesParameters parameters
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ BeginStartingRolesAsync(
IVirtualMachineOperations^ operations,
String^ serviceName,
String^ deploymentName,
VirtualMachineStartRolesParameters^ parameters
)
static member BeginStartingRolesAsync :
operations:IVirtualMachineOperations *
serviceName:string *
deploymentName:string *
parameters:VirtualMachineStartRolesParameters -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function BeginStartingRolesAsync (
operations As IVirtualMachineOperations,
serviceName As String,
deploymentName As String,
parameters As VirtualMachineStartRolesParameters
) As Task(Of AzureOperationResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOperationsThe IVirtualMachineOperations object that specifies the operations for managing Virtual Machines.
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.
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
VirtualMachineOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace
Return to top