VirtualMachineScaleSetVMsOperationsExtensions.PowerOffAsync 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> PowerOffAsync (this Microsoft.Azure.Commands.Common.Compute.Version_2018_04.IVirtualMachineScaleSetVMsOperations operations, string resourceGroupName, string vmScaleSetName, string instanceId, System.Threading.CancellationToken cancellationToken = default);
static member PowerOffAsync : Microsoft.Azure.Commands.Common.Compute.Version_2018_04.IVirtualMachineScaleSetVMsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.OperationStatusResponse>
<Extension()>
Public Function PowerOffAsync (operations As IVirtualMachineScaleSetVMsOperations, resourceGroupName As String, vmScaleSetName As String, instanceId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of OperationStatusResponse)
Parameters
- operations
- IVirtualMachineScaleSetVMsOperations
- resourceGroupName
- String
- vmScaleSetName
- String
- instanceId
- String
- cancellationToken
- CancellationToken