Share via


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

  • serviceName
    Type: System.String

    The name of the cloud service that contains the Virtual Machines.

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