IVirtualMachines.DeleteByResourceGroup(String, String, Boolean) 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 resource from Azure, identifying it by its name and its resource group.
public void DeleteByResourceGroup (string resourceGroupName, string name, bool forceDeletion);
abstract member DeleteByResourceGroup : string * string * bool -> unit
Public Sub DeleteByResourceGroup (resourceGroupName As String, name As String, forceDeletion As Boolean)
Parameters
- resourceGroupName
- String
the group the resource is part of
- name
- String
the name of the resource
- forceDeletion
- Boolean
enable force deletion
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET