Values_1.DeleteCustomMetricResponseSourceDeletes a Device Defender detect custom metric. Requires permission to access the DeleteCustomMetric action. Before you can delete a custom metric, you must first remove the custom metric from all security profiles it's a part of. The security profile associated with the custom metric can be found using the ListSecurityProfiles API with metricName set to your custom metric name.
type nonrec error = [ | `InternalFailureException of Values_0.InternalFailureException.t| `InvalidRequestException of Values_0.InvalidRequestException.t| `ThrottlingException of Values_0.ThrottlingException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalFailureException of Values_0.InternalFailureException.t
| `InvalidRequestException of Values_0.InvalidRequestException.t
| `ThrottlingException of Values_0.ThrottlingException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalFailureException of Values_0.InternalFailureException.t
| `InvalidRequestException of Values_0.InvalidRequestException.t
| `ThrottlingException of Values_0.ThrottlingException.t
| `Unknown_operation_error of string * string option ]