Share via


IGenericResources.Delete Method

Definition

Delete resource and all of its child resources.

public void Delete (string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion = default);
abstract member Delete : string * string * string * string * string * string -> unit
Public Sub Delete (resourceGroupName As String, resourceProviderNamespace As String, parentResourcePath As String, resourceType As String, resourceName As String, Optional apiVersion As String = Nothing)

Parameters

resourceGroupName
String

resourceGroupName The name of the resource group. The name is case insensitive.

resourceProviderNamespace
String

resourceProviderNamespace Resource identity.

parentResourcePath
String

parentResourcePath Resource identity.

resourceType
String

resourceType Resource identity.

resourceName
String

resourceName Resource identity.

apiVersion
String

apiVersion the String value

Applies to