LabPlansOperationsExtensions.DeleteAsync 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.
Deletes a Lab Plan resource.
public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.LabServices.ILabPlansOperations operations, string resourceGroupName, string labPlanName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.LabServices.ILabPlansOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As ILabPlansOperations, resourceGroupName As String, labPlanName As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- ILabPlansOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group. The name is case insensitive.
- labPlanName
- String
The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Operation to delete a Lab Plan resource. Deleting a lab plan does not delete labs associated with a lab plan, nor does it delete shared images added to a gallery via the lab plan permission container.
Applies to
Azure SDK for .NET