PolicyDefinitionsOperations.Delete(String, CancellationToken) Method

Definition

This operation deletes the policy definition in the given subscription with the given name.

public virtual Azure.Response Delete (string policyDefinitionName, System.Threading.CancellationToken cancellationToken = default);
abstract member Delete : string * System.Threading.CancellationToken -> Azure.Response
override this.Delete : string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function Delete (policyDefinitionName As String, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

policyDefinitionName
System.String

The name of the policy definition to delete.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

Response

Applies to