ComputeBulkActionsExtensions.BulkStartOperationAsync Method

Definition

BulkStart: Execute start operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it. <item> Mocking. To mock this method, please mock BulkStartOperationAsync(AzureLocation, ExecuteStartContent, CancellationToken) instead. </item>

public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.BulkActions.Models.StartResourceOperationResult>> BulkStartOperationAsync(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation location, Azure.ResourceManager.Compute.BulkActions.Models.ExecuteStartContent content, System.Threading.CancellationToken cancellationToken = default);
static member BulkStartOperationAsync : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * Azure.ResourceManager.Compute.BulkActions.Models.ExecuteStartContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.BulkActions.Models.StartResourceOperationResult>>
<Extension()>
Public Function BulkStartOperationAsync (resourceGroupResource As ResourceGroupResource, location As AzureLocation, content As ExecuteStartContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StartResourceOperationResult))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource the method will execute against.

location
AzureLocation

The location name.

content
ExecuteStartContent

The request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource is null.

Applies to