Dela via


IVirtualMachines.DeleteById(String, Boolean) Method

Definition

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

Applies to