Example #1
0
 /// <summary>
 /// Deletes a workspace
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='workspaceName'>
 /// The name of the workspace
 /// </param>
 public static object Delete(this IWorkspacesOperations operations, string resourceGroupName, string workspaceName)
 {
     return(operations.DeleteAsync(resourceGroupName, workspaceName).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Deletes a Workspace resource.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='workspaceName'>
 /// The name of the quantum workspace resource.
 /// </param>
 public static void Delete(this IWorkspacesOperations operations, string resourceGroupName, string workspaceName)
 {
     operations.DeleteAsync(resourceGroupName, workspaceName).GetAwaiter().GetResult();
 }