EnvironmentsOperationsExtensions.StopAsync(IEnvironmentsOperations, String, String, String, String, String, CancellationToken) Method

Definition

Stops an environment by stopping all resources inside the environment This operation can take a while to complete

public static System.Threading.Tasks.Task StopAsync (this Microsoft.Azure.Management.LabServices.IEnvironmentsOperations operations, string resourceGroupName, string labAccountName, string labName, string environmentSettingName, string environmentName, System.Threading.CancellationToken cancellationToken = default);
static member StopAsync : Microsoft.Azure.Management.LabServices.IEnvironmentsOperations * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function StopAsync (operations As IEnvironmentsOperations, resourceGroupName As String, labAccountName As String, labName As String, environmentSettingName As String, environmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IEnvironmentsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

labAccountName
String

The name of the lab Account.

labName
String

The name of the lab.

environmentSettingName
String

The name of the environment Setting.

environmentName
String

The name of the environment.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task

Applies to