Sdílet prostřednictvím


TargetsOperationsExtensions.DeleteAsync Method

Definition

Delete a Target resource that extends a tracked regional resource.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.Chaos.ITargetsOperations operations, string resourceGroupName, string parentProviderNamespace, string parentResourceType, string parentResourceName, string targetName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.Chaos.ITargetsOperations * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As ITargetsOperations, resourceGroupName As String, parentProviderNamespace As String, parentResourceType As String, parentResourceName As String, targetName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
ITargetsOperations

The operations group for this extension method.

resourceGroupName
String

String that represents an Azure resource group.

parentProviderNamespace
String

String that represents a resource provider namespace.

parentResourceType
String

String that represents a resource type.

parentResourceName
String

String that represents a resource name.

targetName
String

String that represents a Target resource name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to