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
System.String

id the resource ID of the resource to delete

forceDeletion
System.Boolean

enable force deletion

Applies to