/// <summary> /// Deletes a Machine /// </summary> /// <remarks> /// Deletes a Machine /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// </param> public static Operation Delete(this IMachinesOperations operations, string id) { return(operations.DeleteAsync(id).GetAwaiter().GetResult()); }
/// <summary> /// The operation to remove a hybrid machine identity in Azure. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='name'> /// The name of the hybrid machine. /// </param> public static void Delete(this IMachinesOperations operations, string resourceGroupName, string name) { operations.DeleteAsync(resourceGroupName, name).GetAwaiter().GetResult(); }