VirtualMachineScaleSetsOperationsExtensions.BeginDeallocateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.OperationStatusResponse> BeginDeallocateAsync (this Microsoft.Azure.Commands.Common.Compute.Version_2018_04.IVirtualMachineScaleSetsOperations operations, string resourceGroupName, string vmScaleSetName, System.Collections.Generic.IList<string> instanceIds = default, System.Threading.CancellationToken cancellationToken = default);
static member BeginDeallocateAsync : Microsoft.Azure.Commands.Common.Compute.Version_2018_04.IVirtualMachineScaleSetsOperations * string * string * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.OperationStatusResponse>
<Extension()>
Public Function BeginDeallocateAsync (operations As IVirtualMachineScaleSetsOperations, resourceGroupName As String, vmScaleSetName As String, Optional instanceIds As IList(Of String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of OperationStatusResponse)
Parameters
- operations
- IVirtualMachineScaleSetsOperations
- resourceGroupName
- String
- vmScaleSetName
- String
- cancellationToken
- CancellationToken