CloudServicesOperationsExtensions.BeginPowerOffAsync 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.
Power off the cloud service. Note that resources are still attached and you are getting charged for the resources.
public static System.Threading.Tasks.Task BeginPowerOffAsync (this Microsoft.Azure.Management.Compute.ICloudServicesOperations operations, string resourceGroupName, string cloudServiceName, System.Threading.CancellationToken cancellationToken = default);
static member BeginPowerOffAsync : Microsoft.Azure.Management.Compute.ICloudServicesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginPowerOffAsync (operations As ICloudServicesOperations, resourceGroupName As String, cloudServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- ICloudServicesOperations
The operations group for this extension method.
- resourceGroupName
- String
Name of the resource group.
- cloudServiceName
- String
Name of the cloud service.
- cancellationToken
- CancellationToken
The cancellation token.