IVirtualMachines.DeleteById(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 resource ID.
public void DeleteById (string id, bool forceDeletion);
abstract member DeleteById : string * bool -> unit
Public Sub DeleteById (id As String, forceDeletion As Boolean)
Parameters
- id
- String
id the resource ID of the resource to delete
- forceDeletion
- Boolean
enable force deletion