ภาษา

MockableComputeBulkActionsResourceGroupResource.BulkStartOperationAsync Method

Definition

Start one or more virtual machines. Bulk Actions begins processing the request immediately and returns a Bulk Action Operation Id for each virtual machine. Use the returned IDs to get operation status updates.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/locations/{location}/virtualMachinesBulkStart.
  • Operation Id. : VirtualMachineBulkOperations_BulkStart.
  • Default Api Version. : 2026-10-06-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.BulkActions.Models.StartResourceOperationResult>> BulkStartOperationAsync(Azure.Core.AzureLocation location, Azure.ResourceManager.Compute.BulkActions.Models.ExecuteStartContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member BulkStartOperationAsync : Azure.Core.AzureLocation * Azure.ResourceManager.Compute.BulkActions.Models.ExecuteStartContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.BulkActions.Models.StartResourceOperationResult>>
override this.BulkStartOperationAsync : Azure.Core.AzureLocation * Azure.ResourceManager.Compute.BulkActions.Models.ExecuteStartContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.BulkActions.Models.StartResourceOperationResult>>
Public Overridable Function BulkStartOperationAsync (location As AzureLocation, content As ExecuteStartContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StartResourceOperationResult))

Parameters

location
AzureLocation

The location name.

content
ExecuteStartContent

The virtual machines to start and the execution settings for the bulk action.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to