IGenericResources.DeleteAsync(String, String, String, String, String, String, CancellationToken) Method

Definition

Delete resource and all of its child resources.

public System.Threading.Tasks.Task DeleteAsync (string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteAsync : string * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

resourceGroupName
System.String

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

resourceProviderNamespace
System.String

resourceProviderNamespace Resource identity.

parentResourcePath
System.String

parentResourcePath Resource identity.

resourceType
System.String

resourceType Resource identity.

resourceName
System.String

resourceName Resource identity.

apiVersion
System.String

apiVersion the String value

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task

Applies to