deleteAuditSuppression method
Future<void>
deleteAuditSuppression({
- required String checkName,
- required ResourceIdentifier resourceIdentifier,
Deletes a Device Defender audit suppression.
May throw InvalidRequestException. May throw ThrottlingException. May throw InternalFailureException.
Implementation
Future<void> deleteAuditSuppression({
required String checkName,
required ResourceIdentifier resourceIdentifier,
}) async {
ArgumentError.checkNotNull(checkName, 'checkName');
ArgumentError.checkNotNull(resourceIdentifier, 'resourceIdentifier');
final $payload = <String, dynamic>{
'checkName': checkName,
'resourceIdentifier': resourceIdentifier,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/audit/suppressions/delete',
exceptionFnMap: _exceptionFns,
);
}